- 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.