Packages
clutter-1.0
Clutter
Threads
FrameSource
Idle
Timeout
add_repaint_func
add_repaint_func_full
enter
init
leave
remove_repaint_func
set_lock_functions
Stays crunchy ...
... even in milk.
Valadoc
Vala
Tutorial
Vala Journal
API-References
Markup
About
Clutter.Threads
Description:
Content:
Namespaces:
FrameSource
-
Idle
-
Timeout
-
Functions:
public
uint
add_repaint_func
(
owned
SourceFunc
func)
Adds a function to be called whenever Clutter is processing a new frame.
public
uint
add_repaint_func_full
(
RepaintFlags
flags,
owned
SourceFunc
func)
Adds a function to be called whenever Clutter is processing a new frame.
public
void
enter
()
Locks the Clutter thread lock.
public
void
init
()
Initialises the Clutter threading mechanism, so that Clutter API can be called by multiple threads, using
enter
and
leave
to mark the critical sections.
public
void
leave
()
Unlocks the Clutter thread lock.
public
void
remove_repaint_func
(
uint
handle_id)
Removes the repaint function with
handle_id
as its id
public
void
set_lock_functions
(
Callback
enter_fn,
Callback
leave_fn)
Allows the application to replace the standard method that Clutter uses to protect its data structures.