- public ActorBox? actor_box_alloc ()
- public void base_init ()
- public void cairo_clear (Context cr)
Utility function to clear a Cairo context.
- public void cairo_set_source_color (Context cr, Color color)
Utility function for setting the source color of cr
using a Color.
- public bool check_version (uint major, uint minor, uint micro)
Run-time version check, to check the version the Clutter library
that an application is currently linked against
- public bool check_windowing_backend (string backend_type)
Checks the run-time name of the Clutter windowing system backend,
using the symbolic macros like CLUTTER_WINDOWING_WIN32
or CLUTTER_WINDOWING_X11
.
- public void clear_glyph_cache ()
Clears the internal cache of glyphs used by the Pango renderer.
- public unowned Color? color_get_static (StaticColor color)
- public void disable_accessibility ()
Disable loading the accessibility support.
- public void do_event (Event event)
Processes an event.
- public uint event_add_filter (Stage? stage, owned EventFilterFunc func)
Adds a function which will be called for all events that Clutter
processes.
- public Event event_get ()
Pops an event off the event queue.
- public unowned Event event_peek ()
Returns a pointer to the first event from the event queue but does
not remove it.
- public void event_remove_filter (uint id)
- public bool events_pending ()
Checks if events are pending in the event queue.
- public bool get_accessibility_enabled ()
Returns whether Clutter has accessibility support enabled.
- public unowned Event get_current_event ()
If an event is currently being processed, return that event.
- public uint32 get_current_event_time ()
Retrieves the timestamp of the last event, if there is an event or
if the event has a timestamp.
- public bool get_debug_enabled ()
Check if Clutter has debugging enabled.
- public unowned Backend get_default_backend ()
Retrieves the default
Backend used by Clutter.
- public uint get_default_frame_rate ()
Retrieves the default frame rate.
- public TextDirection get_default_text_direction ()
Retrieves the default direction for the text.
- public FontFlags get_font_flags ()
Gets the current font flags for rendering text.
- public unowned FontMap get_font_map ()
Retrieves the FontMap instance
used by Clutter.
- public unowned Actor get_keyboard_grab ()
Queries the current keyboard grab of clutter.
- public bool get_motion_events_enabled ()
Gets whether the per-actor motion events are enabled.
- public OptionGroup get_option_group ()
Returns a OptionGroup for the command
line arguments recognized by Clutter.
- public OptionGroup get_option_group_without_init ()
Returns a OptionGroup for the command
line arguments recognized by Clutter.
- public unowned Actor get_pointer_grab ()
Queries the current pointer grab of clutter.
- public unowned string get_script_id (Object gobject)
Retrieves the Clutter script id, if any.
- public bool get_show_fps ()
Returns whether Clutter should print out the frames per second on
the console.
- public ulong get_timestamp ()
Returns the approximate number of microseconds passed since Clutter
was intialised.
- public void grab_keyboard (Actor actor)
Grabs keyboard events, after the grab is done keyboard events
(#ClutterActor::key-press-event and key_release_event) are
delivered to this actor directly.
- public void grab_pointer (Actor actor)
Grabs pointer events, after the grab is done all pointer related
events (press, motion, release, enter, leave and scroll) are delivered to this actor directly without passing through both capture
and bubble phases of the event delivery chain.
- public void grab_pointer_for_device (Actor actor, int id_)
Grabs all the pointer events coming from the device id
for actor
.
- public Quark image_error_quark ()
- public InitError init (ref unowned string[]? argv)
Initialises everything needed to operate with Clutter and parses
some standard command line options; argv.length
and argv
are adjusted accordingly so your own code will
never see those standard arguments.
- public Quark init_error_quark ()
- public InitError init_with_args (ref unowned string[]? argv, string? parameter_string, OptionEntry[]? entries, string? translation_domain) throws Error
This function does the same work as
init.
- public uint32 keysym_to_unicode (uint keyval)
Converts keyval
from a Clutter key symbol to the
corresponding ISO10646 (Unicode) character.
- public void main ()
Starts the Clutter mainloop.
- public int main_level ()
Retrieves the depth of the Clutter mainloop.
- public void main_quit ()
Terminates the Clutter mainloop.
- public Matrix? matrix_alloc ()
- public unowned Point? point_zero ()
- public unowned Rect? rect_zero ()
- public Quark script_error_quark ()
- public void set_default_frame_rate (uint frames_per_sec)
Sets the default frame rate.
- public void set_font_flags (FontFlags flags)
Sets the font quality options for subsequent text rendering
operations.
- public void set_motion_events_enabled (bool enable)
Sets whether per-actor motion events should be enabled or not on all
Stages managed by Clutter.
- public void set_windowing_backend (string backend_type)
Restricts Clutter to only use the specified backend or list of
backends.
- public Quark shader_error_quark ()
- public void test_add_data_full (string test_path, owned TestDataFunc test_func)
Adds a test unit to the Clutter test environment.
- public bool test_check_actor_at_point (Actor stage, Point point, Actor actor, out Actor? result)
Checks the given coordinates of the stage
and compares
the actor found there with the given actor
.
- public bool test_check_color_at_point (Actor stage, Point point, Color color, out Color result)
Checks the color at the given coordinates on stage
, and
matches it with the red, green, and blue channels of color
.
- public unowned Actor test_get_stage ()
Retrieves the Stage
used for testing.
- public void test_init (int argc, string argv)
- public int test_run ()
Runs the test suite using the units added by calling
clutter_test_add
.
- public Quark texture_error_quark ()
- public void ungrab_keyboard ()
Removes an existing grab of the keyboard.
- public void ungrab_pointer ()
Removes an existing grab of the pointer.
- public void ungrab_pointer_for_device (int id_)
Removes an existing grab of the pointer events for device id_
.
- public uint unicode_to_keysym (uint32 wc)
Convert from a ISO10646 character to a key symbol.