Import line: | GtkClutter = imports.gi.GtkClutter; |
GIR File: | GtkClutter-0.90.gir |
C documentation: | GtkClutter |
Namespace : | GtkClutter |
Show / Hide Inherited methods, properties and signals |
Properties | |
---|---|
Number GtkClutter.CLUTTER_GTK_MAJOR_VERSION : 0
|
|
Number GtkClutter.CLUTTER_GTK_MICRO_VERSION : 1
|
|
Number GtkClutter.CLUTTER_GTK_MINOR_VERSION : 90
|
|
Number GtkClutter.CLUTTER_GTK_VERSION : -858993459
|
|
Number GtkClutter.CLUTTER_GTK_VERSION_HEX : 0
|
|
String GtkClutter.CLUTTER_GTK_VERSION_S : 0.90.1
|
None |
Method / Constructor | Defined By | |
---|---|---|
This utility function copies the width/height from the actor src to the actor dest.
This utility function copies the width/height from the actor src to the actor dest. The primary use for this function is for packing actors in the top-level GtkClutterWindow, and having them resize with the window.
|
GtkClutter | |
Returns the GtkAllocation of a widget relative to a widget known to Clutter-GTK+.
Returns the GtkAllocation of a widget relative to a widget known to Clutter-GTK+. This function is similar to gtk_clutter_calculate_root_allocation() but returns the coordinates relative to a GtkWidget that is already connected to a ClutterActor (for example, a GtkClutterActor). This function is used internally by Clutter-GTK+ to position actors within their GtkClutterStandin, but is provided in case it's useful to find the position of a widget within the GtkClutterActor that contains it).
|
GtkClutter | |
Returns the GtkAllocation of a widget relative to the top-level.
Returns the GtkAllocation of a widget relative to the top-level. The GtkAllocation of a widget is relative to the allocation of any parent container that is backed by a GdkWindow. Thus to work out the allocation in the coordinates of the top-level (which is needed to be provided to Clutter), we must add walk the widget tree and add the allocations of any window-backed parent containers. Use this function if you want to find out the position of a widget in stage coordinates (normally so that you can align some animation on the stage).
|
GtkClutter | |
Run-time version check, to check the version the Clutter-GTK library that an application is currently linked against This is the run-time equivalent of the compile-time CLUTTER_GTK_CHECK_VERSION pre-processor macro
Run-time version check, to check the version the Clutter-GTK library that an application is currently linked against This is the run-time equivalent of the compile-time CLUTTER_GTK_CHECK_VERSION pre-processor macro
|
GtkClutter | |
Retrieves the base color of widget for the given state and copies it into color.
Retrieves the base color of widget for the given state and copies it into color.
|
GtkClutter | |
Retrieves the background color of widget for the given state and copies it into color.
Retrieves the background color of widget for the given state and copies it into color.
|
GtkClutter | |
Retrieves the dark color of widget for the given state and copies it into color.
Retrieves the dark color of widget for the given state and copies it into color.
|
GtkClutter | |
Retrieves the foreground color of widget for the given state and copies it into color.
Retrieves the foreground color of widget for the given state and copies it into color.
|
GtkClutter | |
Retrieves the light color of widget for the given state and copies it into color.
Retrieves the light color of widget for the given state and copies it into color.
|
GtkClutter | |
Retrieves the mid color of widget for the given state and copies it into color.
Retrieves the mid color of widget for the given state and copies it into color.
|
GtkClutter | |
GtkClutter.get_option_group
()
:
GLib.OptionGroup
Returns a GOptionGroup for the command line arguments recognized by Clutter.
Returns a GOptionGroup for the command line arguments recognized by Clutter. You should add this group to your GOptionContext with g_option_context_add_group(), if you are using g_option_context_parse() to parse your commandline arguments instead of using gtk_clutter_init() or gtk_clutter_init_with_args(). You should add this option group to your GOptionContext after the GTK option group created with gtk_get_option_group(), and after the clutter option group obtained from clutter_get_option_group_without_init(). You should not use clutter_get_option_group() together with this function. You must pass TRUE to gtk_get_option_group() since gtk-clutter's option group relies on it. Parsing options using g_option_context_parse() with a GOptionContext containing the returned GOptionGroupwith will result in Clutter's and GTK-Clutter's initialisation. That is, the following code: |[ g_option_context_add_group (context, gtk_get_option_group (TRUE)); g_option_context_add_group (context, cogl_get_option_group ()); g_option_context_add_group (context, clutter_get_option_group_without_init ()); g_option_context_add_group (context, gtk_clutter_get_option_group ()); res = g_option_context_parse (context, &argc, &argc, NULL); ]| is functionally equivalent to: |[ gtk_clutter_init (&argc, &argv); ]| After g_option_context_parse() on a GOptionContext containing the the returned GOptionGroup has returned TRUE, Clutter and GTK-Clutter are guaranteed to be initialized.
|
GtkClutter | |
Retrieves the text-aa color of widget for the given state and copies it into color.
Retrieves the text-aa color of widget for the given state and copies it into color.
|
GtkClutter | |
Retrieves the text color of widget for the given state and copies it into color.
Retrieves the text color of widget for the given state and copies it into color.
|
GtkClutter | |
This function should be called instead of clutter_init() and gtk_init().
This function should be called instead of clutter_init() and gtk_init().
|
GtkClutter | |
GtkClutter.init_with_args
(Object out_values, String argv, String parameter_string, OptionEntry entries, String translation_domain)
:
Clutter.InitError
This function should be called instead of clutter_init() and gtk_init_with_args().
This function should be called instead of clutter_init() and gtk_init_with_args().
|
GtkClutter | |
GtkClutter.texture_new_from_icon_name
(Widget widget, String icon_name, IconSize size)
:
Clutter.Actor
Creates a new ClutterTexture and sets its contents to be the icon_name from the current icon theme.
Creates a new ClutterTexture and sets its contents to be the icon_name from the current icon theme.
|
GtkClutter | |
Creates a new ClutterTexture and sets its contents with a copy of pixbuf.
Creates a new ClutterTexture and sets its contents with a copy of pixbuf.
|
GtkClutter | |
Creates a new ClutterTexture and sets its contents using the stock icon stock_id as rendered by widget.
Creates a new ClutterTexture and sets its contents using the stock icon stock_id as rendered by widget.
|
GtkClutter | |
GtkClutter.texture_set_from_icon_name
(Texture texture, Widget widget, String icon_name, IconSize size)
:
Boolean
Sets the contents of texture using the icon_name from the current icon theme.
Sets the contents of texture using the icon_name from the current icon theme.
|
GtkClutter | |
Sets the contents of texture with a copy of pixbuf.
Sets the contents of texture with a copy of pixbuf.
|
GtkClutter | |
GtkClutter.texture_set_from_stock
(Texture texture, Widget widget, String stock_id, IconSize size)
:
Boolean
Sets the contents of texture using the stock icon stock_id, as rendered by widget.
Sets the contents of texture using the stock icon stock_id, as rendered by widget.
|
GtkClutter |
None |