<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations. -->
-<repository version="1.0"
+<repository version="1.2"
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0"
xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
- <include name="ClutterJson" version="1.0"/>
+ <include name="Atk" version="1.0"/>
<include name="Cogl" version="1.0"/>
<include name="GL" version="1.0"/>
<include name="GLib" version="2.0"/>
<include name="GObject" version="2.0"/>
+ <include name="Gio" version="2.0"/>
+ <include name="Json" version="1.0"/>
<include name="Pango" version="1.0"/>
<include name="PangoCairo" version="1.0"/>
<include name="PangoFT2" version="1.0"/>
<include name="cairo" version="1.0"/>
<include name="fontconfig" version="2.0"/>
<include name="freetype2" version="2.0"/>
- <package name="gobject-2.0"/>
- <package name="pango"/>
- <package name="pangocairo"/>
+ <package name="clutter-1.0"/>
<c:include name="clutter/clutter.h"/>
<namespace name="Clutter"
version="1.0"
shared-library="libclutter-glx-1.0.so.0"
- c:prefix="Clutter">
+ c:identifier-prefixes="Clutter"
+ c:symbol-prefixes="clutter">
<constant name="0" value="48">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="1" value="49">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="2" value="50">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="3" value="51">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="3270_AltCursor" value="64784">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="3270_Attn" value="64782">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="3270_BackTab" value="64773">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="3270_ChangeScreen" value="64793">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="3270_Copy" value="64789">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="3270_CursorBlink" value="64783">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="3270_CursorSelect" value="64796">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="3270_DeleteWord" value="64794">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="3270_Duplicate" value="64769">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="3270_Enter" value="64798">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="3270_EraseEOF" value="64774">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="3270_EraseInput" value="64775">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="3270_ExSelect" value="64795">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="3270_FieldMark" value="64770">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="3270_Ident" value="64787">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="3270_Jump" value="64786">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="3270_KeyClick" value="64785">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="3270_Left2" value="64772">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="3270_PA1" value="64778">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="3270_PA2" value="64779">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="3270_PA3" value="64780">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="3270_Play" value="64790">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="3270_PrintScreen" value="64797">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="3270_Quit" value="64777">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="3270_Record" value="64792">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="3270_Reset" value="64776">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="3270_Right2" value="64771">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="3270_Rule" value="64788">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="3270_Setup" value="64791">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="3270_Test" value="64781">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="4" value="52">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="5" value="53">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="6" value="54">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="7" value="55">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="8" value="56">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="9" value="57">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="A" value="65">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="AE" value="198">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Aacute" value="193">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Abelowdot" value="16785056">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Abreve" value="451">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Abreveacute" value="16785070">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Abrevebelowdot" value="16785078">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Abrevegrave" value="16785072">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Abrevehook" value="16785074">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Abrevetilde" value="16785076">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="AccessX_Enable" value="65136">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="AccessX_Feedback_Enable" value="65137">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Acircumflex" value="194">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Acircumflexacute" value="16785060">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Acircumflexbelowdot" value="16785068">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Acircumflexgrave" value="16785062">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Acircumflexhook" value="16785064">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Acircumflextilde" value="16785066">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
+ <class name="Action"
+ c:symbol-prefix="action"
+ c:type="ClutterAction"
+ version="1.4"
+ parent="ActorMeta"
+ abstract="1"
+ glib:type-name="ClutterAction"
+ glib:get-type="clutter_action_get_type"
+ glib:type-struct="ActionClass">
+ <doc xml:whitespace="preserve">The <structname>ClutterAction</structname> structure contains only
+private data and should be accessed using the provided API</doc>
+ <field name="parent_instance">
+ <type name="ActorMeta" c:type="ClutterActorMeta"/>
+ </field>
+ </class>
+ <record name="ActionClass"
+ c:type="ClutterActionClass"
+ glib:is-gtype-struct-for="Action"
+ version="1.4">
+ <doc xml:whitespace="preserve">The <structname>ClutterActionClass</structname> structure contains
+only private data</doc>
+ <field name="parent_class">
+ <type name="ActorMetaClass" c:type="ClutterActorMetaClass"/>
+ </field>
+ <field name="_clutter_action1" introspectable="0">
+ <callback name="_clutter_action1">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_action2" introspectable="0">
+ <callback name="_clutter_action2">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_action3" introspectable="0">
+ <callback name="_clutter_action3">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_action4" introspectable="0">
+ <callback name="_clutter_action4">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_action5" introspectable="0">
+ <callback name="_clutter_action5">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_action6" introspectable="0">
+ <callback name="_clutter_action6">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_action7" introspectable="0">
+ <callback name="_clutter_action7">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_action8" introspectable="0">
+ <callback name="_clutter_action8">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ </record>
<class name="Actor"
+ c:symbol-prefix="actor"
c:type="ClutterActor"
- doc="Base class for actors."
parent="GObject.InitiallyUnowned"
abstract="1"
glib:type-name="ClutterActor"
glib:get-type="clutter_actor_get_type"
glib:type-struct="ActorClass">
+ <doc xml:whitespace="preserve">Base class for actors.</doc>
+ <implements name="Atk.ImplementorIface"/>
+ <implements name="Animatable"/>
<implements name="Scriptable"/>
- <virtual-method name="show_all" invoker="show_all">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </virtual-method>
- <virtual-method name="hide_all" invoker="hide_all">
+ <virtual-method name="allocate" invoker="allocate" version="0.8">
+ <doc xml:whitespace="preserve">Called by the parent of an actor to assign the actor its size.
+Should never be called by applications (except when implementing
+a container or layout manager).
+Actors can know from their allocation box whether they have moved
+with respect to their parent actor. The @flags parameter describes
+additional information about the allocation, for instance whether
+the parent has moved with respect to the stage, for example because
+a grandparent's origin has moved.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="box" transfer-ownership="none">
+ <doc xml:whitespace="preserve">new allocation of the actor, in parent-relative coordinates</doc>
+ <type name="ActorBox" c:type="ClutterActorBox*"/>
+ </parameter>
+ <parameter name="flags" transfer-ownership="none">
+ <doc xml:whitespace="preserve">flags that control the allocation</doc>
+ <type name="AllocationFlags" c:type="ClutterAllocationFlags"/>
+ </parameter>
+ </parameters>
</virtual-method>
- <virtual-method name="map"
- invoker="map"
- doc="The ::map virtual functon must be overridden in order to call
-clutter_actor_map() on any child actors if the actor is not a
-#ClutterContainer. When overriding, it is mandatory to chain up
-to the parent implementation."
- version="1.0">
+ <virtual-method name="apply_transform">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="matrix" transfer-ownership="none">
+ <type name="Cogl.Matrix" c:type="CoglMatrix*"/>
+ </parameter>
+ </parameters>
</virtual-method>
- <virtual-method name="unmap"
- invoker="unmap"
- doc="The ::unmap virtual functon must be overridden in order to call
-clutter_actor_unmap() on any child actors if the actor is not a
-#ClutterContainer. When overriding, it is mandatory to chain up
-to the parent implementation."
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <virtual-method name="get_accessible" invoker="get_accessible">
+ <doc xml:whitespace="preserve">Returns the accessible object that describes the actor to an
+assistive technology.
+If no class-specific #AtkObject implementation is available for the
+actor instance in question, it will inherit an #AtkObject
+implementation from the first ancestor class for which such an
+implementation is defined.
+The documentation of the <ulink
+url="http://developer.gnome.org/doc/API/2.0/atk/index.html">ATK</ulink>
+library contains more information about accessible objects and
+their uses.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #AtkObject associated with @actor</doc>
+ <type name="Atk.Object" c:type="AtkObject*"/>
</return-value>
</virtual-method>
- <virtual-method name="get_preferred_width" invoker="get_preferred_width">
+ <virtual-method name="get_preferred_height"
+ invoker="get_preferred_height"
+ version="0.8">
+ <doc xml:whitespace="preserve">Computes the requested minimum and natural heights for an actor,
+or if they are already computed, returns the cached values.
+An actor may not get its request - depending on the layout
+manager that's in effect.
+A request should not incorporate the actor's scale or anchor point;
+those transformations do not affect layout, only rendering.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="for_height" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <parameter name="for_width" transfer-ownership="none">
+ <doc xml:whitespace="preserve">available width to assume in computing desired height, or a negative value to indicate that no width is defined</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
- <parameter name="min_width_p"
+ <parameter name="min_height_p"
direction="out"
caller-allocates="0"
- transfer-ownership="full">
- <type name="float" c:type="gfloat*"/>
+ transfer-ownership="full"
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for minimum height, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
- <parameter name="natural_width_p"
+ <parameter name="natural_height_p"
direction="out"
caller-allocates="0"
- transfer-ownership="full">
- <type name="float" c:type="gfloat*"/>
+ transfer-ownership="full"
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for natural height, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
</parameters>
</virtual-method>
- <virtual-method name="get_preferred_height"
- invoker="get_preferred_height">
+ <virtual-method name="get_preferred_width"
+ invoker="get_preferred_width"
+ version="0.8">
+ <doc xml:whitespace="preserve">Computes the requested minimum and natural widths for an actor,
+optionally depending on the specified height, or if they are
+already computed, returns the cached values.
+An actor may not get its request - depending on the layout
+manager that's in effect.
+A request should not incorporate the actor's scale or anchor point;
+those transformations do not affect layout, only rendering.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="for_width" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <parameter name="for_height" transfer-ownership="none">
+ <doc xml:whitespace="preserve">available height when computing the preferred width, or a negative value to indicate that no height is defined</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
- <parameter name="min_height_p"
+ <parameter name="min_width_p"
direction="out"
caller-allocates="0"
- transfer-ownership="full">
- <type name="float" c:type="gfloat*"/>
+ transfer-ownership="full"
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for minimum width, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
- <parameter name="natural_height_p"
+ <parameter name="natural_width_p"
direction="out"
caller-allocates="0"
- transfer-ownership="full">
- <type name="float" c:type="gfloat*"/>
+ transfer-ownership="full"
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for the natural width, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
</parameters>
</virtual-method>
- <virtual-method name="allocate" invoker="allocate">
+ <virtual-method name="hide_all" invoker="hide_all" version="0.2">
+ <doc xml:whitespace="preserve">Calls clutter_actor_hide() on all child actors (if any).</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- <parameters>
- <parameter name="box" transfer-ownership="none">
- <type name="ActorBox" c:type="ClutterActorBox*"/>
- </parameter>
- <parameter name="flags" transfer-ownership="none">
- <type name="AllocationFlags" c:type="ClutterAllocationFlags"/>
- </parameter>
- </parameters>
</virtual-method>
- <virtual-method name="apply_transform">
+ <virtual-method name="map" invoker="map" version="1.0">
+ <doc xml:whitespace="preserve">Sets the %CLUTTER_ACTOR_MAPPED flag on the actor and possibly maps
+and realizes its children if they are visible. Does nothing if the
+actor is not visible.
+#ClutterActor <function>map()</function> virtual function in an actor
+and you need to map the children of that actor. It is not necessary
+to call this if you implement #ClutterContainer because the default
+implementation will automatically map children of containers.
+When overriding map, it is mandatory to chain up to the parent
+implementation.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- <parameters>
- <parameter name="matrix" transfer-ownership="none">
- <type name="Cogl.Matrix" c:type="CoglMatrix*"/>
- </parameter>
- </parameters>
</virtual-method>
- <method name="set_flags"
- c:identifier="clutter_actor_set_flags"
- doc="Sets @flags on @self
-This function will emit notifications for the changed properties"
- version="1.0">
+ <virtual-method name="show_all" invoker="show_all" version="0.2">
+ <doc xml:whitespace="preserve">Calls clutter_actor_show() on all children of an actor (if any).</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </virtual-method>
+ <virtual-method name="unmap" invoker="unmap" version="1.0">
+ <doc xml:whitespace="preserve">Unsets the %CLUTTER_ACTOR_MAPPED flag on the actor and possibly
+unmaps its children if they were mapped.
+#ClutterActor <function>unmap()</function> virtual function in an actor
+and you need to unmap the children of that actor. It is not necessary
+to call this if you implement #ClutterContainer because the default
+implementation will automatically unmap children of containers.
+When overriding unmap, it is mandatory to chain up to the parent
+implementation.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </virtual-method>
+ <method name="add_action"
+ c:identifier="clutter_actor_add_action"
+ version="1.4">
+ <doc xml:whitespace="preserve">Adds @action to the list of actions applied to @self
+A #ClutterAction can only belong to one actor at a time
+The #ClutterActor will hold a reference on @action until either
+clutter_actor_remove_action() or clutter_actor_clear_actions()
+is called</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="flags" transfer-ownership="none">
- <type name="ActorFlags" c:type="ClutterActorFlags"/>
+ <parameter name="action" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterAction</doc>
+ <type name="Action" c:type="ClutterAction*"/>
</parameter>
</parameters>
</method>
- <method name="unset_flags"
- c:identifier="clutter_actor_unset_flags"
- doc="Unsets @flags on @self
-This function will emit notifications for the changed properties"
- version="1.0">
+ <method name="add_action_with_name"
+ c:identifier="clutter_actor_add_action_with_name"
+ version="1.4">
+ <doc xml:whitespace="preserve">A convenience function for setting the name of a #ClutterAction
+while adding it to the list of actions applied to @self
+This function is the logical equivalent of:
+|[
+clutter_actor_meta_set_name (CLUTTER_ACTOR_META (action), name);
+clutter_actor_add_action (self, action);
+]|</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="flags" transfer-ownership="none">
- <type name="ActorFlags" c:type="ClutterActorFlags"/>
+ <parameter name="name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name to set on the action</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="action" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterAction</doc>
+ <type name="Action" c:type="ClutterAction*"/>
</parameter>
</parameters>
</method>
- <method name="get_flags"
- c:identifier="clutter_actor_get_flags"
- doc="Retrieves the flags set on @self"
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="ActorFlags" c:type="ClutterActorFlags"/>
- </return-value>
- </method>
- <method name="show"
- c:identifier="clutter_actor_show"
- doc="Flags an actor to be displayed. An actor that isn't shown will not
-be rendered on the stage.
-Actors are visible by default.
-If this function is called on an actor without a parent, the
-#ClutterActor:show-on-set-parent will be set to %TRUE as a side
-effect.">
+ <method name="add_constraint"
+ c:identifier="clutter_actor_add_constraint"
+ version="1.4">
+ <doc xml:whitespace="preserve">Adds @constraint to the list of #ClutterConstraint<!-- -->s applied
+to @self
+The #ClutterActor will hold a reference on the @constraint until
+either clutter_actor_remove_constraint() or
+clutter_actor_clear_constraints() is called.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="constraint" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterConstraint</doc>
+ <type name="Constraint" c:type="ClutterConstraint*"/>
+ </parameter>
+ </parameters>
</method>
- <method name="show_all"
- c:identifier="clutter_actor_show_all"
- doc="Calls clutter_actor_show() on all children of an actor (if any)."
- version="0.2">
+ <method name="add_constraint_with_name"
+ c:identifier="clutter_actor_add_constraint_with_name"
+ version="1.4">
+ <doc xml:whitespace="preserve">A convenience function for setting the name of a #ClutterConstraint
+while adding it to the list of constraints applied to @self
+This function is the logical equivalent of:
+|[
+clutter_actor_meta_set_name (CLUTTER_ACTOR_META (constraint), name);
+clutter_actor_add_constraint (self, constraint);
+]|</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name to set on the constraint</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="constraint" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterConstraint</doc>
+ <type name="Constraint" c:type="ClutterConstraint*"/>
+ </parameter>
+ </parameters>
</method>
- <method name="hide"
- c:identifier="clutter_actor_hide"
- doc="Flags an actor to be hidden. A hidden actor will not be
-rendered on the stage.
-Actors are visible by default.
-If this function is called on an actor without a parent, the
-#ClutterActor:show-on-set-parent property will be set to %FALSE
-as a side-effect.">
+ <method name="add_effect"
+ c:identifier="clutter_actor_add_effect"
+ version="1.4">
+ <doc xml:whitespace="preserve">Adds @effect to the list of #ClutterEffect<!-- -->s applied to @self
+The #ClutterActor will hold a reference on the @effect until either
+clutter_actor_remove_effect() or clutter_actor_clear_effects() is
+called.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="effect" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterEffect</doc>
+ <type name="Effect" c:type="ClutterEffect*"/>
+ </parameter>
+ </parameters>
</method>
- <method name="hide_all"
- c:identifier="clutter_actor_hide_all"
- doc="Calls clutter_actor_hide() on all child actors (if any)."
- version="0.2">
+ <method name="add_effect_with_name"
+ c:identifier="clutter_actor_add_effect_with_name"
+ version="1.4">
+ <doc xml:whitespace="preserve">A convenience function for setting the name of a #ClutterEffect
+while adding it to the list of effectss applied to @self
+This function is the logical equivalent of:
+|[
+clutter_actor_meta_set_name (CLUTTER_ACTOR_META (effect), name);
+clutter_actor_add_effect (self, effect);
+]|</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name to set on the effect</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="effect" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterEffect</doc>
+ <type name="Effect" c:type="ClutterEffect*"/>
+ </parameter>
+ </parameters>
</method>
- <method name="realize"
- c:identifier="clutter_actor_realize"
- doc="Realization informs the actor that it is attached to a stage. It
-can use this to allocate resources if it wanted to delay allocation
-until it would be rendered. However it is perfectly acceptable for
-an actor to create resources before being realized because Clutter
-only ever has a single rendering context so that actor is free to
-be moved from one stage to another.
-This function does nothing if the actor is already realized.
-Because a realized actor must have realized parent actors, calling
-clutter_actor_realize() will also realize all parents of the actor.
-This function does not realize child actors, except in the special
-case that realizing the stage, when the stage is visible, will
-suddenly map (and thus realize) the children of the stage.">
+ <method name="allocate"
+ c:identifier="clutter_actor_allocate"
+ version="0.8">
+ <doc xml:whitespace="preserve">Called by the parent of an actor to assign the actor its size.
+Should never be called by applications (except when implementing
+a container or layout manager).
+Actors can know from their allocation box whether they have moved
+with respect to their parent actor. The @flags parameter describes
+additional information about the allocation, for instance whether
+the parent has moved with respect to the stage, for example because
+a grandparent's origin has moved.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="box" transfer-ownership="none">
+ <doc xml:whitespace="preserve">new allocation of the actor, in parent-relative coordinates</doc>
+ <type name="ActorBox" c:type="ClutterActorBox*"/>
+ </parameter>
+ <parameter name="flags" transfer-ownership="none">
+ <doc xml:whitespace="preserve">flags that control the allocation</doc>
+ <type name="AllocationFlags" c:type="ClutterAllocationFlags"/>
+ </parameter>
+ </parameters>
</method>
- <method name="unrealize"
- c:identifier="clutter_actor_unrealize"
- doc="Unrealization informs the actor that it may be being destroyed or
-moved to another stage. The actor may want to destroy any
-underlying graphics resources at this point. However it is
-perfectly acceptable for it to retain the resources until the actor
-is destroyed because Clutter only ever uses a single rendering
-context and all of the graphics resources are valid on any stage.
-Because mapped actors must be realized, actors may not be
-unrealized if they are mapped. This function hides the actor to be
-sure it isn't mapped, an application-visible side effect that you
-may not be expecting.
-This function should not really be in the public API, because
-there isn't a good reason to call it. ClutterActor will already
-unrealize things for you when it's important to do so.
-If you were using clutter_actor_unrealize() in a dispose
-implementation, then don't, just chain up to ClutterActor's
-dispose.
-If you were using clutter_actor_unrealize() to implement
-unrealizing children of your container, then don't, ClutterActor
-will already take care of that.
-If you were using clutter_actor_unrealize() to re-realize to
-create your resources in a different way, then use
-_clutter_actor_rerealize() (inside Clutter) or just call your
-code that recreates your resources directly (outside Clutter).">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </method>
- <method name="map"
- c:identifier="clutter_actor_map"
- doc="Sets the %CLUTTER_ACTOR_MAPPED flag on the actor and possibly maps
-and realizes its children if they are visible. Does nothing if the
-actor is not visible.
-#ClutterActor::map virtual function in an actor and you need to map
-the children of that actor. It is not necessary to call this
-if you implement #ClutterContainer because the default implementation
-will automatically map children of containers.
-When overriding map, it is mandatory to chain up to the parent
-implementation."
- version="1.0">
+ <method name="allocate_align_fill"
+ c:identifier="clutter_actor_allocate_align_fill"
+ version="1.4">
+ <doc xml:whitespace="preserve">Allocates @self by taking into consideration the available allocation
+area; an alignment factor on either axis; and whether the actor should
+fill the allocation on either axis.
+The @box should contain the available allocation width and height;
+if the x1 and y1 members of #ClutterActorBox are not set to 0, the
+allocation will be offset by their value.
+This function takes into consideration the geometry request specified by
+the #ClutterActor:request-mode property, and the text direction.
+This function is useful for fluid layout managers, like #ClutterBinLayout
+or #ClutterTableLayout</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="box" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActorBox, containing the available width and height</doc>
+ <type name="ActorBox" c:type="ClutterActorBox*"/>
+ </parameter>
+ <parameter name="x_align" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the horizontal alignment, between 0 and 1</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="y_align" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the vertical alignment, between 0 and 1</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="x_fill" transfer-ownership="none">
+ <doc xml:whitespace="preserve">whether the actor should fill horizontally</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </parameter>
+ <parameter name="y_fill" transfer-ownership="none">
+ <doc xml:whitespace="preserve">whether the actor should fill vertically</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </parameter>
+ <parameter name="flags" transfer-ownership="none">
+ <doc xml:whitespace="preserve">allocation flags to be passed to clutter_actor_allocate()</doc>
+ <type name="AllocationFlags" c:type="ClutterAllocationFlags"/>
+ </parameter>
+ </parameters>
</method>
- <method name="unmap"
- c:identifier="clutter_actor_unmap"
- doc="Unsets the %CLUTTER_ACTOR_MAPPED flag on the actor and possibly
-unmaps its children if they were mapped.
-#ClutterActor::unmap virtual function in an actor and you need to
-unmap the children of that actor. It is not necessary to call this
-if you implement #ClutterContainer because the default implementation
-will automatically unmap children of containers.
-When overriding unmap, it is mandatory to chain up to the parent
-implementation."
+ <method name="allocate_available_size"
+ c:identifier="clutter_actor_allocate_available_size"
version="1.0">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </method>
- <method name="paint"
- c:identifier="clutter_actor_paint"
- doc="Renders the actor to display.
-This function should not be called directly by applications.
-Call clutter_actor_queue_redraw() to queue paints, instead.
-This function will emit the #ClutterActor::paint signal.">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </method>
- <method name="queue_redraw"
- c:identifier="clutter_actor_queue_redraw"
- doc="Queues up a redraw of an actor and any children. The redraw occurs
-once the main loop becomes idle (after the current batch of events
-has been processed, roughly).
-Applications rarely need to call this, as redraws are handled
-automatically by modification functions.
-This function will not do anything if @self is not visible, or
-if the actor is inside an invisible part of the scenegraph.
-Also be aware that painting is a NOP for actors with an opacity of
-0">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </method>
- <method name="queue_relayout"
- c:identifier="clutter_actor_queue_relayout"
- doc="Indicates that the actor's size request or other layout-affecting
-properties may have changed. This function is used inside #ClutterActor
-subclass implementations, not by applications directly.
-Queueing a new layout automatically queues a redraw as well."
- version="0.8">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </method>
- <method name="destroy"
- c:identifier="clutter_actor_destroy"
- doc="Destroys an actor. When an actor is destroyed, it will break any
-references it holds to other objects. If the actor is inside a
-container, the actor will be removed.
-When you destroy a container, its children will be destroyed as well.
-clutter_stage_get_default().">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </method>
- <method name="set_request_mode"
- c:identifier="clutter_actor_set_request_mode"
- doc="Sets the geometry request mode of @self.
-The @mode determines the order for invoking
-clutter_actor_get_preferred_width() and
-clutter_actor_get_preferred_height()"
- version="1.2">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="mode" transfer-ownership="none">
- <type name="RequestMode" c:type="ClutterRequestMode"/>
- </parameter>
- </parameters>
- </method>
- <method name="get_request_mode"
- c:identifier="clutter_actor_get_request_mode"
- doc="Retrieves the geometry request mode of @self"
- version="1.2">
- <return-value transfer-ownership="full">
- <type name="RequestMode" c:type="ClutterRequestMode"/>
- </return-value>
- </method>
- <method name="get_preferred_width"
- c:identifier="clutter_actor_get_preferred_width"
- doc="Computes the requested minimum and natural widths for an actor,
-optionally depending on the specified height, or if they are
-already computed, returns the cached values.
-An actor may not get its request - depending on the layout
-manager that's in effect.
-A request should not incorporate the actor's scale or anchor point;
-those transformations do not affect layout, only rendering."
- version="0.8">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="for_height"
- transfer-ownership="none"
- doc=" or a negative value to indicate that no height is defined">
- <type name="float" c:type="gfloat"/>
- </parameter>
- <parameter name="min_width_p"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- allow-none="1"
- doc="return location for minimum width, or %NULL">
- <type name="float" c:type="gfloat*"/>
- </parameter>
- <parameter name="natural_width_p"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- allow-none="1"
- doc="return location for the natural width, or %NULL">
- <type name="float" c:type="gfloat*"/>
- </parameter>
- </parameters>
- </method>
- <method name="get_preferred_height"
- c:identifier="clutter_actor_get_preferred_height"
- doc="Computes the requested minimum and natural heights for an actor,
-or if they are already computed, returns the cached values.
-An actor may not get its request - depending on the layout
-manager that's in effect.
-A request should not incorporate the actor's scale or anchor point;
-those transformations do not affect layout, only rendering."
- version="0.8">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="for_width"
- transfer-ownership="none"
- doc=" or a negative value to indicate that no width is defined">
- <type name="float" c:type="gfloat"/>
- </parameter>
- <parameter name="min_height_p"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- allow-none="1"
- doc="return location for minimum height, or %NULL">
- <type name="float" c:type="gfloat*"/>
- </parameter>
- <parameter name="natural_height_p"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- allow-none="1"
- doc="return location for natural height, or %NULL">
- <type name="float" c:type="gfloat*"/>
- </parameter>
- </parameters>
- </method>
- <method name="get_preferred_size"
- c:identifier="clutter_actor_get_preferred_size"
- doc="Computes the preferred minimum and natural size of an actor, taking into
-account the actor's geometry management (either height-for-width
-or width-for-height).
-The width and height used to compute the preferred height and preferred
-width are the actor's natural ones.
-If you need to control the height for the preferred width, or the width for
-the preferred height, you should use clutter_actor_get_preferred_width()
-and clutter_actor_get_preferred_height(), and check the actor's preferred
-geometry management using the #ClutterActor:request-mode property."
- version="0.8">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="min_width_p"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- allow-none="1"
- doc="return location for the minimum width, or %NULL">
- <type name="float" c:type="gfloat*"/>
- </parameter>
- <parameter name="min_height_p"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- allow-none="1"
- doc="return location for the minimum height, or %NULL">
- <type name="float" c:type="gfloat*"/>
- </parameter>
- <parameter name="natural_width_p"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- allow-none="1"
- doc="return location for the natural width, or %NULL">
- <type name="float" c:type="gfloat*"/>
- </parameter>
- <parameter name="natural_height_p"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- allow-none="1"
- doc="return location for the natural height, or %NULL">
- <type name="float" c:type="gfloat*"/>
- </parameter>
- </parameters>
- </method>
- <method name="allocate"
- c:identifier="clutter_actor_allocate"
- doc="Called by the parent of an actor to assign the actor its size.
-Should never be called by applications (except when implementing
-a container or layout manager).
-Actors can know from their allocation box whether they have moved
-with respect to their parent actor. The @flags parameter describes
-additional information about the allocation, for instance whether
-the parent has moved with respect to the stage, for example because
-a grandparent's origin has moved."
- version="0.8">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="box" transfer-ownership="none">
- <type name="ActorBox" c:type="ClutterActorBox*"/>
- </parameter>
- <parameter name="flags" transfer-ownership="none">
- <type name="AllocationFlags" c:type="ClutterAllocationFlags"/>
- </parameter>
- </parameters>
- </method>
- <method name="allocate_preferred_size"
- c:identifier="clutter_actor_allocate_preferred_size"
- doc="Allocates the natural size of @self.
-This function is a utility call for #ClutterActor implementations
-that allocates the actor's preferred natural size. It can be used
-by fixed layout managers (like #ClutterGroup or so called
-'composite actors') inside the ClutterActor::allocate
-implementation to give each child exactly how much space it
-requires.
-This function is not meant to be used by applications. It is also
-not meant to be used outside the implementation of the
-ClutterActor::allocate virtual function."
- version="0.8">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="flags" transfer-ownership="none">
- <type name="AllocationFlags" c:type="ClutterAllocationFlags"/>
- </parameter>
- </parameters>
- </method>
- <method name="allocate_available_size"
- c:identifier="clutter_actor_allocate_available_size"
- doc="Allocates @self taking into account the #ClutterActor<!-- -->'s
+ <doc xml:whitespace="preserve">Allocates @self taking into account the #ClutterActor<!-- -->'s
preferred size, but limiting it to the maximum available width
and height provided.
This function will do the right thing when dealing with the
-actor's request mode.
+actor's request mode.
The implementation of this function is equivalent to:
|[
if (request_mode == CLUTTER_REQUEST_HEIGHT_FOR_WIDTH)
clutter_actor_allocate (self, &amp;box, flags);
]|
This function can be used by fluid layout managers to allocate
-an actor's preferred size without making it bigger than the area
-available for the container."
- version="1.0">
+an actor's preferred size without making it bigger than the area
+available for the container.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="x" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <doc xml:whitespace="preserve">the actor's X coordinate</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
<parameter name="y" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <doc xml:whitespace="preserve">the actor's Y coordinate</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
- <parameter name="available_width"
- transfer-ownership="none"
- doc=" actor's natural width">
- <type name="float" c:type="gfloat"/>
+ <parameter name="available_width" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the maximum available width, or -1 to use the actor's natural width</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
- <parameter name="available_height"
- transfer-ownership="none"
- doc=" actor's natural height">
- <type name="float" c:type="gfloat"/>
+ <parameter name="available_height" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the maximum available height, or -1 to use the actor's natural height</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
+ <doc xml:whitespace="preserve">flags controlling the allocation</doc>
<type name="AllocationFlags" c:type="ClutterAllocationFlags"/>
</parameter>
</parameters>
</method>
- <method name="get_allocation_box"
- c:identifier="clutter_actor_get_allocation_box"
- doc="Gets the layout box an actor has been assigned. The allocation can
-only be assumed valid inside a paint() method; anywhere else, it
-may be out-of-date.
-An allocation does not incorporate the actor's scale or anchor point;
-those transformations do not affect layout, only rendering.
-<note>Do not call any of the clutter_actor_get_allocation_*() family
-of functions inside the implementation of the get_preferred_width()
-or get_preferred_height() virtual functions.</note>"
- version="0.8">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="box"
- direction="out"
- caller-allocates="1"
- transfer-ownership="none"
- doc="the function fills this in with the actor's allocation">
- <type name="ActorBox" c:type="ClutterActorBox*"/>
- </parameter>
- </parameters>
- </method>
- <method name="get_allocation_geometry"
- c:identifier="clutter_actor_get_allocation_geometry"
- doc="Gets the layout box an actor has been assigned. The allocation can
-only be assumed valid inside a paint() method; anywhere else, it
-may be out-of-date.
-An allocation does not incorporate the actor's scale or anchor point;
-those transformations do not affect layout, only rendering.
-The returned rectangle is in pixels."
+ <method name="allocate_preferred_size"
+ c:identifier="clutter_actor_allocate_preferred_size"
version="0.8">
+ <doc xml:whitespace="preserve">Allocates the natural size of @self.
+This function is a utility call for #ClutterActor implementations
+that allocates the actor's preferred natural size. It can be used
+by fixed layout managers (like #ClutterGroup or so called
+'composite actors') inside the ClutterActor::allocate
+implementation to give each child exactly how much space it
+requires.
+This function is not meant to be used by applications. It is also
+not meant to be used outside the implementation of the
+ClutterActor::allocate virtual function.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="geom"
- direction="out"
- caller-allocates="1"
- transfer-ownership="none"
- doc="allocation geometry in pixels">
- <type name="Geometry" c:type="ClutterGeometry*"/>
- </parameter>
- </parameters>
- </method>
- <method name="get_allocation_vertices"
- c:identifier="clutter_actor_get_allocation_vertices"
- doc="Calculates the transformed coordinates of the four corners of the
-actor in the plane of @ancestor. The returned vertices relate to
-the #ClutterActorBox coordinates as follows:
-<itemizedlist>
-<listitem><para>@verts[0] contains (x1, y1)</para></listitem>
-<listitem><para>@verts[1] contains (x2, y1)</para></listitem>
-<listitem><para>@verts[2] contains (x1, y2)</para></listitem>
-<listitem><para>@verts[3] contains (x2, y2)</para></listitem>
-</itemizedlist>
-If @ancestor is %NULL the ancestor will be the #ClutterStage. In
-this case, the coordinates returned will be the coordinates on
-the stage before the projection is applied. This is different from
-the behaviour of clutter_actor_get_abs_allocation_vertices()."
- version="0.6">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="ancestor"
- transfer-ownership="none"
- allow-none="1"
- doc="A #ClutterActor to calculate the vertices against, or %NULL to use the default #ClutterStage">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- <parameter name="verts"
- direction="out"
- caller-allocates="1"
- transfer-ownership="none"
- doc="return location for an array of 4 #ClutterVertex in which to store the result.">
- <array c:type="ClutterVertex" fixed-size="4">
- <type name="Vertex"/>
- </array>
- </parameter>
- </parameters>
- </method>
- <method name="set_geometry"
- c:identifier="clutter_actor_set_geometry"
- doc="Sets the actor's fixed position and forces its minimum and natural
-size, in pixels. This means the untransformed actor will have the
-given geometry. This is the same as calling clutter_actor_set_position()
-and clutter_actor_set_size().">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="geometry" transfer-ownership="none">
- <type name="Geometry" c:type="ClutterGeometry*"/>
+ <parameter name="flags" transfer-ownership="none">
+ <doc xml:whitespace="preserve">flags controlling the allocation</doc>
+ <type name="AllocationFlags" c:type="ClutterAllocationFlags"/>
</parameter>
</parameters>
</method>
- <method name="get_geometry"
- c:identifier="clutter_actor_get_geometry"
- doc="Gets the size and position of an actor relative to its parent
-actor. This is the same as calling clutter_actor_get_position() and
-clutter_actor_get_size(). It tries to "do what you mean" and get the
-requested size and position if the actor's allocation is invalid.">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="geometry"
- direction="out"
- caller-allocates="1"
- transfer-ownership="none"
- doc="A location to store actors #ClutterGeometry">
- <type name="Geometry" c:type="ClutterGeometry*"/>
- </parameter>
- </parameters>
- </method>
- <method name="set_size" c:identifier="clutter_actor_set_size">
+ <method name="animate"
+ c:identifier="clutter_actor_animate"
+ version="1.0"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Animates the given list of properties of @actor between the current
+value for each property and a new final value. The animation has a
+definite duration and a speed given by the @mode.
+For example, this:
+|[
+clutter_actor_animate (rectangle, CLUTTER_LINEAR, 250,
+"width", 100.0,
+"height", 100.0,
+NULL);
+]|
+will make width and height properties of the #ClutterActor "rectangle"
+grow linearly between the current value and 100 pixels, in 250 milliseconds.
+The animation @mode is a logical id, either from the #ClutterAnimationMode
+enumeration of from clutter_alpha_register_func().
+All the properties specified will be animated between the current value
+and the final value. If a property should be set at the beginning of
+the animation but not updated during the animation, it should be prefixed
+by the "fixed::" string, for instance:
+|[
+clutter_actor_animate (actor, CLUTTER_EASE_IN_SINE, 100,
+"rotation-angle-z", 360.0,
+"fixed::rotation-center-z", &amp;center,
+NULL);
+]|
+Will animate the "rotation-angle-z" property between the current value
+and 360 degrees, and set the "rotation-center-z" property to the fixed
+value of the #ClutterVertex "center".
+This function will implicitly create a #ClutterAnimation object which
+will be assigned to the @actor and will be returned to the developer
+to control the animation or to know when the animation has been
+completed.
+If a name argument starts with "signal::", "signal-after::",
+"signal-swapped::" or "signal-swapped-after::" the two following arguments
+are used as callback function and data for a signal handler installed on
+the #ClutterAnimation object for the specified signal name, for instance:
+|[
+static void
+on_animation_completed (ClutterAnimation *animation,
+ClutterActor *actor)
+{
+clutter_actor_hide (actor);
+}
+clutter_actor_animate (actor, CLUTTER_EASE_IN_CUBIC, 100,
+"opacity", 0,
+"signal::completed", on_animation_completed, actor,
+NULL);
+]|
+or, to automatically destroy an actor at the end of the animation:
+|[
+clutter_actor_animate (actor, CLUTTER_EASE_IN_CUBIC, 100,
+"opacity", 0,
+"signal-swapped-after::completed",
+clutter_actor_destroy,
+actor,
+NULL);
+]|
+The "signal::" modifier is the equivalent of using g_signal_connect();
+the "signal-after::" modifier is the equivalent of using
+g_signal_connect_after() or g_signal_connect_data() with the
+%G_CONNECT_AFTER; the "signal-swapped::" modifier is the equivalent
+of using g_signal_connect_swapped() or g_signal_connect_data() with the
+%G_CONNECT_SWAPPED flah; finally, the "signal-swapped-after::" modifier
+is the equivalent of using g_signal_connect_data() with both the
+%G_CONNECT_AFTER and %G_CONNECT_SWAPPED flags. The clutter_actor_animate()
+function will not keep track of multiple connections to the same signal,
+so it is your responsability to avoid them when calling
+clutter_actor_animate() multiple times on the same actor.
+Calling this function on an actor that is already being animated
+will cause the current animation to change with the new final values,
+the new easing mode and the new duration - that is, this code:
+|[
+clutter_actor_animate (actor, CLUTTER_LINEAR, 250,
+"width", 100.0,
+"height", 100.0,
+NULL);
+clutter_actor_animate (actor, CLUTTER_EASE_IN_CUBIC, 500,
+"x", 100.0,
+"y", 100.0,
+"width", 200.0,
+NULL);
+]|
+is the equivalent of:
+|[
+clutter_actor_animate (actor, CLUTTER_EASE_IN_CUBIC, 500,
+"x", 100.0,
+"y", 100.0,
+"width", 200.0,
+"height", 100.0,
+NULL);
+]|
+<note>Unless the animation is looping, the #ClutterAnimation created by
+clutter_actor_animate() will become invalid as soon as it is
+complete.</note>
+Since the created #ClutterAnimation instance attached to @actor
+is guaranteed to be valid throughout the #ClutterAnimation::completed
+signal emission chain, you will not be able to create a new animation
+using clutter_actor_animate() on the same @actor from within the
+#ClutterAnimation::completed signal handler unless you use
+g_signal_connect_after() to connect the callback function, for instance:
+|[
+static void
+on_animation_completed (ClutterAnimation *animation,
+ClutterActor *actor)
+{
+clutter_actor_animate (actor, CLUTTER_EASE_OUT_CUBIC, 250,
+"x", 500.0,
+"y", 500.0,
+NULL);
+}
+...
+animation = clutter_actor_animate (actor, CLUTTER_EASE_IN_CUBIC, 250,
+"x", 100.0,
+"y", 100.0,
+NULL);
+g_signal_connect (animation, "completed",
+G_CALLBACK (on_animation_completed),
+actor);
+...
+]|
+owned by the #ClutterActor and should not be unreferenced with
+g_object_unref()</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">a #ClutterAnimation object. The object is</doc>
+ <type name="Animation" c:type="ClutterAnimation*"/>
</return-value>
<parameters>
- <parameter name="width" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <parameter name="mode" transfer-ownership="none">
+ <doc xml:whitespace="preserve">an animation mode logical id</doc>
+ <type name="gulong" c:type="gulong"/>
</parameter>
- <parameter name="height" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <parameter name="duration" transfer-ownership="none">
+ <doc xml:whitespace="preserve">duration of the animation, in milliseconds</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
- </parameters>
- </method>
- <method name="get_size"
- c:identifier="clutter_actor_get_size"
- doc="This function tries to "do what you mean" and return
-the size an actor will have. If the actor has a valid
-allocation, the allocation will be returned; otherwise,
-the actors natural size request will be returned.
-If you care whether you get the request vs. the allocation, you
-should probably call a different function like
-clutter_actor_get_allocation_box() or
-clutter_actor_get_preferred_width()."
- version="0.2">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="width"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- allow-none="1"
- doc="return location for the width, or %NULL.">
- <type name="float" c:type="gfloat*"/>
+ <parameter name="first_property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of a property</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
- <parameter name="height"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- allow-none="1"
- doc="return location for the height, or %NULL.">
- <type name="float" c:type="gfloat*"/>
+ <parameter transfer-ownership="none">
+ <varargs>
+ </varargs>
</parameter>
</parameters>
</method>
- <method name="get_transformed_size"
- c:identifier="clutter_actor_get_transformed_size"
- doc="Gets the absolute size of an actor in pixels, taking into account the
-scaling factors.
-If the actor has a valid allocation, the allocated size will be used.
-If the actor has not a valid allocation then the preferred size will
-be transformed and returned.
-If you want the transformed allocation, see
-clutter_actor_get_abs_allocation_vertices() instead.
-<note>When the actor (or one of its ancestors) is rotated around the
-X or Y axis, it no longer appears as on the stage as a rectangle, but
-as a generic quadrangle; in that case this function returns the size
-of the smallest rectangle that encapsulates the entire quad. Please
-note that in this case no assumptions can be made about the relative
-position of this envelope to the absolute position of the actor, as
-returned by clutter_actor_get_transformed_position(); if you need this
-information, you need to use clutter_actor_get_abs_allocation_vertices()
-to get the coords of the actual quadrangle.</note>"
- version="0.8">
+ <method name="animate_with_alpha"
+ c:identifier="clutter_actor_animate_with_alpha"
+ version="1.0"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Animates the given list of properties of @actor between the current
+value for each property and a new final value. The animation has a
+definite behaviour given by the passed @alpha.
+See clutter_actor_animate() for further details.
+This function is useful if you want to use an existing #ClutterAlpha
+to animate @actor.
+#ClutterActor and should not be unreferenced with g_object_unref()</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">a #ClutterAnimation object. The object is owned by the</doc>
+ <type name="Animation" c:type="ClutterAnimation*"/>
</return-value>
<parameters>
- <parameter name="width"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- allow-none="1"
- doc="return location for the width, or %NULL">
- <type name="float" c:type="gfloat*"/>
+ <parameter name="alpha" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterAlpha</doc>
+ <type name="Alpha" c:type="ClutterAlpha*"/>
</parameter>
- <parameter name="height"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- allow-none="1"
- doc="return location for the height, or %NULL">
- <type name="float" c:type="gfloat*"/>
+ <parameter name="first_property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of a property</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter transfer-ownership="none">
+ <varargs>
+ </varargs>
</parameter>
</parameters>
</method>
- <method name="set_position" c:identifier="clutter_actor_set_position">
+ <method name="animate_with_alphav"
+ c:identifier="clutter_actor_animate_with_alphav"
+ version="1.0">
+ <doc xml:whitespace="preserve">Animates the given list of properties of @actor between the current
+value for each property and a new final value. The animation has a
+definite behaviour given by the passed @alpha.
+See clutter_actor_animate() for further details.
+This function is useful if you want to use an existing #ClutterAlpha
+to animate @actor.
+This is the vector-based variant of clutter_actor_animate_with_alpha(),
+useful for language bindings.
+<warning>Unlike clutter_actor_animate_with_alpha(), this function will
+not allow you to specify "signal::" names and callbacks.</warning>
+#ClutterActor and should not be unreferenced with g_object_unref()</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">a #ClutterAnimation object. The object is owned by the</doc>
+ <type name="Animation" c:type="ClutterAnimation*"/>
</return-value>
<parameters>
- <parameter name="x" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <parameter name="alpha" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterAlpha</doc>
+ <type name="Alpha" c:type="ClutterAlpha*"/>
</parameter>
- <parameter name="y" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <parameter name="n_properties" transfer-ownership="none">
+ <doc xml:whitespace="preserve">number of property names and values</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="properties" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a vector containing the property names to set</doc>
+ <array length="1" c:type="gchar*">
+ <type name="utf8"/>
+ </array>
+ </parameter>
+ <parameter name="values" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a vector containing the property values to set</doc>
+ <array length="1" c:type="GValue*">
+ <type name="GObject.Value"/>
+ </array>
</parameter>
</parameters>
</method>
- <method name="get_position"
- c:identifier="clutter_actor_get_position"
- doc="This function tries to "do what you mean" and tell you where the
-actor is, prior to any transformations. Retrieves the fixed
-position of an actor in pixels, if one has been set; otherwise, if
-the allocation is valid, returns the actor's allocated position;
-otherwise, returns 0,0.
-The returned position is in pixels."
- version="0.6">
+ <method name="animate_with_timeline"
+ c:identifier="clutter_actor_animate_with_timeline"
+ version="1.0"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Animates the given list of properties of @actor between the current
+value for each property and a new final value. The animation has a
+definite duration given by @timeline and a speed given by the @mode.
+See clutter_actor_animate() for further details.
+This function is useful if you want to use an existing timeline
+to animate @actor.
+owned by the #ClutterActor and should not be unreferenced with
+g_object_unref()</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">a #ClutterAnimation object. The object is</doc>
+ <type name="Animation" c:type="ClutterAnimation*"/>
</return-value>
<parameters>
- <parameter name="x"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- allow-none="1"
- doc="return location for the X coordinate, or %NULL">
- <type name="float" c:type="gfloat*"/>
+ <parameter name="mode" transfer-ownership="none">
+ <doc xml:whitespace="preserve">an animation mode logical id</doc>
+ <type name="gulong" c:type="gulong"/>
</parameter>
- <parameter name="y"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- allow-none="1"
- doc="return location for the Y coordinate, or %NULL">
- <type name="float" c:type="gfloat*"/>
+ <parameter name="timeline" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterTimeline</doc>
+ <type name="Timeline" c:type="ClutterTimeline*"/>
+ </parameter>
+ <parameter name="first_property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of a property</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter transfer-ownership="none">
+ <varargs>
+ </varargs>
</parameter>
</parameters>
</method>
- <method name="get_transformed_position"
- c:identifier="clutter_actor_get_transformed_position"
- doc="Gets the absolute position of an actor, in pixels relative to the stage."
- version="0.8">
+ <method name="animate_with_timelinev"
+ c:identifier="clutter_actor_animate_with_timelinev"
+ version="1.0">
+ <doc xml:whitespace="preserve">Animates the given list of properties of @actor between the current
+value for each property and a new final value. The animation has a
+definite duration given by @timeline and a speed given by the @mode.
+See clutter_actor_animate() for further details.
+This function is useful if you want to use an existing timeline
+to animate @actor.
+This is the vector-based variant of clutter_actor_animate_with_timeline(),
+useful for language bindings.
+<warning>Unlike clutter_actor_animate_with_timeline(), this function
+will not allow you to specify "signal::" names and callbacks.</warning>
+owned by the #ClutterActor and should not be unreferenced with
+g_object_unref()</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">a #ClutterAnimation object. The object is</doc>
+ <type name="Animation" c:type="ClutterAnimation*"/>
</return-value>
<parameters>
- <parameter name="x"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- allow-none="1"
- doc="return location for the X coordinate, or %NULL">
- <type name="float" c:type="gfloat*"/>
+ <parameter name="mode" transfer-ownership="none">
+ <doc xml:whitespace="preserve">an animation mode logical id</doc>
+ <type name="gulong" c:type="gulong"/>
</parameter>
- <parameter name="y"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- allow-none="1"
- doc="return location for the Y coordinate, or %NULL">
- <type name="float" c:type="gfloat*"/>
+ <parameter name="timeline" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterTimeline</doc>
+ <type name="Timeline" c:type="ClutterTimeline*"/>
+ </parameter>
+ <parameter name="n_properties" transfer-ownership="none">
+ <doc xml:whitespace="preserve">number of property names and values</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="properties" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a vector containing the property names to set</doc>
+ <array length="2" c:type="gchar*">
+ <type name="utf8"/>
+ </array>
+ </parameter>
+ <parameter name="values" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a vector containing the property values to set</doc>
+ <array length="2" c:type="GValue*">
+ <type name="GObject.Value"/>
+ </array>
</parameter>
</parameters>
</method>
- <method name="get_fixed_position_set"
- c:identifier="clutter_actor_get_fixed_position_set"
- doc="Checks whether an actor has a fixed position set (and will thus be
-unaffected by any layout manager)."
- version="0.8">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- </method>
- <method name="set_fixed_position_set"
- c:identifier="clutter_actor_set_fixed_position_set"
- doc="Sets whether an actor has a fixed position set (and will thus be
-unaffected by any layout manager)."
- version="0.8">
+ <method name="animatev"
+ c:identifier="clutter_actor_animatev"
+ version="1.0">
+ <doc xml:whitespace="preserve">Animates the given list of properties of @actor between the current
+value for each property and a new final value. The animation has a
+definite duration and a speed given by the @mode.
+This is the vector-based variant of clutter_actor_animate(), useful
+for language bindings.
+<warning>Unlike clutter_actor_animate(), this function will not
+allow you to specify "signal::" names and callbacks.</warning>
+owned by the #ClutterActor and should not be unreferenced with
+g_object_unref()</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">a #ClutterAnimation object. The object is</doc>
+ <type name="Animation" c:type="ClutterAnimation*"/>
</return-value>
<parameters>
- <parameter name="is_set" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <parameter name="mode" transfer-ownership="none">
+ <doc xml:whitespace="preserve">an animation mode logical id</doc>
+ <type name="gulong" c:type="gulong"/>
+ </parameter>
+ <parameter name="duration" transfer-ownership="none">
+ <doc xml:whitespace="preserve">duration of the animation, in milliseconds</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ <parameter name="n_properties" transfer-ownership="none">
+ <doc xml:whitespace="preserve">number of property names and values</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="properties" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a vector containing the property names to set</doc>
+ <array length="2" c:type="gchar*">
+ <type name="utf8"/>
+ </array>
+ </parameter>
+ <parameter name="values" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a vector containing the property values to set</doc>
+ <array length="2" c:type="GValue*">
+ <type name="GObject.Value"/>
+ </array>
</parameter>
</parameters>
</method>
- <method name="get_width"
- c:identifier="clutter_actor_get_width"
- doc="Retrieves the width of a #ClutterActor.
-If the actor has a valid allocation, this function will return the
-width of the allocated area given to the actor.
-If the actor does not have a valid allocation, this function will
-return the actor's natural width, that is the preferred width of
-the actor.
-If you care whether you get the preferred width or the width that
-has been assigned to the actor, you should probably call a different
-function like clutter_actor_get_allocation_box() to retrieve the
-allocated size or clutter_actor_get_preferred_width() to retrieve the
-preferred width.
-If an actor has a fixed width, for instance a width that has been
-assigned using clutter_actor_set_width(), the width returned will
-be the same value.">
- <return-value transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </return-value>
- </method>
- <method name="get_height"
- c:identifier="clutter_actor_get_height"
- doc="Retrieves the height of a #ClutterActor.
-If the actor has a valid allocation, this function will return the
-height of the allocated area given to the actor.
-If the actor does not have a valid allocation, this function will
-return the actor's natural height, that is the preferred height of
-the actor.
-If you care whether you get the preferred height or the height that
-has been assigned to the actor, you should probably call a different
-function like clutter_actor_get_allocation_box() to retrieve the
-allocated size or clutter_actor_get_preferred_height() to retrieve the
-preferred height.
-If an actor has a fixed height, for instance a height that has been
-assigned using clutter_actor_set_height(), the height returned will
-be the same value.">
- <return-value transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </return-value>
- </method>
- <method name="set_width" c:identifier="clutter_actor_set_width">
+ <method name="apply_relative_transform_to_point"
+ c:identifier="clutter_actor_apply_relative_transform_to_point"
+ version="0.6">
+ <doc xml:whitespace="preserve">Transforms @point in coordinates relative to the actor into
+ancestor-relative coordinates using the relevant transform
+stack (i.e. scale, rotation, etc).
+If @ancestor is %NULL the ancestor will be the #ClutterStage. In
+this case, the coordinates returned will be the coordinates on
+the stage before the projection is applied. This is different from
+the behaviour of clutter_actor_apply_transform_to_point().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="width" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <parameter name="ancestor" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">A #ClutterActor ancestor, or %NULL to use the default #ClutterStage</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="point" transfer-ownership="none">
+ <doc xml:whitespace="preserve">A point as #ClutterVertex</doc>
+ <type name="Vertex" c:type="ClutterVertex*"/>
+ </parameter>
+ <parameter name="vertex" transfer-ownership="none">
+ <doc xml:whitespace="preserve">The translated #ClutterVertex</doc>
+ <type name="Vertex" c:type="ClutterVertex*"/>
</parameter>
</parameters>
</method>
- <method name="set_height" c:identifier="clutter_actor_set_height">
+ <method name="apply_transform_to_point"
+ c:identifier="clutter_actor_apply_transform_to_point"
+ version="0.4">
+ <doc xml:whitespace="preserve">Transforms @point in coordinates relative to the actor
+into screen-relative coordinates with the current actor
+transformation (i.e. scale, rotation, etc)</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="height" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <parameter name="point" transfer-ownership="none">
+ <doc xml:whitespace="preserve">A point as #ClutterVertex</doc>
+ <type name="Vertex" c:type="ClutterVertex*"/>
+ </parameter>
+ <parameter name="vertex" transfer-ownership="none">
+ <doc xml:whitespace="preserve">The translated #ClutterVertex</doc>
+ <type name="Vertex" c:type="ClutterVertex*"/>
</parameter>
</parameters>
</method>
- <method name="get_x" c:identifier="clutter_actor_get_x">
+ <method name="clear_actions"
+ c:identifier="clutter_actor_clear_actions"
+ version="1.4">
+ <doc xml:whitespace="preserve">Clears the list of actions applied to @self</doc>
<return-value transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <type name="none" c:type="void"/>
</return-value>
</method>
- <method name="get_y" c:identifier="clutter_actor_get_y">
+ <method name="clear_constraints"
+ c:identifier="clutter_actor_clear_constraints"
+ version="1.4">
+ <doc xml:whitespace="preserve">Clears the list of constraints applied to @self</doc>
<return-value transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <type name="none" c:type="void"/>
</return-value>
</method>
- <method name="set_x"
- c:identifier="clutter_actor_set_x"
- doc="Sets the actor's X coordinate, relative to its parent, in pixels.
-Overrides any layout manager and forces a fixed position for
-the actor."
- version="0.6">
+ <method name="clear_effects"
+ c:identifier="clutter_actor_clear_effects"
+ version="1.4">
+ <doc xml:whitespace="preserve">Clears the list of effects applied to @self</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
+ </method>
+ <method name="contains"
+ c:identifier="clutter_actor_contains"
+ version="1.4">
+ <doc xml:whitespace="preserve">Determines if @descendant is contained inside @self (either as an
+immediate child, or as a deeper descendant).</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">whether @descendent is contained within @self</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
<parameters>
- <parameter name="x" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <parameter name="descendant" transfer-ownership="none">
+ <doc xml:whitespace="preserve">A #ClutterActor, possibly contained in @self</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</parameter>
</parameters>
</method>
- <method name="set_y"
- c:identifier="clutter_actor_set_y"
- doc="Sets the actor's Y coordinate, relative to its parent, in pixels.#
-Overrides any layout manager and forces a fixed position for
-the actor."
- version="0.6">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <method name="create_pango_context"
+ c:identifier="clutter_actor_create_pango_context"
+ version="1.0">
+ <doc xml:whitespace="preserve">Creates a #PangoContext for the given actor. The #PangoContext
+is already configured using the appropriate font map, resolution
+and font options.
+See also clutter_actor_get_pango_context().
+Use g_object_unref() on the returned value to deallocate its
+resources</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">the newly created #PangoContext.</doc>
+ <type name="Pango.Context" c:type="PangoContext*"/>
+ </return-value>
+ </method>
+ <method name="create_pango_layout"
+ c:identifier="clutter_actor_create_pango_layout"
+ version="1.0">
+ <doc xml:whitespace="preserve">Creates a new #PangoLayout from the same #PangoContext used
+by the #ClutterActor. The #PangoLayout is already configured
+with the font map, resolution and font options, and the
+given @text.
+If you want to keep around a #PangoLayout created by this
+function you will have to connect to the #ClutterBackend::font-changed
+and #ClutterBackend::resolution-changed signals, and call
+pango_layout_context_changed() in response to them.
+Use g_object_unref() when done</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">the newly created #PangoLayout.</doc>
+ <type name="Pango.Layout" c:type="PangoLayout*"/>
</return-value>
<parameters>
- <parameter name="y" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <parameter name="text" transfer-ownership="none">
+ <doc xml:whitespace="preserve">(allow-none) the text to set on the #PangoLayout, or %NULL</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
- <method name="set_rotation"
- c:identifier="clutter_actor_set_rotation"
- doc="Sets the rotation angle of @self around the given axis.
-The rotation center coordinates used depend on the value of @axis:
-<itemizedlist>
-<listitem><para>%CLUTTER_X_AXIS requires @y and @z</para></listitem>
-<listitem><para>%CLUTTER_Y_AXIS requires @x and @z</para></listitem>
-<listitem><para>%CLUTTER_Z_AXIS requires @x and @y</para></listitem>
-</itemizedlist>
-The rotation coordinates are relative to the anchor point of the
-actor, set using clutter_actor_set_anchor_point(). If no anchor
-point is set, the upper left corner is assumed as the origin."
- version="0.8">
+ <method name="destroy" c:identifier="clutter_actor_destroy">
+ <doc xml:whitespace="preserve">Destroys an actor. When an actor is destroyed, it will break any
+references it holds to other objects. If the actor is inside a
+container, the actor will be removed.
+When you destroy a container, its children will be destroyed as well.
+clutter_stage_get_default().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- <parameters>
- <parameter name="axis" transfer-ownership="none">
- <type name="RotateAxis" c:type="ClutterRotateAxis"/>
- </parameter>
- <parameter name="angle" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </parameter>
- <parameter name="x" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </parameter>
- <parameter name="y" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </parameter>
- <parameter name="z" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </parameter>
- </parameters>
</method>
- <method name="set_z_rotation_from_gravity"
- c:identifier="clutter_actor_set_z_rotation_from_gravity"
- doc="Sets the rotation angle of @self around the Z axis using the center
-point specified as a compass point. For example to rotate such that
-the center of the actor remains static you can use
-%CLUTTER_GRAVITY_CENTER. If the actor changes size the center point
-will move accordingly."
- version="1.0">
+ <method name="detach_animation"
+ c:identifier="clutter_actor_detach_animation"
+ version="1.4">
+ <doc xml:whitespace="preserve">Detaches the #ClutterAnimation used by @actor, if clutter_actor_animate()
+has been called on @actor.
+Once the animation has been detached, it loses a reference. If it was
+the only reference then the #ClutterAnimation becomes invalid.
+The #ClutterAnimation::completed signal will not be emitted.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
+ </method>
+ <method name="event" c:identifier="clutter_actor_event" version="0.6">
+ <doc xml:whitespace="preserve">This function is used to emit an event on the main stage.
+You should rarely need to use this function, except for
+synthetising events.
+if the actor handled the event, or %FALSE if the event was
+not handled</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the return value from the signal emission: %TRUE</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
<parameters>
- <parameter name="angle" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
+ <parameter name="event" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterEvent</doc>
+ <type name="Event" c:type="ClutterEvent*"/>
</parameter>
- <parameter name="gravity" transfer-ownership="none">
- <type name="Gravity" c:type="ClutterGravity"/>
+ <parameter name="capture" transfer-ownership="none">
+ <doc xml:whitespace="preserve">TRUE if event in in capture phase, FALSE otherwise.</doc>
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
- <method name="get_rotation"
- c:identifier="clutter_actor_get_rotation"
- doc="Retrieves the angle and center of rotation on the given axis,
-set using clutter_actor_set_rotation()."
- version="0.8">
+ <method name="get_abs_allocation_vertices"
+ c:identifier="clutter_actor_get_abs_allocation_vertices"
+ version="0.4">
+ <doc xml:whitespace="preserve">Calculates the transformed screen coordinates of the four corners of
+the actor; the returned vertices relate to the #ClutterActorBox
+coordinates as follows:
+<itemizedlist>
+<listitem><para>v[0] contains (x1, y1)</para></listitem>
+<listitem><para>v[1] contains (x2, y1)</para></listitem>
+<listitem><para>v[2] contains (x1, y2)</para></listitem>
+<listitem><para>v[3] contains (x2, y2)</para></listitem>
+</itemizedlist></doc>
<return-value transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="axis" transfer-ownership="none">
- <type name="RotateAxis" c:type="ClutterRotateAxis"/>
- </parameter>
- <parameter name="x"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- doc="return value for the X coordinate of the center of rotation">
- <type name="float" c:type="gfloat*"/>
- </parameter>
- <parameter name="y"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- doc="return value for the Y coordinate of the center of rotation">
- <type name="float" c:type="gfloat*"/>
- </parameter>
- <parameter name="z"
+ <parameter name="verts"
direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- doc="return value for the Z coordinate of the center of rotation">
- <type name="float" c:type="gfloat*"/>
+ caller-allocates="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Pointer to a location of an array of 4 #ClutterVertex where to store the result.</doc>
+ <array c:type="ClutterVertex" fixed-size="4">
+ <type name="Vertex"/>
+ </array>
</parameter>
</parameters>
</method>
- <method name="get_z_rotation_gravity"
- c:identifier="clutter_actor_get_z_rotation_gravity"
- doc="Retrieves the center for the rotation around the Z axis as a
-compass direction. If the center was specified in pixels or units
-this will return %CLUTTER_GRAVITY_NONE."
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="Gravity" c:type="ClutterGravity"/>
+ <method name="get_accessible"
+ c:identifier="clutter_actor_get_accessible">
+ <doc xml:whitespace="preserve">Returns the accessible object that describes the actor to an
+assistive technology.
+If no class-specific #AtkObject implementation is available for the
+actor instance in question, it will inherit an #AtkObject
+implementation from the first ancestor class for which such an
+implementation is defined.
+The documentation of the <ulink
+url="http://developer.gnome.org/doc/API/2.0/atk/index.html">ATK</ulink>
+library contains more information about accessible objects and
+their uses.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #AtkObject associated with @actor</doc>
+ <type name="Atk.Object" c:type="AtkObject*"/>
</return-value>
</method>
- <method name="set_opacity"
- c:identifier="clutter_actor_set_opacity"
- doc="Sets the actor's opacity, with zero being completely transparent and
-255 (0xff) being fully opaque.">
+ <method name="get_action"
+ c:identifier="clutter_actor_get_action"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the #ClutterAction with the given name in the list
+of actions applied to @self
+name, or %NULL. The returned #ClutterAction is owned by the
+actor and it should not be unreferenced directly</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">a #ClutterAction for the given</doc>
+ <type name="Action" c:type="ClutterAction*"/>
</return-value>
<parameters>
- <parameter name="opacity" transfer-ownership="none">
- <type name="uint8" c:type="guint8"/>
+ <parameter name="name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the action to retrieve</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
- <method name="get_opacity"
- c:identifier="clutter_actor_get_opacity"
- doc="Retrieves the opacity value of an actor, as set by
-clutter_actor_set_opacity().
-For retrieving the absolute opacity of the actor inside a paint
-virtual function, see clutter_actor_get_paint_opacity().">
- <return-value transfer-ownership="none">
- <type name="uint8" c:type="guint8"/>
+ <method name="get_actions"
+ c:identifier="clutter_actor_get_actions"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the list of actions applied to @self
+of the list of #ClutterAction<!-- -->s. The contents of the list are
+owned by the #ClutterActor. Use g_list_free() to free the resources
+allocated by the returned #GList</doc>
+ <return-value transfer-ownership="container">
+ <doc xml:whitespace="preserve">a copy</doc>
+ <type name="GLib.List" c:type="GList*">
+ <type name="Action"/>
+ </type>
</return-value>
</method>
- <method name="get_paint_opacity"
- c:identifier="clutter_actor_get_paint_opacity"
- doc="Retrieves the absolute opacity of the actor, as it appears on the stage.
-This function traverses the hierarchy chain and composites the opacity of
-the actor with that of its parents.
-This function is intended for subclasses to use in the paint virtual
-function, to paint themselves with the correct opacity."
- version="0.8">
- <return-value transfer-ownership="none">
- <type name="uint8" c:type="guint8"/>
- </return-value>
- </method>
- <method name="get_paint_visibility"
- c:identifier="clutter_actor_get_paint_visibility"
- doc="Retrieves the 'paint' visibility of an actor recursively checking for non
-visible parents.
-This is by definition the same as CLUTTER_ACTOR_IS_MAPPED()."
- version="0.8.4">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- </method>
- <method name="set_name"
- c:identifier="clutter_actor_set_name"
- doc="Sets the given name to @self. The name can be used to identify
-a #ClutterActor.">
+ <method name="get_allocation_box"
+ c:identifier="clutter_actor_get_allocation_box"
+ version="0.8">
+ <doc xml:whitespace="preserve">Gets the layout box an actor has been assigned. The allocation can
+only be assumed valid inside a paint() method; anywhere else, it
+may be out-of-date.
+An allocation does not incorporate the actor's scale or anchor point;
+those transformations do not affect layout, only rendering.
+<note>Do not call any of the clutter_actor_get_allocation_*() family
+of functions inside the implementation of the get_preferred_width()
+or get_preferred_height() virtual functions.</note></doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="box"
+ direction="out"
+ caller-allocates="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">the function fills this in with the actor's allocation</doc>
+ <type name="ActorBox" c:type="ClutterActorBox*"/>
</parameter>
</parameters>
</method>
- <method name="get_name"
- c:identifier="clutter_actor_get_name"
- doc="Retrieves the name of @self.
-owned by the actor and should not be modified or freed.">
+ <method name="get_allocation_geometry"
+ c:identifier="clutter_actor_get_allocation_geometry"
+ version="0.8">
+ <doc xml:whitespace="preserve">Gets the layout box an actor has been assigned. The allocation can
+only be assumed valid inside a paint() method; anywhere else, it
+may be out-of-date.
+An allocation does not incorporate the actor's scale or anchor point;
+those transformations do not affect layout, only rendering.
+The returned rectangle is in pixels.</doc>
<return-value transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="geom"
+ direction="out"
+ caller-allocates="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">allocation geometry in pixels</doc>
+ <type name="Geometry" c:type="ClutterGeometry*"/>
+ </parameter>
+ </parameters>
</method>
- <method name="get_gid"
- c:identifier="clutter_actor_get_gid"
- doc="Retrieves the unique id for @self."
+ <method name="get_allocation_vertices"
+ c:identifier="clutter_actor_get_allocation_vertices"
version="0.6">
+ <doc xml:whitespace="preserve">Calculates the transformed coordinates of the four corners of the
+actor in the plane of @ancestor. The returned vertices relate to
+the #ClutterActorBox coordinates as follows:
+<itemizedlist>
+<listitem><para>@verts[0] contains (x1, y1)</para></listitem>
+<listitem><para>@verts[1] contains (x2, y1)</para></listitem>
+<listitem><para>@verts[2] contains (x1, y2)</para></listitem>
+<listitem><para>@verts[3] contains (x2, y2)</para></listitem>
+</itemizedlist>
+If @ancestor is %NULL the ancestor will be the #ClutterStage. In
+this case, the coordinates returned will be the coordinates on
+the stage before the projection is applied. This is different from
+the behaviour of clutter_actor_get_abs_allocation_vertices().</doc>
<return-value transfer-ownership="none">
- <type name="uint32" c:type="guint32"/>
+ <type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="ancestor" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">A #ClutterActor to calculate the vertices against, or %NULL to use the #ClutterStage</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="verts"
+ direction="out"
+ caller-allocates="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">return location for an array of 4 #ClutterVertex in which to store the result</doc>
+ <array c:type="ClutterVertex" fixed-size="4">
+ <type name="Vertex"/>
+ </array>
+ </parameter>
+ </parameters>
</method>
- <method name="set_clip"
- c:identifier="clutter_actor_set_clip"
- doc="Sets clip area for @self. The clip area is always computed from the
-upper left corner of the actor, even if the anchor point is set
-otherwise."
+ <method name="get_anchor_point"
+ c:identifier="clutter_actor_get_anchor_point"
version="0.6">
+ <doc xml:whitespace="preserve">Gets the current anchor point of the @actor in pixels.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="xoff" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </parameter>
- <parameter name="yoff" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </parameter>
- <parameter name="width" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <parameter name="anchor_x"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the X coordinate of the anchor point</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
- <parameter name="height" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <parameter name="anchor_y"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the Y coordinate of the anchor point</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
</parameters>
</method>
- <method name="remove_clip" c:identifier="clutter_actor_remove_clip">
+ <method name="get_anchor_point_gravity"
+ c:identifier="clutter_actor_get_anchor_point_gravity"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the anchor position expressed as a #ClutterGravity. If
+the anchor point was specified using pixels or units this will
+return %CLUTTER_GRAVITY_NONE.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the #ClutterGravity used by the anchor point</doc>
+ <type name="Gravity" c:type="ClutterGravity"/>
</return-value>
</method>
- <method name="has_clip"
- c:identifier="clutter_actor_has_clip"
- doc="Determines whether the actor has a clip area set or not."
- version="0.1.1">
+ <method name="get_animation"
+ c:identifier="clutter_actor_get_animation"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the #ClutterAnimation used by @actor, if clutter_actor_animate()
+has been called on @actor.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">a #ClutterAnimation, or %NULL</doc>
+ <type name="Animation" c:type="ClutterAnimation*"/>
</return-value>
</method>
<method name="get_clip"
c:identifier="clutter_actor_get_clip"
- doc="Gets the clip area for @self, if any is set"
version="0.6">
+ <doc xml:whitespace="preserve">Gets the clip area for @self, if any is set</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
direction="out"
caller-allocates="0"
transfer-ownership="full"
- allow-none="1"
- doc="return location for the X offset of the clip rectangle, or %NULL">
- <type name="float" c:type="gfloat*"/>
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for the X offset of the clip rectangle, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
<parameter name="yoff"
direction="out"
caller-allocates="0"
transfer-ownership="full"
- allow-none="1"
- doc="return location for the Y offset of the clip rectangle, or %NULL">
- <type name="float" c:type="gfloat*"/>
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for the Y offset of the clip rectangle, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
<parameter name="width"
direction="out"
caller-allocates="0"
transfer-ownership="full"
- allow-none="1"
- doc="return location for the width of the clip rectangle, or %NULL">
- <type name="float" c:type="gfloat*"/>
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for the width of the clip rectangle, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
<parameter name="height"
direction="out"
caller-allocates="0"
transfer-ownership="full"
- allow-none="1"
- doc="return location for the height of the clip rectangle, or %NULL">
- <type name="float" c:type="gfloat*"/>
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for the height of the clip rectangle, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
</parameters>
</method>
- <method name="set_parent"
- c:identifier="clutter_actor_set_parent"
- doc="Sets the parent of @self to @parent. The opposite function is
-clutter_actor_unparent().
-This function should not be used by applications, but by custom
-container actor subclasses.">
+ <method name="get_clip_to_allocation"
+ c:identifier="clutter_actor_get_clip_to_allocation"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the value set using clutter_actor_set_clip_to_allocation()</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">%TRUE if the #ClutterActor is clipped to its allocation</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ </method>
+ <method name="get_constraint"
+ c:identifier="clutter_actor_get_constraint"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the #ClutterConstraint with the given name in the list
+of constraints applied to @self
+name, or %NULL. The returned #ClutterConstraint is owned by the
+actor and it should not be unreferenced directly</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterConstraint for the given</doc>
+ <type name="Constraint" c:type="ClutterConstraint*"/>
</return-value>
<parameters>
- <parameter name="parent" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
+ <parameter name="name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the constraint to retrieve</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
- <method name="get_parent"
- c:identifier="clutter_actor_get_parent"
- doc="Retrieves the parent of @self.
-if no parent is set">
- <return-value transfer-ownership="none"
- doc="The #ClutterActor parent, or %NULL">
- <type name="Actor" c:type="ClutterActor*"/>
+ <method name="get_constraints"
+ c:identifier="clutter_actor_get_constraints"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the list of constraints applied to @self
+of the list of #ClutterConstraint<!-- -->s. The contents of the list are
+owned by the #ClutterActor. Use g_list_free() to free the resources
+allocated by the returned #GList</doc>
+ <return-value transfer-ownership="container">
+ <doc xml:whitespace="preserve">a copy</doc>
+ <type name="GLib.List" c:type="GList*">
+ <type name="Constraint"/>
+ </type>
</return-value>
</method>
- <method name="reparent"
- c:identifier="clutter_actor_reparent"
- doc="This function resets the parent actor of @self. It is
-logically equivalent to calling clutter_actor_unparent()
-and clutter_actor_set_parent(), but more efficiently
-implemented, ensures the child is not finalized
-when unparented, and emits the parent-set signal only
-one time."
- version="0.2">
+ <method name="get_depth" c:identifier="clutter_actor_get_depth">
+ <doc xml:whitespace="preserve">Retrieves the depth of @self.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the depth of the actor</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </return-value>
+ </method>
+ <method name="get_effect"
+ c:identifier="clutter_actor_get_effect"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the #ClutterEffect with the given name in the list
+of effects applied to @self
+name, or %NULL. The returned #ClutterEffect is owned by the
+actor and it should not be unreferenced directly</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterEffect for the given</doc>
+ <type name="Effect" c:type="ClutterEffect*"/>
</return-value>
<parameters>
- <parameter name="new_parent" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
+ <parameter name="name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the effect to retrieve</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
- <method name="unparent"
- c:identifier="clutter_actor_unparent"
- doc="Removes the parent of @self.
-This function should not be used in applications. It should be called by
-implementations of container actors, to dissociate a child from the
-container."
- version="0.1.1">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <method name="get_effects"
+ c:identifier="clutter_actor_get_effects"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the #ClutterEffect<!-- -->s applied on @self, if any
+of #ClutterEffect<!-- -->s, or %NULL. The elements of the returned
+list are owned by Clutter and they should not be freed. You should
+free the returned list using g_list_free() when done</doc>
+ <return-value transfer-ownership="container">
+ <doc xml:whitespace="preserve">a list</doc>
+ <type name="GLib.List" c:type="GList*">
+ <type name="Effect"/>
+ </type>
</return-value>
</method>
- <method name="get_stage"
- c:identifier="clutter_actor_get_stage"
- doc="Retrieves the #ClutterStage where @actor is contained."
+ <method name="get_fixed_position_set"
+ c:identifier="clutter_actor_get_fixed_position_set"
version="0.8">
- <return-value transfer-ownership="none"
- doc="the stage containing the actor, or %NULL">
- <type name="Actor" c:type="ClutterActor*"/>
+ <doc xml:whitespace="preserve">Checks whether an actor has a fixed position set (and will thus be
+unaffected by any layout manager).</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the fixed position is set on the actor</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
- <method name="raise"
- c:identifier="clutter_actor_raise"
- doc="Puts @self above @below.
-Both actors must have the same parent, and the parent must implement
-the #ClutterContainer interface
-This function is the equivalent of clutter_container_raise_child().">
+ <method name="get_flags"
+ c:identifier="clutter_actor_get_flags"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the flags set on @self</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">a bitwise or of #ClutterActorFlags or 0</doc>
+ <type name="ActorFlags" c:type="ClutterActorFlags"/>
</return-value>
- <parameters>
- <parameter name="below"
- transfer-ownership="none"
- allow-none="1"
- doc="A #ClutterActor to raise above.">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- </parameters>
</method>
- <method name="lower"
- c:identifier="clutter_actor_lower"
- doc="Puts @self below @above.
-Both actors must have the same parent, and the parent must implement
-the #ClutterContainer interface.
-This function is the equivalent of clutter_container_lower_child().">
+ <method name="get_geometry" c:identifier="clutter_actor_get_geometry">
+ <doc xml:whitespace="preserve">Gets the size and position of an actor relative to its parent
+actor. This is the same as calling clutter_actor_get_position() and
+clutter_actor_get_size(). It tries to "do what you mean" and get the
+requested size and position if the actor's allocation is invalid.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="above"
- transfer-ownership="none"
- allow-none="1"
- doc="A #ClutterActor to lower below">
- <type name="Actor" c:type="ClutterActor*"/>
+ <parameter name="geometry"
+ direction="out"
+ caller-allocates="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">A location to store actors #ClutterGeometry</doc>
+ <type name="Geometry" c:type="ClutterGeometry*"/>
</parameter>
</parameters>
</method>
- <method name="raise_top"
- c:identifier="clutter_actor_raise_top"
- doc="Raises @self to the top.
-This function calls clutter_actor_raise() internally.">
+ <method name="get_gid"
+ c:identifier="clutter_actor_get_gid"
+ version="0.6">
+ <doc xml:whitespace="preserve">Retrieves the unique id for @self.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">Globally unique value for this object instance.</doc>
+ <type name="guint32" c:type="guint32"/>
</return-value>
</method>
- <method name="lower_bottom"
- c:identifier="clutter_actor_lower_bottom"
- doc="Lowers @self to the bottom.
-This function calls clutter_actor_lower() internally.">
+ <method name="get_height" c:identifier="clutter_actor_get_height">
+ <doc xml:whitespace="preserve">Retrieves the height of a #ClutterActor.
+If the actor has a valid allocation, this function will return the
+height of the allocated area given to the actor.
+If the actor does not have a valid allocation, this function will
+return the actor's natural height, that is the preferred height of
+the actor.
+If you care whether you get the preferred height or the height that
+has been assigned to the actor, you should probably call a different
+function like clutter_actor_get_allocation_box() to retrieve the
+allocated size or clutter_actor_get_preferred_height() to retrieve the
+preferred height.
+If an actor has a fixed height, for instance a height that has been
+assigned using clutter_actor_set_height(), the height returned will
+be the same value.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the height of the actor, in pixels</doc>
+ <type name="gfloat" c:type="gfloat"/>
</return-value>
</method>
- <method name="set_depth"
- c:identifier="clutter_actor_set_depth"
- doc="Sets the Z coordinate of @self to @depth.
-The unit used by @depth is dependant on the perspective setup. See
-also clutter_stage_set_perspective().">
+ <method name="get_name" c:identifier="clutter_actor_get_name">
+ <doc xml:whitespace="preserve">Retrieves the name of @self.
+owned by the actor and should not be modified or freed.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the name of the actor, or %NULL. The returned string is</doc>
+ <type name="utf8" c:type="gchar*"/>
</return-value>
- <parameters>
- <parameter name="depth" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </parameter>
- </parameters>
</method>
- <method name="get_depth"
- c:identifier="clutter_actor_get_depth"
- doc="Retrieves the depth of @self.">
+ <method name="get_opacity" c:identifier="clutter_actor_get_opacity">
+ <doc xml:whitespace="preserve">Retrieves the opacity value of an actor, as set by
+clutter_actor_set_opacity().
+For retrieving the absolute opacity of the actor inside a paint
+virtual function, see clutter_actor_get_paint_opacity().</doc>
<return-value transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <doc xml:whitespace="preserve">the opacity of the actor</doc>
+ <type name="guint8" c:type="guint8"/>
</return-value>
</method>
- <method name="set_scale"
- c:identifier="clutter_actor_set_scale"
- doc="Scales an actor with the given factors. The scaling is relative to
-the scale center and the anchor point. The scale center is
-unchanged by this function and defaults to 0,0."
- version="0.2">
+ <method name="get_paint_opacity"
+ c:identifier="clutter_actor_get_paint_opacity"
+ version="0.8">
+ <doc xml:whitespace="preserve">Retrieves the absolute opacity of the actor, as it appears on the stage.
+This function traverses the hierarchy chain and composites the opacity of
+the actor with that of its parents.
+This function is intended for subclasses to use in the paint virtual
+function, to paint themselves with the correct opacity.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">The actor opacity value.</doc>
+ <type name="guint8" c:type="guint8"/>
</return-value>
- <parameters>
- <parameter name="scale_x" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </parameter>
- <parameter name="scale_y" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </parameter>
- </parameters>
</method>
- <method name="set_scale_full"
- c:identifier="clutter_actor_set_scale_full"
- doc="Scales an actor with the given factors around the given center
-point. The center point is specified in pixels relative to the
-anchor point (usually the top left corner of the actor)."
- version="1.0">
+ <method name="get_paint_visibility"
+ c:identifier="clutter_actor_get_paint_visibility"
+ version="0.8.4">
+ <doc xml:whitespace="preserve">Retrieves the 'paint' visibility of an actor recursively checking for non
+visible parents.
+This is by definition the same as CLUTTER_ACTOR_IS_MAPPED().</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">TRUE if the actor is visibile and will be painted.</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
- <parameters>
- <parameter name="scale_x" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </parameter>
- <parameter name="scale_y" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </parameter>
- <parameter name="center_x" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </parameter>
- <parameter name="center_y" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </parameter>
- </parameters>
</method>
- <method name="set_scale_with_gravity"
- c:identifier="clutter_actor_set_scale_with_gravity"
- doc="Scales an actor with the given factors around the given
-center point. The center point is specified as one of the compass
-directions in #ClutterGravity. For example, setting it to north
-will cause the top of the actor to remain unchanged and the rest of
-the actor to expand left, right and downwards."
+ <method name="get_pango_context"
+ c:identifier="clutter_actor_get_pango_context"
version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the #PangoContext for @self. The actor's #PangoContext
+is already configured using the appropriate font map, resolution
+and font options.
+Unlike clutter_actor_create_pango_context(), this context is owend
+by the #ClutterActor and it will be updated each time the options
+stored by the #ClutterBackend change.
+You can use the returned #PangoContext to create a #PangoLayout
+and render text using cogl_pango_render_layout() to reuse the
+glyphs cache also used by Clutter.
+The returned #PangoContext is owned by the actor and should not be
+unreferenced by the application code</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the #PangoContext for a #ClutterActor.</doc>
+ <type name="Pango.Context" c:type="PangoContext*"/>
</return-value>
- <parameters>
- <parameter name="scale_x" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </parameter>
- <parameter name="scale_y" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </parameter>
- <parameter name="gravity"
- transfer-ownership="none"
- doc=" direction.">
- <type name="Gravity" c:type="ClutterGravity"/>
- </parameter>
- </parameters>
</method>
- <method name="get_scale"
- c:identifier="clutter_actor_get_scale"
- doc="Retrieves an actors scale factors."
- version="0.2">
+ <method name="get_parent" c:identifier="clutter_actor_get_parent">
+ <doc xml:whitespace="preserve">Retrieves the parent of @self.
+if no parent is set</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">The #ClutterActor parent, or %NULL</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </return-value>
+ </method>
+ <method name="get_position"
+ c:identifier="clutter_actor_get_position"
+ version="0.6">
+ <doc xml:whitespace="preserve">This function tries to "do what you mean" and tell you where the
+actor is, prior to any transformations. Retrieves the fixed
+position of an actor in pixels, if one has been set; otherwise, if
+the allocation is valid, returns the actor's allocated position;
+otherwise, returns 0,0.
+The returned position is in pixels.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="scale_x"
+ <parameter name="x"
direction="out"
caller-allocates="0"
transfer-ownership="full"
- allow-none="1"
- doc="Location to store horizonal scale factor, or %NULL.">
- <type name="double" c:type="gdouble*"/>
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for the X coordinate, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
- <parameter name="scale_y"
+ <parameter name="y"
direction="out"
caller-allocates="0"
transfer-ownership="full"
- allow-none="1"
- doc="Location to store vertical scale factor, or %NULL.">
- <type name="double" c:type="gdouble*"/>
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for the Y coordinate, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
</parameters>
</method>
- <method name="get_scale_center"
- c:identifier="clutter_actor_get_scale_center"
- doc="Retrieves the scale center coordinate in pixels relative to the top
-left corner of the actor. If the scale center was specified using a
-#ClutterGravity this will calculate the pixel offset using the
-current size of the actor."
- version="1.0">
+ <method name="get_preferred_height"
+ c:identifier="clutter_actor_get_preferred_height"
+ version="0.8">
+ <doc xml:whitespace="preserve">Computes the requested minimum and natural heights for an actor,
+or if they are already computed, returns the cached values.
+An actor may not get its request - depending on the layout
+manager that's in effect.
+A request should not incorporate the actor's scale or anchor point;
+those transformations do not affect layout, only rendering.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="center_x"
+ <parameter name="for_width" transfer-ownership="none">
+ <doc xml:whitespace="preserve">available width to assume in computing desired height, or a negative value to indicate that no width is defined</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ <parameter name="min_height_p"
direction="out"
caller-allocates="0"
transfer-ownership="full"
- allow-none="1"
- doc="Location to store the X position of the scale center, or %NULL.">
- <type name="float" c:type="gfloat*"/>
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for minimum height, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
- <parameter name="center_y"
+ <parameter name="natural_height_p"
direction="out"
caller-allocates="0"
transfer-ownership="full"
- allow-none="1"
- doc="Location to store the Y position of the scale center, or %NULL.">
- <type name="float" c:type="gfloat*"/>
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for natural height, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
</parameters>
</method>
- <method name="get_scale_gravity"
- c:identifier="clutter_actor_get_scale_gravity"
- doc="Retrieves the scale center as a compass direction. If the scale
-center was specified in pixels or units this will return
-%CLUTTER_GRAVITY_NONE."
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="Gravity" c:type="ClutterGravity"/>
- </return-value>
- </method>
- <method name="move_by"
- c:identifier="clutter_actor_move_by"
- doc="Moves an actor by the specified distance relative to its current
-position in pixels.
-This function modifies the fixed position of an actor and thus removes
-it from any layout management. Another way to move an actor is with an
-anchor point, see clutter_actor_set_anchor_point()."
- version="0.2">
+ <method name="get_preferred_size"
+ c:identifier="clutter_actor_get_preferred_size"
+ version="0.8">
+ <doc xml:whitespace="preserve">Computes the preferred minimum and natural size of an actor, taking into
+account the actor's geometry management (either height-for-width
+or width-for-height).
+The width and height used to compute the preferred height and preferred
+width are the actor's natural ones.
+If you need to control the height for the preferred width, or the width for
+the preferred height, you should use clutter_actor_get_preferred_width()
+and clutter_actor_get_preferred_height(), and check the actor's preferred
+geometry management using the #ClutterActor:request-mode property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="dx" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <parameter name="min_width_p"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full"
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for the minimum width, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
- <parameter name="dy" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <parameter name="min_height_p"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full"
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for the minimum height, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
+ </parameter>
+ <parameter name="natural_width_p"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full"
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for the natural width, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
+ </parameter>
+ <parameter name="natural_height_p"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full"
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for the natural height, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
</parameters>
</method>
- <method name="set_reactive"
- c:identifier="clutter_actor_set_reactive"
- doc="Sets @actor as reactive. Reactive actors will receive events."
- version="0.6">
+ <method name="get_preferred_width"
+ c:identifier="clutter_actor_get_preferred_width"
+ version="0.8">
+ <doc xml:whitespace="preserve">Computes the requested minimum and natural widths for an actor,
+optionally depending on the specified height, or if they are
+already computed, returns the cached values.
+An actor may not get its request - depending on the layout
+manager that's in effect.
+A request should not incorporate the actor's scale or anchor point;
+those transformations do not affect layout, only rendering.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="reactive" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <parameter name="for_height" transfer-ownership="none">
+ <doc xml:whitespace="preserve">available height when computing the preferred width, or a negative value to indicate that no height is defined</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ <parameter name="min_width_p"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full"
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for minimum width, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
+ </parameter>
+ <parameter name="natural_width_p"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full"
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for the natural width, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
</parameters>
</method>
<method name="get_reactive"
c:identifier="clutter_actor_get_reactive"
- doc="Checks whether @actor is marked as reactive."
version="0.6">
+ <doc xml:whitespace="preserve">Checks whether @actor is marked as reactive.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">%TRUE if the actor is reactive</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
- <method name="event"
- c:identifier="clutter_actor_event"
- doc="This function is used to emit an event on the main stage.
-You should rarely need to use this function, except for
-synthetising events.
-if the actor handled the event, or %FALSE if the event was
-not handled"
- version="0.6">
+ <method name="get_request_mode"
+ c:identifier="clutter_actor_get_request_mode"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the geometry request mode of @self</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">the request mode for the actor</doc>
+ <type name="RequestMode" c:type="ClutterRequestMode"/>
</return-value>
- <parameters>
- <parameter name="event" transfer-ownership="none">
- <type name="Event" c:type="ClutterEvent*"/>
- </parameter>
- <parameter name="capture" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </parameter>
- </parameters>
</method>
- <method name="set_shader"
- c:identifier="clutter_actor_set_shader"
- doc="Sets the #ClutterShader to be used when rendering @self.
-If @shader is %NULL it will unset any currently set shader
-for the actor."
- version="0.6">
+ <method name="get_rotation"
+ c:identifier="clutter_actor_get_rotation"
+ version="0.8">
+ <doc xml:whitespace="preserve">Retrieves the angle and center of rotation on the given axis,
+set using clutter_actor_set_rotation().</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">the angle of rotation</doc>
+ <type name="gdouble" c:type="gdouble"/>
</return-value>
<parameters>
- <parameter name="shader"
- transfer-ownership="none"
- allow-none="1"
- doc="a #ClutterShader or %NULL to unset the shader.">
- <type name="Shader" c:type="ClutterShader*"/>
+ <parameter name="axis" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the axis of rotation</doc>
+ <type name="RotateAxis" c:type="ClutterRotateAxis"/>
</parameter>
- </parameters>
- </method>
- <method name="get_shader"
- c:identifier="clutter_actor_get_shader"
- doc="Queries the currently set #ClutterShader on @self.
-or %NULL if no shader is set."
- version="0.6">
- <return-value transfer-ownership="none"
- doc="The currently set #ClutterShader">
- <type name="Shader" c:type="ClutterShader*"/>
- </return-value>
- </method>
- <method name="set_shader_param"
- c:identifier="clutter_actor_set_shader_param"
- doc="Sets the value for a named parameter of the shader applied
-to @actor."
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="param" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="x"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return value for the X coordinate of the center of rotation</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
- <parameter name="value" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
+ <parameter name="y"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return value for the Y coordinate of the center of rotation</doc>
+ <type name="gfloat" c:type="gfloat*"/>
+ </parameter>
+ <parameter name="z"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return value for the Z coordinate of the center of rotation</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
</parameters>
</method>
- <method name="set_shader_param_int"
- c:identifier="clutter_actor_set_shader_param_int"
- doc="Sets the value for a named int parameter of the shader applied to"
- version="0.8">
+ <method name="get_scale"
+ c:identifier="clutter_actor_get_scale"
+ version="0.2">
+ <doc xml:whitespace="preserve">Retrieves an actors scale factors.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="param" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="scale_x"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full"
+ allow-none="1">
+ <doc xml:whitespace="preserve">Location to store horizonal scale factor, or %NULL.</doc>
+ <type name="gdouble" c:type="gdouble*"/>
</parameter>
- <parameter name="value" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="scale_y"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full"
+ allow-none="1">
+ <doc xml:whitespace="preserve">Location to store vertical scale factor, or %NULL.</doc>
+ <type name="gdouble" c:type="gdouble*"/>
</parameter>
</parameters>
</method>
- <method name="set_shader_param_float"
- c:identifier="clutter_actor_set_shader_param_float"
- doc="Sets the value for a named float parameter of the shader applied
-to @actor."
- version="0.8">
+ <method name="get_scale_center"
+ c:identifier="clutter_actor_get_scale_center"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the scale center coordinate in pixels relative to the top
+left corner of the actor. If the scale center was specified using a
+#ClutterGravity this will calculate the pixel offset using the
+current size of the actor.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="param" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="center_x"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full"
+ allow-none="1">
+ <doc xml:whitespace="preserve">Location to store the X position of the scale center, or %NULL.</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
- <parameter name="value" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <parameter name="center_y"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full"
+ allow-none="1">
+ <doc xml:whitespace="preserve">Location to store the Y position of the scale center, or %NULL.</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
</parameters>
</method>
- <method name="set_anchor_point"
- c:identifier="clutter_actor_set_anchor_point"
- doc="Sets an anchor point for @self. The anchor point is a point in the
-coordinate space of an actor to which the actor position within its
-parent is relative; the default is (0, 0), i.e. the top-left corner
-of the actor."
- version="0.6">
+ <method name="get_scale_gravity"
+ c:identifier="clutter_actor_get_scale_gravity"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the scale center as a compass direction. If the scale
+center was specified in pixels or units this will return
+%CLUTTER_GRAVITY_NONE.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the scale gravity</doc>
+ <type name="Gravity" c:type="ClutterGravity"/>
</return-value>
- <parameters>
- <parameter name="anchor_x" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </parameter>
- <parameter name="anchor_y" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </parameter>
- </parameters>
</method>
- <method name="move_anchor_point"
- c:identifier="clutter_actor_move_anchor_point"
- doc="Sets an anchor point for the actor, and adjusts the actor postion so that
-the relative position of the actor toward its parent remains the same."
+ <method name="get_shader"
+ c:identifier="clutter_actor_get_shader"
version="0.6">
+ <doc xml:whitespace="preserve">Queries the currently set #ClutterShader on @self.
+or %NULL if no shader is set.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">The currently set #ClutterShader</doc>
+ <type name="Shader" c:type="ClutterShader*"/>
</return-value>
- <parameters>
- <parameter name="anchor_x" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </parameter>
- <parameter name="anchor_y" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </parameter>
- </parameters>
</method>
- <method name="get_anchor_point"
- c:identifier="clutter_actor_get_anchor_point"
- doc="Gets the current anchor point of the @actor in pixels."
- version="0.6">
+ <method name="get_size"
+ c:identifier="clutter_actor_get_size"
+ version="0.2">
+ <doc xml:whitespace="preserve">This function tries to "do what you mean" and return
+the size an actor will have. If the actor has a valid
+allocation, the allocation will be returned; otherwise,
+the actors natural size request will be returned.
+If you care whether you get the request vs. the allocation, you
+should probably call a different function like
+clutter_actor_get_allocation_box() or
+clutter_actor_get_preferred_width().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="anchor_x"
+ <parameter name="width"
direction="out"
caller-allocates="0"
transfer-ownership="full"
- doc="return location for the X coordinate of the anchor point">
- <type name="float" c:type="gfloat*"/>
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for the width, or %NULL.</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
- <parameter name="anchor_y"
+ <parameter name="height"
direction="out"
caller-allocates="0"
transfer-ownership="full"
- doc="return location for the Y coordinate of the anchor point">
- <type name="float" c:type="gfloat*"/>
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for the height, or %NULL.</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
</parameters>
</method>
- <method name="get_anchor_point_gravity"
- c:identifier="clutter_actor_get_anchor_point_gravity"
- doc="Retrieves the anchor position expressed as a #ClutterGravity. If
-the anchor point was specified using pixels or units this will
-return %CLUTTER_GRAVITY_NONE."
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="Gravity" c:type="ClutterGravity"/>
- </return-value>
- </method>
- <method name="set_anchor_point_from_gravity"
- c:identifier="clutter_actor_set_anchor_point_from_gravity"
- doc="Sets an anchor point on the actor, based on the given gravity (this is a
-convenience function wrapping clutter_actor_set_anchor_point()).
-Since version 1.0 the anchor point will be stored as a gravity so
-that if the actor changes size then the anchor point will move. For
-example, if you set the anchor point to %CLUTTER_GRAVITY_SOUTH_EAST
-and later double the size of the actor, the anchor point will move
-to the bottom right."
- version="0.6">
+ <method name="get_stage"
+ c:identifier="clutter_actor_get_stage"
+ version="0.8">
+ <doc xml:whitespace="preserve">Retrieves the #ClutterStage where @actor is contained.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the stage containing the actor, or %NULL</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</return-value>
- <parameters>
- <parameter name="gravity" transfer-ownership="none">
- <type name="Gravity" c:type="ClutterGravity"/>
- </parameter>
- </parameters>
</method>
- <method name="move_anchor_point_from_gravity"
- c:identifier="clutter_actor_move_anchor_point_from_gravity"
- doc="Sets an anchor point on the actor based on the given gravity, adjusting the
-actor postion so that its relative position within its parent remains
-unchanged.
-Since version 1.0 the anchor point will be stored as a gravity so
-that if the actor changes size then the anchor point will move. For
-example, if you set the anchor point to %CLUTTER_GRAVITY_SOUTH_EAST
-and later double the size of the actor, the anchor point will move
-to the bottom right."
- version="0.6">
+ <method name="get_text_direction"
+ c:identifier="clutter_actor_get_text_direction"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the value set using clutter_actor_set_text_direction()
+If no text direction has been previously set, the default text
+direction, as returned by clutter_get_default_text_direction(), will
+be returned instead</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterTextDirection for the actor</doc>
+ <type name="TextDirection" c:type="ClutterTextDirection"/>
+ </return-value>
+ </method>
+ <method name="get_transformation_matrix"
+ c:identifier="clutter_actor_get_transformation_matrix"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the transformations applied to @self relative to its
+parent.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="gravity" transfer-ownership="none">
- <type name="Gravity" c:type="ClutterGravity"/>
+ <parameter name="matrix"
+ direction="out"
+ caller-allocates="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">the return location for a #CoglMatrix</doc>
+ <type name="Cogl.Matrix" c:type="CoglMatrix*"/>
</parameter>
</parameters>
</method>
- <method name="transform_stage_point"
- c:identifier="clutter_actor_transform_stage_point">
+ <method name="get_transformed_position"
+ c:identifier="clutter_actor_get_transformed_position"
+ version="0.8">
+ <doc xml:whitespace="preserve">Gets the absolute position of an actor, in pixels relative to the stage.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="x" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <parameter name="x"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full"
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for the X coordinate, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
- <parameter name="y" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <parameter name="y"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full"
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for the Y coordinate, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
- <parameter name="x_out"
+ </parameters>
+ </method>
+ <method name="get_transformed_size"
+ c:identifier="clutter_actor_get_transformed_size"
+ version="0.8">
+ <doc xml:whitespace="preserve">Gets the absolute size of an actor in pixels, taking into account the
+scaling factors.
+If the actor has a valid allocation, the allocated size will be used.
+If the actor has not a valid allocation then the preferred size will
+be transformed and returned.
+If you want the transformed allocation, see
+clutter_actor_get_abs_allocation_vertices() instead.
+<note>When the actor (or one of its ancestors) is rotated around the
+X or Y axis, it no longer appears as on the stage as a rectangle, but
+as a generic quadrangle; in that case this function returns the size
+of the smallest rectangle that encapsulates the entire quad. Please
+note that in this case no assumptions can be made about the relative
+position of this envelope to the absolute position of the actor, as
+returned by clutter_actor_get_transformed_position(); if you need this
+information, you need to use clutter_actor_get_abs_allocation_vertices()
+to get the coords of the actual quadrangle.</note></doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="width"
direction="out"
caller-allocates="0"
- transfer-ownership="full">
- <type name="float" c:type="gfloat*"/>
+ transfer-ownership="full"
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for the width, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
- <parameter name="y_out"
+ <parameter name="height"
direction="out"
caller-allocates="0"
- transfer-ownership="full">
- <type name="float" c:type="gfloat*"/>
+ transfer-ownership="full"
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for the height, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
</parameters>
</method>
- <method name="is_rotated"
- c:identifier="clutter_actor_is_rotated"
- doc="Checks whether any rotation is applied to the actor."
- version="0.6">
+ <method name="get_width" c:identifier="clutter_actor_get_width">
+ <doc xml:whitespace="preserve">Retrieves the width of a #ClutterActor.
+If the actor has a valid allocation, this function will return the
+width of the allocated area given to the actor.
+If the actor does not have a valid allocation, this function will
+return the actor's natural width, that is the preferred width of
+the actor.
+If you care whether you get the preferred width or the width that
+has been assigned to the actor, you should probably call a different
+function like clutter_actor_get_allocation_box() to retrieve the
+allocated size or clutter_actor_get_preferred_width() to retrieve the
+preferred width.
+If an actor has a fixed width, for instance a width that has been
+assigned using clutter_actor_set_width(), the width returned will
+be the same value.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">the width of the actor, in pixels</doc>
+ <type name="gfloat" c:type="gfloat"/>
</return-value>
</method>
- <method name="is_scaled"
- c:identifier="clutter_actor_is_scaled"
- doc="Checks whether the actor is scaled in either dimension."
- version="0.6">
+ <method name="get_x" c:identifier="clutter_actor_get_x">
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="gfloat" c:type="gfloat"/>
</return-value>
</method>
- <method name="should_pick_paint"
- c:identifier="clutter_actor_should_pick_paint"
- doc="Should be called inside the implementation of the
-#ClutterActor::pick virtual function in order to check whether
-the actor should paint itself in pick mode or not.
-This function should never be called directly by applications.
-%FALSE otherwise">
+ <method name="get_y" c:identifier="clutter_actor_get_y">
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="gfloat" c:type="gfloat"/>
</return-value>
</method>
- <method name="get_abs_allocation_vertices"
- c:identifier="clutter_actor_get_abs_allocation_vertices"
- doc="Calculates the transformed screen coordinates of the four corners of
-the actor; the returned vertices relate to the #ClutterActorBox
-coordinates as follows:
-<itemizedlist>
-<listitem><para>v[0] contains (x1, y1)</para></listitem>
-<listitem><para>v[1] contains (x2, y1)</para></listitem>
-<listitem><para>v[2] contains (x1, y2)</para></listitem>
-<listitem><para>v[3] contains (x2, y2)</para></listitem>
-</itemizedlist>"
- version="0.4">
+ <method name="get_z_rotation_gravity"
+ c:identifier="clutter_actor_get_z_rotation_gravity"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the center for the rotation around the Z axis as a
+compass direction. If the center was specified in pixels or units
+this will return %CLUTTER_GRAVITY_NONE.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the Z rotation center</doc>
+ <type name="Gravity" c:type="ClutterGravity"/>
</return-value>
- <parameters>
- <parameter name="verts"
- direction="out"
- caller-allocates="1"
- transfer-ownership="none"
- doc="Pointer to a location of an array of 4 #ClutterVertex where to store the result.">
- <array c:type="ClutterVertex" fixed-size="4">
- <type name="Vertex"/>
- </array>
- </parameter>
- </parameters>
</method>
- <method name="apply_transform_to_point"
- c:identifier="clutter_actor_apply_transform_to_point"
- doc="Transforms @point in coordinates relative to the actor
-into screen-relative coordinates with the current actor
-transformation (i.e. scale, rotation, etc)"
- version="0.4">
+ <method name="grab_key_focus"
+ c:identifier="clutter_actor_grab_key_focus"
+ version="1.0">
+ <doc xml:whitespace="preserve">Sets the key focus of the #ClutterStage including @self
+to this #ClutterActor.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- <parameters>
- <parameter name="point" transfer-ownership="none">
- <type name="Vertex" c:type="ClutterVertex*"/>
- </parameter>
- <parameter name="vertex" transfer-ownership="none">
- <type name="Vertex" c:type="ClutterVertex*"/>
- </parameter>
- </parameters>
</method>
- <method name="apply_relative_transform_to_point"
- c:identifier="clutter_actor_apply_relative_transform_to_point"
- doc="Transforms @point in coordinates relative to the actor into
-ancestor-relative coordinates using the relevant transform
-stack (i.e. scale, rotation, etc).
-If @ancestor is %NULL the ancestor will be the #ClutterStage. In
-this case, the coordinates returned will be the coordinates on
-the stage before the projection is applied. This is different from
-the behaviour of clutter_actor_apply_transform_to_point()."
- version="0.6">
+ <method name="has_allocation"
+ c:identifier="clutter_actor_has_allocation"
+ version="1.4">
+ <doc xml:whitespace="preserve">Checks if the actor has an up-to-date allocation assigned to
+visible and has a parent. It also means that there is no
+outstanding relayout request in progress for the actor or its
+children (There might be other outstanding layout requests in
+progress that will cause the actor to get a new allocation
+when the stage is laid out, however).
+If this function returns %FALSE, then the actor will normally
+be allocated before it is next drawn on the screen.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">%TRUE if the actor has an up-to-date allocation</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
- <parameters>
- <parameter name="ancestor"
- transfer-ownership="none"
- allow-none="1"
- doc="A #ClutterActor ancestor, or %NULL to use the default #ClutterStage">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- <parameter name="point" transfer-ownership="none">
- <type name="Vertex" c:type="ClutterVertex*"/>
- </parameter>
- <parameter name="vertex" transfer-ownership="none">
- <type name="Vertex" c:type="ClutterVertex*"/>
- </parameter>
- </parameters>
</method>
- <method name="grab_key_focus"
- c:identifier="clutter_actor_grab_key_focus"
- doc="Sets the key focus of the #ClutterStage including @self
-to this #ClutterActor."
- version="1.0">
+ <method name="has_clip"
+ c:identifier="clutter_actor_has_clip"
+ version="0.1.1">
+ <doc xml:whitespace="preserve">Determines whether the actor has a clip area set or not.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">%TRUE if the actor has a clip area set.</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
- <method name="get_pango_context"
- c:identifier="clutter_actor_get_pango_context"
- doc="Retrieves the #PangoContext for @self. The actor's #PangoContext
-is already configured using the appropriate font map, resolution
-and font options.
-Unlike clutter_actor_create_pango_context(), this context is owend
-by the #ClutterActor and it will be updated each time the options
-stored by the #ClutterBackend change.
-You can use the returned #PangoContext to create a #PangoLayout
-and render text using cogl_pango_render_layout() to reuse the
-glyphs cache also used by Clutter.
-The returned #PangoContext is owned by the actor and should not be
-unreferenced by the application code"
- version="1.0">
- <return-value transfer-ownership="none"
- doc="the #PangoContext for a #ClutterActor.">
- <type name="Pango.Context" c:type="PangoContext*"/>
+ <method name="has_key_focus"
+ c:identifier="clutter_actor_has_key_focus"
+ version="1.4">
+ <doc xml:whitespace="preserve">Checks whether @self is the #ClutterActor that has key focus</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the actor has key focus, and %FALSE otherwise</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
- <method name="create_pango_context"
- c:identifier="clutter_actor_create_pango_context"
- doc="Creates a #PangoContext for the given actor. The #PangoContext
-is already configured using the appropriate font map, resolution
-and font options.
-See also clutter_actor_get_pango_context().
-on the returned value to deallocate its resources"
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="Pango.Context" c:type="PangoContext*"/>
+ <method name="has_pointer"
+ c:identifier="clutter_actor_has_pointer"
+ version="1.2">
+ <doc xml:whitespace="preserve">Checks whether an actor contains the the pointer of a
+#ClutterInputDevice
+%FALSE otherwise</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the actor contains the pointer, and</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
- <method name="create_pango_layout"
- c:identifier="clutter_actor_create_pango_layout"
- doc="Creates a new #PangoLayout from the same #PangoContext used
-by the #ClutterActor. The #PangoLayout is already configured
-with the font map, resolution and font options, and the
-given @text.
-If you want to keep around a #PangoLayout created by this
-function you will have to connect to the #ClutterBackend::font-changed
-and #ClutterBackend::resolution-changed signals, and call
-pango_layout_context_changed() in response to them.
-when done"
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="Pango.Layout" c:type="PangoLayout*"/>
+ <method name="hide" c:identifier="clutter_actor_hide">
+ <doc xml:whitespace="preserve">Flags an actor to be hidden. A hidden actor will not be
+rendered on the stage.
+Actors are visible by default.
+If this function is called on an actor without a parent, the
+#ClutterActor:show-on-set-parent property will be set to %FALSE
+as a side-effect.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
- <parameters>
- <parameter name="text"
- transfer-ownership="none"
- allow-none="1"
- doc="the text to set on the #PangoLayout, or %NULL">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- </parameters>
</method>
- <method name="get_transformation_matrix"
- c:identifier="clutter_actor_get_transformation_matrix"
- doc="Retrieves the transformations applied to @self"
- version="1.0">
+ <method name="hide_all"
+ c:identifier="clutter_actor_hide_all"
+ version="0.2">
+ <doc xml:whitespace="preserve">Calls clutter_actor_hide() on all child actors (if any).</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- <parameters>
- <parameter name="matrix"
- direction="out"
- caller-allocates="1"
- transfer-ownership="none"
- doc="the return location for a #CoglMatrix">
- <type name="Cogl.Matrix" c:type="CoglMatrix*"/>
- </parameter>
- </parameters>
</method>
<method name="is_in_clone_paint"
c:identifier="clutter_actor_is_in_clone_paint"
- doc="Checks whether @self is being currently painted by a #ClutterClone
+ version="1.0">
+ <doc xml:whitespace="preserve">Checks whether @self is being currently painted by a #ClutterClone
This function is useful only inside the ::paint virtual function
implementations or within handlers for the #ClutterActor::paint
signal
This function should not be used by applications
-by a #ClutterClone, and %FALSE otherwise"
- version="1.0">
+by a #ClutterClone, and %FALSE otherwise</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">%TRUE if the #ClutterActor is currently being painted</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
- <method name="has_pointer"
- c:identifier="clutter_actor_has_pointer"
- doc="Checks whether an actor contains the the pointer of a
-#ClutterInputDevice
-%FALSE otherwise"
- version="1.2">
+ <method name="is_rotated"
+ c:identifier="clutter_actor_is_rotated"
+ version="0.6">
+ <doc xml:whitespace="preserve">Checks whether any rotation is applied to the actor.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">%TRUE if the actor is rotated.</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
- <method name="set_text_direction"
- c:identifier="clutter_actor_set_text_direction"
- doc="Sets the #ClutterTextDirection for an actor
-The passed text direction must not be %CLUTTER_TEXT_DIRECTION_DEFAULT
-If @self implements #ClutterContainer then this function will recurse
-inside all the children of @self (including the internal ones).
-Composite actors not implementing #ClutterContainer, or actors requiring
-special handling when the text direction changes, should connect to
-the #GObject::notify signal for the #ClutterActor:text-direction property"
- version="1.2">
+ <method name="is_scaled"
+ c:identifier="clutter_actor_is_scaled"
+ version="0.6">
+ <doc xml:whitespace="preserve">Checks whether the actor is scaled in either dimension.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the actor is scaled.</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ </method>
+ <method name="lower" c:identifier="clutter_actor_lower">
+ <doc xml:whitespace="preserve">Puts @self below @above.
+Both actors must have the same parent, and the parent must implement
+the #ClutterContainer interface.
+This function is the equivalent of clutter_container_lower_child().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="text_dir" transfer-ownership="none">
- <type name="TextDirection" c:type="ClutterTextDirection"/>
+ <parameter name="above" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">A #ClutterActor to lower below</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</parameter>
</parameters>
</method>
- <method name="get_text_direction"
- c:identifier="clutter_actor_get_text_direction"
- doc="Retrieves the value set using clutter_actor_set_text_direction()
-If no text direction has been previously set, the default text
-direction, as returned by clutter_get_default_text_direction(), will
-be returned instead"
+ <method name="lower_bottom" c:identifier="clutter_actor_lower_bottom">
+ <doc xml:whitespace="preserve">Lowers @self to the bottom.
+This function calls clutter_actor_lower() internally.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </method>
+ <method name="map" c:identifier="clutter_actor_map" version="1.0">
+ <doc xml:whitespace="preserve">Sets the %CLUTTER_ACTOR_MAPPED flag on the actor and possibly maps
+and realizes its children if they are visible. Does nothing if the
+actor is not visible.
+#ClutterActor <function>map()</function> virtual function in an actor
+and you need to map the children of that actor. It is not necessary
+to call this if you implement #ClutterContainer because the default
+implementation will automatically map children of containers.
+When overriding map, it is mandatory to chain up to the parent
+implementation.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </method>
+ <method name="move_anchor_point"
+ c:identifier="clutter_actor_move_anchor_point"
+ version="0.6">
+ <doc xml:whitespace="preserve">Sets an anchor point for the actor, and adjusts the actor postion so that
+the relative position of the actor toward its parent remains the same.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="anchor_x" transfer-ownership="none">
+ <doc xml:whitespace="preserve">X coordinate of the anchor point</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ <parameter name="anchor_y" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Y coordinate of the anchor point</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="move_anchor_point_from_gravity"
+ c:identifier="clutter_actor_move_anchor_point_from_gravity"
+ version="0.6">
+ <doc xml:whitespace="preserve">Sets an anchor point on the actor based on the given gravity, adjusting the
+actor postion so that its relative position within its parent remains
+unchanged.
+Since version 1.0 the anchor point will be stored as a gravity so
+that if the actor changes size then the anchor point will move. For
+example, if you set the anchor point to %CLUTTER_GRAVITY_SOUTH_EAST
+and later double the size of the actor, the anchor point will move
+to the bottom right.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="gravity" transfer-ownership="none">
+ <doc xml:whitespace="preserve">#ClutterGravity.</doc>
+ <type name="Gravity" c:type="ClutterGravity"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="move_by"
+ c:identifier="clutter_actor_move_by"
+ version="0.2">
+ <doc xml:whitespace="preserve">Moves an actor by the specified distance relative to its current
+position in pixels.
+This function modifies the fixed position of an actor and thus removes
+it from any layout management. Another way to move an actor is with an
+anchor point, see clutter_actor_set_anchor_point().</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="dx" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Distance to move Actor on X axis.</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ <parameter name="dy" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Distance to move Actor on Y axis.</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="paint" c:identifier="clutter_actor_paint">
+ <doc xml:whitespace="preserve">Renders the actor to display.
+This function should not be called directly by applications.
+Call clutter_actor_queue_redraw() to queue paints, instead.
+This function is context-aware, and will either cause a
+regular paint or a pick paint.
+This function will emit the #ClutterActor::paint signal or
+the #ClutterActor::pick signal, depending on the context.
+This function does not paint the actor if the actor is set to 0,
+unless it is performing a pick paint.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </method>
+ <method name="pop_internal"
+ c:identifier="clutter_actor_pop_internal"
version="1.2">
- <return-value transfer-ownership="full">
- <type name="TextDirection" c:type="ClutterTextDirection"/>
+ <doc xml:whitespace="preserve">Disables the effects of clutter_actor_pop_internal()</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
</method>
<method name="push_internal"
c:identifier="clutter_actor_push_internal"
- doc="Should be used by actors implementing the #ClutterContainer and with
+ version="1.2">
+ <doc xml:whitespace="preserve">Should be used by actors implementing the #ClutterContainer and with
internal children added through clutter_actor_set_parent(), for instance:
|[
static void
/&ast; calling clutter_actor_set_parent() now will result in
&ast; the internal flag being set on a child of MyActor
&ast;/
+/&ast; internal child - a background texture &ast;/
self->priv->background_tex = clutter_texture_new ();
clutter_actor_set_parent (self->priv->background_tex,
CLUTTER_ACTOR (self));
+/&ast; internal child - a label &ast;/
self->priv->label = clutter_text_new ();
clutter_actor_set_parent (self->priv->label,
CLUTTER_ACTOR (self));
&ast;/
}
]|
-This function will be used by Clutter to toggle an "internal child"
+This function will be used by Clutter to toggle an "internal child"
flag whenever clutter_actor_set_parent() is called; internal children
are handled differently by Clutter, specifically when destroying their
parent.
Call clutter_actor_pop_internal() when you finished adding internal
children.
Nested calls to clutter_actor_push_internal() are allowed, but each
-one must by followed by a clutter_actor_pop_internal() call."
- version="1.2">
+one must by followed by a clutter_actor_pop_internal() call.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</method>
- <method name="pop_internal"
- c:identifier="clutter_actor_pop_internal"
- doc="Disables the effects of clutter_actor_pop_internal()"
- version="1.2">
+ <method name="queue_redraw" c:identifier="clutter_actor_queue_redraw">
+ <doc xml:whitespace="preserve">Queues up a redraw of an actor and any children. The redraw occurs
+once the main loop becomes idle (after the current batch of events
+has been processed, roughly).
+Applications rarely need to call this, as redraws are handled
+automatically by modification functions.
+This function will not do anything if @self is not visible, or
+if the actor is inside an invisible part of the scenegraph.
+Also be aware that painting is a NOP for actors with an opacity of
+0
+When you are implementing a custom actor you must queue a redraw
+whenever some private state changes that will affect painting or
+picking of your actor.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</method>
- <method name="animate"
- c:identifier="clutter_actor_animate"
- doc="Animates the given list of properties of @actor between the current
-value for each property and a new final value. The animation has a
-definite duration and a speed given by the @mode.
-For example, this:
-|[
-clutter_actor_animate (rectangle, CLUTTER_LINEAR, 250,
-"width", 100.0,
-"height", 100.0,
-NULL);
-]|
-will make width and height properties of the #ClutterActor "rectangle"
-grow linearly between the current value and 100 pixels, in 250 milliseconds.
-The animation @mode is a logical id, either from the #ClutterAnimationMode
-enumeration of from clutter_alpha_register_func().
-All the properties specified will be animated between the current value
-and the final value. If a property should be set at the beginning of
-the animation but not updated during the animation, it should be prefixed
-by the "fixed::" string, for instance:
-|[
-clutter_actor_animate (actor, CLUTTER_EASE_IN_SINE, 100,
-"rotation-angle-z", 360.0,
-"fixed::rotation-center-z", &amp;center,
-NULL);
-]|
-Will animate the "rotation-angle-z" property between the current value
-and 360 degrees, and set the "rotation-center-z" property to the fixed
-value of the #ClutterVertex "center".
-This function will implicitly create a #ClutterAnimation object which
-will be assigned to the @actor and will be returned to the developer
-to control the animation or to know when the animation has been
-completed.
-If a name argument starts with "signal::", "signal-after::",
-"signal-swapped::" or "signal-swapped-after::" the two following arguments
-are used as callback function and data for a signal handler installed on
-the #ClutterAnimation object for the specified signal name, for instance:
-|[
-static void
-on_animation_completed (ClutterAnimation *animation,
-ClutterActor *actor)
-{
-clutter_actor_hide (actor);
-}
-clutter_actor_animate (actor, CLUTTER_EASE_IN_CUBIC, 100,
-"opacity", 0,
-"signal::completed", on_animation_completed, actor,
-NULL);
-]|
-or, to automatically destroy an actor at the end of the animation:
-|[
-clutter_actor_animate (actor, CLUTTER_EASE_IN_CUBIC, 100,
-"opacity", 0,
-"signal-swapped-after::completed",
-clutter_actor_destroy,
-actor,
-NULL);
-]|
-The "signal::" modifier is the equivalent of using g_signal_connect();
-the "signal-after::" modifier is the equivalent of using
-g_signal_connect_after() or g_signal_connect_data() with the
-%G_CONNECT_AFTER; the "signal-swapped::" modifier is the equivalent
-of using g_signal_connect_swapped() or g_signal_connect_data() with the
-%G_CONNECT_SWAPPED flah; finally, the "signal-swapped-after::" modifier
-is the equivalent of using g_signal_connect_data() with both the
-%G_CONNECT_AFTER and %G_CONNECT_SWAPPED flags. The clutter_actor_animate()
-function will not keep track of multiple connections to the same signal,
-so it is your responsability to avoid them when calling
-clutter_actor_animate() multiple times on the same actor.
-Calling this function on an actor that is already being animated
-will cause the current animation to change with the new final values,
-the new easing mode and the new duration - that is, this code:
-|[
-clutter_actor_animate (actor, CLUTTER_LINEAR, 250,
-"width", 100.0,
-"height", 100.0,
-NULL);
-clutter_actor_animate (actor, CLUTTER_EASE_IN_CUBIC, 500,
-"x", 100.0,
-"y", 100.0,
-"width", 200.0,
-NULL);
-]|
-is the equivalent of:
-|[
-clutter_actor_animate (actor, CLUTTER_EASE_IN_CUBIC, 500,
-"x", 100.0,
-"y", 100.0,
-"width", 200.0,
-"height", 100.0,
-NULL);
-]|
-<note>Unless the animation is looping, the #ClutterAnimation created by
-clutter_actor_animate() will become invalid as soon as it is
-complete.</note>
-Since the created #ClutterAnimation instance attached to @actor
-is guaranteed to be valid throughout the #ClutterAnimation::completed
-signal emission chain, you will not be able to create a new animation
-using clutter_actor_animate() on the same @actor from within the
-#ClutterAnimation::completed signal handler unless you use
-g_signal_connect_after() to connect the callback function, for instance:
-|[
-static void
-on_animation_completed (ClutterAnimation *animation,
-ClutterActor *actor)
-{
-clutter_actor_animate (actor, CLUTTER_EASE_OUT_CUBIC, 250,
-"x", 500.0,
-"y", 500.0,
-NULL);
-}
-...
-animation = clutter_actor_animate (actor, CLUTTER_EASE_IN_CUBIC, 250,
-"x", 100.0,
-"y", 100.0,
-NULL);
-g_signal_connect (animation, "completed",
-G_CALLBACK (on_animation_completed),
-actor);
-...
-]|
-owned by the #ClutterActor and should not be unreferenced with
-g_object_unref()"
- version="1.0">
- <return-value transfer-ownership="none"
- doc="a #ClutterAnimation object. The object is">
- <type name="Animation" c:type="ClutterAnimation*"/>
+ <method name="queue_relayout"
+ c:identifier="clutter_actor_queue_relayout"
+ version="0.8">
+ <doc xml:whitespace="preserve">Indicates that the actor's size request or other layout-affecting
+properties may have changed. This function is used inside #ClutterActor
+subclass implementations, not by applications directly.
+Queueing a new layout automatically queues a redraw as well.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </method>
+ <method name="raise" c:identifier="clutter_actor_raise">
+ <doc xml:whitespace="preserve">Puts @self above @below.
+Both actors must have the same parent, and the parent must implement
+the #ClutterContainer interface
+This function is the equivalent of clutter_container_raise_child().</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="mode" transfer-ownership="none">
- <type name="ulong" c:type="gulong"/>
- </parameter>
- <parameter name="duration" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- <parameter name="first_property_name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- <parameter transfer-ownership="none">
- <varargs>
- </varargs>
+ <parameter name="below" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">A #ClutterActor to raise above.</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</parameter>
</parameters>
</method>
- <method name="animate_with_timeline"
- c:identifier="clutter_actor_animate_with_timeline"
- doc="Animates the given list of properties of @actor between the current
-value for each property and a new final value. The animation has a
-definite duration given by @timeline and a speed given by the @mode.
-See clutter_actor_animate() for further details.
-This function is useful if you want to use an existing timeline
-to animate @actor.
-owned by the #ClutterActor and should not be unreferenced with
-g_object_unref()"
- version="1.0">
- <return-value transfer-ownership="none"
- doc="a #ClutterAnimation object. The object is">
- <type name="Animation" c:type="ClutterAnimation*"/>
+ <method name="raise_top" c:identifier="clutter_actor_raise_top">
+ <doc xml:whitespace="preserve">Raises @self to the top.
+This function calls clutter_actor_raise() internally.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </method>
+ <method name="realize" c:identifier="clutter_actor_realize">
+ <doc xml:whitespace="preserve">Realization informs the actor that it is attached to a stage. It
+can use this to allocate resources if it wanted to delay allocation
+until it would be rendered. However it is perfectly acceptable for
+an actor to create resources before being realized because Clutter
+only ever has a single rendering context so that actor is free to
+be moved from one stage to another.
+This function does nothing if the actor is already realized.
+Because a realized actor must have realized parent actors, calling
+clutter_actor_realize() will also realize all parents of the actor.
+This function does not realize child actors, except in the special
+case that realizing the stage, when the stage is visible, will
+suddenly map (and thus realize) the children of the stage.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </method>
+ <method name="remove_action"
+ c:identifier="clutter_actor_remove_action"
+ version="1.4">
+ <doc xml:whitespace="preserve">Removes @action from the list of actions applied to @self
+The reference held by @self on the #ClutterAction will be released</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="mode" transfer-ownership="none">
- <type name="ulong" c:type="gulong"/>
- </parameter>
- <parameter name="timeline" transfer-ownership="none">
- <type name="Timeline" c:type="ClutterTimeline*"/>
- </parameter>
- <parameter name="first_property_name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- <parameter transfer-ownership="none">
- <varargs>
- </varargs>
+ <parameter name="action" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterAction</doc>
+ <type name="Action" c:type="ClutterAction*"/>
</parameter>
</parameters>
</method>
- <method name="animate_with_alpha"
- c:identifier="clutter_actor_animate_with_alpha"
- doc="Animates the given list of properties of @actor between the current
-value for each property and a new final value. The animation has a
-definite behaviour given by the passed @alpha.
-See clutter_actor_animate() for further details.
-This function is useful if you want to use an existing #ClutterAlpha
-to animate @actor.
-#ClutterActor and should not be unreferenced with g_object_unref()"
- version="1.0">
- <return-value transfer-ownership="none"
- doc="a #ClutterAnimation object. The object is owned by the">
- <type name="Animation" c:type="ClutterAnimation*"/>
+ <method name="remove_action_by_name"
+ c:identifier="clutter_actor_remove_action_by_name"
+ version="1.4">
+ <doc xml:whitespace="preserve">Removes the #ClutterAction with the given name from the list
+of actions applied to @self</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="alpha" transfer-ownership="none">
- <type name="Alpha" c:type="ClutterAlpha*"/>
+ <parameter name="name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the action to remove</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
- <parameter name="first_property_name" transfer-ownership="none">
+ </parameters>
+ </method>
+ <method name="remove_clip" c:identifier="clutter_actor_remove_clip">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </method>
+ <method name="remove_constraint"
+ c:identifier="clutter_actor_remove_constraint"
+ version="1.4">
+ <doc xml:whitespace="preserve">Removes @constraint from the list of constraints applied to @self
+The reference held by @self on the #ClutterConstraint will be released</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="constraint" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterConstraint</doc>
+ <type name="Constraint" c:type="ClutterConstraint*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="remove_constraint_by_name"
+ c:identifier="clutter_actor_remove_constraint_by_name"
+ version="1.4">
+ <doc xml:whitespace="preserve">Removes the #ClutterConstraint with the given name from the list
+of constraints applied to @self</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the constraint to remove</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
- <parameter transfer-ownership="none">
- <varargs>
- </varargs>
+ </parameters>
+ </method>
+ <method name="remove_effect"
+ c:identifier="clutter_actor_remove_effect"
+ version="1.4">
+ <doc xml:whitespace="preserve">Removes @effect from the list of effects applied to @self
+The reference held by @self on the #ClutterEffect will be released</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="effect" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterEffect</doc>
+ <type name="Effect" c:type="ClutterEffect*"/>
</parameter>
</parameters>
</method>
- <method name="animatev"
- c:identifier="clutter_actor_animatev"
- doc="Animates the given list of properties of @actor between the current
-value for each property and a new final value. The animation has a
-definite duration and a speed given by the @mode.
-This is the vector-based variant of clutter_actor_animate(), useful
-for language bindings.
-<warning>Unlike clutter_actor_animate(), this function will not
-allow you to specify "signal::" names and callbacks.</warning>
-owned by the #ClutterActor and should not be unreferenced with
-g_object_unref()"
- version="1.0">
- <return-value transfer-ownership="none"
- doc="a #ClutterAnimation object. The object is">
- <type name="Animation" c:type="ClutterAnimation*"/>
+ <method name="remove_effect_by_name"
+ c:identifier="clutter_actor_remove_effect_by_name"
+ version="1.4">
+ <doc xml:whitespace="preserve">Removes the #ClutterEffect with the given name from the list
+of effects applied to @self</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="mode" transfer-ownership="none">
- <type name="ulong" c:type="gulong"/>
+ <parameter name="name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the effect to remove</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
- <parameter name="duration" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ </parameters>
+ </method>
+ <method name="reparent"
+ c:identifier="clutter_actor_reparent"
+ version="0.2">
+ <doc xml:whitespace="preserve">This function resets the parent actor of @self. It is
+logically equivalent to calling clutter_actor_unparent()
+and clutter_actor_set_parent(), but more efficiently
+implemented, ensures the child is not finalized
+when unparented, and emits the parent-set signal only
+one time.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="new_parent" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the new #ClutterActor parent</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="n_properties" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ </parameters>
+ </method>
+ <method name="set_anchor_point"
+ c:identifier="clutter_actor_set_anchor_point"
+ version="0.6">
+ <doc xml:whitespace="preserve">Sets an anchor point for @self. The anchor point is a point in the
+coordinate space of an actor to which the actor position within its
+parent is relative; the default is (0, 0), i.e. the top-left corner
+of the actor.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="anchor_x" transfer-ownership="none">
+ <doc xml:whitespace="preserve">X coordinate of the anchor point</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
- <parameter name="properties"
- transfer-ownership="none"
- doc="a vector containing the property names to set">
- <array length="3" c:type="gchar*">
- <type name="utf8"/>
- </array>
+ <parameter name="anchor_y" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Y coordinate of the anchor point</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
- <parameter name="values"
- transfer-ownership="none"
- doc="a vector containing the property values to set">
- <array length="3" c:type="GValue*">
- <type name="GObject.Value"/>
- </array>
+ </parameters>
+ </method>
+ <method name="set_anchor_point_from_gravity"
+ c:identifier="clutter_actor_set_anchor_point_from_gravity"
+ version="0.6">
+ <doc xml:whitespace="preserve">Sets an anchor point on the actor, based on the given gravity (this is a
+convenience function wrapping clutter_actor_set_anchor_point()).
+Since version 1.0 the anchor point will be stored as a gravity so
+that if the actor changes size then the anchor point will move. For
+example, if you set the anchor point to %CLUTTER_GRAVITY_SOUTH_EAST
+and later double the size of the actor, the anchor point will move
+to the bottom right.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="gravity" transfer-ownership="none">
+ <doc xml:whitespace="preserve">#ClutterGravity.</doc>
+ <type name="Gravity" c:type="ClutterGravity"/>
</parameter>
</parameters>
</method>
- <method name="animate_with_timelinev"
- c:identifier="clutter_actor_animate_with_timelinev"
- doc="Animates the given list of properties of @actor between the current
-value for each property and a new final value. The animation has a
-definite duration given by @timeline and a speed given by the @mode.
-See clutter_actor_animate() for further details.
-This function is useful if you want to use an existing timeline
-to animate @actor.
-This is the vector-based variant of clutter_actor_animate_with_timeline(),
-useful for language bindings.
-<warning>Unlike clutter_actor_animate_with_timeline(), this function
-will not allow you to specify "signal::" names and callbacks.</warning>
-owned by the #ClutterActor and should not be unreferenced with
-g_object_unref()"
- version="1.0">
- <return-value transfer-ownership="none"
- doc="a #ClutterAnimation object. The object is">
- <type name="Animation" c:type="ClutterAnimation*"/>
+ <method name="set_clip"
+ c:identifier="clutter_actor_set_clip"
+ version="0.6">
+ <doc xml:whitespace="preserve">Sets clip area for @self. The clip area is always computed from the
+upper left corner of the actor, even if the anchor point is set
+otherwise.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="mode" transfer-ownership="none">
- <type name="ulong" c:type="gulong"/>
+ <parameter name="xoff" transfer-ownership="none">
+ <doc xml:whitespace="preserve">X offset of the clip rectangle</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
- <parameter name="timeline" transfer-ownership="none">
- <type name="Timeline" c:type="ClutterTimeline*"/>
+ <parameter name="yoff" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Y offset of the clip rectangle</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
- <parameter name="n_properties" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="width" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Width of the clip rectangle</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
- <parameter name="properties"
- transfer-ownership="none"
- doc="a vector containing the property names to set">
- <array length="3" c:type="gchar*">
- <type name="utf8"/>
- </array>
+ <parameter name="height" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Height of the clip rectangle</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
- <parameter name="values"
- transfer-ownership="none"
- doc="a vector containing the property values to set">
- <array length="3" c:type="GValue*">
- <type name="GObject.Value"/>
- </array>
+ </parameters>
+ </method>
+ <method name="set_clip_to_allocation"
+ c:identifier="clutter_actor_set_clip_to_allocation"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets whether @self should be clipped to the same size as its
+allocation</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="clip_set" transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE to apply a clip tracking the allocation</doc>
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
- <method name="animate_with_alphav"
- c:identifier="clutter_actor_animate_with_alphav"
- doc="Animates the given list of properties of @actor between the current
-value for each property and a new final value. The animation has a
-definite behaviour given by the passed @alpha.
-See clutter_actor_animate() for further details.
-This function is useful if you want to use an existing #ClutterAlpha
-to animate @actor.
-This is the vector-based variant of clutter_actor_animate_with_alpha(),
-useful for language bindings.
-<warning>Unlike clutter_actor_animate_with_alpha(), this function will
-not allow you to specify "signal::" names and callbacks.</warning>
-#ClutterActor and should not be unreferenced with g_object_unref()"
+ <method name="set_depth" c:identifier="clutter_actor_set_depth">
+ <doc xml:whitespace="preserve">Sets the Z coordinate of @self to @depth.
+The unit used by @depth is dependant on the perspective setup. See
+also clutter_stage_set_perspective().</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="depth" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Z co-ord</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_fixed_position_set"
+ c:identifier="clutter_actor_set_fixed_position_set"
+ version="0.8">
+ <doc xml:whitespace="preserve">Sets whether an actor has a fixed position set (and will thus be
+unaffected by any layout manager).</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="is_set" transfer-ownership="none">
+ <doc xml:whitespace="preserve">whether to use fixed position</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_flags"
+ c:identifier="clutter_actor_set_flags"
version="1.0">
- <return-value transfer-ownership="none"
- doc="a #ClutterAnimation object. The object is owned by the">
- <type name="Animation" c:type="ClutterAnimation*"/>
+ <doc xml:whitespace="preserve">Sets @flags on @self
+This function will emit notifications for the changed properties</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="alpha" transfer-ownership="none">
- <type name="Alpha" c:type="ClutterAlpha*"/>
+ <parameter name="flags" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the flags to set</doc>
+ <type name="ActorFlags" c:type="ClutterActorFlags"/>
</parameter>
- <parameter name="n_properties" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ </parameters>
+ </method>
+ <method name="set_geometry" c:identifier="clutter_actor_set_geometry">
+ <doc xml:whitespace="preserve">Sets the actor's fixed position and forces its minimum and natural
+size, in pixels. This means the untransformed actor will have the
+given geometry. This is the same as calling clutter_actor_set_position()
+and clutter_actor_set_size().</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="geometry" transfer-ownership="none">
+ <doc xml:whitespace="preserve">A #ClutterGeometry</doc>
+ <type name="Geometry" c:type="ClutterGeometry*"/>
</parameter>
- <parameter name="properties"
- transfer-ownership="none"
- doc="a vector containing the property names to set">
- <array length="2" c:type="gchar*">
- <type name="utf8"/>
- </array>
+ </parameters>
+ </method>
+ <method name="set_height" c:identifier="clutter_actor_set_height">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="height" transfer-ownership="none">
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
- <parameter name="values"
- transfer-ownership="none"
- doc="a vector containing the property values to set">
- <array length="2" c:type="GValue*">
- <type name="GObject.Value"/>
- </array>
+ </parameters>
+ </method>
+ <method name="set_name" c:identifier="clutter_actor_set_name">
+ <doc xml:whitespace="preserve">Sets the given name to @self. The name can be used to identify
+a #ClutterActor.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Textual tag to apply to actor</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
- <method name="get_animation"
- c:identifier="clutter_actor_get_animation"
- doc="Retrieves the #ClutterAnimation used by @actor, if clutter_actor_animate()
-has been called on @actor."
- version="1.0">
- <return-value transfer-ownership="none"
- doc="a #ClutterAnimation, or %NULL">
- <type name="Animation" c:type="ClutterAnimation*"/>
+ <method name="set_opacity" c:identifier="clutter_actor_set_opacity">
+ <doc xml:whitespace="preserve">Sets the actor's opacity, with zero being completely transparent and
+255 (0xff) being fully opaque.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="opacity" transfer-ownership="none">
+ <doc xml:whitespace="preserve">New opacity value for the actor.</doc>
+ <type name="guint8" c:type="guint8"/>
+ </parameter>
+ </parameters>
</method>
- <property name="allocation"
- version="0.8"
- doc="The allocation for the actor, in pixels
-This is property is read-only, but you might monitor it to know when an
-actor moves or resizes">
- <type name="ActorBox" c:type="ClutterActorBox"/>
- </property>
- <property name="anchor-gravity"
- version="1.0"
- writable="1"
- doc="The anchor point expressed as a #ClutterGravity">
- <type name="Gravity" c:type="ClutterGravity"/>
- </property>
- <property name="anchor-x"
- version="0.8"
- writable="1"
- doc="The X coordinate of an actor's anchor point, relative to
-the actor coordinate space, in pixels">
- <type name="float" c:type="gfloat"/>
- </property>
- <property name="anchor-y"
- version="0.8"
- writable="1"
- doc="The Y coordinate of an actor's anchor point, relative to
-the actor coordinate space, in pixels">
- <type name="float" c:type="gfloat"/>
- </property>
- <property name="clip"
- writable="1"
- doc="The clip region for the actor, in actor-relative coordinates
-Every part of the actor outside the clip region will not be
-painted">
- <type name="Geometry" c:type="ClutterGeometry"/>
- </property>
- <property name="clip-to-allocation"
- version="1.0"
- writable="1"
- doc="Whether the clip region should track the allocated area
-of the actor.
-This property is ignored if a clip area has been explicitly
-set using clutter_actor_set_clip().">
- <type name="boolean" c:type="gboolean"/>
- </property>
- <property name="depth"
- version="0.6"
- writable="1"
- doc="The position of the actor on the Z axis">
- <type name="float" c:type="gfloat"/>
- </property>
- <property name="fixed-position-set"
- version="0.8"
- writable="1"
- doc="This flag controls whether the #ClutterActor:fixed-x and
-#ClutterActor:fixed-y properties are used">
- <type name="boolean" c:type="gboolean"/>
- </property>
- <property name="fixed-x"
- version="0.8"
- writable="1"
- doc="The fixed X position of the actor in pixels.
-Writing this property sets #ClutterActor:fixed-position-set
-property as well, as a side effect">
- <type name="float" c:type="gfloat"/>
- </property>
- <property name="fixed-y"
- version="0.8"
- writable="1"
- doc="The fixed Y position of the actor in pixels.
-Writing this property sets the #ClutterActor:fixed-position-set
-property as well, as a side effect">
- <type name="float" c:type="gfloat"/>
- </property>
- <property name="has-clip"
- doc="Whether the actor has the #ClutterActor:clip property set or not">
- <type name="boolean" c:type="gboolean"/>
- </property>
- <property name="has-pointer"
- version="1.2"
- doc="Whether the actor contains the pointer of a #ClutterInputDevice
-or not.">
- <type name="boolean" c:type="gboolean"/>
- </property>
- <property name="height"
- writable="1"
- doc="Height of the actor (in pixels). If written, forces the minimum and
-natural size request of the actor to the given height. If read, returns
-the allocated height if available, otherwise the height request.">
- <type name="float" c:type="gfloat"/>
- </property>
- <property name="mapped"
- version="1.0"
- doc="Whether the actor is mapped (will be painted when the stage
-to which it belongs is mapped)">
- <type name="boolean" c:type="gboolean"/>
- </property>
- <property name="min-height"
- version="0.8"
- writable="1"
- doc="A forced minimum height request for the actor, in pixels
-Writing this property sets the #ClutterActor:min-height-set property
-as well, as a side effect. This property overrides the usual height
-request of the actor.">
- <type name="float" c:type="gfloat"/>
- </property>
- <property name="min-height-set"
- version="0.8"
- writable="1"
- doc="This flag controls whether the #ClutterActor:min-height property
-is used">
- <type name="boolean" c:type="gboolean"/>
- </property>
- <property name="min-width"
- version="0.8"
- writable="1"
- doc="A forced minimum width request for the actor, in pixels
-Writing this property sets the #ClutterActor:min-width-set property
-as well, as a side effect.
-his property overrides the usual width request of the actor.">
- <type name="float" c:type="gfloat"/>
- </property>
- <property name="min-width-set"
- version="0.8"
- writable="1"
- doc="This flag controls whether the #ClutterActor:min-width property
-is used">
- <type name="boolean" c:type="gboolean"/>
- </property>
- <property name="name"
- version="0.2"
- writable="1"
- doc="The name of the actor">
- <type name="utf8" c:type="gchararray"/>
- </property>
- <property name="natural-height"
- version="0.8"
- writable="1"
- doc="A forced natural height request for the actor, in pixels
-Writing this property sets the #ClutterActor:natural-height-set
-property as well, as a side effect. This property overrides the
-usual height request of the actor">
- <type name="float" c:type="gfloat"/>
- </property>
- <property name="natural-height-set"
- version="0.8"
- writable="1"
- doc="This flag controls whether the #ClutterActor:natural-height property
-is used">
- <type name="boolean" c:type="gboolean"/>
- </property>
- <property name="natural-width"
- version="0.8"
- writable="1"
- doc="A forced natural width request for the actor, in pixels
-Writing this property sets the #ClutterActor:natural-width-set
-property as well, as a side effect. This property overrides the
-usual width request of the actor">
- <type name="float" c:type="gfloat"/>
- </property>
- <property name="natural-width-set"
- version="0.8"
- writable="1"
- doc="This flag controls whether the #ClutterActor:natural-width property
-is used">
- <type name="boolean" c:type="gboolean"/>
- </property>
- <property name="opacity"
- writable="1"
- doc="Opacity of an actor, between 0 (fully transparent) and
-255 (fully opaque)">
- <type name="uint" c:type="guint"/>
- </property>
- <property name="reactive"
- version="0.6"
- writable="1"
- doc="Whether the actor is reactive to events or not
-Only reactive actors will emit event-related signals">
- <type name="boolean" c:type="gboolean"/>
- </property>
- <property name="realized"
- version="1.0"
- doc="Whether the actor has been realized">
- <type name="boolean" c:type="gboolean"/>
- </property>
- <property name="request-mode"
- version="0.8"
- writable="1"
- doc="Request mode for the #ClutterActor. The request mode determines the
-type of geometry management used by the actor, either height for width
-(the default) or width for height.
-For actors implementing height for width, the parent container should get
-the preferred width first, and then the preferred height for that width.
-For actors implementing width for height, the parent container should get
-the preferred height first, and then the preferred width for that height.
-For instance:
-|[
-ClutterRequestMode mode;
-gfloat natural_width, min_width;
-gfloat natural_height, min_height;
-mode = clutter_actor_get_request_mode (child);
-if (mode == CLUTTER_REQUEST_HEIGHT_FOR_WIDTH)
-{
-clutter_actor_get_preferred_width (child, -1,
-&amp;min_width,
-&amp;natural_width);
-clutter_actor_get_preferred_height (child, natural_width,
-&amp;min_height,
-&amp;natural_height);
-}
-else
-{
-clutter_actor_get_preferred_height (child, -1,
-&amp;min_height,
-&amp;natural_height);
-clutter_actor_get_preferred_width (child, natural_height,
-&amp;min_width,
-&amp;natural_width);
-}
-]|
-will retrieve the minimum and natural width and height depending on the
-preferred request mode of the #ClutterActor "child".
-The clutter_actor_get_preferred_size() function will implement this
-check for you.">
- <type name="RequestMode" c:type="ClutterRequestMode"/>
- </property>
- <property name="rotation-angle-x"
- version="0.6"
- writable="1"
- doc="The rotation angle on the X axis">
- <type name="double" c:type="gdouble"/>
- </property>
- <property name="rotation-angle-y"
- version="0.6"
- writable="1"
- doc="The rotation angle on the Y axis">
- <type name="double" c:type="gdouble"/>
- </property>
- <property name="rotation-angle-z"
- version="0.6"
- writable="1"
- doc="The rotation angle on the Z axis">
- <type name="double" c:type="gdouble"/>
- </property>
- <property name="rotation-center-x"
- version="0.6"
- writable="1"
- doc="The rotation center on the X axis.">
- <type name="Vertex" c:type="ClutterVertex"/>
- </property>
- <property name="rotation-center-y"
- version="0.6"
- writable="1"
- doc="The rotation center on the Y axis.">
- <type name="Vertex" c:type="ClutterVertex"/>
- </property>
- <property name="rotation-center-z"
- version="0.6"
- writable="1"
- doc="The rotation center on the Z axis.">
- <type name="Vertex" c:type="ClutterVertex"/>
- </property>
- <property name="rotation-center-z-gravity"
- version="1.0"
- writable="1"
- doc="The rotation center on the Z axis expressed as a #ClutterGravity.">
- <type name="Gravity" c:type="ClutterGravity"/>
- </property>
- <property name="scale-center-x"
- version="1.0"
- writable="1"
- doc="The horizontal center point for scaling">
- <type name="float" c:type="gfloat"/>
- </property>
- <property name="scale-center-y"
- version="1.0"
- writable="1"
- doc="The vertical center point for scaling">
- <type name="float" c:type="gfloat"/>
- </property>
- <property name="scale-gravity"
- version="1.0"
- writable="1"
- doc="The center point for scaling expressed as a #ClutterGravity">
- <type name="Gravity" c:type="ClutterGravity"/>
- </property>
- <property name="scale-x"
- version="0.6"
- writable="1"
- doc="The horizontal scale of the actor">
- <type name="double" c:type="gdouble"/>
- </property>
- <property name="scale-y"
- version="0.6"
- writable="1"
- doc="The vertical scale of the actor">
- <type name="double" c:type="gdouble"/>
- </property>
- <property name="show-on-set-parent"
- version="0.8"
- writable="1"
- doc="If %TRUE, the actor is automatically shown when parented.
-Calling clutter_actor_hide() on an actor which has not been
-parented will set this property to %FALSE as a side effect.">
- <type name="boolean" c:type="gboolean"/>
- </property>
- <property name="text-direction" writable="1">
- <type name="TextDirection" c:type="ClutterTextDirection"/>
- </property>
- <property name="visible"
- writable="1"
- doc="Whether the actor is set to be visible or not
-See also #ClutterActor:mapped">
- <type name="boolean" c:type="gboolean"/>
- </property>
- <property name="width"
- writable="1"
- doc="Width of the actor (in pixels). If written, forces the minimum and
-natural size request of the actor to the given width. If read, returns
-the allocated width if available, otherwise the width request.">
- <type name="float" c:type="gfloat"/>
- </property>
- <property name="x"
- writable="1"
- doc="X coordinate of the actor in pixels. If written, forces a fixed
-position for the actor. If read, returns the fixed position if any,
-otherwise the allocation if available, otherwise 0.">
- <type name="float" c:type="gfloat"/>
- </property>
- <property name="y"
- writable="1"
- doc="Y coordinate of the actor in pixels. If written, forces a fixed
-position for the actor. If read, returns the fixed position if
-any, otherwise the allocation if available, otherwise 0.">
- <type name="float" c:type="gfloat"/>
- </property>
- <field name="parent_instance">
- <type name="GObject.InitiallyUnowned" c:type="GInitiallyUnowned"/>
- </field>
- <field name="flags">
- <type name="uint32" c:type="guint32"/>
- </field>
- <field name="private_flags">
- <type name="uint32" c:type="guint32"/>
- </field>
- <field name="priv">
- <type name="ActorPrivate" c:type="ClutterActorPrivate*"/>
- </field>
- <glib:signal name="allocation-changed"
- doc="The ::allocation-changed signal is emitted when the
-#ClutterActor:allocation property changes. Usually, application
-code should just use the notifications for the :allocation property
-but if you want to track the allocation flags as well, for instance
-to know whether the absolute origin of @actor changed, then you might
-want use this signal instead."
- version="1.0">
- <return-value transfer-ownership="full">
+ <method name="set_parent" c:identifier="clutter_actor_set_parent">
+ <doc xml:whitespace="preserve">Sets the parent of @self to @parent. The opposite function is
+clutter_actor_unparent().
+This function should not be used by applications, but by custom
+container actor subclasses.</doc>
+ <return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="box" transfer-ownership="none">
- <type name="ActorBox" c:type="ClutterActorBox"/>
- </parameter>
- <parameter name="flags" transfer-ownership="none">
- <type name="AllocationFlags" c:type="ClutterAllocationFlags"/>
+ <parameter name="parent" transfer-ownership="none">
+ <doc xml:whitespace="preserve">A new #ClutterActor parent</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</parameter>
</parameters>
- </glib:signal>
- <glib:signal name="button-press-event"
- doc="The ::button-press-event signal is emitted each time a mouse button
-is pressed on @actor.
-or %FALSE to continue the emission."
- version="0.6">
- <return-value transfer-ownership="full">
- <type name="boolean" c:type="gboolean"/>
+ </method>
+ <method name="set_position" c:identifier="clutter_actor_set_position">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="event" transfer-ownership="none">
- <type name="Event" c:type="ClutterEvent"/>
+ <parameter name="x" transfer-ownership="none">
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
- </parameters>
- </glib:signal>
- <glib:signal name="button-release-event"
- doc="The ::button-release-event signal is emitted each time a mouse button
-is released on @actor.
-or %FALSE to continue the emission."
- version="0.6">
- <return-value transfer-ownership="full">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- <parameters>
- <parameter name="event" transfer-ownership="none">
- <type name="Event" c:type="ClutterEvent"/>
+ <parameter name="y" transfer-ownership="none">
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
</parameters>
- </glib:signal>
- <glib:signal name="captured-event"
- doc="The ::captured-event signal is emitted when an event is captured
-by Clutter. This signal will be emitted starting from the top-level
-container (the #ClutterStage) to the actor which received the event
-going down the hierarchy. This signal can be used to intercept every
-event before the specialized events (like
-ClutterActor::button-press-event or ::key-released-event) are
-emitted.
-or %FALSE to continue the emission."
- version="0.6">
- <return-value transfer-ownership="full">
- <type name="boolean" c:type="gboolean"/>
+ </method>
+ <method name="set_reactive"
+ c:identifier="clutter_actor_set_reactive"
+ version="0.6">
+ <doc xml:whitespace="preserve">Sets @actor as reactive. Reactive actors will receive events.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="event" transfer-ownership="none">
- <type name="Event" c:type="ClutterEvent"/>
+ <parameter name="reactive" transfer-ownership="none">
+ <doc xml:whitespace="preserve">whether the actor should be reactive to events</doc>
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
- </glib:signal>
- <glib:signal name="destroy"
- doc="The ::destroy signal is emitted when an actor is destroyed,
-either by direct invocation of clutter_actor_destroy() or
-when the #ClutterGroup that contains the actor is destroyed."
- version="0.2">
- <return-value transfer-ownership="full">
+ </method>
+ <method name="set_request_mode"
+ c:identifier="clutter_actor_set_request_mode"
+ version="1.2">
+ <doc xml:whitespace="preserve">Sets the geometry request mode of @self.
+The @mode determines the order for invoking
+clutter_actor_get_preferred_width() and
+clutter_actor_get_preferred_height()</doc>
+ <return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- </glib:signal>
- <glib:signal name="enter-event"
- doc="The ::enter-event signal is emitted when the pointer enters the @actor
-or %FALSE to continue the emission."
- version="0.6">
- <return-value transfer-ownership="full">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
<parameters>
- <parameter name="event" transfer-ownership="none">
- <type name="Event" c:type="ClutterEvent"/>
+ <parameter name="mode" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the request mode</doc>
+ <type name="RequestMode" c:type="ClutterRequestMode"/>
</parameter>
</parameters>
- </glib:signal>
- <glib:signal name="event"
- doc="The ::event signal is emitted each time an event is received
-by the @actor. This signal will be emitted on every actor,
-following the hierarchy chain, until it reaches the top-level
-container (the #ClutterStage).
-or %FALSE to continue the emission."
- version="0.6">
- <return-value transfer-ownership="full">
- <type name="boolean" c:type="gboolean"/>
+ </method>
+ <method name="set_rotation"
+ c:identifier="clutter_actor_set_rotation"
+ version="0.8">
+ <doc xml:whitespace="preserve">Sets the rotation angle of @self around the given axis.
+The rotation center coordinates used depend on the value of @axis:
+<itemizedlist>
+<listitem><para>%CLUTTER_X_AXIS requires @y and @z</para></listitem>
+<listitem><para>%CLUTTER_Y_AXIS requires @x and @z</para></listitem>
+<listitem><para>%CLUTTER_Z_AXIS requires @x and @y</para></listitem>
+</itemizedlist>
+The rotation coordinates are relative to the anchor point of the
+actor, set using clutter_actor_set_anchor_point(). If no anchor
+point is set, the upper left corner is assumed as the origin.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="event" transfer-ownership="none">
- <type name="Event" c:type="ClutterEvent"/>
+ <parameter name="axis" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the axis of rotation</doc>
+ <type name="RotateAxis" c:type="ClutterRotateAxis"/>
+ </parameter>
+ <parameter name="angle" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the angle of rotation</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="x" transfer-ownership="none">
+ <doc xml:whitespace="preserve">X coordinate of the rotation center</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ <parameter name="y" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Y coordinate of the rotation center</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ <parameter name="z" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Z coordinate of the rotation center</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
</parameters>
- </glib:signal>
- <glib:signal name="hide"
- doc="The ::hide signal is emitted when an actor is no longer rendered
-on the stage."
- version="0.2">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
- </return-value>
- </glib:signal>
- <glib:signal name="key-focus-in"
- doc="The ::focus-in signal is emitted when @actor recieves key focus."
- version="0.6">
- <return-value transfer-ownership="full">
+ </method>
+ <method name="set_scale"
+ c:identifier="clutter_actor_set_scale"
+ version="0.2">
+ <doc xml:whitespace="preserve">Scales an actor with the given factors. The scaling is relative to
+the scale center and the anchor point. The scale center is
+unchanged by this function and defaults to 0,0.</doc>
+ <return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- </glib:signal>
- <glib:signal name="key-focus-out"
- doc="The ::key-focus-out signal is emitted when @actor loses key focus."
- version="0.6">
- <return-value transfer-ownership="full">
+ <parameters>
+ <parameter name="scale_x" transfer-ownership="none">
+ <doc xml:whitespace="preserve">double factor to scale actor by horizontally.</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="scale_y" transfer-ownership="none">
+ <doc xml:whitespace="preserve">double factor to scale actor by vertically.</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_scale_full"
+ c:identifier="clutter_actor_set_scale_full"
+ version="1.0">
+ <doc xml:whitespace="preserve">Scales an actor with the given factors around the given center
+point. The center point is specified in pixels relative to the
+anchor point (usually the top left corner of the actor).</doc>
+ <return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- </glib:signal>
- <glib:signal name="key-press-event"
- doc="The ::key-press-event signal is emitted each time a keyboard button
-is pressed while @actor has key focus (see clutter_stage_set_key_focus()).
-or %FALSE to continue the emission."
- version="0.6">
- <return-value transfer-ownership="full">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
<parameters>
- <parameter name="event" transfer-ownership="none">
- <type name="Event" c:type="ClutterEvent"/>
+ <parameter name="scale_x" transfer-ownership="none">
+ <doc xml:whitespace="preserve">double factor to scale actor by horizontally.</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="scale_y" transfer-ownership="none">
+ <doc xml:whitespace="preserve">double factor to scale actor by vertically.</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="center_x" transfer-ownership="none">
+ <doc xml:whitespace="preserve">X coordinate of the center of the scale.</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ <parameter name="center_y" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Y coordinate of the center of the scale</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
</parameters>
- </glib:signal>
- <glib:signal name="key-release-event"
- doc="The ::key-release-event signal is emitted each time a keyboard button
-is released while @actor has key focus (see
-clutter_stage_set_key_focus()).
-or %FALSE to continue the emission."
- version="0.6">
- <return-value transfer-ownership="full">
- <type name="boolean" c:type="gboolean"/>
+ </method>
+ <method name="set_scale_with_gravity"
+ c:identifier="clutter_actor_set_scale_with_gravity"
+ version="1.0">
+ <doc xml:whitespace="preserve">Scales an actor with the given factors around the given
+center point. The center point is specified as one of the compass
+directions in #ClutterGravity. For example, setting it to north
+will cause the top of the actor to remain unchanged and the rest of
+the actor to expand left, right and downwards.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="event" transfer-ownership="none">
- <type name="Event" c:type="ClutterEvent"/>
+ <parameter name="scale_x" transfer-ownership="none">
+ <doc xml:whitespace="preserve">double factor to scale actor by horizontally.</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="scale_y" transfer-ownership="none">
+ <doc xml:whitespace="preserve">double factor to scale actor by vertically.</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="gravity" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the location of the scale center expressed as a compass direction.</doc>
+ <type name="Gravity" c:type="ClutterGravity"/>
</parameter>
</parameters>
- </glib:signal>
- <glib:signal name="leave-event"
- doc="The ::leave-event signal is emitted when the pointer leaves the @actor.
-or %FALSE to continue the emission."
- version="0.6">
- <return-value transfer-ownership="full">
- <type name="boolean" c:type="gboolean"/>
+ </method>
+ <method name="set_shader"
+ c:identifier="clutter_actor_set_shader"
+ version="0.6">
+ <doc xml:whitespace="preserve">Sets the #ClutterShader to be used when rendering @self.
+If @shader is %NULL it will unset any currently set shader
+for the actor.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the shader was successfully applied</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
- <parameter name="event" transfer-ownership="none">
- <type name="Event" c:type="ClutterEvent"/>
+ <parameter name="shader" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">a #ClutterShader or %NULL to unset the shader.</doc>
+ <type name="Shader" c:type="ClutterShader*"/>
</parameter>
</parameters>
- </glib:signal>
- <glib:signal name="motion-event"
- doc="The ::motion-event signal is emitted each time the mouse pointer is
-moved over @actor.
-or %FALSE to continue the emission."
- version="0.6">
- <return-value transfer-ownership="full">
- <type name="boolean" c:type="gboolean"/>
+ </method>
+ <method name="set_shader_param"
+ c:identifier="clutter_actor_set_shader_param"
+ version="1.0">
+ <doc xml:whitespace="preserve">Sets the value for a named parameter of the shader applied
+to @actor.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="event" transfer-ownership="none">
- <type name="Event" c:type="ClutterEvent"/>
+ <parameter name="param" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the parameter</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the value of the parameter</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
</parameter>
</parameters>
- </glib:signal>
- <glib:signal name="paint"
- doc="The ::paint signal is emitted each time an actor is being painted.
-Subclasses of #ClutterActor should override the class signal handler
-and paint themselves in that function.
-It is possible to connect a handler to the ::paint signal in order
-to set up some custom aspect of a paint."
- version="0.8">
- <return-value transfer-ownership="full">
+ </method>
+ <method name="set_shader_param_float"
+ c:identifier="clutter_actor_set_shader_param_float"
+ version="0.8">
+ <doc xml:whitespace="preserve">Sets the value for a named float parameter of the shader applied
+to @actor.</doc>
+ <return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- </glib:signal>
- <glib:signal name="parent-set"
- doc="This signal is emitted when the parent of the actor changes."
- version="0.2">
- <return-value transfer-ownership="full">
+ <parameters>
+ <parameter name="param" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the parameter</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the value of the parameter</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_shader_param_int"
+ c:identifier="clutter_actor_set_shader_param_int"
+ version="0.8">
+ <doc xml:whitespace="preserve">Sets the value for a named int parameter of the shader applied to</doc>
+ <return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="old_parent" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor"/>
+ <parameter name="param" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the parameter</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the value of the parameter</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
</parameters>
- </glib:signal>
- <glib:signal name="pick"
- doc="The ::pick signal is emitted each time an actor is being painted
-in "pick mode". The pick mode is used to identify the actor during
-the event handling phase, or by clutter_stage_get_actor_at_pos().
-The actor should paint its shape using the passed @pick_color.
-Subclasses of #ClutterActor should override the class signal handler
-and paint themselves in that function.
-It is possible to connect a handler to the ::pick signal in order
-to set up some custom aspect of a paint in pick mode."
- version="1.0">
- <return-value transfer-ownership="full">
+ </method>
+ <method name="set_size" c:identifier="clutter_actor_set_size">
+ <return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="color" transfer-ownership="none">
- <type name="Color" c:type="ClutterColor"/>
+ <parameter name="width" transfer-ownership="none">
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ <parameter name="height" transfer-ownership="none">
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
</parameters>
- </glib:signal>
- <glib:signal name="queue-redraw"
- doc="The ::queue_redraw signal is emitted when clutter_actor_queue_redraw()
-is called on @origin.
-The default implementation for #ClutterActor chains up to the
-parent actor and queues a redraw on the parent, thus "bubbling"
-the redraw queue up through the actor graph. The default
-implementation for #ClutterStage queues a clutter_redraw() in a
-main loop idle handler.
-Note that the @origin actor may be the stage, or a container; it
-does not have to be a leaf node in the actor graph.
-Toolkits embedding a #ClutterStage which require a redraw and
-relayout cycle can stop the emission of this signal using the
-GSignal API, redraw the UI and then call clutter_redraw()
-themselves, like:
-|[
-static void
-on_redraw_complete (void)
-{
-/&ast; execute the Clutter drawing pipeline &ast;/
-clutter_redraw ();
-}
-static void
-on_stage_queue_redraw (ClutterStage *stage)
-{
-/&ast; this prevents the default handler to run &ast;/
-g_signal_stop_emission_by_name (stage, "queue-redraw");
-/&ast; queue a redraw with the host toolkit and call
-&ast; a function when the redraw has been completed
-&ast;/
-queue_a_redraw (G_CALLBACK (on_redraw_complete));
-}
-]|
-<note><para>This signal is emitted before the Clutter paint
-pipeline is executed. If you want to know when the pipeline has
-been completed you should connect to the ::paint signal on the
-Stage with g_signal_connect_after().</para></note>"
- version="1.0">
- <return-value transfer-ownership="full">
+ </method>
+ <method name="set_text_direction"
+ c:identifier="clutter_actor_set_text_direction"
+ version="1.2">
+ <doc xml:whitespace="preserve">Sets the #ClutterTextDirection for an actor
+The passed text direction must not be %CLUTTER_TEXT_DIRECTION_DEFAULT
+If @self implements #ClutterContainer then this function will recurse
+inside all the children of @self (including the internal ones).
+Composite actors not implementing #ClutterContainer, or actors requiring
+special handling when the text direction changes, should connect to
+the #GObject::notify signal for the #ClutterActor:text-direction property</doc>
+ <return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="origin" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor"/>
+ <parameter name="text_dir" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the text direction for @self</doc>
+ <type name="TextDirection" c:type="ClutterTextDirection"/>
</parameter>
</parameters>
- </glib:signal>
- <glib:signal name="queue-relayout">
- <return-value transfer-ownership="full">
+ </method>
+ <method name="set_width" c:identifier="clutter_actor_set_width">
+ <return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- </glib:signal>
- <glib:signal name="realize"
- doc="The ::realize signal is emitted each time an actor is being
-realized."
- version="0.8">
- <return-value transfer-ownership="full">
+ <parameters>
+ <parameter name="width" transfer-ownership="none">
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_x" c:identifier="clutter_actor_set_x" version="0.6">
+ <doc xml:whitespace="preserve">Sets the actor's X coordinate, relative to its parent, in pixels.
+Overrides any layout manager and forces a fixed position for
+the actor.</doc>
+ <return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- </glib:signal>
- <glib:signal name="scroll-event"
- doc="The ::scroll-event signal is emitted each time the mouse is
-scrolled on @actor
-or %FALSE to continue the emission."
- version="0.6">
- <return-value transfer-ownership="full">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
<parameters>
- <parameter name="event" transfer-ownership="none">
- <type name="Event" c:type="ClutterEvent"/>
+ <parameter name="x" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the actor's position on the X axis</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
</parameters>
- </glib:signal>
- <glib:signal name="show"
- doc="The ::show signal is emitted when an actor is visible and
-rendered on the stage."
- version="0.2">
- <return-value transfer-ownership="full">
+ </method>
+ <method name="set_y" c:identifier="clutter_actor_set_y" version="0.6">
+ <doc xml:whitespace="preserve">Sets the actor's Y coordinate, relative to its parent, in pixels.#
+Overrides any layout manager and forces a fixed position for
+the actor.</doc>
+ <return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- </glib:signal>
- <glib:signal name="unrealize"
- doc="The ::unrealize signal is emitted each time an actor is being
-unrealized."
- version="0.8">
- <return-value transfer-ownership="full">
+ <parameters>
+ <parameter name="y" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the actor's position on the Y axis</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_z_rotation_from_gravity"
+ c:identifier="clutter_actor_set_z_rotation_from_gravity"
+ version="1.0">
+ <doc xml:whitespace="preserve">Sets the rotation angle of @self around the Z axis using the center
+point specified as a compass point. For example to rotate such that
+the center of the actor remains static you can use
+%CLUTTER_GRAVITY_CENTER. If the actor changes size the center point
+will move accordingly.</doc>
+ <return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- </glib:signal>
- </class>
- <record name="ActorBox"
- c:type="ClutterActorBox"
- doc="Bounding box of an actor. The coordinates of the top left and right bottom
-corners of an actor. The coordinates of the two points are expressed in
-pixels with sub-pixel precision"
- glib:type-name="ClutterActorBox"
- glib:get-type="clutter_actor_box_get_type">
- <field name="x1" writable="1">
- <type name="float" c:type="gfloat"/>
- </field>
- <field name="y1" writable="1">
- <type name="float" c:type="gfloat"/>
- </field>
- <field name="x2" writable="1">
- <type name="float" c:type="gfloat"/>
- </field>
- <field name="y2" writable="1">
- <type name="float" c:type="gfloat"/>
- </field>
- <constructor name="new"
- c:identifier="clutter_actor_box_new"
- doc="Allocates a new #ClutterActorBox using the passed coordinates
-for the top left and bottom right points
-clutter_actor_box_free() to free the resources"
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="ActorBox" c:type="ClutterActorBox*"/>
- </return-value>
<parameters>
- <parameter name="x_1" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </parameter>
- <parameter name="y_1" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </parameter>
- <parameter name="x_2" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </parameter>
- <parameter name="y_2" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <parameter name="angle" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the angle of rotation</doc>
+ <type name="gdouble" c:type="gdouble"/>
</parameter>
- </parameters>
- </constructor>
- <method name="copy"
- c:identifier="clutter_actor_box_copy"
- doc="Copies @box
-clutter_actor_box_free() to free the allocated resources"
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="ActorBox" c:type="ClutterActorBox*"/>
- </return-value>
- </method>
- <method name="free"
- c:identifier="clutter_actor_box_free"
- doc="Frees a #ClutterActorBox allocated using clutter_actor_box_new()
-or clutter_actor_box_copy()"
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </method>
- <method name="equal"
- c:identifier="clutter_actor_box_equal"
- doc="Checks @box_a and @box_b for equality"
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- <parameters>
- <parameter name="box_b" transfer-ownership="none">
- <type name="ActorBox" c:type="ClutterActorBox*"/>
+ <parameter name="gravity" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the center point of the rotation</doc>
+ <type name="Gravity" c:type="ClutterGravity"/>
</parameter>
</parameters>
</method>
- <method name="get_x"
- c:identifier="clutter_actor_box_get_x"
- doc="Retrieves the X coordinate of the origin of @box"
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </return-value>
- </method>
- <method name="get_y"
- c:identifier="clutter_actor_box_get_y"
- doc="Retrieves the Y coordinate of the origin of @box"
- version="1.0">
+ <method name="should_pick_paint"
+ c:identifier="clutter_actor_should_pick_paint">
+ <doc xml:whitespace="preserve">Should be called inside the implementation of the
+#ClutterActor::pick virtual function in order to check whether
+the actor should paint itself in pick mode or not.
+This function should never be called directly by applications.
+%FALSE otherwise</doc>
<return-value transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <doc xml:whitespace="preserve">%TRUE if the actor should paint its silhouette,</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
- <method name="get_width"
- c:identifier="clutter_actor_box_get_width"
- doc="Retrieves the width of the @box"
- version="1.0">
+ <method name="show" c:identifier="clutter_actor_show">
+ <doc xml:whitespace="preserve">Flags an actor to be displayed. An actor that isn't shown will not
+be rendered on the stage.
+Actors are visible by default.
+If this function is called on an actor without a parent, the
+#ClutterActor:show-on-set-parent will be set to %TRUE as a side
+effect.</doc>
<return-value transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <type name="none" c:type="void"/>
</return-value>
</method>
- <method name="get_height"
- c:identifier="clutter_actor_box_get_height"
- doc="Retrieves the height of the @box"
- version="1.0">
+ <method name="show_all"
+ c:identifier="clutter_actor_show_all"
+ version="0.2">
+ <doc xml:whitespace="preserve">Calls clutter_actor_show() on all children of an actor (if any).</doc>
<return-value transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <type name="none" c:type="void"/>
</return-value>
</method>
- <method name="get_origin"
- c:identifier="clutter_actor_box_get_origin"
- doc="Retrieves the origin of @box"
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <method name="transform_stage_point"
+ c:identifier="clutter_actor_transform_stage_point"
+ version="0.6">
+ <doc xml:whitespace="preserve">This function translates screen coordinates (@x, @y) to
+coordinates relative to the actor. For example, it can be used to translate
+screen events from global screen coordinates into actor-local coordinates.
+The conversion can fail, notably if the transform stack results in the
+actor being projected on the screen as a mere line.
+The conversion should not be expected to be pixel-perfect due to the
+nature of the operation. In general the error grows when the skewing
+of the actor rectangle on screen increases.
+<note><para>This function can be computationally intensive.</para></note>
+<note><para>This function only works when the allocation is up-to-date,
+i.e. inside of paint().</para></note></doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if conversion was successful.</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
- <parameter name="x"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- allow-none="1"
- doc="return location for the X coordinate, or %NULL">
- <type name="float" c:type="gfloat*"/>
+ <parameter name="x" transfer-ownership="none">
+ <doc xml:whitespace="preserve">x screen coordinate of the point to unproject</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
- <parameter name="y"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- allow-none="1"
- doc="return location for the Y coordinate, or %NULL">
- <type name="float" c:type="gfloat*"/>
+ <parameter name="y" transfer-ownership="none">
+ <doc xml:whitespace="preserve">y screen coordinate of the point to unproject</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
- </parameters>
- </method>
- <method name="get_size"
- c:identifier="clutter_actor_box_get_size"
- doc="Retrieves the size of @box"
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="width"
+ <parameter name="x_out"
direction="out"
caller-allocates="0"
- transfer-ownership="full"
- allow-none="1"
- doc="return location for the width, or %NULL">
- <type name="float" c:type="gfloat*"/>
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the unprojected x coordinance</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
- <parameter name="height"
+ <parameter name="y_out"
direction="out"
caller-allocates="0"
- transfer-ownership="full"
- allow-none="1"
- doc="return location for the height, or %NULL">
- <type name="float" c:type="gfloat*"/>
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the unprojected y coordinance</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
</parameters>
</method>
- <method name="get_area"
- c:identifier="clutter_actor_box_get_area"
- doc="Retrieves the area of @box"
- version="1.0">
+ <method name="unmap" c:identifier="clutter_actor_unmap" version="1.0">
+ <doc xml:whitespace="preserve">Unsets the %CLUTTER_ACTOR_MAPPED flag on the actor and possibly
+unmaps its children if they were mapped.
+#ClutterActor <function>unmap()</function> virtual function in an actor
+and you need to unmap the children of that actor. It is not necessary
+to call this if you implement #ClutterContainer because the default
+implementation will automatically unmap children of containers.
+When overriding unmap, it is mandatory to chain up to the parent
+implementation.</doc>
<return-value transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <type name="none" c:type="void"/>
</return-value>
</method>
- <method name="contains"
- c:identifier="clutter_actor_box_contains"
- doc="Checks whether a point with @x, @y coordinates is contained
-withing @box"
- version="1.0">
+ <method name="unparent"
+ c:identifier="clutter_actor_unparent"
+ version="0.1.1">
+ <doc xml:whitespace="preserve">Removes the parent of @self.
+This function should not be used in applications. It should be called by
+implementations of container actors, to dissociate a child from the
+container.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
- <parameters>
- <parameter name="x" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </parameter>
- <parameter name="y" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </parameter>
- </parameters>
</method>
- <method name="from_vertices"
- c:identifier="clutter_actor_box_from_vertices"
- doc="Calculates the bounding box represented by the four vertices; for details
-of the vertex array see clutter_actor_get_abs_allocation_vertices()."
- version="1.0">
+ <method name="unrealize" c:identifier="clutter_actor_unrealize">
+ <doc xml:whitespace="preserve">Unrealization informs the actor that it may be being destroyed or
+moved to another stage. The actor may want to destroy any
+underlying graphics resources at this point. However it is
+perfectly acceptable for it to retain the resources until the actor
+is destroyed because Clutter only ever uses a single rendering
+context and all of the graphics resources are valid on any stage.
+Because mapped actors must be realized, actors may not be
+unrealized if they are mapped. This function hides the actor to be
+sure it isn't mapped, an application-visible side effect that you
+may not be expecting.
+This function should not be called by application code.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- <parameters>
- <parameter name="verts"
- transfer-ownership="none"
- doc="array of four #ClutterVertex">
- <array c:type="ClutterVertex" fixed-size="4">
- <type name="Vertex"/>
- </array>
- </parameter>
- </parameters>
</method>
- <method name="interpolate"
- c:identifier="clutter_actor_box_interpolate"
- doc="Interpolates between @initial and @final #ClutterActorBox<!-- -->es
-using @progress"
- version="1.2">
+ <method name="unset_flags"
+ c:identifier="clutter_actor_unset_flags"
+ version="1.0">
+ <doc xml:whitespace="preserve">Unsets @flags on @self
+This function will emit notifications for the changed properties</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="final" transfer-ownership="none">
- <type name="ActorBox" c:type="ClutterActorBox*"/>
- </parameter>
- <parameter name="progress" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </parameter>
- <parameter name="result"
- direction="out"
- caller-allocates="1"
- transfer-ownership="none"
- doc="return location for the interpolation">
- <type name="ActorBox" c:type="ClutterActorBox*"/>
+ <parameter name="flags" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the flags to unset</doc>
+ <type name="ActorFlags" c:type="ClutterActorFlags"/>
</parameter>
</parameters>
</method>
- <method name="clamp_to_pixel"
- c:identifier="clutter_actor_box_clamp_to_pixel"
- doc="Clamps the components of @box to the nearest integer"
- version="1.2">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </method>
- </record>
- <record name="ActorClass"
- c:type="ClutterActorClass"
- glib:is-gtype-struct-for="Actor"
- doc="Base class for actors.">
- <field name="parent_class">
- <type name="GObject.InitiallyUnownedClass"
- c:type="GInitiallyUnownedClass"/>
- </field>
- <field name="show">
- <callback name="show" c:type="show">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="show_all">
- <callback name="show_all" c:type="show_all">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="hide">
- <callback name="hide" c:type="hide">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="hide_all">
- <callback name="hide_all" c:type="hide_all">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="realize">
- <callback name="realize" c:type="realize">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="unrealize">
- <callback name="unrealize" c:type="unrealize">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="map">
- <callback name="map" c:type="map">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="unmap">
- <callback name="unmap" c:type="unmap">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- </parameters>
- </callback>
+ <property name="actions"
+ version="1.4"
+ readable="0"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Adds a #ClutterAction to the actor</doc>
+ <type name="Action"/>
+ </property>
+ <property name="allocation" version="0.8" transfer-ownership="none">
+ <doc xml:whitespace="preserve">The allocation for the actor, in pixels
+This is property is read-only, but you might monitor it to know when an
+actor moves or resizes</doc>
+ <type name="ActorBox"/>
+ </property>
+ <property name="anchor-gravity"
+ version="1.0"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The anchor point expressed as a #ClutterGravity</doc>
+ <type name="Gravity"/>
+ </property>
+ <property name="anchor-x"
+ version="0.8"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The X coordinate of an actor's anchor point, relative to
+the actor coordinate space, in pixels</doc>
+ <type name="gfloat"/>
+ </property>
+ <property name="anchor-y"
+ version="0.8"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The Y coordinate of an actor's anchor point, relative to
+the actor coordinate space, in pixels</doc>
+ <type name="gfloat"/>
+ </property>
+ <property name="clip" writable="1" transfer-ownership="none">
+ <doc xml:whitespace="preserve">The clip region for the actor, in actor-relative coordinates
+Every part of the actor outside the clip region will not be
+painted</doc>
+ <type name="Geometry"/>
+ </property>
+ <property name="clip-to-allocation"
+ version="1.0"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the clip region should track the allocated area
+of the actor.
+This property is ignored if a clip area has been explicitly
+set using clutter_actor_set_clip().</doc>
+ <type name="gboolean"/>
+ </property>
+ <property name="constraints"
+ version="1.4"
+ readable="0"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Adds a #ClutterConstraint to the actor</doc>
+ <type name="Constraint"/>
+ </property>
+ <property name="depth"
+ version="0.6"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The position of the actor on the Z axis</doc>
+ <type name="gfloat"/>
+ </property>
+ <property name="effect"
+ version="1.4"
+ readable="0"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Adds #ClutterEffect to the list of effects be applied on a #ClutterActor</doc>
+ <type name="Effect"/>
+ </property>
+ <property name="fixed-position-set"
+ version="0.8"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">This flag controls whether the #ClutterActor:fixed-x and
+#ClutterActor:fixed-y properties are used</doc>
+ <type name="gboolean"/>
+ </property>
+ <property name="fixed-x"
+ version="0.8"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The fixed X position of the actor in pixels.
+Writing this property sets #ClutterActor:fixed-position-set
+property as well, as a side effect</doc>
+ <type name="gfloat"/>
+ </property>
+ <property name="fixed-y"
+ version="0.8"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The fixed Y position of the actor in pixels.
+Writing this property sets the #ClutterActor:fixed-position-set
+property as well, as a side effect</doc>
+ <type name="gfloat"/>
+ </property>
+ <property name="has-clip" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the actor has the #ClutterActor:clip property set or not</doc>
+ <type name="gboolean"/>
+ </property>
+ <property name="has-pointer" version="1.2" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the actor contains the pointer of a #ClutterInputDevice
+or not.</doc>
+ <type name="gboolean"/>
+ </property>
+ <property name="height" writable="1" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Height of the actor (in pixels). If written, forces the minimum and
+natural size request of the actor to the given height. If read, returns
+the allocated height if available, otherwise the height request.</doc>
+ <type name="gfloat"/>
+ </property>
+ <property name="mapped" version="1.0" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the actor is mapped (will be painted when the stage
+to which it belongs is mapped)</doc>
+ <type name="gboolean"/>
+ </property>
+ <property name="min-height"
+ version="0.8"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">A forced minimum height request for the actor, in pixels
+Writing this property sets the #ClutterActor:min-height-set property
+as well, as a side effect. This property overrides the usual height
+request of the actor.</doc>
+ <type name="gfloat"/>
+ </property>
+ <property name="min-height-set"
+ version="0.8"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">This flag controls whether the #ClutterActor:min-height property
+is used</doc>
+ <type name="gboolean"/>
+ </property>
+ <property name="min-width"
+ version="0.8"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">A forced minimum width request for the actor, in pixels
+Writing this property sets the #ClutterActor:min-width-set property
+as well, as a side effect.
+This property overrides the usual width request of the actor.</doc>
+ <type name="gfloat"/>
+ </property>
+ <property name="min-width-set"
+ version="0.8"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">This flag controls whether the #ClutterActor:min-width property
+is used</doc>
+ <type name="gboolean"/>
+ </property>
+ <property name="name"
+ version="0.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The name of the actor</doc>
+ <type name="utf8"/>
+ </property>
+ <property name="natural-height"
+ version="0.8"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">A forced natural height request for the actor, in pixels
+Writing this property sets the #ClutterActor:natural-height-set
+property as well, as a side effect. This property overrides the
+usual height request of the actor</doc>
+ <type name="gfloat"/>
+ </property>
+ <property name="natural-height-set"
+ version="0.8"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">This flag controls whether the #ClutterActor:natural-height property
+is used</doc>
+ <type name="gboolean"/>
+ </property>
+ <property name="natural-width"
+ version="0.8"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">A forced natural width request for the actor, in pixels
+Writing this property sets the #ClutterActor:natural-width-set
+property as well, as a side effect. This property overrides the
+usual width request of the actor</doc>
+ <type name="gfloat"/>
+ </property>
+ <property name="natural-width-set"
+ version="0.8"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">This flag controls whether the #ClutterActor:natural-width property
+is used</doc>
+ <type name="gboolean"/>
+ </property>
+ <property name="opacity" writable="1" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Opacity of an actor, between 0 (fully transparent) and
+255 (fully opaque)</doc>
+ <type name="guint"/>
+ </property>
+ <property name="reactive"
+ version="0.6"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the actor is reactive to events or not
+Only reactive actors will emit event-related signals</doc>
+ <type name="gboolean"/>
+ </property>
+ <property name="realized" version="1.0" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the actor has been realized</doc>
+ <type name="gboolean"/>
+ </property>
+ <property name="request-mode"
+ version="0.8"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Request mode for the #ClutterActor. The request mode determines the
+type of geometry management used by the actor, either height for width
+(the default) or width for height.
+For actors implementing height for width, the parent container should get
+the preferred width first, and then the preferred height for that width.
+For actors implementing width for height, the parent container should get
+the preferred height first, and then the preferred width for that height.
+For instance:
+|[
+ClutterRequestMode mode;
+gfloat natural_width, min_width;
+gfloat natural_height, min_height;
+mode = clutter_actor_get_request_mode (child);
+if (mode == CLUTTER_REQUEST_HEIGHT_FOR_WIDTH)
+{
+clutter_actor_get_preferred_width (child, -1,
+&amp;min_width,
+&amp;natural_width);
+clutter_actor_get_preferred_height (child, natural_width,
+&amp;min_height,
+&amp;natural_height);
+}
+else
+{
+clutter_actor_get_preferred_height (child, -1,
+&amp;min_height,
+&amp;natural_height);
+clutter_actor_get_preferred_width (child, natural_height,
+&amp;min_width,
+&amp;natural_width);
+}
+]|
+will retrieve the minimum and natural width and height depending on the
+preferred request mode of the #ClutterActor "child".
+The clutter_actor_get_preferred_size() function will implement this
+check for you.</doc>
+ <type name="RequestMode"/>
+ </property>
+ <property name="rotation-angle-x"
+ version="0.6"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The rotation angle on the X axis</doc>
+ <type name="gdouble"/>
+ </property>
+ <property name="rotation-angle-y"
+ version="0.6"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The rotation angle on the Y axis</doc>
+ <type name="gdouble"/>
+ </property>
+ <property name="rotation-angle-z"
+ version="0.6"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The rotation angle on the Z axis</doc>
+ <type name="gdouble"/>
+ </property>
+ <property name="rotation-center-x"
+ version="0.6"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The rotation center on the X axis.</doc>
+ <type name="Vertex"/>
+ </property>
+ <property name="rotation-center-y"
+ version="0.6"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The rotation center on the Y axis.</doc>
+ <type name="Vertex"/>
+ </property>
+ <property name="rotation-center-z"
+ version="0.6"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The rotation center on the Z axis.</doc>
+ <type name="Vertex"/>
+ </property>
+ <property name="rotation-center-z-gravity"
+ version="1.0"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The rotation center on the Z axis expressed as a #ClutterGravity.</doc>
+ <type name="Gravity"/>
+ </property>
+ <property name="scale-center-x"
+ version="1.0"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The horizontal center point for scaling</doc>
+ <type name="gfloat"/>
+ </property>
+ <property name="scale-center-y"
+ version="1.0"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The vertical center point for scaling</doc>
+ <type name="gfloat"/>
+ </property>
+ <property name="scale-gravity"
+ version="1.0"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The center point for scaling expressed as a #ClutterGravity</doc>
+ <type name="Gravity"/>
+ </property>
+ <property name="scale-x"
+ version="0.6"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The horizontal scale of the actor</doc>
+ <type name="gdouble"/>
+ </property>
+ <property name="scale-y"
+ version="0.6"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The vertical scale of the actor</doc>
+ <type name="gdouble"/>
+ </property>
+ <property name="show-on-set-parent"
+ version="0.8"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">If %TRUE, the actor is automatically shown when parented.
+Calling clutter_actor_hide() on an actor which has not been
+parented will set this property to %FALSE as a side effect.</doc>
+ <type name="gboolean"/>
+ </property>
+ <property name="text-direction" writable="1" transfer-ownership="none">
+ <type name="TextDirection"/>
+ </property>
+ <property name="visible" writable="1" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the actor is set to be visible or not
+See also #ClutterActor:mapped</doc>
+ <type name="gboolean"/>
+ </property>
+ <property name="width" writable="1" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Width of the actor (in pixels). If written, forces the minimum and
+natural size request of the actor to the given width. If read, returns
+the allocated width if available, otherwise the width request.</doc>
+ <type name="gfloat"/>
+ </property>
+ <property name="x" writable="1" transfer-ownership="none">
+ <doc xml:whitespace="preserve">X coordinate of the actor in pixels. If written, forces a fixed
+position for the actor. If read, returns the fixed position if any,
+otherwise the allocation if available, otherwise 0.</doc>
+ <type name="gfloat"/>
+ </property>
+ <property name="y" writable="1" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Y coordinate of the actor in pixels. If written, forces a fixed
+position for the actor. If read, returns the fixed position if
+any, otherwise the allocation if available, otherwise 0.</doc>
+ <type name="gfloat"/>
+ </property>
+ <field name="parent_instance">
+ <type name="GObject.InitiallyUnowned" c:type="GInitiallyUnowned"/>
</field>
- <field name="paint">
- <callback name="paint" c:type="paint">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- </parameters>
- </callback>
+ <field name="flags">
+ <type name="guint32" c:type="guint32"/>
</field>
- <field name="parent_set">
- <callback name="parent_set" c:type="parent_set">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- <parameter name="old_parent" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- </parameters>
- </callback>
+ <field name="private_flags">
+ <type name="guint32" c:type="guint32"/>
</field>
- <field name="destroy">
- <callback name="destroy" c:type="destroy">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- </parameters>
- </callback>
+ <field name="priv">
+ <type name="ActorPrivate" c:type="ClutterActorPrivate*"/>
</field>
- <field name="pick">
- <callback name="pick" c:type="pick">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- <parameter name="color" transfer-ownership="none">
- <type name="Color" c:type="ClutterColor*"/>
- </parameter>
- </parameters>
- </callback>
+ <glib:signal name="allocation-changed" version="1.0">
+ <doc xml:whitespace="preserve">The ::allocation-changed signal is emitted when the
+#ClutterActor:allocation property changes. Usually, application
+code should just use the notifications for the :allocation property
+but if you want to track the allocation flags as well, for instance
+to know whether the absolute origin of @actor changed, then you might
+want use this signal instead.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActorBox with the new allocation</doc>
+ <type name="ActorBox"/>
+ </parameter>
+ <parameter name="p0" transfer-ownership="none">
+ <doc xml:whitespace="preserve">#ClutterAllocationFlags for the allocation</doc>
+ <type name="AllocationFlags"/>
+ </parameter>
+ </parameters>
+ </glib:signal>
+ <glib:signal name="button-press-event" version="0.6">
+ <doc xml:whitespace="preserve">The ::button-press-event signal is emitted each time a mouse button
+is pressed on @actor.
+or %FALSE to continue the emission.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the event has been handled by the actor,</doc>
+ <type name="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterButtonEvent</doc>
+ <type name="Event"/>
+ </parameter>
+ </parameters>
+ </glib:signal>
+ <glib:signal name="button-release-event" version="0.6">
+ <doc xml:whitespace="preserve">The ::button-release-event signal is emitted each time a mouse button
+is released on @actor.
+or %FALSE to continue the emission.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the event has been handled by the actor,</doc>
+ <type name="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterButtonEvent</doc>
+ <type name="Event"/>
+ </parameter>
+ </parameters>
+ </glib:signal>
+ <glib:signal name="captured-event" version="0.6">
+ <doc xml:whitespace="preserve">The ::captured-event signal is emitted when an event is captured
+by Clutter. This signal will be emitted starting from the top-level
+container (the #ClutterStage) to the actor which received the event
+going down the hierarchy. This signal can be used to intercept every
+event before the specialized events (like
+ClutterActor::button-press-event or ::key-released-event) are
+emitted.
+or %FALSE to continue the emission.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the event has been handled by the actor,</doc>
+ <type name="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterEvent</doc>
+ <type name="Event"/>
+ </parameter>
+ </parameters>
+ </glib:signal>
+ <glib:signal name="destroy" version="0.2">
+ <doc xml:whitespace="preserve">The ::destroy signal is emitted when an actor is destroyed,
+either by direct invocation of clutter_actor_destroy() or
+when the #ClutterGroup that contains the actor is destroyed.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ </glib:signal>
+ <glib:signal name="enter-event" version="0.6">
+ <doc xml:whitespace="preserve">The ::enter-event signal is emitted when the pointer enters the @actor
+or %FALSE to continue the emission.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the event has been handled by the actor,</doc>
+ <type name="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterCrossingEvent</doc>
+ <type name="Event"/>
+ </parameter>
+ </parameters>
+ </glib:signal>
+ <glib:signal name="event" version="0.6">
+ <doc xml:whitespace="preserve">The ::event signal is emitted each time an event is received
+by the @actor. This signal will be emitted on every actor,
+following the hierarchy chain, until it reaches the top-level
+container (the #ClutterStage).
+or %FALSE to continue the emission.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the event has been handled by the actor,</doc>
+ <type name="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterEvent</doc>
+ <type name="Event"/>
+ </parameter>
+ </parameters>
+ </glib:signal>
+ <glib:signal name="hide" version="0.2">
+ <doc xml:whitespace="preserve">The ::hide signal is emitted when an actor is no longer rendered
+on the stage.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ </glib:signal>
+ <glib:signal name="key-focus-in" version="0.6">
+ <doc xml:whitespace="preserve">The ::key-focus-in signal is emitted when @actor receives key focus.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ </glib:signal>
+ <glib:signal name="key-focus-out" version="0.6">
+ <doc xml:whitespace="preserve">The ::key-focus-out signal is emitted when @actor loses key focus.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ </glib:signal>
+ <glib:signal name="key-press-event" version="0.6">
+ <doc xml:whitespace="preserve">The ::key-press-event signal is emitted each time a keyboard button
+is pressed while @actor has key focus (see clutter_stage_set_key_focus()).
+or %FALSE to continue the emission.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the event has been handled by the actor,</doc>
+ <type name="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterKeyEvent</doc>
+ <type name="Event"/>
+ </parameter>
+ </parameters>
+ </glib:signal>
+ <glib:signal name="key-release-event" version="0.6">
+ <doc xml:whitespace="preserve">The ::key-release-event signal is emitted each time a keyboard button
+is released while @actor has key focus (see
+clutter_stage_set_key_focus()).
+or %FALSE to continue the emission.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the event has been handled by the actor,</doc>
+ <type name="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterKeyEvent</doc>
+ <type name="Event"/>
+ </parameter>
+ </parameters>
+ </glib:signal>
+ <glib:signal name="leave-event" version="0.6">
+ <doc xml:whitespace="preserve">The ::leave-event signal is emitted when the pointer leaves the @actor.
+or %FALSE to continue the emission.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the event has been handled by the actor,</doc>
+ <type name="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterCrossingEvent</doc>
+ <type name="Event"/>
+ </parameter>
+ </parameters>
+ </glib:signal>
+ <glib:signal name="motion-event" version="0.6">
+ <doc xml:whitespace="preserve">The ::motion-event signal is emitted each time the mouse pointer is
+moved over @actor.
+or %FALSE to continue the emission.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the event has been handled by the actor,</doc>
+ <type name="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterMotionEvent</doc>
+ <type name="Event"/>
+ </parameter>
+ </parameters>
+ </glib:signal>
+ <glib:signal name="paint" version="0.8">
+ <doc xml:whitespace="preserve">The ::paint signal is emitted each time an actor is being painted.
+Subclasses of #ClutterActor should override the class signal handler
+and paint themselves in that function.
+It is possible to connect a handler to the ::paint signal in order
+to set up some custom aspect of a paint.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ </glib:signal>
+ <glib:signal name="parent-set" version="0.2">
+ <doc xml:whitespace="preserve">This signal is emitted when the parent of the actor changes.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the previous parent of the actor, or %NULL</doc>
+ <type name="Actor"/>
+ </parameter>
+ </parameters>
+ </glib:signal>
+ <glib:signal name="pick" version="1.0">
+ <doc xml:whitespace="preserve">The ::pick signal is emitted each time an actor is being painted
+in "pick mode". The pick mode is used to identify the actor during
+the event handling phase, or by clutter_stage_get_actor_at_pos().
+The actor should paint its shape using the passed @pick_color.
+Subclasses of #ClutterActor should override the class signal handler
+and paint themselves in that function.
+It is possible to connect a handler to the ::pick signal in order
+to set up some custom aspect of a paint in pick mode.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterColor to be used when picking</doc>
+ <type name="Color"/>
+ </parameter>
+ </parameters>
+ </glib:signal>
+ <glib:signal name="queue-redraw" version="1.0">
+ <doc xml:whitespace="preserve">The ::queue_redraw signal is emitted when clutter_actor_queue_redraw()
+is called on @origin.
+The default implementation for #ClutterActor chains up to the
+parent actor and queues a redraw on the parent, thus "bubbling"
+the redraw queue up through the actor graph. The default
+implementation for #ClutterStage queues a clutter_redraw() in a
+main loop idle handler.
+Note that the @origin actor may be the stage, or a container; it
+does not have to be a leaf node in the actor graph.
+Toolkits embedding a #ClutterStage which require a redraw and
+relayout cycle can stop the emission of this signal using the
+GSignal API, redraw the UI and then call clutter_redraw()
+themselves, like:
+|[
+static void
+on_redraw_complete (void)
+{
+/&ast; execute the Clutter drawing pipeline &ast;/
+clutter_redraw ();
+}
+static void
+on_stage_queue_redraw (ClutterStage *stage)
+{
+/&ast; this prevents the default handler to run &ast;/
+g_signal_stop_emission_by_name (stage, "queue-redraw");
+/&ast; queue a redraw with the host toolkit and call
+&ast; a function when the redraw has been completed
+&ast;/
+queue_a_redraw (G_CALLBACK (on_redraw_complete));
+}
+]|
+<note><para>This signal is emitted before the Clutter paint
+pipeline is executed. If you want to know when the pipeline has
+been completed you should connect to the ::paint signal on the
+Stage with g_signal_connect_after().</para></note></doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the actor which initiated the redraw request</doc>
+ <type name="Actor"/>
+ </parameter>
+ </parameters>
+ </glib:signal>
+ <glib:signal name="queue-relayout">
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ </glib:signal>
+ <glib:signal name="realize" version="0.8">
+ <doc xml:whitespace="preserve">The ::realize signal is emitted each time an actor is being
+realized.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ </glib:signal>
+ <glib:signal name="scroll-event" version="0.6">
+ <doc xml:whitespace="preserve">The ::scroll-event signal is emitted each time the mouse is
+scrolled on @actor
+or %FALSE to continue the emission.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the event has been handled by the actor,</doc>
+ <type name="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterScrollEvent</doc>
+ <type name="Event"/>
+ </parameter>
+ </parameters>
+ </glib:signal>
+ <glib:signal name="show" version="0.2">
+ <doc xml:whitespace="preserve">The ::show signal is emitted when an actor is visible and
+rendered on the stage.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ </glib:signal>
+ <glib:signal name="unrealize" version="0.8">
+ <doc xml:whitespace="preserve">The ::unrealize signal is emitted each time an actor is being
+unrealized.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ </glib:signal>
+ </class>
+ <record name="ActorBox"
+ c:type="ClutterActorBox"
+ glib:type-name="ClutterActorBox"
+ glib:get-type="clutter_actor_box_get_type"
+ c:symbol-prefix="actor_box">
+ <doc xml:whitespace="preserve">Bounding box of an actor. The coordinates of the top left and right bottom
+corners of an actor. The coordinates of the two points are expressed in
+pixels with sub-pixel precision</doc>
+ <field name="x1" writable="1">
+ <type name="gfloat" c:type="gfloat"/>
</field>
- <field name="queue_redraw">
- <callback name="queue_redraw" c:type="queue_redraw">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- <parameter name="leaf_that_queued" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- </parameters>
- </callback>
+ <field name="y1" writable="1">
+ <type name="gfloat" c:type="gfloat"/>
</field>
- <field name="get_preferred_width">
- <callback name="get_preferred_width" c:type="get_preferred_width">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- <parameter name="for_height" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </parameter>
- <parameter name="min_width_p"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full">
- <type name="float" c:type="gfloat*"/>
- </parameter>
- <parameter name="natural_width_p"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full">
- <type name="float" c:type="gfloat*"/>
- </parameter>
- </parameters>
- </callback>
+ <field name="x2" writable="1">
+ <type name="gfloat" c:type="gfloat"/>
</field>
- <field name="get_preferred_height">
- <callback name="get_preferred_height" c:type="get_preferred_height">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- <parameter name="for_width" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </parameter>
- <parameter name="min_height_p"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full">
- <type name="float" c:type="gfloat*"/>
- </parameter>
- <parameter name="natural_height_p"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full">
- <type name="float" c:type="gfloat*"/>
- </parameter>
- </parameters>
- </callback>
+ <field name="y2" writable="1">
+ <type name="gfloat" c:type="gfloat"/>
</field>
- <field name="allocate">
- <callback name="allocate" c:type="allocate">
+ <constructor name="new"
+ c:identifier="clutter_actor_box_new"
+ version="1.0">
+ <doc xml:whitespace="preserve">Allocates a new #ClutterActorBox using the passed coordinates
+for the top left and bottom right points
+clutter_actor_box_free() to free the resources</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">the newly allocated #ClutterActorBox. Use</doc>
+ <type name="ActorBox" c:type="ClutterActorBox*"/>
+ </return-value>
+ <parameters>
+ <parameter name="x_1" transfer-ownership="none">
+ <doc xml:whitespace="preserve">X coordinate of the top left point</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ <parameter name="y_1" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Y coordinate of the top left point</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ <parameter name="x_2" transfer-ownership="none">
+ <doc xml:whitespace="preserve">X coordinate of the bottom right point</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ <parameter name="y_2" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Y coordinate of the bottom right point</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ </parameters>
+ </constructor>
+ <method name="clamp_to_pixel"
+ c:identifier="clutter_actor_box_clamp_to_pixel"
+ version="1.2">
+ <doc xml:whitespace="preserve">Clamps the components of @box to the nearest integer</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </method>
+ <method name="contains"
+ c:identifier="clutter_actor_box_contains"
+ version="1.0">
+ <doc xml:whitespace="preserve">Checks whether a point with @x, @y coordinates is contained
+withing @box</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the point is contained by the #ClutterActorBox</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="x" transfer-ownership="none">
+ <doc xml:whitespace="preserve">X coordinate of the point</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ <parameter name="y" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Y coordinate of the point</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="copy" c:identifier="clutter_actor_box_copy" version="1.0">
+ <doc xml:whitespace="preserve">Copies @box
+clutter_actor_box_free() to free the allocated resources</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">a newly allocated copy of #ClutterActorBox. Use</doc>
+ <type name="ActorBox" c:type="ClutterActorBox*"/>
+ </return-value>
+ </method>
+ <method name="equal"
+ c:identifier="clutter_actor_box_equal"
+ version="1.0">
+ <doc xml:whitespace="preserve">Checks @box_a and @box_b for equality</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the passed #ClutterActorBox are equal</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="box_b" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActorBox</doc>
+ <type name="ActorBox" c:type="ClutterActorBox*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="free" c:identifier="clutter_actor_box_free" version="1.0">
+ <doc xml:whitespace="preserve">Frees a #ClutterActorBox allocated using clutter_actor_box_new()
+or clutter_actor_box_copy()</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </method>
+ <method name="from_vertices"
+ c:identifier="clutter_actor_box_from_vertices"
+ version="1.0">
+ <doc xml:whitespace="preserve">Calculates the bounding box represented by the four vertices; for details
+of the vertex array see clutter_actor_get_abs_allocation_vertices().</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="verts" transfer-ownership="none">
+ <doc xml:whitespace="preserve">array of four #ClutterVertex</doc>
+ <array c:type="ClutterVertex" fixed-size="4">
+ <type name="Vertex"/>
+ </array>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="get_area"
+ c:identifier="clutter_actor_box_get_area"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the area of @box</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the area of a #ClutterActorBox, in pixels</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </return-value>
+ </method>
+ <method name="get_height"
+ c:identifier="clutter_actor_box_get_height"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the height of the @box</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the height of the box</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </return-value>
+ </method>
+ <method name="get_origin"
+ c:identifier="clutter_actor_box_get_origin"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the origin of @box</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="x"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full"
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for the X coordinate, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
+ </parameter>
+ <parameter name="y"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full"
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for the Y coordinate, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="get_size"
+ c:identifier="clutter_actor_box_get_size"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the size of @box</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="width"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full"
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for the width, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
+ </parameter>
+ <parameter name="height"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full"
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for the height, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="get_width"
+ c:identifier="clutter_actor_box_get_width"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the width of the @box</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the width of the box</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </return-value>
+ </method>
+ <method name="get_x"
+ c:identifier="clutter_actor_box_get_x"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the X coordinate of the origin of @box</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the X coordinate of the origin</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </return-value>
+ </method>
+ <method name="get_y"
+ c:identifier="clutter_actor_box_get_y"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the Y coordinate of the origin of @box</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the Y coordinate of the origin</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </return-value>
+ </method>
+ <method name="interpolate"
+ c:identifier="clutter_actor_box_interpolate"
+ version="1.2">
+ <doc xml:whitespace="preserve">Interpolates between @initial and @final #ClutterActorBox<!-- -->es
+using @progress</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="final" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the final #ClutterActorBox</doc>
+ <type name="ActorBox" c:type="ClutterActorBox*"/>
+ </parameter>
+ <parameter name="progress" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the interpolation progress</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="result"
+ direction="out"
+ caller-allocates="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">return location for the interpolation</doc>
+ <type name="ActorBox" c:type="ClutterActorBox*"/>
+ </parameter>
+ </parameters>
+ </method>
+ </record>
+ <record name="ActorClass"
+ c:type="ClutterActorClass"
+ glib:is-gtype-struct-for="Actor">
+ <doc xml:whitespace="preserve">Base class for actors.</doc>
+ <field name="parent_class">
+ <type name="GObject.InitiallyUnownedClass"
+ c:type="GInitiallyUnownedClass"/>
+ </field>
+ <field name="show">
+ <callback name="show">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameter name="actor" transfer-ownership="none">
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="box" transfer-ownership="none">
- <type name="ActorBox" c:type="ClutterActorBox*"/>
- </parameter>
- <parameter name="flags" transfer-ownership="none">
- <type name="AllocationFlags" c:type="ClutterAllocationFlags"/>
- </parameter>
</parameters>
</callback>
</field>
- <field name="apply_transform">
- <callback name="apply_transform" c:type="apply_transform">
+ <field name="show_all">
+ <callback name="show_all">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameter name="actor" transfer-ownership="none">
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="matrix" transfer-ownership="none">
- <type name="Cogl.Matrix" c:type="CoglMatrix*"/>
- </parameter>
</parameters>
</callback>
</field>
- <field name="event">
- <callback name="event" c:type="event">
+ <field name="hide">
+ <callback name="hide">
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="actor" transfer-ownership="none">
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="event" transfer-ownership="none">
- <type name="Event" c:type="ClutterEvent*"/>
- </parameter>
</parameters>
</callback>
</field>
- <field name="button_press_event">
- <callback name="button_press_event" c:type="button_press_event">
+ <field name="hide_all">
+ <callback name="hide_all">
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="actor" transfer-ownership="none">
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="event" transfer-ownership="none">
- <type name="ButtonEvent" c:type="ClutterButtonEvent*"/>
- </parameter>
</parameters>
</callback>
</field>
- <field name="button_release_event">
- <callback name="button_release_event" c:type="button_release_event">
+ <field name="realize">
+ <callback name="realize">
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="actor" transfer-ownership="none">
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="event" transfer-ownership="none">
- <type name="ButtonEvent" c:type="ClutterButtonEvent*"/>
- </parameter>
</parameters>
</callback>
</field>
- <field name="scroll_event">
- <callback name="scroll_event" c:type="scroll_event">
+ <field name="unrealize">
+ <callback name="unrealize">
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="actor" transfer-ownership="none">
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="event" transfer-ownership="none">
- <type name="ScrollEvent" c:type="ClutterScrollEvent*"/>
- </parameter>
</parameters>
</callback>
</field>
- <field name="key_press_event">
- <callback name="key_press_event" c:type="key_press_event">
+ <field name="map">
+ <callback name="map">
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="actor" transfer-ownership="none">
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="event" transfer-ownership="none">
- <type name="KeyEvent" c:type="ClutterKeyEvent*"/>
- </parameter>
</parameters>
</callback>
</field>
- <field name="key_release_event">
- <callback name="key_release_event" c:type="key_release_event">
+ <field name="unmap">
+ <callback name="unmap">
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="actor" transfer-ownership="none">
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="event" transfer-ownership="none">
- <type name="KeyEvent" c:type="ClutterKeyEvent*"/>
- </parameter>
</parameters>
</callback>
</field>
- <field name="motion_event">
- <callback name="motion_event" c:type="motion_event">
+ <field name="paint">
+ <callback name="paint">
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="actor" transfer-ownership="none">
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="event" transfer-ownership="none">
- <type name="MotionEvent" c:type="ClutterMotionEvent*"/>
- </parameter>
</parameters>
</callback>
</field>
- <field name="enter_event">
- <callback name="enter_event" c:type="enter_event">
+ <field name="parent_set">
+ <callback name="parent_set">
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="actor" transfer-ownership="none">
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="event" transfer-ownership="none">
- <type name="CrossingEvent" c:type="ClutterCrossingEvent*"/>
+ <parameter name="old_parent" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
</parameter>
</parameters>
</callback>
</field>
- <field name="leave_event">
- <callback name="leave_event" c:type="leave_event">
+ <field name="destroy">
+ <callback name="destroy">
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="actor" transfer-ownership="none">
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="event" transfer-ownership="none">
- <type name="CrossingEvent" c:type="ClutterCrossingEvent*"/>
- </parameter>
</parameters>
</callback>
</field>
- <field name="captured_event">
- <callback name="captured_event" c:type="captured_event">
+ <field name="pick">
+ <callback name="pick">
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="actor" transfer-ownership="none">
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="event" transfer-ownership="none">
- <type name="Event" c:type="ClutterEvent*"/>
+ <parameter name="color" transfer-ownership="none">
+ <type name="Color" c:type="ClutterColor*"/>
</parameter>
</parameters>
</callback>
</field>
- <field name="key_focus_in">
- <callback name="key_focus_in" c:type="key_focus_in">
+ <field name="queue_redraw">
+ <callback name="queue_redraw">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameter name="actor" transfer-ownership="none">
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
- </parameters>
- </callback>
- </field>
- <field name="key_focus_out">
- <callback name="key_focus_out" c:type="key_focus_out">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="actor" transfer-ownership="none">
+ <parameter name="leaf_that_queued" transfer-ownership="none">
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
</parameters>
</callback>
</field>
- <field name="queue_relayout">
- <callback name="queue_relayout" c:type="queue_relayout">
+ <field name="get_preferred_width">
+ <callback name="get_preferred_width">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameter name="actor" transfer-ownership="none">
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
- </parameters>
+ <parameter name="for_height" transfer-ownership="none">
+ <doc xml:whitespace="preserve">available height when computing the preferred width, or a negative value to indicate that no height is defined</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ <parameter name="min_width_p"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full"
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for minimum width, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
+ </parameter>
+ <parameter name="natural_width_p"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full"
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for the natural width, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="get_preferred_height">
+ <callback name="get_preferred_height">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="for_width" transfer-ownership="none">
+ <doc xml:whitespace="preserve">available width to assume in computing desired height, or a negative value to indicate that no width is defined</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ <parameter name="min_height_p"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full"
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for minimum height, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
+ </parameter>
+ <parameter name="natural_height_p"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full"
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for natural height, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="allocate">
+ <callback name="allocate">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="box" transfer-ownership="none">
+ <doc xml:whitespace="preserve">new allocation of the actor, in parent-relative coordinates</doc>
+ <type name="ActorBox" c:type="ClutterActorBox*"/>
+ </parameter>
+ <parameter name="flags" transfer-ownership="none">
+ <doc xml:whitespace="preserve">flags that control the allocation</doc>
+ <type name="AllocationFlags" c:type="ClutterAllocationFlags"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="apply_transform">
+ <callback name="apply_transform">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="matrix" transfer-ownership="none">
+ <type name="Cogl.Matrix" c:type="CoglMatrix*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="event">
+ <callback name="event">
+ <return-value transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="event" transfer-ownership="none">
+ <type name="Event" c:type="ClutterEvent*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="button_press_event">
+ <callback name="button_press_event">
+ <return-value transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="event" transfer-ownership="none">
+ <type name="ButtonEvent" c:type="ClutterButtonEvent*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="button_release_event">
+ <callback name="button_release_event">
+ <return-value transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="event" transfer-ownership="none">
+ <type name="ButtonEvent" c:type="ClutterButtonEvent*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="scroll_event">
+ <callback name="scroll_event">
+ <return-value transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="event" transfer-ownership="none">
+ <type name="ScrollEvent" c:type="ClutterScrollEvent*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="key_press_event">
+ <callback name="key_press_event">
+ <return-value transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="event" transfer-ownership="none">
+ <type name="KeyEvent" c:type="ClutterKeyEvent*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="key_release_event">
+ <callback name="key_release_event">
+ <return-value transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="event" transfer-ownership="none">
+ <type name="KeyEvent" c:type="ClutterKeyEvent*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="motion_event">
+ <callback name="motion_event">
+ <return-value transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="event" transfer-ownership="none">
+ <type name="MotionEvent" c:type="ClutterMotionEvent*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="enter_event">
+ <callback name="enter_event">
+ <return-value transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="event" transfer-ownership="none">
+ <type name="CrossingEvent" c:type="ClutterCrossingEvent*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="leave_event">
+ <callback name="leave_event">
+ <return-value transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="event" transfer-ownership="none">
+ <type name="CrossingEvent" c:type="ClutterCrossingEvent*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="captured_event">
+ <callback name="captured_event">
+ <return-value transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="event" transfer-ownership="none">
+ <type name="Event" c:type="ClutterEvent*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="key_focus_in">
+ <callback name="key_focus_in">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="key_focus_out">
+ <callback name="key_focus_out">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="queue_relayout">
+ <callback name="queue_relayout">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="get_accessible">
+ <callback name="get_accessible">
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #AtkObject associated with @actor</doc>
+ <type name="Atk.Object" c:type="AtkObject*"/>
+ </return-value>
+ <parameters>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ </parameters>
</callback>
</field>
<field name="_padding_dummy">
- <array zero-terminated="0" c:type="gpointer" fixed-size="31">
- <type name="any"/>
+ <array zero-terminated="0" c:type="gpointer" fixed-size="30">
+ <type name="gpointer" c:type="gpointer"/>
</array>
</field>
</record>
<bitfield name="ActorFlags"
- doc="Flags used to signal the state of an actor."
glib:type-name="ClutterActorFlags"
glib:get-type="clutter_actor_flags_get_type"
c:type="ClutterActorFlags">
+ <doc xml:whitespace="preserve">Flags used to signal the state of an actor.</doc>
<member name="mapped"
value="2"
c:identifier="CLUTTER_ACTOR_MAPPED"
c:identifier="CLUTTER_ACTOR_NO_LAYOUT"
glib:nick="no-layout"/>
</bitfield>
- <record name="ActorPrivate" c:type="ClutterActorPrivate">
- </record>
- <constant name="Adiaeresis" value="196">
- <type name="int"/>
- </constant>
- <constant name="Agrave" value="192">
- <type name="int"/>
- </constant>
- <constant name="Ahook" value="16785058">
- <type name="int"/>
- </constant>
- <bitfield name="AllocationFlags"
- doc="Flags passed to the #ClutterActor::allocate() virtual function and
-to the clutter_actor_allocate() function"
- version="1.0"
- glib:type-name="ClutterAllocationFlags"
- glib:get-type="clutter_allocation_flags_get_type"
- c:type="ClutterAllocationFlags">
- <member name="allocation_none"
- value="0"
- c:identifier="CLUTTER_ALLOCATION_NONE"
- glib:nick="allocation-none"/>
- <member name="absolute_origin_changed"
- value="2"
- c:identifier="CLUTTER_ABSOLUTE_ORIGIN_CHANGED"
- glib:nick="absolute-origin-changed"/>
- </bitfield>
- <class name="Alpha"
- c:type="ClutterAlpha"
- doc="#ClutterAlpha combines a #ClutterTimeline and a function.
-The contents of the #ClutterAlpha structure are private and should
-only be accessed using the provided API."
- version="0.2"
+ <class name="ActorMeta"
+ c:symbol-prefix="actor_meta"
+ c:type="ClutterActorMeta"
+ version="1.4"
parent="GObject.InitiallyUnowned"
- glib:type-name="ClutterAlpha"
- glib:get-type="clutter_alpha_get_type"
- glib:type-struct="AlphaClass">
- <implements name="Scriptable"/>
- <constructor name="new"
- c:identifier="clutter_alpha_new"
- doc="Creates a new #ClutterAlpha instance. You must set a function
-to compute the alpha value using clutter_alpha_set_func() and
-bind a #ClutterTimeline object to the #ClutterAlpha instance
-using clutter_alpha_set_timeline().
-You should use the newly created #ClutterAlpha instance inside
-a #ClutterBehaviour object."
- version="0.2">
- <return-value transfer-ownership="full">
- <type name="Alpha" c:type="ClutterAlpha*"/>
- </return-value>
- </constructor>
- <constructor name="new_full"
- c:identifier="clutter_alpha_new_full"
- doc="Creates a new #ClutterAlpha instance and sets the timeline
-and animation mode.
-See also clutter_alpha_set_timeline() and clutter_alpha_set_mode()."
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="Alpha" c:type="ClutterAlpha*"/>
- </return-value>
- <parameters>
- <parameter name="timeline" transfer-ownership="none">
- <type name="Timeline" c:type="ClutterTimeline*"/>
- </parameter>
- <parameter name="mode" transfer-ownership="none">
- <type name="ulong" c:type="gulong"/>
- </parameter>
- </parameters>
- </constructor>
- <constructor name="new_with_func"
- c:identifier="clutter_alpha_new_with_func"
- doc="Creates a new #ClutterAlpha instances and sets the timeline
-and the alpha function.
-This function will not register @func as a global alpha function.
-See also clutter_alpha_set_timeline() and clutter_alpha_set_func()."
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="Alpha" c:type="ClutterAlpha*"/>
- </return-value>
- <parameters>
- <parameter name="timeline" transfer-ownership="none">
- <type name="Timeline" c:type="ClutterTimeline*"/>
- </parameter>
- <parameter name="func"
- transfer-ownership="none"
- scope="notified"
- closure="2"
- destroy="3">
- <type name="AlphaFunc" c:type="ClutterAlphaFunc"/>
- </parameter>
- <parameter name="data" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
- </parameter>
- <parameter name="destroy" transfer-ownership="none" scope="call">
- <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
- </parameter>
- </parameters>
- </constructor>
- <function name="register_func"
- c:identifier="clutter_alpha_register_func"
- doc="Registers a global alpha function and returns its logical id
-to be used by clutter_alpha_set_mode() or by #ClutterAnimation.
-The logical id is always greater than %CLUTTER_ANIMATION_LAST."
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="ulong" c:type="gulong"/>
- </return-value>
- <parameters>
- <parameter name="func"
- transfer-ownership="none"
- scope="call"
- closure="1">
- <type name="AlphaFunc" c:type="ClutterAlphaFunc"/>
- </parameter>
- <parameter name="data" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
- </parameter>
- </parameters>
- </function>
- <function name="register_closure"
- c:identifier="clutter_alpha_register_closure"
- doc="#GClosure variant of clutter_alpha_register_func().
-Registers a global alpha function and returns its logical id
-to be used by clutter_alpha_set_mode() or by #ClutterAnimation.
-The logical id is always greater than %CLUTTER_ANIMATION_LAST."
- version="1.0">
+ abstract="1"
+ glib:type-name="ClutterActorMeta"
+ glib:get-type="clutter_actor_meta_get_type"
+ glib:type-struct="ActorMetaClass">
+ <doc xml:whitespace="preserve">The <structname>ClutterActorMeta</structname> structure contains only
+private data and should be accessed using the provided API</doc>
+ <virtual-method name="set_actor">
<return-value transfer-ownership="none">
- <type name="ulong" c:type="gulong"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="closure" transfer-ownership="none">
- <type name="GObject.Closure" c:type="GClosure*"/>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
</parameter>
</parameters>
- </function>
- <method name="get_alpha"
- c:identifier="clutter_alpha_get_alpha"
- doc="Query the current alpha value."
- version="0.2">
+ </virtual-method>
+ <method name="get_actor"
+ c:identifier="clutter_actor_meta_get_actor"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves a pointer to the #ClutterActor that owns @meta</doc>
<return-value transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
+ <doc xml:whitespace="preserve">a pointer to a #ClutterActor or %NULL</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</return-value>
</method>
- <method name="set_func"
- c:identifier="clutter_alpha_set_func"
- doc="Sets the #ClutterAlphaFunc function used to compute
-the alpha value at each frame of the #ClutterTimeline
-bound to @alpha.
-This function will not register @func as a global alpha function."
- version="0.2">
+ <method name="get_enabled"
+ c:identifier="clutter_actor_meta_get_enabled"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves whether @meta is enabled</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">%TRUE if the #ClutterActorMeta instance is enabled</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
- <parameters>
- <parameter name="func"
- transfer-ownership="none"
- scope="notified"
- closure="2"
- destroy="3">
- <type name="AlphaFunc" c:type="ClutterAlphaFunc"/>
- </parameter>
- <parameter name="data" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
- </parameter>
- <parameter name="destroy" transfer-ownership="none" scope="call">
- <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
- </parameter>
- </parameters>
</method>
- <method name="set_closure"
- c:identifier="clutter_alpha_set_closure"
- doc="Sets the #GClosure used to compute the alpha value at each
-frame of the #ClutterTimeline bound to @alpha."
- version="0.8">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <method name="get_name"
+ c:identifier="clutter_actor_meta_get_name"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the name set using clutter_actor_meta_set_name()
+instance, or %NULL if none was set. The returned string is owned
+by the #ClutterActorMeta instance and it should not be modified
+or freed</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the #ClutterActorMeta</doc>
+ <type name="utf8" c:type="gchar*"/>
</return-value>
- <parameters>
- <parameter name="closure" transfer-ownership="none">
- <type name="GObject.Closure" c:type="GClosure*"/>
- </parameter>
- </parameters>
</method>
- <method name="set_timeline"
- c:identifier="clutter_alpha_set_timeline"
- doc="Binds @alpha to @timeline."
- version="0.2">
+ <method name="set_enabled"
+ c:identifier="clutter_actor_meta_set_enabled"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets whether @meta should be enabled or not</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="timeline" transfer-ownership="none">
- <type name="Timeline" c:type="ClutterTimeline*"/>
+ <parameter name="is_enabled" transfer-ownership="none">
+ <doc xml:whitespace="preserve">whether @meta is enabled</doc>
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
- <method name="get_timeline"
- c:identifier="clutter_alpha_get_timeline"
- doc="Gets the #ClutterTimeline bound to @alpha."
- version="0.2">
- <return-value transfer-ownership="none"
- doc="a #ClutterTimeline instance">
- <type name="Timeline" c:type="ClutterTimeline*"/>
- </return-value>
- </method>
- <method name="set_mode"
- c:identifier="clutter_alpha_set_mode"
- doc="Sets the progress function of @alpha using the symbolic value
-of @mode, as taken by the #ClutterAnimationMode enumeration or
-using the value returned by clutter_alpha_register_func()."
- version="1.0">
+ <method name="set_name"
+ c:identifier="clutter_actor_meta_set_name"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets the name of @meta
+The name can be used to identify the #ClutterActorMeta instance</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="mode" transfer-ownership="none">
- <type name="ulong" c:type="gulong"/>
+ <parameter name="name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of @meta</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
- <method name="get_mode"
- c:identifier="clutter_alpha_get_mode"
- doc="Retrieves the #ClutterAnimationMode used by @alpha."
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="ulong" c:type="gulong"/>
- </return-value>
- </method>
- <property name="alpha"
- version="0.2"
- doc="The alpha value as computed by the alpha function. The linear
-interval is 0.0 to 1.0, but the Alpha allows overshooting by
-one unit in each direction, so the valid interval is -1.0 to 2.0.">
- <type name="double" c:type="gdouble"/>
+ <property name="actor" version="1.4" transfer-ownership="none">
+ <doc xml:whitespace="preserve">The #ClutterActor attached to the #ClutterActorMeta instance</doc>
+ <type name="Actor"/>
</property>
- <property name="mode"
- version="1.0"
+ <property name="enabled"
+ version="1.4"
writable="1"
- construct="1"
- doc="The progress function logical id - either a value from the
-#ClutterAnimationMode enumeration or a value returned by
-clutter_alpha_register_func().
-If %CLUTTER_CUSTOM_MODE is used then the function set using
-clutter_alpha_set_closure() or clutter_alpha_set_func()
-will be used.">
- <type name="ulong" c:type="gulong"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether or not the #ClutterActorMeta is enabled</doc>
+ <type name="gboolean"/>
</property>
- <property name="timeline"
- version="0.2"
+ <property name="name"
+ version="1.4"
writable="1"
- doc="A #ClutterTimeline instance used to drive the alpha function.">
- <type name="Timeline" c:type="ClutterTimeline"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The unique name to access the #ClutterActorMeta</doc>
+ <type name="utf8"/>
</property>
- <field name="parent">
+ <field name="parent_instance">
<type name="GObject.InitiallyUnowned" c:type="GInitiallyUnowned"/>
</field>
<field name="priv">
- <type name="AlphaPrivate" c:type="ClutterAlphaPrivate*"/>
+ <type name="ActorMetaPrivate" c:type="ClutterActorMetaPrivate*"/>
</field>
</class>
- <record name="AlphaClass"
- c:type="ClutterAlphaClass"
- glib:is-gtype-struct-for="Alpha"
- doc="Base class for #ClutterAlpha"
- version="0.2">
+ <record name="ActorMetaClass"
+ c:type="ClutterActorMetaClass"
+ glib:is-gtype-struct-for="ActorMeta"
+ version="1.4">
+ <doc xml:whitespace="preserve">The <structname>ClutterActorMetaClass</structname> structure contains
+only private data</doc>
<field name="parent_class">
<type name="GObject.InitiallyUnownedClass"
c:type="GInitiallyUnownedClass"/>
</field>
- <field name="clutter_alpha_1">
- <callback name="clutter_alpha_1" c:type="_clutter_alpha_1">
+ <field name="set_actor">
+ <callback name="set_actor">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="meta" transfer-ownership="none">
+ <type name="ActorMeta" c:type="ClutterActorMeta*"/>
+ </parameter>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="_clutter_meta1" introspectable="0">
+ <callback name="_clutter_meta1">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_meta2" introspectable="0">
+ <callback name="_clutter_meta2">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_meta3" introspectable="0">
+ <callback name="_clutter_meta3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_alpha_2">
- <callback name="clutter_alpha_2" c:type="_clutter_alpha_2">
+ <field name="_clutter_meta4" introspectable="0">
+ <callback name="_clutter_meta4">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_alpha_3">
- <callback name="clutter_alpha_3" c:type="_clutter_alpha_3">
+ <field name="_clutter_meta5" introspectable="0">
+ <callback name="_clutter_meta5">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_alpha_4">
- <callback name="clutter_alpha_4" c:type="_clutter_alpha_4">
+ <field name="_clutter_meta6" introspectable="0">
+ <callback name="_clutter_meta6">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_alpha_5">
- <callback name="clutter_alpha_5" c:type="_clutter_alpha_5">
+ <field name="_clutter_meta7" introspectable="0">
+ <callback name="_clutter_meta7">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
- <callback name="AlphaFunc"
- c:type="ClutterAlphaFunc"
- doc="A function returning a value depending on the position of
-the #ClutterTimeline bound to @alpha."
- version="0.2">
- <return-value transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </return-value>
- <parameters>
- <parameter name="alpha" transfer-ownership="none">
- <type name="Alpha" c:type="ClutterAlpha*"/>
- </parameter>
- <parameter name="user_data" transfer-ownership="none" closure="1">
- <type name="any" c:type="gpointer"/>
- </parameter>
- </parameters>
- </callback>
- <record name="AlphaPrivate" c:type="ClutterAlphaPrivate">
+ <record name="ActorMetaPrivate"
+ c:type="ClutterActorMetaPrivate"
+ disguised="1">
</record>
- <constant name="Alt_L" value="65513">
- <type name="int"/>
+ <record name="ActorPrivate" c:type="ClutterActorPrivate" disguised="1">
+ </record>
+ <constant name="AddFavorite" value="269025081">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Alt_R" value="65514">
- <type name="int"/>
+ <constant name="Adiaeresis" value="196">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Amacron" value="960">
- <type name="int"/>
+ <constant name="Agrave" value="192">
+ <type name="gint" c:type="gint"/>
</constant>
- <interface name="Animatable"
- c:type="ClutterAnimatable"
- doc="#ClutterAnimatable is an opaque structure whose members cannot be directly
-accessed"
- version="1.0"
- glib:type-name="ClutterAnimatable"
- glib:get-type="clutter_animatable_get_type"
- glib:type-struct="AnimatableIface">
- <virtual-method name="animate_property" invoker="animate_property">
+ <constant name="Ahook" value="16785058">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <enumeration name="AlignAxis"
+ version="1.4"
+ glib:type-name="ClutterAlignAxis"
+ glib:get-type="clutter_align_axis_get_type"
+ c:type="ClutterAlignAxis">
+ <doc xml:whitespace="preserve">Specifies the axis on which #ClutterAlignConstraint should maintain
+the alignment</doc>
+ <member name="x_axis"
+ value="0"
+ c:identifier="CLUTTER_ALIGN_X_AXIS"
+ glib:nick="x-axis"/>
+ <member name="y_axis"
+ value="1"
+ c:identifier="CLUTTER_ALIGN_Y_AXIS"
+ glib:nick="y-axis"/>
+ </enumeration>
+ <class name="AlignConstraint"
+ c:symbol-prefix="align_constraint"
+ c:type="ClutterAlignConstraint"
+ version="1.4"
+ parent="Constraint"
+ glib:type-name="ClutterAlignConstraint"
+ glib:get-type="clutter_align_constraint_get_type">
+ <doc xml:whitespace="preserve"><structname>ClutterAlignConstraint</structname> is an opaque structure
+whose members cannot be directly accesses</doc>
+ <constructor name="new"
+ c:identifier="clutter_align_constraint_new"
+ version="1.4">
+ <doc xml:whitespace="preserve">Creates a new constraint, aligning a #ClutterActor's position with
+regards of the size of the actor to @source, with the given
+alignment @factor</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">the newly created #ClutterAlignConstraint</doc>
+ <type name="Constraint" c:type="ClutterConstraint*"/>
</return-value>
<parameters>
- <parameter name="animation" transfer-ownership="none">
- <type name="Animation" c:type="ClutterAnimation*"/>
- </parameter>
- <parameter name="property_name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- <parameter name="initial_value" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
- </parameter>
- <parameter name="final_value" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
+ <parameter name="source" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">the #ClutterActor to use as the source of the alignment, or %NULL</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="progress" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
+ <parameter name="axis" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the axis to be used to compute the alignment</doc>
+ <type name="AlignAxis" c:type="ClutterAlignAxis"/>
</parameter>
- <parameter name="value" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
+ <parameter name="factor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the alignment factor, between 0.0 and 1.0</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
</parameters>
- </virtual-method>
- <method name="animate_property"
- c:identifier="clutter_animatable_animate_property"
- doc="Calls the animate_property() virtual function for @animatable.
-The @initial_value and @final_value #GValue<!-- -->s must contain
-the same type; @value must have been initialized to the same
-type of @initial_value and @final_value.
-All implementation of the #ClutterAnimatable interface must
-implement this function.
-be applied to the #ClutterAnimatable, and %FALSE otherwise"
- version="1.0">
+ </constructor>
+ <method name="get_align_axis"
+ c:identifier="clutter_align_constraint_get_align_axis"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the value set using clutter_align_constraint_set_align_axis()</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">the alignment axis</doc>
+ <type name="AlignAxis" c:type="ClutterAlignAxis"/>
</return-value>
- <parameters>
- <parameter name="animation" transfer-ownership="none">
- <type name="Animation" c:type="ClutterAnimation*"/>
- </parameter>
- <parameter name="property_name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- <parameter name="initial_value" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
- </parameter>
- <parameter name="final_value" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
- </parameter>
- <parameter name="progress" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </parameter>
- <parameter name="value" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
- </parameter>
- </parameters>
</method>
- </interface>
- <record name="AnimatableIface"
- c:type="ClutterAnimatableIface"
- glib:is-gtype-struct-for="Animatable"
- doc="Base interface for #GObject<!-- -->s that can be animated by a
-a #ClutterAnimation."
- version="1.0">
- <field name="parent_iface">
- <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
- </field>
- <field name="animate_property">
- <callback name="animate_property" c:type="animate_property">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- <parameters>
- <parameter name="animatable" transfer-ownership="none">
- <type name="Animatable" c:type="ClutterAnimatable*"/>
- </parameter>
- <parameter name="animation" transfer-ownership="none">
- <type name="Animation" c:type="ClutterAnimation*"/>
- </parameter>
- <parameter name="property_name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- <parameter name="initial_value" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
- </parameter>
- <parameter name="final_value" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
- </parameter>
- <parameter name="progress" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </parameter>
- <parameter name="value" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- </record>
- <class name="Animation"
- c:type="ClutterAnimation"
- doc="The #ClutterAnimation structure contains only private data and should
-be accessed using the provided functions."
- version="1.0"
- parent="GObject.Object"
- glib:type-name="ClutterAnimation"
- glib:get-type="clutter_animation_get_type"
- glib:type-struct="AnimationClass">
- <implements name="Scriptable"/>
- <constructor name="new"
- c:identifier="clutter_animation_new"
- doc="Creates a new #ClutterAnimation instance. You should set the
-#GObject to be animated using clutter_animation_set_object(),
-set the duration with clutter_animation_set_duration() and the
-easing mode using clutter_animation_set_mode().
-Use clutter_animation_bind() or clutter_animation_bind_interval()
-to define the properties to be animated. The interval and the
-animated properties can be updated at runtime.
-The clutter_actor_animate() and relative family of functions provide
-an easy way to animate a #ClutterActor and automatically manage the
-lifetime of a #ClutterAnimation instance, so you should consider using
-those functions instead of manually creating an animation.
-to release the associated resources"
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="Animation" c:type="ClutterAnimation*"/>
+ <method name="get_factor"
+ c:identifier="clutter_align_constraint_get_factor"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the factor set using clutter_align_constraint_set_factor()</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the alignment factor</doc>
+ <type name="gfloat" c:type="gfloat"/>
</return-value>
- </constructor>
- <method name="set_object"
- c:identifier="clutter_animation_set_object"
- doc="Attaches @animation to @object. The #ClutterAnimation will take a
-reference on @object."
- version="1.0">
+ </method>
+ <method name="get_source"
+ c:identifier="clutter_align_constraint_get_source"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the source of the alignment
+of the alignment</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterActor used as the source</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </return-value>
+ </method>
+ <method name="set_align_axis"
+ c:identifier="clutter_align_constraint_set_align_axis"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets the axis to which the alignment refers to</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="object" transfer-ownership="none">
- <type name="GObject.Object" c:type="GObject*"/>
+ <parameter name="axis" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the axis to which the alignment refers to</doc>
+ <type name="AlignAxis" c:type="ClutterAlignAxis"/>
</parameter>
</parameters>
</method>
- <method name="get_object"
- c:identifier="clutter_animation_get_object"
- doc="Retrieves the #GObject attached to @animation."
- version="1.0">
- <return-value transfer-ownership="none" doc="a #GObject">
- <type name="GObject.Object" c:type="GObject*"/>
+ <method name="set_factor"
+ c:identifier="clutter_align_constraint_set_factor"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets the alignment factor of the constraint
+The factor depends on the #ClutterAlignConstraint:align-axis property
+and it is a value between 0.0 (meaning left, when
+#ClutterAlignConstraint:align-axis is set to %CLUTTER_ALIGN_X_AXIS; or
+meaning top, when #ClutterAlignConstraint:align-axis is set to
+%CLUTTER_ALIGN_Y_AXIS) and 1.0 (meaning right, when
+#ClutterAlignConstraint:align-axis is set to %CLUTTER_ALIGN_X_AXIS; or
+meaning bottom, when #ClutterAlignConstraint:align-axis is set to
+%CLUTTER_ALIGN_Y_AXIS). A value of 0.5 aligns in the middle in either
+cases</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="factor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the alignment factor, between 0.0 and 1.0</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ </parameters>
</method>
- <method name="set_mode"
- c:identifier="clutter_animation_set_mode"
- doc="Sets the animation @mode of @animation. The animation @mode is
-a logical id, either coming from the #ClutterAnimationMode enumeration
-or the return value of clutter_alpha_register_func().
-This function will also set #ClutterAnimation:alpha if needed."
- version="1.0">
+ <method name="set_source"
+ c:identifier="clutter_align_constraint_set_source"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets the source of the alignment constraint</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="mode" transfer-ownership="none">
- <type name="ulong" c:type="gulong"/>
+ <parameter name="source" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">a #ClutterActor, or %NULL to unset the source</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</parameter>
</parameters>
</method>
- <method name="get_mode"
- c:identifier="clutter_animation_get_mode"
- doc="Retrieves the animation mode of @animation, as set by
-clutter_animation_set_mode()."
- version="1.0">
+ <property name="align-axis"
+ version="1.4"
+ writable="1"
+ construct="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The axis to be used to compute the alignment</doc>
+ <type name="AlignAxis"/>
+ </property>
+ <property name="factor"
+ version="1.4"
+ writable="1"
+ construct="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The alignment factor, as a normalized value between 0.0 and 1.0
+The factor depends on the #ClutterAlignConstraint:align-axis property:
+with an align-axis value of %CLUTTER_ALIGN_X_AXIS, 0.0 means left and
+1.0 means right; with a value of %CLUTTER_ALIGN_Y_AXIS, 0.0 means top
+and 1.0 means bottom.</doc>
+ <type name="gfloat"/>
+ </property>
+ <property name="source"
+ version="1.4"
+ writable="1"
+ construct="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The #ClutterActor used as the source for the alignment</doc>
+ <type name="Actor"/>
+ </property>
+ </class>
+ <bitfield name="AllocationFlags"
+ version="1.0"
+ glib:type-name="ClutterAllocationFlags"
+ glib:get-type="clutter_allocation_flags_get_type"
+ c:type="ClutterAllocationFlags">
+ <doc xml:whitespace="preserve">Flags passed to the #ClutterActor::allocate() virtual function and
+to the clutter_actor_allocate() function</doc>
+ <member name="allocation_none"
+ value="0"
+ c:identifier="CLUTTER_ALLOCATION_NONE"
+ glib:nick="allocation-none"/>
+ <member name="absolute_origin_changed"
+ value="2"
+ c:identifier="CLUTTER_ABSOLUTE_ORIGIN_CHANGED"
+ glib:nick="absolute-origin-changed"/>
+ </bitfield>
+ <class name="Alpha"
+ c:symbol-prefix="alpha"
+ c:type="ClutterAlpha"
+ version="0.2"
+ parent="GObject.InitiallyUnowned"
+ glib:type-name="ClutterAlpha"
+ glib:get-type="clutter_alpha_get_type"
+ glib:type-struct="AlphaClass">
+ <doc xml:whitespace="preserve">#ClutterAlpha combines a #ClutterTimeline and a function.
+The contents of the #ClutterAlpha structure are private and should
+only be accessed using the provided API.</doc>
+ <implements name="Scriptable"/>
+ <constructor name="new" c:identifier="clutter_alpha_new" version="0.2">
+ <doc xml:whitespace="preserve">Creates a new #ClutterAlpha instance. You must set a function
+to compute the alpha value using clutter_alpha_set_func() and
+bind a #ClutterTimeline object to the #ClutterAlpha instance
+using clutter_alpha_set_timeline().
+You should use the newly created #ClutterAlpha instance inside
+a #ClutterBehaviour object.</doc>
<return-value transfer-ownership="none">
- <type name="ulong" c:type="gulong"/>
+ <doc xml:whitespace="preserve">the newly created empty #ClutterAlpha instance.</doc>
+ <type name="Alpha" c:type="ClutterAlpha*"/>
</return-value>
- </method>
- <method name="set_duration"
- c:identifier="clutter_animation_set_duration"
- doc="Sets the duration of @animation in milliseconds.
-This function will set #ClutterAnimation:alpha and
-#ClutterAnimation:timeline if needed."
- version="1.0">
+ </constructor>
+ <constructor name="new_full"
+ c:identifier="clutter_alpha_new_full"
+ version="1.0">
+ <doc xml:whitespace="preserve">Creates a new #ClutterAlpha instance and sets the timeline
+and animation mode.
+See also clutter_alpha_set_timeline() and clutter_alpha_set_mode().</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the newly created #ClutterAlpha</doc>
+ <type name="Alpha" c:type="ClutterAlpha*"/>
</return-value>
<parameters>
- <parameter name="msecs" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="timeline" transfer-ownership="none">
+ <doc xml:whitespace="preserve">#ClutterTimeline timeline</doc>
+ <type name="Timeline" c:type="ClutterTimeline*"/>
+ </parameter>
+ <parameter name="mode" transfer-ownership="none">
+ <doc xml:whitespace="preserve">animation mode</doc>
+ <type name="gulong" c:type="gulong"/>
</parameter>
</parameters>
- </method>
- <method name="get_duration"
- c:identifier="clutter_animation_get_duration"
- doc="Retrieves the duration of @animation, in milliseconds."
- version="1.0">
+ </constructor>
+ <constructor name="new_with_func"
+ c:identifier="clutter_alpha_new_with_func"
+ version="1.0">
+ <doc xml:whitespace="preserve">Creates a new #ClutterAlpha instances and sets the timeline
+and the alpha function.
+This function will not register @func as a global alpha function.
+See also clutter_alpha_set_timeline() and clutter_alpha_set_func().</doc>
<return-value transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <doc xml:whitespace="preserve">the newly created #ClutterAlpha</doc>
+ <type name="Alpha" c:type="ClutterAlpha*"/>
</return-value>
- </method>
- <method name="set_loop"
- c:identifier="clutter_animation_set_loop"
- doc="Sets whether @animation should loop over itself once finished.
-A looping #ClutterAnimation will not emit the #ClutterAnimation::completed
-signal when finished.
-This function will set #ClutterAnimation:alpha and
-#ClutterAnimation:timeline if needed."
- version="1.0">
+ <parameters>
+ <parameter name="timeline" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterTimeline</doc>
+ <type name="Timeline" c:type="ClutterTimeline*"/>
+ </parameter>
+ <parameter name="func"
+ transfer-ownership="none"
+ scope="notified"
+ closure="2"
+ destroy="3">
+ <doc xml:whitespace="preserve">a #ClutterAlphaFunc</doc>
+ <type name="AlphaFunc" c:type="ClutterAlphaFunc"/>
+ </parameter>
+ <parameter name="data" transfer-ownership="none">
+ <doc xml:whitespace="preserve">data to pass to the function, or %NULL</doc>
+ <type name="gpointer" c:type="gpointer"/>
+ </parameter>
+ <parameter name="destroy" transfer-ownership="none" scope="async">
+ <doc xml:whitespace="preserve">function to call when removing the alpha function, or %NULL</doc>
+ <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
+ </parameter>
+ </parameters>
+ </constructor>
+ <function name="register_closure"
+ c:identifier="clutter_alpha_register_closure"
+ shadows="register_func"
+ version="1.0">
+ <doc xml:whitespace="preserve">#GClosure variant of clutter_alpha_register_func().
+Registers a global alpha function and returns its logical id
+to be used by clutter_alpha_set_mode() or by #ClutterAnimation.
+The logical id is always greater than %CLUTTER_ANIMATION_LAST.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the logical id of the alpha function</doc>
+ <type name="gulong" c:type="gulong"/>
</return-value>
<parameters>
- <parameter name="loop" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <parameter name="closure" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GClosure</doc>
+ <type name="GObject.Closure" c:type="GClosure*"/>
</parameter>
</parameters>
- </method>
- <method name="get_loop"
- c:identifier="clutter_animation_get_loop"
- doc="Retrieves whether @animation is looping."
- version="1.0">
+ </function>
+ <function name="register_func"
+ c:identifier="clutter_alpha_register_func"
+ shadowed-by="register_closure"
+ version="1.0"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Registers a global alpha function and returns its logical id
+to be used by clutter_alpha_set_mode() or by #ClutterAnimation.
+The logical id is always greater than %CLUTTER_ANIMATION_LAST.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the logical id of the alpha function</doc>
+ <type name="gulong" c:type="gulong"/>
+ </return-value>
+ <parameters>
+ <parameter name="func" transfer-ownership="none" closure="1">
+ <doc xml:whitespace="preserve">a #ClutterAlphaFunc</doc>
+ <type name="AlphaFunc" c:type="ClutterAlphaFunc"/>
+ </parameter>
+ <parameter name="data" transfer-ownership="none">
+ <doc xml:whitespace="preserve">user data to pass to @func, or %NULL</doc>
+ <type name="gpointer" c:type="gpointer"/>
+ </parameter>
+ </parameters>
+ </function>
+ <method name="get_alpha"
+ c:identifier="clutter_alpha_get_alpha"
+ version="0.2">
+ <doc xml:whitespace="preserve">Query the current alpha value.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">The current alpha value for the alpha</doc>
+ <type name="gdouble" c:type="gdouble"/>
</return-value>
</method>
- <method name="set_timeline"
- c:identifier="clutter_animation_set_timeline"
- doc="Sets the #ClutterTimeline used by @animation."
+ <method name="get_mode"
+ c:identifier="clutter_alpha_get_mode"
version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the #ClutterAnimationMode used by @alpha.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the animation mode</doc>
+ <type name="gulong" c:type="gulong"/>
</return-value>
- <parameters>
- <parameter name="timeline"
- transfer-ownership="none"
- doc=" current #ClutterTimeline">
- <type name="Timeline" c:type="ClutterTimeline*"/>
- </parameter>
- </parameters>
</method>
<method name="get_timeline"
- c:identifier="clutter_animation_get_timeline"
- doc="Retrieves the #ClutterTimeline used by @animation"
- version="1.0">
- <return-value transfer-ownership="none"
- doc="the timeline used by the animation">
+ c:identifier="clutter_alpha_get_timeline"
+ version="0.2">
+ <doc xml:whitespace="preserve">Gets the #ClutterTimeline bound to @alpha.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterTimeline instance</doc>
<type name="Timeline" c:type="ClutterTimeline*"/>
</return-value>
</method>
- <method name="set_alpha"
- c:identifier="clutter_animation_set_alpha"
- doc="Sets @alpha as the #ClutterAlpha used by @animation.
-If @alpha is not %NULL, the #ClutterAnimation will take ownership
-of the #ClutterAlpha instance."
- version="1.0">
+ <method name="set_closure"
+ c:identifier="clutter_alpha_set_closure"
+ version="0.8">
+ <doc xml:whitespace="preserve">Sets the #GClosure used to compute the alpha value at each
+frame of the #ClutterTimeline bound to @alpha.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="alpha" transfer-ownership="none">
- <type name="Alpha" c:type="ClutterAlpha*"/>
+ <parameter name="closure" transfer-ownership="none">
+ <doc xml:whitespace="preserve">A #GClosure</doc>
+ <type name="GObject.Closure" c:type="GClosure*"/>
</parameter>
</parameters>
</method>
- <method name="get_alpha"
- c:identifier="clutter_animation_get_alpha"
- doc="Retrieves the #ClutterAlpha used by @animation."
- version="1.0">
- <return-value transfer-ownership="none"
- doc="the alpha object used by the animation">
- <type name="Alpha" c:type="ClutterAlpha*"/>
- </return-value>
- </method>
- <method name="bind"
- c:identifier="clutter_animation_bind"
- doc="Adds a single property with name @property_name to the
-animation @animation. For more information about animations,
-see clutter_actor_animate().
-This method returns the animation primarily to make chained
-calls convenient in language bindings."
- version="1.0">
- <return-value transfer-ownership="none" doc="The animation itself.">
- <type name="Animation" c:type="ClutterAnimation*"/>
- </return-value>
- <parameters>
- <parameter name="property_name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- <parameter name="final" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
- </parameter>
- </parameters>
- </method>
- <method name="bind_interval"
- c:identifier="clutter_animation_bind_interval"
- doc="Binds @interval to the @property_name of the #GObject
-attached to @animation. The #ClutterAnimation will take
-ownership of the passed #ClutterInterval. For more information
-about animations, see clutter_actor_animate().
-If you need to update the interval instance use
-clutter_animation_update_property() instead."
- version="1.0">
- <return-value transfer-ownership="none" doc="The animation itself.">
- <type name="Animation" c:type="ClutterAnimation*"/>
- </return-value>
- <parameters>
- <parameter name="property_name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- <parameter name="interval"
- transfer-ownership="full"
- doc="a #ClutterInterval">
- <type name="Interval" c:type="ClutterInterval*"/>
- </parameter>
- </parameters>
- </method>
- <method name="has_property"
- c:identifier="clutter_animation_has_property"
- doc="Checks whether @animation is controlling @property_name.
-#ClutterAnimation, %FALSE otherwise"
- version="1.0">
+ <method name="set_func"
+ c:identifier="clutter_alpha_set_func"
+ version="0.2">
+ <doc xml:whitespace="preserve">Sets the #ClutterAlphaFunc function used to compute
+the alpha value at each frame of the #ClutterTimeline
+bound to @alpha.
+This function will not register @func as a global alpha function.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="property_name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="func"
+ transfer-ownership="none"
+ scope="notified"
+ closure="1"
+ destroy="2">
+ <doc xml:whitespace="preserve">A #ClutterAlphaFunc</doc>
+ <type name="AlphaFunc" c:type="ClutterAlphaFunc"/>
</parameter>
- </parameters>
- </method>
- <method name="update"
- c:identifier="clutter_animation_update"
- doc="Updates the @final value of the interval for @property_name"
- version="1.0">
- <return-value transfer-ownership="none" doc="The animation itself.">
- <type name="Animation" c:type="ClutterAnimation*"/>
- </return-value>
- <parameters>
- <parameter name="property_name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="data" transfer-ownership="none">
+ <doc xml:whitespace="preserve">user data to be passed to the alpha function, or %NULL</doc>
+ <type name="gpointer" c:type="gpointer"/>
</parameter>
- <parameter name="final" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
+ <parameter name="destroy" transfer-ownership="none" scope="async">
+ <doc xml:whitespace="preserve">notify function used when disposing the alpha function</doc>
+ <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
</method>
- <method name="update_interval"
- c:identifier="clutter_animation_update_interval"
- doc="Changes the @interval for @property_name. The #ClutterAnimation
-will take ownership of the passed #ClutterInterval."
+ <method name="set_mode"
+ c:identifier="clutter_alpha_set_mode"
version="1.0">
+ <doc xml:whitespace="preserve">Sets the progress function of @alpha using the symbolic value
+of @mode, as taken by the #ClutterAnimationMode enumeration or
+using the value returned by clutter_alpha_register_func().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="property_name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- <parameter name="interval" transfer-ownership="none">
- <type name="Interval" c:type="ClutterInterval*"/>
+ <parameter name="mode" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterAnimationMode</doc>
+ <type name="gulong" c:type="gulong"/>
</parameter>
</parameters>
</method>
- <method name="unbind_property"
- c:identifier="clutter_animation_unbind_property"
- doc="Removes @property_name from the list of animated properties."
- version="1.0">
+ <method name="set_timeline"
+ c:identifier="clutter_alpha_set_timeline"
+ version="0.2">
+ <doc xml:whitespace="preserve">Binds @alpha to @timeline.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="property_name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- </parameters>
- </method>
- <method name="get_interval"
- c:identifier="clutter_animation_get_interval"
- doc="Retrieves the #ClutterInterval associated to @property_name
-inside @animation.
-property with the same name was found. The returned interval is
-owned by the #ClutterAnimation and should not be unreferenced"
- version="1.0">
- <return-value transfer-ownership="none"
- doc="a #ClutterInterval or %NULL if no">
- <type name="Interval" c:type="ClutterInterval*"/>
- </return-value>
- <parameters>
- <parameter name="property_name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="timeline" transfer-ownership="none">
+ <doc xml:whitespace="preserve">A #ClutterTimeline</doc>
+ <type name="Timeline" c:type="ClutterTimeline*"/>
</parameter>
</parameters>
</method>
- <method name="completed"
- c:identifier="clutter_animation_completed"
- doc="Emits the ::completed signal on @animation
-When using this function with a #ClutterAnimation created
-by the clutter_actor_animate() family of functions, @animation
-will be unreferenced and it will not be valid anymore,
-unless g_object_ref() was called before calling this function
-or unless a reference was taken inside a handler for the
-#ClutterAnimation::completed signal"
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </method>
- <property name="alpha"
- version="1.0"
- writable="1"
- doc="The #ClutterAlpha used by the animation.">
- <type name="Alpha" c:type="ClutterAlpha"/>
- </property>
- <property name="duration"
- version="1.0"
- writable="1"
- doc="The duration of the animation, expressed in milliseconds.">
- <type name="uint" c:type="guint"/>
- </property>
- <property name="loop"
- version="1.0"
- writable="1"
- doc="Whether the animation should loop.">
- <type name="boolean" c:type="gboolean"/>
+ <property name="alpha" version="0.2" transfer-ownership="none">
+ <doc xml:whitespace="preserve">The alpha value as computed by the alpha function. The linear
+interval is 0.0 to 1.0, but the Alpha allows overshooting by
+one unit in each direction, so the valid interval is -1.0 to 2.0.</doc>
+ <type name="gdouble"/>
</property>
<property name="mode"
version="1.0"
writable="1"
- doc="The animation mode, either a value from #ClutterAnimationMode
-or a value returned by clutter_alpha_register_func(). The
-default value is %CLUTTER_LINEAR.">
- <type name="ulong" c:type="gulong"/>
- </property>
- <property name="object"
- version="1.0"
- writable="1"
- doc="The #GObject to which the animation applies.">
- <type name="GObject.Object" c:type="GObject"/>
+ construct="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The progress function logical id - either a value from the
+#ClutterAnimationMode enumeration or a value returned by
+clutter_alpha_register_func().
+If %CLUTTER_CUSTOM_MODE is used then the function set using
+clutter_alpha_set_closure() or clutter_alpha_set_func()
+will be used.</doc>
+ <type name="gulong"/>
</property>
<property name="timeline"
- version="1.0"
+ version="0.2"
writable="1"
- doc="The #ClutterTimeline used by the animation.">
- <type name="Timeline" c:type="ClutterTimeline"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">A #ClutterTimeline instance used to drive the alpha function.</doc>
+ <type name="Timeline"/>
</property>
- <field name="parent_instance">
- <type name="GObject.Object" c:type="GObject"/>
+ <field name="parent">
+ <type name="GObject.InitiallyUnowned" c:type="GInitiallyUnowned"/>
</field>
<field name="priv">
- <type name="AnimationPrivate" c:type="ClutterAnimationPrivate*"/>
+ <type name="AlphaPrivate" c:type="ClutterAlphaPrivate*"/>
</field>
- <glib:signal name="completed"
- doc="The ::completed signal is emitted once the animation has
-been completed.
-The @animation instance is guaranteed to be valid for the entire
-duration of the signal emission chain."
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
- </return-value>
- </glib:signal>
- <glib:signal name="started"
- doc="The ::started signal is emitted once the animation has been
-started"
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
- </return-value>
- </glib:signal>
</class>
- <record name="AnimationClass"
- c:type="ClutterAnimationClass"
- glib:is-gtype-struct-for="Animation"
- doc="The #ClutterAnimationClass structure contains only private data and
-should be accessed using the provided functions."
- version="1.0">
+ <record name="AlphaClass"
+ c:type="ClutterAlphaClass"
+ glib:is-gtype-struct-for="Alpha"
+ version="0.2">
+ <doc xml:whitespace="preserve">Base class for #ClutterAlpha</doc>
<field name="parent_class">
- <type name="GObject.ObjectClass" c:type="GObjectClass"/>
- </field>
- <field name="started">
- <callback name="started" c:type="started">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="animation" transfer-ownership="none">
- <type name="Animation" c:type="ClutterAnimation*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="completed">
- <callback name="completed" c:type="completed">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="animation" transfer-ownership="none">
- <type name="Animation" c:type="ClutterAnimation*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="clutter_reserved1">
- <callback name="clutter_reserved1" c:type="_clutter_reserved1">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_reserved2">
- <callback name="clutter_reserved2" c:type="_clutter_reserved2">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_reserved3">
- <callback name="clutter_reserved3" c:type="_clutter_reserved3">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
+ <type name="GObject.InitiallyUnownedClass"
+ c:type="GInitiallyUnownedClass"/>
</field>
- <field name="clutter_reserved4">
- <callback name="clutter_reserved4" c:type="_clutter_reserved4">
+ <field name="_clutter_alpha_1" introspectable="0">
+ <callback name="_clutter_alpha_1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_reserved5">
- <callback name="clutter_reserved5" c:type="_clutter_reserved5">
+ <field name="_clutter_alpha_2" introspectable="0">
+ <callback name="_clutter_alpha_2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_reserved6">
- <callback name="clutter_reserved6" c:type="_clutter_reserved6">
+ <field name="_clutter_alpha_3" introspectable="0">
+ <callback name="_clutter_alpha_3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_reserved7">
- <callback name="clutter_reserved7" c:type="_clutter_reserved7">
+ <field name="_clutter_alpha_4" introspectable="0">
+ <callback name="_clutter_alpha_4">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_reserved8">
- <callback name="clutter_reserved8" c:type="_clutter_reserved8">
+ <field name="_clutter_alpha_5" introspectable="0">
+ <callback name="_clutter_alpha_5">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
- <enumeration name="AnimationMode"
- doc="The animation modes used by #ClutterAlpha and #ClutterAnimation. This
-enumeration can be expanded in later versions of Clutter. See the
-#ClutterAlpha documentation for a graph of all the animation modes.
-Every global alpha function registered using clutter_alpha_register_func()
-or clutter_alpha_register_closure() will have a logical id greater than
-%CLUTTER_ANIMATION_LAST."
- version="1.0"
- glib:type-name="ClutterAnimationMode"
- glib:get-type="clutter_animation_mode_get_type"
- c:type="ClutterAnimationMode">
- <member name="custom_mode"
- value="0"
- c:identifier="CLUTTER_CUSTOM_MODE"
- glib:nick="custom-mode"/>
- <member name="linear"
- value="1"
- c:identifier="CLUTTER_LINEAR"
- glib:nick="linear"/>
- <member name="ease_in_quad"
- value="2"
- c:identifier="CLUTTER_EASE_IN_QUAD"
- glib:nick="ease-in-quad"/>
- <member name="ease_out_quad"
- value="3"
- c:identifier="CLUTTER_EASE_OUT_QUAD"
- glib:nick="ease-out-quad"/>
- <member name="ease_in_out_quad"
- value="4"
- c:identifier="CLUTTER_EASE_IN_OUT_QUAD"
- glib:nick="ease-in-out-quad"/>
- <member name="ease_in_cubic"
- value="5"
- c:identifier="CLUTTER_EASE_IN_CUBIC"
- glib:nick="ease-in-cubic"/>
- <member name="ease_out_cubic"
- value="6"
- c:identifier="CLUTTER_EASE_OUT_CUBIC"
- glib:nick="ease-out-cubic"/>
- <member name="ease_in_out_cubic"
- value="7"
- c:identifier="CLUTTER_EASE_IN_OUT_CUBIC"
- glib:nick="ease-in-out-cubic"/>
- <member name="ease_in_quart"
- value="8"
- c:identifier="CLUTTER_EASE_IN_QUART"
- glib:nick="ease-in-quart"/>
- <member name="ease_out_quart"
- value="9"
- c:identifier="CLUTTER_EASE_OUT_QUART"
- glib:nick="ease-out-quart"/>
- <member name="ease_in_out_quart"
- value="10"
- c:identifier="CLUTTER_EASE_IN_OUT_QUART"
- glib:nick="ease-in-out-quart"/>
- <member name="ease_in_quint"
- value="11"
- c:identifier="CLUTTER_EASE_IN_QUINT"
- glib:nick="ease-in-quint"/>
- <member name="ease_out_quint"
- value="12"
- c:identifier="CLUTTER_EASE_OUT_QUINT"
- glib:nick="ease-out-quint"/>
- <member name="ease_in_out_quint"
- value="13"
- c:identifier="CLUTTER_EASE_IN_OUT_QUINT"
- glib:nick="ease-in-out-quint"/>
- <member name="ease_in_sine"
- value="14"
- c:identifier="CLUTTER_EASE_IN_SINE"
- glib:nick="ease-in-sine"/>
- <member name="ease_out_sine"
- value="15"
- c:identifier="CLUTTER_EASE_OUT_SINE"
- glib:nick="ease-out-sine"/>
- <member name="ease_in_out_sine"
- value="16"
- c:identifier="CLUTTER_EASE_IN_OUT_SINE"
- glib:nick="ease-in-out-sine"/>
- <member name="ease_in_expo"
- value="17"
- c:identifier="CLUTTER_EASE_IN_EXPO"
- glib:nick="ease-in-expo"/>
- <member name="ease_out_expo"
- value="18"
- c:identifier="CLUTTER_EASE_OUT_EXPO"
- glib:nick="ease-out-expo"/>
- <member name="ease_in_out_expo"
- value="19"
- c:identifier="CLUTTER_EASE_IN_OUT_EXPO"
- glib:nick="ease-in-out-expo"/>
- <member name="ease_in_circ"
- value="20"
- c:identifier="CLUTTER_EASE_IN_CIRC"
- glib:nick="ease-in-circ"/>
- <member name="ease_out_circ"
- value="21"
- c:identifier="CLUTTER_EASE_OUT_CIRC"
- glib:nick="ease-out-circ"/>
- <member name="ease_in_out_circ"
- value="22"
- c:identifier="CLUTTER_EASE_IN_OUT_CIRC"
- glib:nick="ease-in-out-circ"/>
- <member name="ease_in_elastic"
- value="23"
- c:identifier="CLUTTER_EASE_IN_ELASTIC"
- glib:nick="ease-in-elastic"/>
- <member name="ease_out_elastic"
- value="24"
- c:identifier="CLUTTER_EASE_OUT_ELASTIC"
- glib:nick="ease-out-elastic"/>
- <member name="ease_in_out_elastic"
- value="25"
- c:identifier="CLUTTER_EASE_IN_OUT_ELASTIC"
- glib:nick="ease-in-out-elastic"/>
- <member name="ease_in_back"
- value="26"
- c:identifier="CLUTTER_EASE_IN_BACK"
- glib:nick="ease-in-back"/>
- <member name="ease_out_back"
- value="27"
- c:identifier="CLUTTER_EASE_OUT_BACK"
- glib:nick="ease-out-back"/>
- <member name="ease_in_out_back"
- value="28"
- c:identifier="CLUTTER_EASE_IN_OUT_BACK"
- glib:nick="ease-in-out-back"/>
- <member name="ease_in_bounce"
- value="29"
- c:identifier="CLUTTER_EASE_IN_BOUNCE"
- glib:nick="ease-in-bounce"/>
- <member name="ease_out_bounce"
- value="30"
- c:identifier="CLUTTER_EASE_OUT_BOUNCE"
- glib:nick="ease-out-bounce"/>
- <member name="ease_in_out_bounce"
- value="31"
- c:identifier="CLUTTER_EASE_IN_OUT_BOUNCE"
- glib:nick="ease-in-out-bounce"/>
- <member name="animation_last"
- value="32"
- c:identifier="CLUTTER_ANIMATION_LAST"
- glib:nick="animation-last"/>
- </enumeration>
- <record name="AnimationPrivate" c:type="ClutterAnimationPrivate">
+ <callback name="AlphaFunc" c:type="ClutterAlphaFunc" version="0.2">
+ <doc xml:whitespace="preserve">A function returning a value depending on the position of
+the #ClutterTimeline bound to @alpha.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a floating point value</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </return-value>
+ <parameters>
+ <parameter name="alpha" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterAlpha</doc>
+ <type name="Alpha" c:type="ClutterAlpha*"/>
+ </parameter>
+ <parameter name="user_data" transfer-ownership="none" closure="1">
+ <doc xml:whitespace="preserve">user data passed to the function</doc>
+ <type name="gpointer" c:type="gpointer"/>
+ </parameter>
+ </parameters>
+ </callback>
+ <record name="AlphaPrivate" c:type="ClutterAlphaPrivate" disguised="1">
</record>
- <class name="Animator"
- c:type="ClutterAnimator"
- doc="The #ClutterAnimator structure contains only private data and
-should be accessed using the provided API"
- version="1.2"
- parent="GObject.Object"
- glib:type-name="ClutterAnimator"
- glib:get-type="clutter_animator_get_type"
- glib:type-struct="AnimatorClass">
- <implements name="Scriptable"/>
- <constructor name="new"
- c:identifier="clutter_animator_new"
- doc="Creates a new #ClutterAnimator instance"
- version="1.2">
- <return-value transfer-ownership="full">
- <type name="Animator" c:type="ClutterAnimator*"/>
- </return-value>
- </constructor>
- <method name="set_key"
- c:identifier="clutter_animator_set_key"
- doc="Sets a single key in the #ClutterAnimator for the @property_name of"
- version="1.2">
- <return-value transfer-ownership="none" doc="The animator instance">
- <type name="Animator" c:type="ClutterAnimator*"/>
+ <constant name="Alt_L" value="65513">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Alt_R" value="65514">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Amacron" value="960">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <interface name="Animatable"
+ c:symbol-prefix="animatable"
+ c:type="ClutterAnimatable"
+ version="1.0"
+ glib:type-name="ClutterAnimatable"
+ glib:get-type="clutter_animatable_get_type"
+ glib:type-struct="AnimatableIface">
+ <doc xml:whitespace="preserve">#ClutterAnimatable is an opaque structure whose members cannot be directly
+accessed</doc>
+ <virtual-method name="animate_property"
+ invoker="animate_property"
+ version="1.0">
+ <doc xml:whitespace="preserve">Calls the animate_property() virtual function for @animatable.
+The @initial_value and @final_value #GValue<!-- -->s must contain
+the same type; @value must have been initialized to the same
+type of @initial_value and @final_value.
+All implementation of the #ClutterAnimatable interface must
+implement this function.
+be applied to the #ClutterAnimatable, and %FALSE otherwise</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the value has been validated and can</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
- <parameter name="object" transfer-ownership="none">
- <type name="GObject.Object" c:type="GObject*"/>
+ <parameter name="animation" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterAnimation</doc>
+ <type name="Animation" c:type="ClutterAnimation*"/>
</parameter>
<parameter name="property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the animated property</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
- <parameter name="mode" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <parameter name="initial_value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the initial value of the animation interval</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
</parameter>
- <parameter name="progress"
- transfer-ownership="none"
- doc=" value applies">
- <type name="double" c:type="gdouble"/>
+ <parameter name="final_value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the final value of the animation interval</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
+ <parameter name="progress" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the progress factor</doc>
+ <type name="gdouble" c:type="gdouble"/>
</parameter>
<parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">return location for the animation value</doc>
<type name="GObject.Value" c:type="GValue*"/>
</parameter>
</parameters>
- </method>
- <method name="set"
- c:identifier="clutter_animator_set"
- doc="Adds multiple keys to a #ClutterAnimator, specifying the value a given
-property should have at a given progress of the animation. The mode
-specified is the mode used when going to this key from the previous key of
-the @property_name
-If a given (object, property, progress) tuple already exist the mode and
-value will be replaced with the new values."
- version="1.2">
+ </virtual-method>
+ <virtual-method name="find_property"
+ invoker="find_property"
+ version="1.4">
+ <doc xml:whitespace="preserve">Finds the #GParamSpec for @property_name
+or %NULL</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">The #GParamSpec for the given property</doc>
+ <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
</return-value>
<parameters>
- <parameter name="first_object" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
- </parameter>
- <parameter name="first_property_name" transfer-ownership="none">
+ <parameter name="property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the animatable property to find</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
- <parameter name="first_mode" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- <parameter name="first_progress"
- transfer-ownership="none"
- doc=" range is a normalized floating point value between 0 and 1">
- <type name="double" c:type="gdouble"/>
- </parameter>
- <parameter transfer-ownership="none">
- <varargs>
- </varargs>
- </parameter>
</parameters>
- </method>
- <method name="get_keys"
- c:identifier="clutter_animator_get_keys"
- doc="Returns a list of pointers to opaque structures with accessor functions
-that describe the keys added to an animator.
-list of #ClutterAnimatorKey<!-- -->s; the contents of the list are owned
-by the #ClutterAnimator, but you should free the returned list when done,
-using g_list_free()"
- version="1.2">
- <return-value transfer-ownership="container" doc="a">
- <type name="GLib.List" c:type="GList*">
- <type name="AnimatorKey"/>
- </type>
+ </virtual-method>
+ <virtual-method name="get_initial_state"
+ invoker="get_initial_state"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the current state of @property_name and sets @value with it</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="object"
- transfer-ownership="none"
- allow-none="1"
- doc="a #GObject to search for, or %NULL for all objects">
- <type name="GObject.Object" c:type="GObject*"/>
- </parameter>
- <parameter name="property_name"
- transfer-ownership="none"
- allow-none="1"
- doc="a specific property name to query for, or %NULL for all properties">
+ <parameter name="property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the animatable property to retrieve</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
- <parameter name="progress"
- transfer-ownership="none"
- doc=" progresses">
- <type name="double" c:type="gdouble"/>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GValue initialized to the type of the property to retrieve</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
</parameter>
</parameters>
- </method>
- <method name="remove_key"
- c:identifier="clutter_animator_remove_key"
- doc="Removes all keys matching the conditions specificed in the arguments."
- version="1.2">
+ </virtual-method>
+ <virtual-method name="set_final_state"
+ invoker="set_final_state"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets the current state of @property_name to @value</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="object"
- transfer-ownership="none"
- allow-none="1"
- doc="a #GObject to search for, or %NULL for all">
- <type name="GObject.Object" c:type="GObject*"/>
- </parameter>
- <parameter name="property_name"
- transfer-ownership="none"
- allow-none="1"
- doc="a specific property name to query for, or %NULL for all">
+ <parameter name="property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the animatable property to set</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
- <parameter name="progress" transfer-ownership="none" doc=" for all">
- <type name="double" c:type="gdouble"/>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the value of the animatable property to set</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
</parameter>
</parameters>
- </method>
- <method name="start"
- c:identifier="clutter_animator_start"
- doc="Start the ClutterAnimator, this is a thin wrapper that rewinds
-and starts the animators current timeline."
- version="1.2">
- <return-value transfer-ownership="full">
- <type name="Timeline" c:type="ClutterTimeline*"/>
- </return-value>
- </method>
- <method name="compute_value"
- c:identifier="clutter_animator_compute_value"
- doc="Compute the value for a managed property at a given progress.
-If the property is an ease-in property, the current value of the property
-on the object will be used as the starting point for computation.
-an error occurs or the progress is before any of the keys) %FALSE is
-returned and the #GValue is left untouched"
- version="1.2">
+ </virtual-method>
+ <method name="animate_property"
+ c:identifier="clutter_animatable_animate_property"
+ version="1.0">
+ <doc xml:whitespace="preserve">Calls the animate_property() virtual function for @animatable.
+The @initial_value and @final_value #GValue<!-- -->s must contain
+the same type; @value must have been initialized to the same
+type of @initial_value and @final_value.
+All implementation of the #ClutterAnimatable interface must
+implement this function.
+be applied to the #ClutterAnimatable, and %FALSE otherwise</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">%TRUE if the value has been validated and can</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
- <parameter name="object" transfer-ownership="none">
- <type name="GObject.Object" c:type="GObject*"/>
+ <parameter name="animation" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterAnimation</doc>
+ <type name="Animation" c:type="ClutterAnimation*"/>
</parameter>
<parameter name="property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the animated property</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
+ <parameter name="initial_value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the initial value of the animation interval</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
+ <parameter name="final_value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the final value of the animation interval</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
<parameter name="progress" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
+ <doc xml:whitespace="preserve">the progress factor</doc>
+ <type name="gdouble" c:type="gdouble"/>
</parameter>
<parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">return location for the animation value</doc>
<type name="GObject.Value" c:type="GValue*"/>
</parameter>
</parameters>
</method>
- <method name="get_timeline"
- c:identifier="clutter_animator_get_timeline"
- doc="Get the timeline hooked up for driving the #ClutterAnimator"
- version="1.2">
- <return-value transfer-ownership="none"
- doc="the #ClutterTimeline that drives the animator">
- <type name="Timeline" c:type="ClutterTimeline*"/>
- </return-value>
- </method>
- <method name="set_timeline"
- c:identifier="clutter_animator_set_timeline"
- doc="Sets an external timeline that will be used for driving the animation"
- version="1.2">
+ <method name="find_property"
+ c:identifier="clutter_animatable_find_property"
+ version="1.4">
+ <doc xml:whitespace="preserve">Finds the #GParamSpec for @property_name
+or %NULL</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">The #GParamSpec for the given property</doc>
+ <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
</return-value>
<parameters>
- <parameter name="timeline" transfer-ownership="none">
- <type name="Timeline" c:type="ClutterTimeline*"/>
+ <parameter name="property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the animatable property to find</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
- <method name="get_duration"
- c:identifier="clutter_animator_get_duration"
- doc="Retrieves the current duration of an animator"
- version="1.2">
- <return-value transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </return-value>
- </method>
- <method name="set_duration"
- c:identifier="clutter_animator_set_duration"
- doc="Runs the timeline of the #ClutterAnimator with a duration in msecs
-as specified."
- version="1.2">
+ <method name="get_initial_state"
+ c:identifier="clutter_animatable_get_initial_state"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the current state of @property_name and sets @value with it</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="duration" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- </parameters>
- </method>
- <method name="property_get_ease_in"
- c:identifier="clutter_animator_property_get_ease_in"
- doc="Checks if a property value is to be eased into the animation."
- version="1.2">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- <parameters>
- <parameter name="object" transfer-ownership="none">
- <type name="GObject.Object" c:type="GObject*"/>
- </parameter>
<parameter name="property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the animatable property to retrieve</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GValue initialized to the type of the property to retrieve</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
</parameters>
</method>
- <method name="property_set_ease_in"
- c:identifier="clutter_animator_property_set_ease_in"
- doc="Sets whether a property value is to be eased into the animation."
- version="1.2">
+ <method name="set_final_state"
+ c:identifier="clutter_animatable_set_final_state"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets the current state of @property_name to @value</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="object" transfer-ownership="none">
- <type name="GObject.Object" c:type="GObject*"/>
- </parameter>
<parameter name="property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the animatable property to set</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
- <parameter name="ease_in" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the value of the animatable property to set</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
</parameter>
</parameters>
</method>
- <method name="property_get_interpolation"
- c:identifier="clutter_animator_property_get_interpolation"
- doc="Get the interpolation used by animator for a property on a particular
-object."
- version="1.2">
+ </interface>
+ <record name="AnimatableIface"
+ c:type="ClutterAnimatableIface"
+ glib:is-gtype-struct-for="Animatable"
+ version="1.0">
+ <doc xml:whitespace="preserve">Base interface for #GObject<!-- -->s that can be animated by a
+a #ClutterAnimation.</doc>
+ <field name="parent_iface">
+ <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
+ </field>
+ <field name="animate_property">
+ <callback name="animate_property">
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the value has been validated and can</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="animatable" transfer-ownership="none">
+ <type name="Animatable" c:type="ClutterAnimatable*"/>
+ </parameter>
+ <parameter name="animation" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterAnimation</doc>
+ <type name="Animation" c:type="ClutterAnimation*"/>
+ </parameter>
+ <parameter name="property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the animated property</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="initial_value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the initial value of the animation interval</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
+ <parameter name="final_value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the final value of the animation interval</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
+ <parameter name="progress" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the progress factor</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">return location for the animation value</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="find_property">
+ <callback name="find_property">
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">The #GParamSpec for the given property</doc>
+ <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
+ </return-value>
+ <parameters>
+ <parameter name="animatable" transfer-ownership="none">
+ <type name="Animatable" c:type="ClutterAnimatable*"/>
+ </parameter>
+ <parameter name="property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the animatable property to find</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="get_initial_state">
+ <callback name="get_initial_state">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="animatable" transfer-ownership="none">
+ <type name="Animatable" c:type="ClutterAnimatable*"/>
+ </parameter>
+ <parameter name="property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the animatable property to retrieve</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GValue initialized to the type of the property to retrieve</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="set_final_state">
+ <callback name="set_final_state">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="animatable" transfer-ownership="none">
+ <type name="Animatable" c:type="ClutterAnimatable*"/>
+ </parameter>
+ <parameter name="property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the animatable property to set</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the value of the animatable property to set</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ </record>
+ <class name="Animation"
+ c:symbol-prefix="animation"
+ c:type="ClutterAnimation"
+ version="1.0"
+ parent="GObject.Object"
+ glib:type-name="ClutterAnimation"
+ glib:get-type="clutter_animation_get_type"
+ glib:type-struct="AnimationClass">
+ <doc xml:whitespace="preserve">The #ClutterAnimation structure contains only private data and should
+be accessed using the provided functions.</doc>
+ <implements name="Scriptable"/>
+ <constructor name="new"
+ c:identifier="clutter_animation_new"
+ version="1.0">
+ <doc xml:whitespace="preserve">Creates a new #ClutterAnimation instance. You should set the
+#GObject to be animated using clutter_animation_set_object(),
+set the duration with clutter_animation_set_duration() and the
+easing mode using clutter_animation_set_mode().
+Use clutter_animation_bind() or clutter_animation_bind_interval()
+to define the properties to be animated. The interval and the
+animated properties can be updated at runtime.
+The clutter_actor_animate() and relative family of functions provide
+an easy way to animate a #ClutterActor and automatically manage the
+lifetime of a #ClutterAnimation instance, so you should consider using
+those functions instead of manually creating an animation.
+to release the associated resources</doc>
<return-value transfer-ownership="full">
- <type name="Interpolation" c:type="ClutterInterpolation"/>
+ <doc xml:whitespace="preserve">the newly created #ClutterAnimation. Use g_object_unref()</doc>
+ <type name="Animation" c:type="ClutterAnimation*"/>
+ </return-value>
+ </constructor>
+ <method name="bind" c:identifier="clutter_animation_bind" version="1.0">
+ <doc xml:whitespace="preserve">Adds a single property with name @property_name to the
+animation @animation. For more information about animations,
+see clutter_actor_animate().
+This method returns the animation primarily to make chained
+calls convenient in language bindings.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">The animation itself.</doc>
+ <type name="Animation" c:type="ClutterAnimation*"/>
</return-value>
<parameters>
- <parameter name="object" transfer-ownership="none">
- <type name="GObject.Object" c:type="GObject*"/>
- </parameter>
<parameter name="property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the property to control</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
+ <parameter name="final" transfer-ownership="none">
+ <doc xml:whitespace="preserve">The final value of the property</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
</parameters>
</method>
- <method name="property_set_interpolation"
- c:identifier="clutter_animator_property_set_interpolation"
- doc="Set the interpolation method to use, %CLUTTER_INTERPOLATION_LINEAR causes
-the values to linearly change between the values, and
-%CLUTTER_INTERPOLATION_CUBIC causes the values to smoothly change between
-the values."
- version="1.2">
+ <method name="bind_interval"
+ c:identifier="clutter_animation_bind_interval"
+ version="1.0">
+ <doc xml:whitespace="preserve">Binds @interval to the @property_name of the #GObject
+attached to @animation. The #ClutterAnimation will take
+ownership of the passed #ClutterInterval. For more information
+about animations, see clutter_actor_animate().
+If you need to update the interval instance use
+clutter_animation_update_property() instead.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">The animation itself.</doc>
+ <type name="Animation" c:type="ClutterAnimation*"/>
</return-value>
<parameters>
- <parameter name="object" transfer-ownership="none">
- <type name="GObject.Object" c:type="GObject*"/>
- </parameter>
<parameter name="property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the property to control</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
- <parameter name="interpolation" transfer-ownership="none">
- <type name="Interpolation" c:type="ClutterInterpolation"/>
+ <parameter name="interval" transfer-ownership="full">
+ <doc xml:whitespace="preserve">a #ClutterInterval</doc>
+ <type name="Interval" c:type="ClutterInterval*"/>
</parameter>
</parameters>
</method>
- <property name="duration"
- version="1.2"
- writable="1"
- doc="The duration of the #ClutterTimeline used by the #ClutterAnimator
-to drive the animation">
- <type name="uint" c:type="guint"/>
- </property>
- <property name="timeline"
- version="1.2"
- writable="1"
- doc="The #ClutterTimeline used by the #ClutterAnimator to drive the
-animation">
- <type name="Timeline" c:type="ClutterTimeline"/>
- </property>
- <field name="parent_instance">
- <type name="GObject.Object" c:type="GObject"/>
- </field>
- <field name="priv">
- <type name="AnimatorPrivate" c:type="ClutterAnimatorPrivate*"/>
- </field>
- </class>
- <record name="AnimatorClass"
- c:type="ClutterAnimatorClass"
- glib:is-gtype-struct-for="Animator"
- doc="The #ClutterAnimatorClass structure contains only private data"
- version="1.2">
- <field name="parent_class">
- <type name="GObject.ObjectClass" c:type="GObjectClass"/>
- </field>
- <field name="_padding_dummy">
- <array zero-terminated="0" c:type="gpointer" fixed-size="16">
- <type name="any"/>
- </array>
- </field>
- </record>
- <record name="AnimatorKey"
- c:type="ClutterAnimatorKey"
- doc="A key frame inside a #ClutterAnimator"
- version="1.2"
- glib:type-name="ClutterAnimatorKey"
- glib:get-type="clutter_animator_key_get_type">
- <method name="get_object"
- c:identifier="clutter_animator_key_get_object"
- doc="Retrieves the object a key applies to."
- version="1.2">
- <return-value transfer-ownership="none"
- doc="the object an animator_key exist for.">
- <type name="GObject.Object" c:type="GObject*"/>
+ <method name="completed"
+ c:identifier="clutter_animation_completed"
+ version="1.0">
+ <doc xml:whitespace="preserve">Emits the ::completed signal on @animation
+When using this function with a #ClutterAnimation created
+by the clutter_actor_animate() family of functions, @animation
+will be unreferenced and it will not be valid anymore,
+unless g_object_ref() was called before calling this function
+or unless a reference was taken inside a handler for the
+#ClutterAnimation::completed signal</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
</method>
- <method name="get_property_name"
- c:identifier="clutter_animator_key_get_property_name"
- doc="Retrieves the name of the property a key applies to."
- version="1.2">
+ <method name="get_alpha"
+ c:identifier="clutter_animation_get_alpha"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the #ClutterAlpha used by @animation.</doc>
<return-value transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <doc xml:whitespace="preserve">the alpha object used by the animation</doc>
+ <type name="Alpha" c:type="ClutterAlpha*"/>
</return-value>
</method>
- <method name="get_property_type"
- c:identifier="clutter_animator_key_get_property_type"
- doc="Retrieves the #GType of the property a key applies to
-You can use this type to initialize the #GValue to pass to
-clutter_animator_key_get_value()"
- version="1.2">
+ <method name="get_duration"
+ c:identifier="clutter_animation_get_duration"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the duration of @animation, in milliseconds.</doc>
<return-value transfer-ownership="none">
- <type name="GType" c:type="GType"/>
+ <doc xml:whitespace="preserve">the duration of the animation</doc>
+ <type name="guint" c:type="guint"/>
</return-value>
</method>
- <method name="get_mode"
- c:identifier="clutter_animator_key_get_mode"
- doc="Retrieves the mode of a #ClutterAnimator key, for the first key of a
-property for an object this represents the whether the animation is
-open ended and or curved for the remainding keys for the property it
-represents the easing mode."
- version="1.2">
+ <method name="get_interval"
+ c:identifier="clutter_animation_get_interval"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the #ClutterInterval associated to @property_name
+inside @animation.
+property with the same name was found. The returned interval is
+owned by the #ClutterAnimation and should not be unreferenced</doc>
<return-value transfer-ownership="none">
- <type name="ulong" c:type="gulong"/>
+ <doc xml:whitespace="preserve">a #ClutterInterval or %NULL if no</doc>
+ <type name="Interval" c:type="ClutterInterval*"/>
</return-value>
+ <parameters>
+ <parameter name="property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">name of the property</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ </parameters>
</method>
- <method name="get_progress"
- c:identifier="clutter_animator_key_get_progress"
- doc="Retrieves the progress of an clutter_animator_key"
- version="1.2">
+ <method name="get_loop"
+ c:identifier="clutter_animation_get_loop"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves whether @animation is looping.</doc>
<return-value transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
+ <doc xml:whitespace="preserve">%TRUE if the animation is looping</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
- <method name="get_value"
- c:identifier="clutter_animator_key_get_value"
- doc="Retrieves a copy of the value for a #ClutterAnimatorKey.
-The passed in #GValue needs to be already initialized for the value
-type of the key or to a type that allow transformation from the value
-type of the key.
-Use g_value_unset() when done.
-%FALSE otherwise"
- version="1.2">
+ <method name="get_mode"
+ c:identifier="clutter_animation_get_mode"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the animation mode of @animation, as set by
+clutter_animation_set_mode().</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the mode for the animation</doc>
+ <type name="gulong" c:type="gulong"/>
+ </return-value>
+ </method>
+ <method name="get_object"
+ c:identifier="clutter_animation_get_object"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the #GObject attached to @animation.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GObject</doc>
+ <type name="GObject.Object" c:type="GObject*"/>
+ </return-value>
+ </method>
+ <method name="get_timeline"
+ c:identifier="clutter_animation_get_timeline"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the #ClutterTimeline used by @animation</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the timeline used by the animation</doc>
+ <type name="Timeline" c:type="ClutterTimeline*"/>
+ </return-value>
+ </method>
+ <method name="has_property"
+ c:identifier="clutter_animation_has_property"
+ version="1.0">
+ <doc xml:whitespace="preserve">Checks whether @animation is controlling @property_name.
+#ClutterAnimation, %FALSE otherwise</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">%TRUE if the property is animated by the</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
- <parameter name="value" transfer-ownership="none">
+ <parameter name="property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">name of the property</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_alpha"
+ c:identifier="clutter_animation_set_alpha"
+ version="1.0">
+ <doc xml:whitespace="preserve">Sets @alpha as the #ClutterAlpha used by @animation.
+If @alpha is not %NULL, the #ClutterAnimation will take ownership
+of the #ClutterAlpha instance.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="alpha" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterAlpha, or %NULL to unset the current #ClutterAlpha</doc>
+ <type name="Alpha" c:type="ClutterAlpha*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_duration"
+ c:identifier="clutter_animation_set_duration"
+ version="1.0">
+ <doc xml:whitespace="preserve">Sets the duration of @animation in milliseconds.
+This function will set #ClutterAnimation:alpha and
+#ClutterAnimation:timeline if needed.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="msecs" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the duration in milliseconds</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_loop"
+ c:identifier="clutter_animation_set_loop"
+ version="1.0">
+ <doc xml:whitespace="preserve">Sets whether @animation should loop over itself once finished.
+A looping #ClutterAnimation will not emit the #ClutterAnimation::completed
+signal when finished.
+This function will set #ClutterAnimation:alpha and
+#ClutterAnimation:timeline if needed.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="loop" transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the animation should loop</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_mode"
+ c:identifier="clutter_animation_set_mode"
+ version="1.0">
+ <doc xml:whitespace="preserve">Sets the animation @mode of @animation. The animation @mode is
+a logical id, either coming from the #ClutterAnimationMode enumeration
+or the return value of clutter_alpha_register_func().
+This function will also set #ClutterAnimation:alpha if needed.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="mode" transfer-ownership="none">
+ <doc xml:whitespace="preserve">an animation mode logical id</doc>
+ <type name="gulong" c:type="gulong"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_object"
+ c:identifier="clutter_animation_set_object"
+ version="1.0">
+ <doc xml:whitespace="preserve">Attaches @animation to @object. The #ClutterAnimation will take a
+reference on @object.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GObject</doc>
+ <type name="GObject.Object" c:type="GObject*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_timeline"
+ c:identifier="clutter_animation_set_timeline"
+ version="1.0">
+ <doc xml:whitespace="preserve">Sets the #ClutterTimeline used by @animation.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="timeline" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterTimeline, or %NULL to unset the current #ClutterTimeline</doc>
+ <type name="Timeline" c:type="ClutterTimeline*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="unbind_property"
+ c:identifier="clutter_animation_unbind_property"
+ version="1.0">
+ <doc xml:whitespace="preserve">Removes @property_name from the list of animated properties.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">name of the property</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="update"
+ c:identifier="clutter_animation_update"
+ version="1.0">
+ <doc xml:whitespace="preserve">Updates the @final value of the interval for @property_name</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">The animation itself.</doc>
+ <type name="Animation" c:type="ClutterAnimation*"/>
+ </return-value>
+ <parameters>
+ <parameter name="property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">name of the property</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="final" transfer-ownership="none">
+ <doc xml:whitespace="preserve">The final value of the property</doc>
<type name="GObject.Value" c:type="GValue*"/>
</parameter>
</parameters>
</method>
- </record>
- <record name="AnimatorPrivate" c:type="ClutterAnimatorPrivate">
- </record>
- <record name="AnyEvent"
- c:type="ClutterAnyEvent"
- doc="Common members for a #ClutterEvent"
- version="0.2">
- <field name="type" writable="1">
- <type name="EventType" c:type="ClutterEventType"/>
+ <method name="update_interval"
+ c:identifier="clutter_animation_update_interval"
+ version="1.0">
+ <doc xml:whitespace="preserve">Changes the @interval for @property_name. The #ClutterAnimation
+will take ownership of the passed #ClutterInterval.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">name of the property</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="interval" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterInterval</doc>
+ <type name="Interval" c:type="ClutterInterval*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <property name="alpha"
+ version="1.0"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The #ClutterAlpha used by the animation.</doc>
+ <type name="Alpha"/>
+ </property>
+ <property name="duration"
+ version="1.0"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The duration of the animation, expressed in milliseconds.</doc>
+ <type name="guint"/>
+ </property>
+ <property name="loop"
+ version="1.0"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the animation should loop.</doc>
+ <type name="gboolean"/>
+ </property>
+ <property name="mode"
+ version="1.0"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The animation mode, either a value from #ClutterAnimationMode
+or a value returned by clutter_alpha_register_func(). The
+default value is %CLUTTER_LINEAR.</doc>
+ <type name="gulong"/>
+ </property>
+ <property name="object"
+ version="1.0"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The #GObject to which the animation applies.</doc>
+ <type name="GObject.Object"/>
+ </property>
+ <property name="timeline"
+ version="1.0"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The #ClutterTimeline used by the animation.</doc>
+ <type name="Timeline"/>
+ </property>
+ <field name="parent_instance">
+ <type name="GObject.Object" c:type="GObject"/>
</field>
- <field name="time" writable="1">
- <type name="uint32" c:type="guint32"/>
+ <field name="priv">
+ <type name="AnimationPrivate" c:type="ClutterAnimationPrivate*"/>
</field>
- <field name="flags" writable="1">
- <type name="EventFlags" c:type="ClutterEventFlags"/>
+ <glib:signal name="completed" version="1.0">
+ <doc xml:whitespace="preserve">The ::completed signal is emitted once the animation has
+been completed.
+The @animation instance is guaranteed to be valid for the entire
+duration of the signal emission chain.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ </glib:signal>
+ <glib:signal name="started" version="1.0">
+ <doc xml:whitespace="preserve">The ::started signal is emitted once the animation has been
+started</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ </glib:signal>
+ </class>
+ <record name="AnimationClass"
+ c:type="ClutterAnimationClass"
+ glib:is-gtype-struct-for="Animation"
+ version="1.0">
+ <doc xml:whitespace="preserve">The #ClutterAnimationClass structure contains only private data and
+should be accessed using the provided functions.</doc>
+ <field name="parent_class">
+ <type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
- <field name="stage" writable="1">
- <type name="Stage" c:type="ClutterStage*"/>
+ <field name="started">
+ <callback name="started">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="animation" transfer-ownership="none">
+ <type name="Animation" c:type="ClutterAnimation*"/>
+ </parameter>
+ </parameters>
+ </callback>
</field>
- <field name="source" writable="1">
- <type name="Actor" c:type="ClutterActor*"/>
+ <field name="completed">
+ <callback name="completed">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="animation" transfer-ownership="none">
+ <type name="Animation" c:type="ClutterAnimation*"/>
+ </parameter>
+ </parameters>
+ </callback>
</field>
- </record>
- <constant name="Aogonek" value="417">
- <type name="int"/>
- </constant>
- <constant name="Arabic_0" value="16778848">
- <type name="int"/>
- </constant>
- <constant name="Arabic_1" value="16778849">
- <type name="int"/>
- </constant>
- <constant name="Arabic_2" value="16778850">
- <type name="int"/>
- </constant>
- <constant name="Arabic_3" value="16778851">
- <type name="int"/>
- </constant>
- <constant name="Arabic_4" value="16778852">
- <type name="int"/>
- </constant>
- <constant name="Arabic_5" value="16778853">
- <type name="int"/>
- </constant>
- <constant name="Arabic_6" value="16778854">
- <type name="int"/>
- </constant>
- <constant name="Arabic_7" value="16778855">
- <type name="int"/>
- </constant>
- <constant name="Arabic_8" value="16778856">
- <type name="int"/>
- </constant>
- <constant name="Arabic_9" value="16778857">
- <type name="int"/>
- </constant>
- <constant name="Arabic_ain" value="1497">
- <type name="int"/>
- </constant>
- <constant name="Arabic_alef" value="1479">
- <type name="int"/>
- </constant>
- <constant name="Arabic_alefmaksura" value="1513">
- <type name="int"/>
- </constant>
- <constant name="Arabic_beh" value="1480">
- <type name="int"/>
- </constant>
+ <field name="_clutter_reserved1" introspectable="0">
+ <callback name="_clutter_reserved1">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_reserved2" introspectable="0">
+ <callback name="_clutter_reserved2">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_reserved3" introspectable="0">
+ <callback name="_clutter_reserved3">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_reserved4" introspectable="0">
+ <callback name="_clutter_reserved4">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_reserved5" introspectable="0">
+ <callback name="_clutter_reserved5">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_reserved6" introspectable="0">
+ <callback name="_clutter_reserved6">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_reserved7" introspectable="0">
+ <callback name="_clutter_reserved7">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_reserved8" introspectable="0">
+ <callback name="_clutter_reserved8">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ </record>
+ <enumeration name="AnimationMode"
+ version="1.0"
+ glib:type-name="ClutterAnimationMode"
+ glib:get-type="clutter_animation_mode_get_type"
+ c:type="ClutterAnimationMode">
+ <doc xml:whitespace="preserve">The animation modes used by #ClutterAlpha and #ClutterAnimation. This
+enumeration can be expanded in later versions of Clutter. See the
+#ClutterAlpha documentation for a graph of all the animation modes.
+Every global alpha function registered using clutter_alpha_register_func()
+or clutter_alpha_register_closure() will have a logical id greater than
+%CLUTTER_ANIMATION_LAST.</doc>
+ <member name="custom_mode"
+ value="0"
+ c:identifier="CLUTTER_CUSTOM_MODE"
+ glib:nick="custom-mode"/>
+ <member name="linear"
+ value="1"
+ c:identifier="CLUTTER_LINEAR"
+ glib:nick="linear"/>
+ <member name="ease_in_quad"
+ value="2"
+ c:identifier="CLUTTER_EASE_IN_QUAD"
+ glib:nick="ease-in-quad"/>
+ <member name="ease_out_quad"
+ value="3"
+ c:identifier="CLUTTER_EASE_OUT_QUAD"
+ glib:nick="ease-out-quad"/>
+ <member name="ease_in_out_quad"
+ value="4"
+ c:identifier="CLUTTER_EASE_IN_OUT_QUAD"
+ glib:nick="ease-in-out-quad"/>
+ <member name="ease_in_cubic"
+ value="5"
+ c:identifier="CLUTTER_EASE_IN_CUBIC"
+ glib:nick="ease-in-cubic"/>
+ <member name="ease_out_cubic"
+ value="6"
+ c:identifier="CLUTTER_EASE_OUT_CUBIC"
+ glib:nick="ease-out-cubic"/>
+ <member name="ease_in_out_cubic"
+ value="7"
+ c:identifier="CLUTTER_EASE_IN_OUT_CUBIC"
+ glib:nick="ease-in-out-cubic"/>
+ <member name="ease_in_quart"
+ value="8"
+ c:identifier="CLUTTER_EASE_IN_QUART"
+ glib:nick="ease-in-quart"/>
+ <member name="ease_out_quart"
+ value="9"
+ c:identifier="CLUTTER_EASE_OUT_QUART"
+ glib:nick="ease-out-quart"/>
+ <member name="ease_in_out_quart"
+ value="10"
+ c:identifier="CLUTTER_EASE_IN_OUT_QUART"
+ glib:nick="ease-in-out-quart"/>
+ <member name="ease_in_quint"
+ value="11"
+ c:identifier="CLUTTER_EASE_IN_QUINT"
+ glib:nick="ease-in-quint"/>
+ <member name="ease_out_quint"
+ value="12"
+ c:identifier="CLUTTER_EASE_OUT_QUINT"
+ glib:nick="ease-out-quint"/>
+ <member name="ease_in_out_quint"
+ value="13"
+ c:identifier="CLUTTER_EASE_IN_OUT_QUINT"
+ glib:nick="ease-in-out-quint"/>
+ <member name="ease_in_sine"
+ value="14"
+ c:identifier="CLUTTER_EASE_IN_SINE"
+ glib:nick="ease-in-sine"/>
+ <member name="ease_out_sine"
+ value="15"
+ c:identifier="CLUTTER_EASE_OUT_SINE"
+ glib:nick="ease-out-sine"/>
+ <member name="ease_in_out_sine"
+ value="16"
+ c:identifier="CLUTTER_EASE_IN_OUT_SINE"
+ glib:nick="ease-in-out-sine"/>
+ <member name="ease_in_expo"
+ value="17"
+ c:identifier="CLUTTER_EASE_IN_EXPO"
+ glib:nick="ease-in-expo"/>
+ <member name="ease_out_expo"
+ value="18"
+ c:identifier="CLUTTER_EASE_OUT_EXPO"
+ glib:nick="ease-out-expo"/>
+ <member name="ease_in_out_expo"
+ value="19"
+ c:identifier="CLUTTER_EASE_IN_OUT_EXPO"
+ glib:nick="ease-in-out-expo"/>
+ <member name="ease_in_circ"
+ value="20"
+ c:identifier="CLUTTER_EASE_IN_CIRC"
+ glib:nick="ease-in-circ"/>
+ <member name="ease_out_circ"
+ value="21"
+ c:identifier="CLUTTER_EASE_OUT_CIRC"
+ glib:nick="ease-out-circ"/>
+ <member name="ease_in_out_circ"
+ value="22"
+ c:identifier="CLUTTER_EASE_IN_OUT_CIRC"
+ glib:nick="ease-in-out-circ"/>
+ <member name="ease_in_elastic"
+ value="23"
+ c:identifier="CLUTTER_EASE_IN_ELASTIC"
+ glib:nick="ease-in-elastic"/>
+ <member name="ease_out_elastic"
+ value="24"
+ c:identifier="CLUTTER_EASE_OUT_ELASTIC"
+ glib:nick="ease-out-elastic"/>
+ <member name="ease_in_out_elastic"
+ value="25"
+ c:identifier="CLUTTER_EASE_IN_OUT_ELASTIC"
+ glib:nick="ease-in-out-elastic"/>
+ <member name="ease_in_back"
+ value="26"
+ c:identifier="CLUTTER_EASE_IN_BACK"
+ glib:nick="ease-in-back"/>
+ <member name="ease_out_back"
+ value="27"
+ c:identifier="CLUTTER_EASE_OUT_BACK"
+ glib:nick="ease-out-back"/>
+ <member name="ease_in_out_back"
+ value="28"
+ c:identifier="CLUTTER_EASE_IN_OUT_BACK"
+ glib:nick="ease-in-out-back"/>
+ <member name="ease_in_bounce"
+ value="29"
+ c:identifier="CLUTTER_EASE_IN_BOUNCE"
+ glib:nick="ease-in-bounce"/>
+ <member name="ease_out_bounce"
+ value="30"
+ c:identifier="CLUTTER_EASE_OUT_BOUNCE"
+ glib:nick="ease-out-bounce"/>
+ <member name="ease_in_out_bounce"
+ value="31"
+ c:identifier="CLUTTER_EASE_IN_OUT_BOUNCE"
+ glib:nick="ease-in-out-bounce"/>
+ <member name="animation_last"
+ value="32"
+ c:identifier="CLUTTER_ANIMATION_LAST"
+ glib:nick="animation-last"/>
+ </enumeration>
+ <record name="AnimationPrivate"
+ c:type="ClutterAnimationPrivate"
+ disguised="1">
+ </record>
+ <class name="Animator"
+ c:symbol-prefix="animator"
+ c:type="ClutterAnimator"
+ version="1.2"
+ parent="GObject.Object"
+ glib:type-name="ClutterAnimator"
+ glib:get-type="clutter_animator_get_type"
+ glib:type-struct="AnimatorClass">
+ <doc xml:whitespace="preserve">The #ClutterAnimator structure contains only private data and
+should be accessed using the provided API</doc>
+ <implements name="Scriptable"/>
+ <constructor name="new"
+ c:identifier="clutter_animator_new"
+ version="1.2">
+ <doc xml:whitespace="preserve">Creates a new #ClutterAnimator instance</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">a new #ClutterAnimator.</doc>
+ <type name="Animator" c:type="ClutterAnimator*"/>
+ </return-value>
+ </constructor>
+ <method name="compute_value"
+ c:identifier="clutter_animator_compute_value"
+ version="1.2">
+ <doc xml:whitespace="preserve">Compute the value for a managed property at a given progress.
+If the property is an ease-in property, the current value of the property
+on the object will be used as the starting point for computation.
+an error occurs or the progress is before any of the keys) %FALSE is
+returned and the #GValue is left untouched</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the computation yields has a value, otherwise (when</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GObject</doc>
+ <type name="GObject.Object" c:type="GObject*"/>
+ </parameter>
+ <parameter name="property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the property on object to check</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="progress" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a value between 0.0 and 1.0</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">an initialized value to store the computed result</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="get_duration"
+ c:identifier="clutter_animator_get_duration"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the current duration of an animator</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the duration of the animation, in milliseconds</doc>
+ <type name="guint" c:type="guint"/>
+ </return-value>
+ </method>
+ <method name="get_keys"
+ c:identifier="clutter_animator_get_keys"
+ version="1.2">
+ <doc xml:whitespace="preserve">Returns a list of pointers to opaque structures with accessor functions
+that describe the keys added to an animator.
+list of #ClutterAnimatorKey<!-- -->s; the contents of the list are owned
+by the #ClutterAnimator, but you should free the returned list when done,
+using g_list_free()</doc>
+ <return-value transfer-ownership="container">
+ <doc xml:whitespace="preserve">a</doc>
+ <type name="GLib.List" c:type="GList*">
+ <type name="AnimatorKey"/>
+ </type>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">a #GObject to search for, or %NULL for all objects</doc>
+ <type name="GObject.Object" c:type="GObject*"/>
+ </parameter>
+ <parameter name="property_name"
+ transfer-ownership="none"
+ allow-none="1">
+ <doc xml:whitespace="preserve">a specific property name to query for, or %NULL for all properties</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="progress" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a specific progress to search for, or a negative value for all progresses</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="get_timeline"
+ c:identifier="clutter_animator_get_timeline"
+ version="1.2">
+ <doc xml:whitespace="preserve">Get the timeline hooked up for driving the #ClutterAnimator</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterTimeline that drives the animator</doc>
+ <type name="Timeline" c:type="ClutterTimeline*"/>
+ </return-value>
+ </method>
+ <method name="property_get_ease_in"
+ c:identifier="clutter_animator_property_get_ease_in"
+ version="1.2">
+ <doc xml:whitespace="preserve">Checks if a property value is to be eased into the animation.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the property is eased in</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GObject</doc>
+ <type name="GObject.Object" c:type="GObject*"/>
+ </parameter>
+ <parameter name="property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of a property on object</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="property_get_interpolation"
+ c:identifier="clutter_animator_property_get_interpolation"
+ version="1.2">
+ <doc xml:whitespace="preserve">Get the interpolation used by animator for a property on a particular
+object.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a ClutterInterpolation value.</doc>
+ <type name="Interpolation" c:type="ClutterInterpolation"/>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GObject</doc>
+ <type name="GObject.Object" c:type="GObject*"/>
+ </parameter>
+ <parameter name="property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of a property on object</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="property_set_ease_in"
+ c:identifier="clutter_animator_property_set_ease_in"
+ version="1.2">
+ <doc xml:whitespace="preserve">Sets whether a property value is to be eased into the animation.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GObject</doc>
+ <type name="GObject.Object" c:type="GObject*"/>
+ </parameter>
+ <parameter name="property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of a property on object</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="ease_in" transfer-ownership="none">
+ <doc xml:whitespace="preserve">we are going to be easing in this property</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="property_set_interpolation"
+ c:identifier="clutter_animator_property_set_interpolation"
+ version="1.2">
+ <doc xml:whitespace="preserve">Set the interpolation method to use, %CLUTTER_INTERPOLATION_LINEAR causes
+the values to linearly change between the values, and
+%CLUTTER_INTERPOLATION_CUBIC causes the values to smoothly change between
+the values.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GObject</doc>
+ <type name="GObject.Object" c:type="GObject*"/>
+ </parameter>
+ <parameter name="property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of a property on object</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="interpolation" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterInterpolation to use</doc>
+ <type name="Interpolation" c:type="ClutterInterpolation"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="remove_key"
+ c:identifier="clutter_animator_remove_key"
+ version="1.2">
+ <doc xml:whitespace="preserve">Removes all keys matching the conditions specificed in the arguments.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">a #GObject to search for, or %NULL for all</doc>
+ <type name="GObject.Object" c:type="GObject*"/>
+ </parameter>
+ <parameter name="property_name"
+ transfer-ownership="none"
+ allow-none="1">
+ <doc xml:whitespace="preserve">a specific property name to query for, or %NULL for all</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="progress" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a specific progress to search for or a negative value for all</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set"
+ c:identifier="clutter_animator_set"
+ version="1.2"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Adds multiple keys to a #ClutterAnimator, specifying the value a given
+property should have at a given progress of the animation. The mode
+specified is the mode used when going to this key from the previous key of
+the @property_name
+If a given (object, property, progress) tuple already exist the mode and
+value will be replaced with the new values.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="first_object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GObject</doc>
+ <type name="gpointer" c:type="gpointer"/>
+ </parameter>
+ <parameter name="first_property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the property to specify a key for</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="first_mode" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the id of the alpha function to use</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ <parameter name="first_progress" transfer-ownership="none">
+ <doc xml:whitespace="preserve">at which stage of the animation this value applies; the range is a normalized floating point value between 0 and 1</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter transfer-ownership="none">
+ <varargs>
+ </varargs>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_duration"
+ c:identifier="clutter_animator_set_duration"
+ version="1.2">
+ <doc xml:whitespace="preserve">Runs the timeline of the #ClutterAnimator with a duration in msecs
+as specified.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="duration" transfer-ownership="none">
+ <doc xml:whitespace="preserve">milliseconds a run of the animator should last.</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_key"
+ c:identifier="clutter_animator_set_key"
+ version="1.2">
+ <doc xml:whitespace="preserve">Sets a single key in the #ClutterAnimator for the @property_name of</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">The animator instance</doc>
+ <type name="Animator" c:type="ClutterAnimator*"/>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GObject</doc>
+ <type name="GObject.Object" c:type="GObject*"/>
+ </parameter>
+ <parameter name="property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the property to specify a key for</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="mode" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the id of the alpha function to use</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ <parameter name="progress" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the normalized range at which stage of the animation this value applies</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the value property_name should have at progress.</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_timeline"
+ c:identifier="clutter_animator_set_timeline"
+ version="1.2">
+ <doc xml:whitespace="preserve">Sets an external timeline that will be used for driving the animation</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="timeline" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterTimeline</doc>
+ <type name="Timeline" c:type="ClutterTimeline*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="start" c:identifier="clutter_animator_start" version="1.2">
+ <doc xml:whitespace="preserve">Start the ClutterAnimator, this is a thin wrapper that rewinds
+and starts the animators current timeline.
+the animator. The returned timeline is owned by the #ClutterAnimator
+and it should not be unreferenced</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterTimeline that drives</doc>
+ <type name="Timeline" c:type="ClutterTimeline*"/>
+ </return-value>
+ </method>
+ <property name="duration"
+ version="1.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The duration of the #ClutterTimeline used by the #ClutterAnimator
+to drive the animation</doc>
+ <type name="guint"/>
+ </property>
+ <property name="timeline"
+ version="1.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The #ClutterTimeline used by the #ClutterAnimator to drive the
+animation</doc>
+ <type name="Timeline"/>
+ </property>
+ <field name="parent_instance">
+ <type name="GObject.Object" c:type="GObject"/>
+ </field>
+ <field name="priv">
+ <type name="AnimatorPrivate" c:type="ClutterAnimatorPrivate*"/>
+ </field>
+ </class>
+ <record name="AnimatorClass"
+ c:type="ClutterAnimatorClass"
+ glib:is-gtype-struct-for="Animator"
+ version="1.2">
+ <doc xml:whitespace="preserve">The #ClutterAnimatorClass structure contains only private data</doc>
+ <field name="parent_class">
+ <type name="GObject.ObjectClass" c:type="GObjectClass"/>
+ </field>
+ <field name="_padding_dummy">
+ <array zero-terminated="0" c:type="gpointer" fixed-size="16">
+ <type name="gpointer" c:type="gpointer"/>
+ </array>
+ </field>
+ </record>
+ <record name="AnimatorKey"
+ c:type="ClutterAnimatorKey"
+ version="1.2"
+ glib:type-name="ClutterAnimatorKey"
+ glib:get-type="clutter_animator_key_get_type"
+ c:symbol-prefix="animator_key">
+ <doc xml:whitespace="preserve">A key frame inside a #ClutterAnimator</doc>
+ <method name="get_mode"
+ c:identifier="clutter_animator_key_get_mode"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the mode of a #ClutterAnimator key, for the first key of a
+property for an object this represents the whether the animation is
+open ended and or curved for the remainding keys for the property it
+represents the easing mode.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the mode of a #ClutterAnimatorKey</doc>
+ <type name="gulong" c:type="gulong"/>
+ </return-value>
+ </method>
+ <method name="get_object"
+ c:identifier="clutter_animator_key_get_object"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the object a key applies to.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the object an animator_key exist for.</doc>
+ <type name="GObject.Object" c:type="GObject*"/>
+ </return-value>
+ </method>
+ <method name="get_progress"
+ c:identifier="clutter_animator_key_get_progress"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the progress of an clutter_animator_key</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the progress defined for a #ClutterAnimator key.</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </return-value>
+ </method>
+ <method name="get_property_name"
+ c:identifier="clutter_animator_key_get_property_name"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the name of the property a key applies to.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the property an animator_key exist for.</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </return-value>
+ </method>
+ <method name="get_property_type"
+ c:identifier="clutter_animator_key_get_property_type"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the #GType of the property a key applies to
+You can use this type to initialize the #GValue to pass to
+clutter_animator_key_get_value()</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #GType of the property</doc>
+ <type name="GType" c:type="GType"/>
+ </return-value>
+ </method>
+ <method name="get_value"
+ c:identifier="clutter_animator_key_get_value"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves a copy of the value for a #ClutterAnimatorKey.
+The passed in #GValue needs to be already initialized for the value
+type of the key or to a type that allow transformation from the value
+type of the key.
+Use g_value_unset() when done.
+%FALSE otherwise</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the passed #GValue was successfully set, and</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GValue initialized with the correct type for the animator key</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
+ </parameters>
+ </method>
+ </record>
+ <record name="AnimatorPrivate"
+ c:type="ClutterAnimatorPrivate"
+ disguised="1">
+ </record>
+ <record name="AnyEvent" c:type="ClutterAnyEvent" version="0.2">
+ <doc xml:whitespace="preserve">Common members for a #ClutterEvent</doc>
+ <field name="type" writable="1">
+ <type name="EventType" c:type="ClutterEventType"/>
+ </field>
+ <field name="time" writable="1">
+ <type name="guint32" c:type="guint32"/>
+ </field>
+ <field name="flags" writable="1">
+ <type name="EventFlags" c:type="ClutterEventFlags"/>
+ </field>
+ <field name="stage" writable="1">
+ <type name="Stage" c:type="ClutterStage*"/>
+ </field>
+ <field name="source" writable="1">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </field>
+ </record>
+ <constant name="Aogonek" value="417">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ApplicationLeft" value="269025104">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ApplicationRight" value="269025105">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Arabic_0" value="16778848">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Arabic_1" value="16778849">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Arabic_2" value="16778850">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Arabic_3" value="16778851">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Arabic_4" value="16778852">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Arabic_5" value="16778853">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Arabic_6" value="16778854">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Arabic_7" value="16778855">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Arabic_8" value="16778856">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Arabic_9" value="16778857">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Arabic_ain" value="1497">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Arabic_alef" value="1479">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Arabic_alefmaksura" value="1513">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Arabic_beh" value="1480">
+ <type name="gint" c:type="gint"/>
+ </constant>
<constant name="Arabic_comma" value="1452">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_dad" value="1494">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_dal" value="1487">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_damma" value="1519">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_dammatan" value="1516">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_ddal" value="16778888">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_farsi_yeh" value="16778956">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_fatha" value="1518">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_fathatan" value="1515">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_feh" value="1505">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_fullstop" value="16778964">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_gaf" value="16778927">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_ghain" value="1498">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_ha" value="1511">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_hah" value="1485">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_hamza" value="1473">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_hamza_above" value="16778836">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_hamza_below" value="16778837">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_hamzaonalef" value="1475">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_hamzaonwaw" value="1476">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_hamzaonyeh" value="1478">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_hamzaunderalef" value="1477">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_heh" value="1511">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_heh_doachashmee" value="16778942">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_heh_goal" value="16778945">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_jeem" value="1484">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_jeh" value="16778904">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_kaf" value="1507">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_kasra" value="1520">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_kasratan" value="1517">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_keheh" value="16778921">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_khah" value="1486">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_lam" value="1508">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_madda_above" value="16778835">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_maddaonalef" value="1474">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_meem" value="1509">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_noon" value="1510">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_noon_ghunna" value="16778938">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_peh" value="16778878">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_percent" value="16778858">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_qaf" value="1506">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_question_mark" value="1471">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_ra" value="1489">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_rreh" value="16778897">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_sad" value="1493">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_seen" value="1491">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_semicolon" value="1467">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_shadda" value="1521">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_sheen" value="1492">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_sukun" value="1522">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_superscript_alef" value="16778864">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_switch" value="65406">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_tah" value="1495">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_tatweel" value="1504">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_tcheh" value="16778886">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_teh" value="1482">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_tehmarbuta" value="1481">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_thal" value="1488">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_theh" value="1483">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_tteh" value="16778873">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_veh" value="16778916">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_waw" value="1512">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_yeh" value="1514">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_yeh_baree" value="16778962">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_zah" value="1496">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Arabic_zain" value="1490">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Aring" value="197">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_AT" value="16778552">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_AYB" value="16778545">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_BEN" value="16778546">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_CHA" value="16778569">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_DA" value="16778548">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_DZA" value="16778561">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_E" value="16778551">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_FE" value="16778582">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_GHAT" value="16778562">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_GIM" value="16778547">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_HI" value="16778565">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_HO" value="16778560">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_INI" value="16778555">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_JE" value="16778571">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_KE" value="16778580">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_KEN" value="16778559">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_KHE" value="16778557">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_LYUN" value="16778556">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_MEN" value="16778564">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_NU" value="16778566">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_O" value="16778581">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_PE" value="16778570">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_PYUR" value="16778579">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_RA" value="16778572">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_RE" value="16778576">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_SE" value="16778573">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_SHA" value="16778567">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_TCHE" value="16778563">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_TO" value="16778553">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_TSA" value="16778558">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_TSO" value="16778577">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_TYUN" value="16778575">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_VEV" value="16778574">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_VO" value="16778568">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_VYUN" value="16778578">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_YECH" value="16778549">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_ZA" value="16778550">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_ZHE" value="16778554">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_accent" value="16778587">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_amanak" value="16778588">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_apostrophe" value="16778586">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_at" value="16778600">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_ayb" value="16778593">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_ben" value="16778594">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_but" value="16778589">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_cha" value="16778617">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_da" value="16778596">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_dza" value="16778609">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_e" value="16778599">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_exclam" value="16778588">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_fe" value="16778630">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_full_stop" value="16778633">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_ghat" value="16778610">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_gim" value="16778595">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_hi" value="16778613">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_ho" value="16778608">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_hyphen" value="16778634">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_ini" value="16778603">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_je" value="16778619">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_ke" value="16778628">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_ken" value="16778607">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_khe" value="16778605">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_ligature_ew" value="16778631">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_lyun" value="16778604">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_men" value="16778612">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_nu" value="16778614">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_o" value="16778629">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_paruyk" value="16778590">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_pe" value="16778618">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_pyur" value="16778627">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_question" value="16778590">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_ra" value="16778620">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_re" value="16778624">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_se" value="16778621">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_separation_mark" value="16778589">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_sha" value="16778615">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_shesht" value="16778587">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_tche" value="16778611">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_to" value="16778601">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_tsa" value="16778606">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_tso" value="16778625">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_tyun" value="16778623">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_verjaket" value="16778633">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_vev" value="16778622">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_vo" value="16778616">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_vyun" value="16778626">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_yech" value="16778597">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_yentamna" value="16778634">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_za" value="16778598">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Armenian_zhe" value="16778602">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Atilde" value="195">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="AudibleBell_Enable" value="65146">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="AudioCycleTrack" value="269025179">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="AudioForward" value="269025175">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="AudioLowerVolume" value="269025041">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="AudioMedia" value="269025074">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="AudioMute" value="269025042">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="AudioNext" value="269025047">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="AudioPause" value="269025073">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="AudioPlay" value="269025044">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="AudioPrev" value="269025046">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="AudioRaiseVolume" value="269025043">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="AudioRandomPlay" value="269025177">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="AudioRecord" value="269025052">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="AudioRepeat" value="269025176">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="AudioRewind" value="269025086">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="AudioStop" value="269025045">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Away" value="269025165">
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="B" value="66">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Babovedot" value="16784898">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Back" value="269025062">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="BackForward" value="269025087">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="BackSpace" value="65288">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <class name="Backend"
+ c:symbol-prefix="backend"
+ c:type="ClutterBackend"
+ parent="GObject.Object"
+ abstract="1"
+ glib:type-name="ClutterBackend"
+ glib:get-type="clutter_backend_get_type"
+ glib:type-struct="BackendClass">
+ <virtual-method name="add_options">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="group" transfer-ownership="none">
+ <type name="GLib.OptionGroup" c:type="GOptionGroup*"/>
+ </parameter>
+ </parameters>
+ </virtual-method>
+ <virtual-method name="copy_event_data">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="src" transfer-ownership="none">
+ <type name="Event" c:type="ClutterEvent*"/>
+ </parameter>
+ <parameter name="dest" transfer-ownership="none">
+ <type name="Event" c:type="ClutterEvent*"/>
+ </parameter>
+ </parameters>
+ </virtual-method>
+ <virtual-method name="create_context" throws="1">
+ <return-value transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ </virtual-method>
+ <virtual-method name="create_stage" introspectable="0" throws="1">
+ <return-value>
+ <type name="StageWindow" c:type="ClutterStageWindow*"/>
+ </return-value>
+ <parameters>
+ <parameter name="wrapper" transfer-ownership="none">
+ <type name="Stage" c:type="ClutterStage*"/>
+ </parameter>
+ </parameters>
+ </virtual-method>
+ <virtual-method name="ensure_context">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="stage" transfer-ownership="none">
+ <type name="Stage" c:type="ClutterStage*"/>
+ </parameter>
+ </parameters>
+ </virtual-method>
+ <virtual-method name="free_event_data">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="event" transfer-ownership="none">
+ <type name="Event" c:type="ClutterEvent*"/>
+ </parameter>
+ </parameters>
+ </virtual-method>
+ <virtual-method name="get_device_manager" introspectable="0">
+ <return-value>
+ <type name="DeviceManager" c:type="ClutterDeviceManager*"/>
+ </return-value>
+ </virtual-method>
+ <virtual-method name="get_features">
+ <return-value transfer-ownership="none">
+ <type name="FeatureFlags" c:type="ClutterFeatureFlags"/>
+ </return-value>
+ </virtual-method>
+ <virtual-method name="init_events">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </virtual-method>
+ <virtual-method name="init_features">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </virtual-method>
+ <virtual-method name="post_parse" throws="1">
+ <return-value transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ </virtual-method>
+ <virtual-method name="pre_parse" throws="1">
+ <return-value transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ </virtual-method>
+ <virtual-method name="redraw">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="stage" transfer-ownership="none">
+ <type name="Stage" c:type="ClutterStage*"/>
+ </parameter>
+ </parameters>
+ </virtual-method>
+ <method name="get_double_click_distance"
+ c:identifier="clutter_backend_get_double_click_distance"
+ version="0.4"
+ deprecated="Use #ClutterSettings:double-click-distance instead"
+ deprecated-version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the distance used to verify a double click event</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a distance, in pixels.</doc>
+ <type name="guint" c:type="guint"/>
+ </return-value>
+ </method>
+ <method name="get_double_click_time"
+ c:identifier="clutter_backend_get_double_click_time"
+ version="0.4"
+ deprecated="Use #ClutterSettings:double-click-time instead"
+ deprecated-version="1.4">
+ <doc xml:whitespace="preserve">Gets the maximum time between two button press events, as set
+by clutter_backend_set_double_click_time().</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a time in milliseconds</doc>
+ <type name="guint" c:type="guint"/>
+ </return-value>
+ </method>
+ <method name="get_font_name"
+ c:identifier="clutter_backend_get_font_name"
+ version="1.0"
+ deprecated="Use #ClutterSettings:font-name instead"
+ deprecated-version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the default font name as set by
+clutter_backend_set_font_name().
+owned by the #ClutterBackend and should never be modified or freed</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the font name for the backend. The returned string is</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </return-value>
+ </method>
+ <method name="get_font_options"
+ c:identifier="clutter_backend_get_font_options"
+ version="0.8">
+ <doc xml:whitespace="preserve">Retrieves the font options for @backend.
+The returned #cairo_font_options_t is owned by the backend and should
+not be modified or freed</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the font options of the #ClutterBackend.</doc>
+ <type name="cairo.FontOptions" c:type="cairo_font_options_t*"/>
+ </return-value>
+ </method>
+ <method name="get_resolution"
+ c:identifier="clutter_backend_get_resolution"
+ version="0.4">
+ <doc xml:whitespace="preserve">Gets the resolution for font handling on the screen.
+The resolution is a scale factor between points specified in a
+#PangoFontDescription and cairo units. The default value is 96.0,
+meaning that a 10 point font will be 13 units
+high (10 * 96. / 72. = 13.3).
+Clutter will set the resolution using the current backend when
+initializing; the resolution is also stored in the
+#ClutterSettings:font-dpi property.
+has been set.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the current resolution, or -1 if no resolution</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </return-value>
+ </method>
+ <method name="set_double_click_distance"
+ c:identifier="clutter_backend_set_double_click_distance"
+ version="0.4"
+ deprecated="Use #ClutterSettings:double-click-distance instead"
+ deprecated-version="1.4">
+ <doc xml:whitespace="preserve">Sets the maximum distance used to verify a double click event.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="distance" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a distance, in pixels</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_double_click_time"
+ c:identifier="clutter_backend_set_double_click_time"
+ version="0.4"
+ deprecated="Use #ClutterSettings:double-click-time instead"
+ deprecated-version="1.4">
+ <doc xml:whitespace="preserve">Sets the maximum time between two button press events, used to
+verify whether it's a double click event or not.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="msec" transfer-ownership="none">
+ <doc xml:whitespace="preserve">milliseconds between two button press events</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_font_name"
+ c:identifier="clutter_backend_set_font_name"
+ version="1.0"
+ deprecated="Use #ClutterSettings:font-name instead"
+ deprecated-version="1.4">
+ <doc xml:whitespace="preserve">Sets the default font to be used by Clutter. The @font_name string
+must either be %NULL, which means that the font name from the
+default #ClutterBackend will be used; or be something that can
+be parsed by the pango_font_description_from_string() function.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="font_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the font</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_font_options"
+ c:identifier="clutter_backend_set_font_options"
+ version="0.8">
+ <doc xml:whitespace="preserve">Sets the new font options for @backend. The #ClutterBackend will
+copy the #cairo_font_options_t.
+If @options is %NULL, the first following call to
+clutter_backend_get_font_options() will return the default font
+options for @backend.
+This function is intended for actors creating a Pango layout
+using the PangoCairo API.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="options" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Cairo font options for the backend, or %NULL</doc>
+ <type name="cairo.FontOptions" c:type="cairo_font_options_t*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_resolution"
+ c:identifier="clutter_backend_set_resolution"
+ version="0.4"
+ deprecated="Use #ClutterSettings:font-dpi instead">
+ <doc xml:whitespace="preserve">Sets the resolution for font handling on the screen. This is a
+scale factor between points specified in a #PangoFontDescription
+and cairo units. The default value is 96, meaning that a 10 point
+font will be 13 units high. (10 * 96. / 72. = 13.3).
+Applications should never need to call this function.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="dpi" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the resolution in "dots per inch" (Physical inches aren't actually involved; the terminology is conventional).</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ </parameters>
+ </method>
+ <field name="parent_instance">
+ <type name="GObject.Object" c:type="GObject"/>
+ </field>
+ <field name="priv">
+ <type name="BackendPrivate" c:type="ClutterBackendPrivate*"/>
+ </field>
+ <glib:signal name="font-changed">
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ </glib:signal>
+ <glib:signal name="resolution-changed">
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ </glib:signal>
+ <glib:signal name="settings-changed">
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ </glib:signal>
+ </class>
+ <record name="BackendClass"
+ c:type="ClutterBackendClass"
+ glib:is-gtype-struct-for="Backend">
+ <field name="parent_class">
+ <type name="GObject.ObjectClass" c:type="GObjectClass"/>
+ </field>
+ <field name="pre_parse">
+ <callback name="pre_parse" throws="1">
+ <return-value transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="backend" transfer-ownership="none">
+ <type name="Backend" c:type="ClutterBackend*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="post_parse">
+ <callback name="post_parse" throws="1">
+ <return-value transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="backend" transfer-ownership="none">
+ <type name="Backend" c:type="ClutterBackend*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="create_stage" introspectable="0">
+ <callback name="create_stage" introspectable="0" throws="1">
+ <return-value>
+ <type name="StageWindow" c:type="ClutterStageWindow*"/>
+ </return-value>
+ <parameters>
+ <parameter name="backend" transfer-ownership="none">
+ <type name="Backend" c:type="ClutterBackend*"/>
+ </parameter>
+ <parameter name="wrapper" transfer-ownership="none">
+ <type name="Stage" c:type="ClutterStage*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="init_events">
+ <callback name="init_events">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="backend" transfer-ownership="none">
+ <type name="Backend" c:type="ClutterBackend*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="init_features">
+ <callback name="init_features">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="backend" transfer-ownership="none">
+ <type name="Backend" c:type="ClutterBackend*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="add_options">
+ <callback name="add_options">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="backend" transfer-ownership="none">
+ <type name="Backend" c:type="ClutterBackend*"/>
+ </parameter>
+ <parameter name="group" transfer-ownership="none">
+ <type name="GLib.OptionGroup" c:type="GOptionGroup*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="get_features">
+ <callback name="get_features">
+ <return-value transfer-ownership="none">
+ <type name="FeatureFlags" c:type="ClutterFeatureFlags"/>
+ </return-value>
+ <parameters>
+ <parameter name="backend" transfer-ownership="none">
+ <type name="Backend" c:type="ClutterBackend*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="redraw">
+ <callback name="redraw">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="backend" transfer-ownership="none">
+ <type name="Backend" c:type="ClutterBackend*"/>
+ </parameter>
+ <parameter name="stage" transfer-ownership="none">
+ <type name="Stage" c:type="ClutterStage*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="create_context">
+ <callback name="create_context" throws="1">
+ <return-value transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="backend" transfer-ownership="none">
+ <type name="Backend" c:type="ClutterBackend*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="ensure_context">
+ <callback name="ensure_context">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="backend" transfer-ownership="none">
+ <type name="Backend" c:type="ClutterBackend*"/>
+ </parameter>
+ <parameter name="stage" transfer-ownership="none">
+ <type name="Stage" c:type="ClutterStage*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="get_device_manager" introspectable="0">
+ <callback name="get_device_manager" introspectable="0">
+ <return-value>
+ <type name="DeviceManager" c:type="ClutterDeviceManager*"/>
+ </return-value>
+ <parameters>
+ <parameter name="backend" transfer-ownership="none">
+ <type name="Backend" c:type="ClutterBackend*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="copy_event_data">
+ <callback name="copy_event_data">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="backend" transfer-ownership="none">
+ <type name="Backend" c:type="ClutterBackend*"/>
+ </parameter>
+ <parameter name="src" transfer-ownership="none">
+ <type name="Event" c:type="ClutterEvent*"/>
+ </parameter>
+ <parameter name="dest" transfer-ownership="none">
+ <type name="Event" c:type="ClutterEvent*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="free_event_data">
+ <callback name="free_event_data">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="backend" transfer-ownership="none">
+ <type name="Backend" c:type="ClutterBackend*"/>
+ </parameter>
+ <parameter name="event" transfer-ownership="none">
+ <type name="Event" c:type="ClutterEvent*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="resolution_changed">
+ <callback name="resolution_changed">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="backend" transfer-ownership="none">
+ <type name="Backend" c:type="ClutterBackend*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="font_changed">
+ <callback name="font_changed">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="backend" transfer-ownership="none">
+ <type name="Backend" c:type="ClutterBackend*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="settings_changed">
+ <callback name="settings_changed">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="backend" transfer-ownership="none">
+ <type name="Backend" c:type="ClutterBackend*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ </record>
+ <record name="BackendPrivate" c:type="ClutterBackendPrivate" disguised="1">
+ </record>
+ <constant name="Battery" value="269025171">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="BackSpace" value="65288">
- <type name="int"/>
+ <constant name="Begin" value="65368">
+ <type name="gint" c:type="gint"/>
</constant>
- <class name="Backend"
- c:type="ClutterBackend"
+ <class name="Behaviour"
+ c:symbol-prefix="behaviour"
+ c:type="ClutterBehaviour"
+ version="0.2"
parent="GObject.Object"
abstract="1"
- glib:type-name="ClutterBackend"
- glib:get-type="clutter_backend_get_type"
- glib:type-struct="BackendClass">
- <virtual-method name="pre_parse" throws="1">
+ glib:type-name="ClutterBehaviour"
+ glib:get-type="clutter_behaviour_get_type"
+ glib:type-struct="BehaviourClass">
+ <doc xml:whitespace="preserve">#ClutterBehaviour-struct contains only private data and should
+be accessed with the functions below.</doc>
+ <implements name="Scriptable"/>
+ <virtual-method name="alpha_notify">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="alpha_value" transfer-ownership="none">
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ </parameters>
+ </virtual-method>
+ <method name="actors_foreach"
+ c:identifier="clutter_behaviour_actors_foreach"
+ version="0.2">
+ <doc xml:whitespace="preserve">Calls @func for every actor driven by @behave.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="func"
+ transfer-ownership="none"
+ scope="call"
+ closure="1">
+ <doc xml:whitespace="preserve">a function called for each actor</doc>
+ <type name="BehaviourForeachFunc"
+ c:type="ClutterBehaviourForeachFunc"/>
+ </parameter>
+ <parameter name="data" transfer-ownership="none">
+ <doc xml:whitespace="preserve">optional data to be passed to the function, or %NULL</doc>
+ <type name="gpointer" c:type="gpointer"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="apply"
+ c:identifier="clutter_behaviour_apply"
+ version="0.2">
+ <doc xml:whitespace="preserve">Applies @behave to @actor. This function adds a reference on
+the actor.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="get_actors"
+ c:identifier="clutter_behaviour_get_actors"
+ version="0.2">
+ <doc xml:whitespace="preserve">Retrieves all the actors to which @behave applies. It is not recommended
+for derived classes to use this in there alpha notify method but use
+#clutter_behaviour_actors_foreach as it avoids alot of needless allocations.
+actors. You should free the returned list with g_slist_free() when
+finished using it.</doc>
+ <return-value transfer-ownership="container">
+ <doc xml:whitespace="preserve">a list of</doc>
+ <type name="GLib.SList" c:type="GSList*">
+ <type name="Actor"/>
+ </type>
+ </return-value>
+ </method>
+ <method name="get_alpha"
+ c:identifier="clutter_behaviour_get_alpha"
+ version="0.2">
+ <doc xml:whitespace="preserve">Retrieves the #ClutterAlpha object bound to @behave.
+object has been bound to this behaviour.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterAlpha object, or %NULL if no alpha</doc>
+ <type name="Alpha" c:type="ClutterAlpha*"/>
+ </return-value>
+ </method>
+ <method name="get_n_actors"
+ c:identifier="clutter_behaviour_get_n_actors"
+ version="0.2">
+ <doc xml:whitespace="preserve">Gets the number of actors this behaviour is applied too.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">The number of applied actors</doc>
+ <type name="gint" c:type="gint"/>
+ </return-value>
+ </method>
+ <method name="get_nth_actor"
+ c:identifier="clutter_behaviour_get_nth_actor"
+ version="0.2">
+ <doc xml:whitespace="preserve">Gets an actor the behaviour was applied to referenced by index num.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">A Clutter actor or NULL if @index_ is invalid.</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </return-value>
+ <parameters>
+ <parameter name="index_" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the index of an actor this behaviour is applied too.</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="is_applied"
+ c:identifier="clutter_behaviour_is_applied"
+ version="0.4">
+ <doc xml:whitespace="preserve">Check if @behave applied to @actor.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">TRUE if actor has behaviour. FALSE otherwise.</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="remove"
+ c:identifier="clutter_behaviour_remove"
+ version="0.2">
+ <doc xml:whitespace="preserve">Removes @actor from the list of #ClutterActor<!-- -->s to which</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="remove_all"
+ c:identifier="clutter_behaviour_remove_all"
+ version="0.4">
+ <doc xml:whitespace="preserve">Removes every actor from the list that @behave holds.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </method>
+ <method name="set_alpha"
+ c:identifier="clutter_behaviour_set_alpha"
+ version="0.2">
+ <doc xml:whitespace="preserve">Binds @alpha to a #ClutterBehaviour. The #ClutterAlpha object
+used by #ClutterAlpha a new value of the alpha parameter is
+computed by the alpha function; the value should be used by
+the #ClutterBehaviour to update one or more properties of the
+actors to which the behaviour applies.
+If @alpha is not %NULL, the #ClutterBehaviour will take ownership
+of the #ClutterAlpha instance.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="alpha" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterAlpha or %NULL to unset a previously set alpha</doc>
+ <type name="Alpha" c:type="ClutterAlpha*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <property name="alpha"
+ version="0.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The #ClutterAlpha object used to drive this behaviour. A #ClutterAlpha
+object binds a #ClutterTimeline and a function which computes a value
+(the "alpha") depending on the time. Each time the alpha value changes
+the alpha-notify virtual function is called.</doc>
+ <type name="Alpha"/>
+ </property>
+ <field name="parent">
+ <type name="GObject.Object" c:type="GObject"/>
+ </field>
+ <field name="priv">
+ <type name="BehaviourPrivate" c:type="ClutterBehaviourPrivate*"/>
+ </field>
+ <glib:signal name="applied" version="0.4">
+ <doc xml:whitespace="preserve">The ::apply signal is emitted each time the behaviour is applied
+to an actor.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the actor the behaviour was applied to.</doc>
+ <type name="Actor"/>
+ </parameter>
+ </parameters>
+ </glib:signal>
+ <glib:signal name="removed" version="0.4">
+ <doc xml:whitespace="preserve">The ::removed signal is emitted each time a behaviour is not applied
+to an actor anymore.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the removed actor</doc>
+ <type name="Actor"/>
+ </parameter>
+ </parameters>
+ </glib:signal>
+ </class>
+ <record name="BehaviourClass"
+ c:type="ClutterBehaviourClass"
+ glib:is-gtype-struct-for="Behaviour">
+ <field name="parent_class">
+ <type name="GObject.ObjectClass" c:type="GObjectClass"/>
+ </field>
+ <field name="alpha_notify">
+ <callback name="alpha_notify">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="behave" transfer-ownership="none">
+ <type name="Behaviour" c:type="ClutterBehaviour*"/>
+ </parameter>
+ <parameter name="alpha_value" transfer-ownership="none">
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="applied">
+ <callback name="applied">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="behave" transfer-ownership="none">
+ <type name="Behaviour" c:type="ClutterBehaviour*"/>
+ </parameter>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="removed">
+ <callback name="removed">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="behave" transfer-ownership="none">
+ <type name="Behaviour" c:type="ClutterBehaviour*"/>
+ </parameter>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="_clutter_behaviour1" introspectable="0">
+ <callback name="_clutter_behaviour1">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_behaviour2" introspectable="0">
+ <callback name="_clutter_behaviour2">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_behaviour3" introspectable="0">
+ <callback name="_clutter_behaviour3">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_behaviour4" introspectable="0">
+ <callback name="_clutter_behaviour4">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_behaviour5" introspectable="0">
+ <callback name="_clutter_behaviour5">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_behaviour6" introspectable="0">
+ <callback name="_clutter_behaviour6">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ </record>
+ <class name="BehaviourDepth"
+ c:symbol-prefix="behaviour_depth"
+ c:type="ClutterBehaviourDepth"
+ version="0.2"
+ parent="Behaviour"
+ glib:type-name="ClutterBehaviourDepth"
+ glib:get-type="clutter_behaviour_depth_get_type"
+ glib:type-struct="BehaviourDepthClass">
+ <doc xml:whitespace="preserve">The #ClutterBehaviourDepth structure contains only private data
+and should be accessed using the provided API</doc>
+ <implements name="Scriptable"/>
+ <constructor name="new"
+ c:identifier="clutter_behaviour_depth_new"
+ version="0.4">
+ <doc xml:whitespace="preserve">Creates a new #ClutterBehaviourDepth which can be used to control
+the ClutterActor:depth property of a set of #ClutterActor<!-- -->s.
+If @alpha is not %NULL, the #ClutterBehaviour will take ownership
+of the #ClutterAlpha instance. In the case when @alpha is %NULL,
+it can be set later with clutter_behaviour_set_alpha().</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">the newly created behaviour</doc>
+ <type name="Behaviour" c:type="ClutterBehaviour*"/>
+ </return-value>
+ <parameters>
+ <parameter name="alpha" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">a #ClutterAlpha instance, or %NULL</doc>
+ <type name="Alpha" c:type="ClutterAlpha*"/>
+ </parameter>
+ <parameter name="depth_start" transfer-ownership="none">
+ <doc xml:whitespace="preserve">initial value of the depth</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="depth_end" transfer-ownership="none">
+ <doc xml:whitespace="preserve">final value of the depth</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ </parameters>
+ </constructor>
+ <method name="get_bounds"
+ c:identifier="clutter_behaviour_depth_get_bounds"
+ version="0.6">
+ <doc xml:whitespace="preserve">Gets the boundaries of the @behaviour</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="depth_start"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the initial depth value, or %NULL</doc>
+ <type name="gint" c:type="gint*"/>
+ </parameter>
+ <parameter name="depth_end"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the final depth value, or %NULL</doc>
+ <type name="gint" c:type="gint*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_bounds"
+ c:identifier="clutter_behaviour_depth_set_bounds"
+ version="0.6">
+ <doc xml:whitespace="preserve">Sets the boundaries of the @behaviour.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="depth_start" transfer-ownership="none">
+ <doc xml:whitespace="preserve">initial value of the depth</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="depth_end" transfer-ownership="none">
+ <doc xml:whitespace="preserve">final value of the depth</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ </parameters>
+ </method>
+ <property name="depth-end"
+ version="0.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">End depth level to apply to the actors.</doc>
+ <type name="gint"/>
+ </property>
+ <property name="depth-start"
+ version="0.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Start depth level to apply to the actors.</doc>
+ <type name="gint"/>
+ </property>
+ <field name="parent_instance">
+ <type name="Behaviour" c:type="ClutterBehaviour"/>
+ </field>
+ <field name="priv">
+ <type name="BehaviourDepthPrivate"
+ c:type="ClutterBehaviourDepthPrivate*"/>
+ </field>
+ </class>
+ <record name="BehaviourDepthClass"
+ c:type="ClutterBehaviourDepthClass"
+ glib:is-gtype-struct-for="BehaviourDepth"
+ version="0.2">
+ <doc xml:whitespace="preserve">The #ClutterBehaviourDepthClass structure contains only private data</doc>
+ <field name="parent_class">
+ <type name="BehaviourClass" c:type="ClutterBehaviourClass"/>
+ </field>
+ </record>
+ <record name="BehaviourDepthPrivate"
+ c:type="ClutterBehaviourDepthPrivate"
+ disguised="1">
+ </record>
+ <class name="BehaviourEllipse"
+ c:symbol-prefix="behaviour_ellipse"
+ c:type="ClutterBehaviourEllipse"
+ version="0.4"
+ parent="Behaviour"
+ glib:type-name="ClutterBehaviourEllipse"
+ glib:get-type="clutter_behaviour_ellipse_get_type"
+ glib:type-struct="BehaviourEllipseClass">
+ <doc xml:whitespace="preserve">The #ClutterBehaviourEllipse struct contains only private data
+and should be accessed using the provided API</doc>
+ <implements name="Scriptable"/>
+ <constructor name="new"
+ c:identifier="clutter_behaviour_ellipse_new"
+ version="0.4">
+ <doc xml:whitespace="preserve">Creates a behaviour that drives actors along an elliptical path with
+given center, width and height; the movement starts at @start
+degrees (with 0 corresponding to 12 o'clock) and ends at @end
+degrees. Angles greated than 360 degrees get clamped to the canonical
+interval <0, 360); if @start is equal to @end, the behaviour will
+rotate by exacly 360 degrees.
+If @alpha is not %NULL, the #ClutterBehaviour will take ownership
+of the #ClutterAlpha instance. In the case when @alpha is %NULL,
+it can be set later with clutter_behaviour_set_alpha().</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">the newly created #ClutterBehaviourEllipse</doc>
+ <type name="Behaviour" c:type="ClutterBehaviour*"/>
+ </return-value>
+ <parameters>
+ <parameter name="alpha" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">a #ClutterAlpha instance, or %NULL</doc>
+ <type name="Alpha" c:type="ClutterAlpha*"/>
+ </parameter>
+ <parameter name="x" transfer-ownership="none">
+ <doc xml:whitespace="preserve">x coordinace of the center</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="y" transfer-ownership="none">
+ <doc xml:whitespace="preserve">y coordiance of the center</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="width" transfer-ownership="none">
+ <doc xml:whitespace="preserve">width of the ellipse</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="height" transfer-ownership="none">
+ <doc xml:whitespace="preserve">height of the ellipse</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="direction" transfer-ownership="none">
+ <doc xml:whitespace="preserve">#ClutterRotateDirection of rotation</doc>
+ <type name="RotateDirection" c:type="ClutterRotateDirection"/>
+ </parameter>
+ <parameter name="start" transfer-ownership="none">
+ <doc xml:whitespace="preserve">angle in degrees at which movement starts, between 0 and 360</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="end" transfer-ownership="none">
+ <doc xml:whitespace="preserve">angle in degrees at which movement ends, between 0 and 360</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ </parameters>
+ </constructor>
+ <method name="get_angle_end"
+ c:identifier="clutter_behaviour_ellipse_get_angle_end"
+ version="0.4">
+ <doc xml:whitespace="preserve">Gets the at which movements ends.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">angle in degrees</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </return-value>
+ </method>
+ <method name="get_angle_start"
+ c:identifier="clutter_behaviour_ellipse_get_angle_start"
+ version="0.6">
+ <doc xml:whitespace="preserve">Gets the angle at which movements starts.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">angle in degrees</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </return-value>
+ </method>
+ <method name="get_angle_tilt"
+ c:identifier="clutter_behaviour_ellipse_get_angle_tilt"
+ version="0.4">
+ <doc xml:whitespace="preserve">Gets the tilt of the ellipse around the center in the given axis.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">angle in degrees.</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </return-value>
+ <parameters>
+ <parameter name="axis" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterRotateAxis</doc>
+ <type name="RotateAxis" c:type="ClutterRotateAxis"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="get_center"
+ c:identifier="clutter_behaviour_ellipse_get_center"
+ version="0.4">
+ <doc xml:whitespace="preserve">Gets the center of the elliptical path path.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="x"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the X coordinate of the center, or %NULL</doc>
+ <type name="gint" c:type="gint*"/>
+ </parameter>
+ <parameter name="y"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the Y coordinate of the center, or %NULL</doc>
+ <type name="gint" c:type="gint*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="get_direction"
+ c:identifier="clutter_behaviour_ellipse_get_direction"
+ version="0.4">
+ <doc xml:whitespace="preserve">Retrieves the #ClutterRotateDirection used by the ellipse behaviour.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the rotation direction</doc>
+ <type name="RotateDirection" c:type="ClutterRotateDirection"/>
+ </return-value>
+ </method>
+ <method name="get_height"
+ c:identifier="clutter_behaviour_ellipse_get_height"
+ version="0.4">
+ <doc xml:whitespace="preserve">Gets the height of the elliptical path.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the height of the path</doc>
+ <type name="gint" c:type="gint"/>
+ </return-value>
+ </method>
+ <method name="get_tilt"
+ c:identifier="clutter_behaviour_ellipse_get_tilt"
+ version="0.4">
+ <doc xml:whitespace="preserve">Gets the tilt of the ellipse around the center in Y axis.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="angle_tilt_x"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for tilt angle on the X axis, or %NULL.</doc>
+ <type name="gdouble" c:type="gdouble*"/>
+ </parameter>
+ <parameter name="angle_tilt_y"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for tilt angle on the Y axis, or %NULL.</doc>
+ <type name="gdouble" c:type="gdouble*"/>
+ </parameter>
+ <parameter name="angle_tilt_z"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for tilt angle on the Z axis, or %NULL.</doc>
+ <type name="gdouble" c:type="gdouble*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="get_width"
+ c:identifier="clutter_behaviour_ellipse_get_width"
+ version="0.4">
+ <doc xml:whitespace="preserve">Gets the width of the elliptical path.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the width of the path</doc>
+ <type name="gint" c:type="gint"/>
+ </return-value>
+ </method>
+ <method name="set_angle_end"
+ c:identifier="clutter_behaviour_ellipse_set_angle_end"
+ version="0.4">
+ <doc xml:whitespace="preserve">Sets the angle at which movement ends; angles >= 360 degress get clamped
+to the canonical interval <0, 360).</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="angle_end" transfer-ownership="none">
+ <doc xml:whitespace="preserve">angle at which movement ends in degrees, between 0 and 360.</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_angle_start"
+ c:identifier="clutter_behaviour_ellipse_set_angle_start"
+ version="0.6">
+ <doc xml:whitespace="preserve">Sets the angle at which movement starts; angles >= 360 degress get clamped
+to the canonical interval <0, 360).</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="angle_start" transfer-ownership="none">
+ <doc xml:whitespace="preserve">angle at which movement starts in degrees, between 0 and 360.</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_angle_tilt"
+ c:identifier="clutter_behaviour_ellipse_set_angle_tilt"
+ version="0.4">
+ <doc xml:whitespace="preserve">Sets the angle at which the ellipse should be tilted around it's center.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="axis" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterRotateAxis</doc>
+ <type name="RotateAxis" c:type="ClutterRotateAxis"/>
+ </parameter>
+ <parameter name="angle_tilt" transfer-ownership="none">
+ <doc xml:whitespace="preserve">tilt of the elipse around the center in the given axis in degrees.</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_center"
+ c:identifier="clutter_behaviour_ellipse_set_center"
+ version="0.4">
+ <doc xml:whitespace="preserve">Sets the center of the elliptical path to the point represented by knot.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="x" transfer-ownership="none">
+ <doc xml:whitespace="preserve">x coordinace of centre</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="y" transfer-ownership="none">
+ <doc xml:whitespace="preserve">y coordinace of centre</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_direction"
+ c:identifier="clutter_behaviour_ellipse_set_direction"
+ version="0.4">
+ <doc xml:whitespace="preserve">Sets the rotation direction used by the ellipse behaviour.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="direction" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the rotation direction</doc>
+ <type name="RotateDirection" c:type="ClutterRotateDirection"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_height"
+ c:identifier="clutter_behaviour_ellipse_set_height"
+ version="0.4">
+ <doc xml:whitespace="preserve">Sets the height of the elliptical path.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="height" transfer-ownership="none">
+ <doc xml:whitespace="preserve">height of the ellipse</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_tilt"
+ c:identifier="clutter_behaviour_ellipse_set_tilt"
+ version="0.4">
+ <doc xml:whitespace="preserve">Sets the angles at which the ellipse should be tilted around it's center.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="angle_tilt_x" transfer-ownership="none">
+ <doc xml:whitespace="preserve">tilt of the elipse around the center in X axis in degrees.</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="angle_tilt_y" transfer-ownership="none">
+ <doc xml:whitespace="preserve">tilt of the elipse around the center in Y axis in degrees.</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="angle_tilt_z" transfer-ownership="none">
+ <doc xml:whitespace="preserve">tilt of the elipse around the center in Z axis in degrees.</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_width"
+ c:identifier="clutter_behaviour_ellipse_set_width"
+ version="0.4">
+ <doc xml:whitespace="preserve">Sets the width of the elliptical path.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="width" transfer-ownership="none">
+ <doc xml:whitespace="preserve">width of the ellipse</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ </parameters>
+ </method>
+ <property name="angle-end"
+ version="0.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The final angle to where the rotation should end.</doc>
+ <type name="gdouble"/>
+ </property>
+ <property name="angle-start"
+ version="0.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The initial angle from where the rotation should start.</doc>
+ <type name="gdouble"/>
+ </property>
+ <property name="angle-tilt-x"
+ version="0.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The tilt angle for the rotation around center in X axis</doc>
+ <type name="gdouble"/>
+ </property>
+ <property name="angle-tilt-y"
+ version="0.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The tilt angle for the rotation around center in Y axis</doc>
+ <type name="gdouble"/>
+ </property>
+ <property name="angle-tilt-z"
+ version="0.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The tilt angle for the rotation on the Z axis</doc>
+ <type name="gdouble"/>
+ </property>
+ <property name="center"
+ version="0.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The center of the ellipse.</doc>
+ <type name="Knot"/>
+ </property>
+ <property name="direction"
+ version="0.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The direction of the rotation.</doc>
+ <type name="RotateDirection"/>
+ </property>
+ <property name="height"
+ version="0.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Height of the ellipse, in pixels</doc>
+ <type name="gint"/>
+ </property>
+ <property name="width"
+ version="0.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Width of the ellipse, in pixels</doc>
+ <type name="gint"/>
+ </property>
+ <field name="parent_instance">
+ <type name="Behaviour" c:type="ClutterBehaviour"/>
+ </field>
+ <field name="priv">
+ <type name="BehaviourEllipsePrivate"
+ c:type="ClutterBehaviourEllipsePrivate*"/>
+ </field>
+ </class>
+ <record name="BehaviourEllipseClass"
+ c:type="ClutterBehaviourEllipseClass"
+ glib:is-gtype-struct-for="BehaviourEllipse"
+ version="0.4">
+ <doc xml:whitespace="preserve">The #ClutterBehaviourEllipseClass struct contains only private data</doc>
+ <field name="parent_class">
+ <type name="BehaviourClass" c:type="ClutterBehaviourClass"/>
+ </field>
+ </record>
+ <record name="BehaviourEllipsePrivate"
+ c:type="ClutterBehaviourEllipsePrivate"
+ disguised="1">
+ </record>
+ <callback name="BehaviourForeachFunc"
+ c:type="ClutterBehaviourForeachFunc"
+ version="0.2">
+ <doc xml:whitespace="preserve">This function is passed to clutter_behaviour_foreach_actor() and
+will be called for each actor driven by @behaviour.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="behaviour" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterBehaviour</doc>
+ <type name="Behaviour" c:type="ClutterBehaviour*"/>
+ </parameter>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">an actor driven by @behaviour</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="data" transfer-ownership="none">
+ <doc xml:whitespace="preserve">optional data passed to the function</doc>
+ <type name="gpointer" c:type="gpointer"/>
+ </parameter>
+ </parameters>
+ </callback>
+ <class name="BehaviourOpacity"
+ c:symbol-prefix="behaviour_opacity"
+ c:type="ClutterBehaviourOpacity"
+ version="0.2"
+ parent="Behaviour"
+ glib:type-name="ClutterBehaviourOpacity"
+ glib:get-type="clutter_behaviour_opacity_get_type"
+ glib:type-struct="BehaviourOpacityClass">
+ <doc xml:whitespace="preserve">The #ClutterBehaviourOpacity structure contains only private data and
+should be accessed using the provided API</doc>
+ <implements name="Scriptable"/>
+ <constructor name="new"
+ c:identifier="clutter_behaviour_opacity_new"
+ version="0.2">
+ <doc xml:whitespace="preserve">Creates a new #ClutterBehaviourOpacity object, driven by @alpha
+which controls the opacity property of every actor, making it
+change in the interval between @opacity_start and @opacity_end.
+If @alpha is not %NULL, the #ClutterBehaviour will take ownership
+of the #ClutterAlpha instance. In the case when @alpha is %NULL,
+it can be set later with clutter_behaviour_set_alpha().</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">the newly created #ClutterBehaviourOpacity</doc>
+ <type name="Behaviour" c:type="ClutterBehaviour*"/>
+ </return-value>
+ <parameters>
+ <parameter name="alpha" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">a #ClutterAlpha instance, or %NULL</doc>
+ <type name="Alpha" c:type="ClutterAlpha*"/>
+ </parameter>
+ <parameter name="opacity_start" transfer-ownership="none">
+ <doc xml:whitespace="preserve">minimum level of opacity</doc>
+ <type name="guint8" c:type="guint8"/>
+ </parameter>
+ <parameter name="opacity_end" transfer-ownership="none">
+ <doc xml:whitespace="preserve">maximum level of opacity</doc>
+ <type name="guint8" c:type="guint8"/>
+ </parameter>
+ </parameters>
+ </constructor>
+ <method name="get_bounds"
+ c:identifier="clutter_behaviour_opacity_get_bounds"
+ version="0.6">
+ <doc xml:whitespace="preserve">Gets the initial and final levels of the opacity applied by @behaviour
+on each actor it controls.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="opacity_start"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the minimum level of opacity, or %NULL</doc>
+ <type name="guint8" c:type="guint8*"/>
+ </parameter>
+ <parameter name="opacity_end"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the maximum level of opacity, or %NULL</doc>
+ <type name="guint8" c:type="guint8*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_bounds"
+ c:identifier="clutter_behaviour_opacity_set_bounds"
+ version="0.6">
+ <doc xml:whitespace="preserve">Sets the initial and final levels of the opacity applied by @behaviour
+on each actor it controls.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="opacity_start" transfer-ownership="none">
+ <doc xml:whitespace="preserve">minimum level of opacity</doc>
+ <type name="guint8" c:type="guint8"/>
+ </parameter>
+ <parameter name="opacity_end" transfer-ownership="none">
+ <doc xml:whitespace="preserve">maximum level of opacity</doc>
+ <type name="guint8" c:type="guint8"/>
+ </parameter>
+ </parameters>
+ </method>
+ <property name="opacity-end"
+ version="0.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Final opacity level of the behaviour.</doc>
+ <type name="guint"/>
+ </property>
+ <property name="opacity-start"
+ version="0.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Initial opacity level of the behaviour.</doc>
+ <type name="guint"/>
+ </property>
+ <field name="parent">
+ <type name="Behaviour" c:type="ClutterBehaviour"/>
+ </field>
+ <field name="priv">
+ <type name="BehaviourOpacityPrivate"
+ c:type="ClutterBehaviourOpacityPrivate*"/>
+ </field>
+ </class>
+ <record name="BehaviourOpacityClass"
+ c:type="ClutterBehaviourOpacityClass"
+ glib:is-gtype-struct-for="BehaviourOpacity"
+ version="0.2">
+ <doc xml:whitespace="preserve">The #ClutterBehaviourOpacityClass structure contains only private data</doc>
+ <field name="parent_class">
+ <type name="BehaviourClass" c:type="ClutterBehaviourClass"/>
+ </field>
+ </record>
+ <record name="BehaviourOpacityPrivate"
+ c:type="ClutterBehaviourOpacityPrivate"
+ disguised="1">
+ </record>
+ <class name="BehaviourPath"
+ c:symbol-prefix="behaviour_path"
+ c:type="ClutterBehaviourPath"
+ version="0.2"
+ parent="Behaviour"
+ glib:type-name="ClutterBehaviourPath"
+ glib:get-type="clutter_behaviour_path_get_type"
+ glib:type-struct="BehaviourPathClass">
+ <doc xml:whitespace="preserve">The #ClutterBehaviourPath structure contains only private data
+and should be accessed using the provided API</doc>
+ <implements name="Scriptable"/>
+ <constructor name="new"
+ c:identifier="clutter_behaviour_path_new"
+ version="0.2">
+ <doc xml:whitespace="preserve">Creates a new path behaviour. You can use this behaviour to drive
+actors along the nodes of a path, described by @path.
+This will claim the floating reference on the #ClutterPath so you
+do not need to unref if it.
+If @alpha is not %NULL, the #ClutterBehaviour will take ownership
+of the #ClutterAlpha instance. In the case when @alpha is %NULL,
+it can be set later with clutter_behaviour_set_alpha().</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">a #ClutterBehaviour</doc>
+ <type name="Behaviour" c:type="ClutterBehaviour*"/>
+ </return-value>
+ <parameters>
+ <parameter name="alpha" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">a #ClutterAlpha instance, or %NULL</doc>
+ <type name="Alpha" c:type="ClutterAlpha*"/>
+ </parameter>
+ <parameter name="path" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterPath or %NULL for an empty path</doc>
+ <type name="Path" c:type="ClutterPath*"/>
+ </parameter>
+ </parameters>
+ </constructor>
+ <constructor name="new_with_description"
+ c:identifier="clutter_behaviour_path_new_with_description"
+ version="1.0">
+ <doc xml:whitespace="preserve">Creates a new path behaviour using the path described by @desc. See
+clutter_path_add_string() for a description of the format.
+If @alpha is not %NULL, the #ClutterBehaviour will take ownership
+of the #ClutterAlpha instance. In the case when @alpha is %NULL,
+it can be set later with clutter_behaviour_set_alpha().</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">a #ClutterBehaviour</doc>
+ <type name="Behaviour" c:type="ClutterBehaviour*"/>
+ </return-value>
+ <parameters>
+ <parameter name="alpha" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">a #ClutterAlpha instance, or %NULL</doc>
+ <type name="Alpha" c:type="ClutterAlpha*"/>
+ </parameter>
+ <parameter name="desc" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a string description of the path</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ </parameters>
+ </constructor>
+ <constructor name="new_with_knots"
+ c:identifier="clutter_behaviour_path_new_with_knots"
+ version="1.0">
+ <doc xml:whitespace="preserve">Creates a new path behaviour that will make the actors visit all of
+the given knots in order with straight lines in between.
+A path will be created where the first knot is used in a
+%CLUTTER_PATH_MOVE_TO and the subsequent knots are used in
+%CLUTTER_PATH_LINE_TO<!-- -->s.
+If @alpha is not %NULL, the #ClutterBehaviour will take ownership
+of the #ClutterAlpha instance. In the case when @alpha is %NULL,
+it can be set later with clutter_behaviour_set_alpha().</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">a #ClutterBehaviour</doc>
+ <type name="Behaviour" c:type="ClutterBehaviour*"/>
+ </return-value>
+ <parameters>
+ <parameter name="alpha" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">a #ClutterAlpha instance, or %NULL</doc>
+ <type name="Alpha" c:type="ClutterAlpha*"/>
+ </parameter>
+ <parameter name="knots" transfer-ownership="none">
+ <doc xml:whitespace="preserve">an array of #ClutterKnot<!-- -->s</doc>
+ <type name="Knot" c:type="ClutterKnot*"/>
+ </parameter>
+ <parameter name="n_knots" transfer-ownership="none">
+ <doc xml:whitespace="preserve">number of entries in @knots</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ </parameters>
+ </constructor>
+ <method name="get_path"
+ c:identifier="clutter_behaviour_path_get_path"
+ version="1.0">
+ <doc xml:whitespace="preserve">Get the current path of the behaviour</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the path</doc>
+ <type name="Path" c:type="ClutterPath*"/>
+ </return-value>
+ </method>
+ <method name="set_path"
+ c:identifier="clutter_behaviour_path_set_path"
+ version="1.0">
+ <doc xml:whitespace="preserve">Change the path that the actors will follow. This will take the
+floating reference on the #ClutterPath so you do not need to unref
+it.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
- </virtual-method>
- <virtual-method name="post_parse" throws="1">
+ <parameters>
+ <parameter name="path" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the new path to follow</doc>
+ <type name="Path" c:type="ClutterPath*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <property name="path" writable="1" transfer-ownership="none">
+ <type name="Path"/>
+ </property>
+ <field name="parent">
+ <type name="Behaviour" c:type="ClutterBehaviour"/>
+ </field>
+ <field name="priv">
+ <type name="BehaviourPathPrivate"
+ c:type="ClutterBehaviourPathPrivate*"/>
+ </field>
+ <glib:signal name="knot-reached" version="0.2">
+ <doc xml:whitespace="preserve">This signal is emitted each time a node defined inside the path
+is reached.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none"/>
</return-value>
- </virtual-method>
- <virtual-method name="create_stage" throws="1">
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the index of the #ClutterKnot reached</doc>
+ <type name="guint"/>
+ </parameter>
+ </parameters>
+ </glib:signal>
+ </class>
+ <record name="BehaviourPathClass"
+ c:type="ClutterBehaviourPathClass"
+ glib:is-gtype-struct-for="BehaviourPath">
+ <field name="parent_class">
+ <type name="BehaviourClass" c:type="ClutterBehaviourClass"/>
+ </field>
+ <field name="knot_reached">
+ <callback name="knot_reached">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="pathb" transfer-ownership="none">
+ <type name="BehaviourPath" c:type="ClutterBehaviourPath*"/>
+ </parameter>
+ <parameter name="knot_num" transfer-ownership="none">
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="_clutter_path_1" introspectable="0">
+ <callback name="_clutter_path_1">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_path_2" introspectable="0">
+ <callback name="_clutter_path_2">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_path_3" introspectable="0">
+ <callback name="_clutter_path_3">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_path_4" introspectable="0">
+ <callback name="_clutter_path_4">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ </record>
+ <record name="BehaviourPathPrivate"
+ c:type="ClutterBehaviourPathPrivate"
+ disguised="1">
+ </record>
+ <record name="BehaviourPrivate"
+ c:type="ClutterBehaviourPrivate"
+ disguised="1">
+ </record>
+ <class name="BehaviourRotate"
+ c:symbol-prefix="behaviour_rotate"
+ c:type="ClutterBehaviourRotate"
+ version="0.4"
+ parent="Behaviour"
+ glib:type-name="ClutterBehaviourRotate"
+ glib:get-type="clutter_behaviour_rotate_get_type"
+ glib:type-struct="BehaviourRotateClass">
+ <doc xml:whitespace="preserve">The #ClutterBehaviourRotate struct contains only private data and
+should be accessed using the provided API</doc>
+ <implements name="Scriptable"/>
+ <constructor name="new"
+ c:identifier="clutter_behaviour_rotate_new"
+ version="0.4">
+ <doc xml:whitespace="preserve">Creates a new #ClutterBehaviourRotate. This behaviour will rotate actors
+bound to it on @axis, following @direction, between @angle_start and
+<0, 360), if angle_start == angle_end, the behaviour will carry out a
+single rotation of 360 degrees.
+If @alpha is not %NULL, the #ClutterBehaviour will take ownership
+of the #ClutterAlpha instance. In the case when @alpha is %NULL,
+it can be set later with clutter_behaviour_set_alpha().</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">the newly created #ClutterBehaviourRotate.</doc>
+ <type name="Behaviour" c:type="ClutterBehaviour*"/>
+ </return-value>
+ <parameters>
+ <parameter name="alpha" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">a #ClutterAlpha instance, or %NULL</doc>
+ <type name="Alpha" c:type="ClutterAlpha*"/>
+ </parameter>
+ <parameter name="axis" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the rotation axis</doc>
+ <type name="RotateAxis" c:type="ClutterRotateAxis"/>
+ </parameter>
+ <parameter name="direction" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the rotation direction</doc>
+ <type name="RotateDirection" c:type="ClutterRotateDirection"/>
+ </parameter>
+ <parameter name="angle_start" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the starting angle in degrees, between 0 and 360.</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="angle_end" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the final angle in degrees, between 0 and 360.</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ </parameters>
+ </constructor>
+ <method name="get_axis"
+ c:identifier="clutter_behaviour_rotate_get_axis"
+ version="0.4">
+ <doc xml:whitespace="preserve">Retrieves the #ClutterRotateAxis used by the rotate behaviour.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the rotation axis</doc>
+ <type name="RotateAxis" c:type="ClutterRotateAxis"/>
+ </return-value>
+ </method>
+ <method name="get_bounds"
+ c:identifier="clutter_behaviour_rotate_get_bounds"
+ version="0.4">
+ <doc xml:whitespace="preserve">Retrieves the rotation boundaries of the rotate behaviour.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="angle_start" transfer-ownership="none">
+ <doc xml:whitespace="preserve">return value for the initial angle</doc>
+ <type name="gdouble" c:type="gdouble*"/>
+ </parameter>
+ <parameter name="angle_end" transfer-ownership="none">
+ <doc xml:whitespace="preserve">return value for the final angle</doc>
+ <type name="gdouble" c:type="gdouble*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="get_center"
+ c:identifier="clutter_behaviour_rotate_get_center"
+ version="0.4">
+ <doc xml:whitespace="preserve">Retrieves the center of rotation set using
+clutter_behaviour_rotate_set_center().</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="x"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the X center of rotation</doc>
+ <type name="gint" c:type="gint*"/>
+ </parameter>
+ <parameter name="y"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the Y center of rotation</doc>
+ <type name="gint" c:type="gint*"/>
+ </parameter>
+ <parameter name="z"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the Z center of rotation</doc>
+ <type name="gint" c:type="gint*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="get_direction"
+ c:identifier="clutter_behaviour_rotate_get_direction"
+ version="0.4">
+ <doc xml:whitespace="preserve">Retrieves the #ClutterRotateDirection used by the rotate behaviour.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the rotation direction</doc>
+ <type name="RotateDirection" c:type="ClutterRotateDirection"/>
+ </return-value>
+ </method>
+ <method name="set_axis"
+ c:identifier="clutter_behaviour_rotate_set_axis"
+ version="0.4">
+ <doc xml:whitespace="preserve">Sets the axis used by the rotate behaviour.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="axis" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterRotateAxis</doc>
+ <type name="RotateAxis" c:type="ClutterRotateAxis"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_bounds"
+ c:identifier="clutter_behaviour_rotate_set_bounds"
+ version="0.4">
+ <doc xml:whitespace="preserve">Sets the initial and final angles of a rotation behaviour; angles >= 360
+degrees get clamped to the canonical interval <0, 360).</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="angle_start" transfer-ownership="none">
+ <doc xml:whitespace="preserve">initial angle in degrees, between 0 and 360.</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="angle_end" transfer-ownership="none">
+ <doc xml:whitespace="preserve">final angle in degrees, between 0 and 360.</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_center"
+ c:identifier="clutter_behaviour_rotate_set_center"
+ version="0.4">
+ <doc xml:whitespace="preserve">Sets the center of rotation. The coordinates are relative to the plane
+normal to the rotation axis set with clutter_behaviour_rotate_set_axis().</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="x" transfer-ownership="none">
+ <doc xml:whitespace="preserve">X axis center of rotation</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="y" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Y axis center of rotation</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="z" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Z axis center of rotation</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_direction"
+ c:identifier="clutter_behaviour_rotate_set_direction"
+ version="0.4">
+ <doc xml:whitespace="preserve">Sets the rotation direction used by the rotate behaviour.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="direction" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the rotation direction</doc>
+ <type name="RotateDirection" c:type="ClutterRotateDirection"/>
+ </parameter>
+ </parameters>
+ </method>
+ <property name="angle-end"
+ version="0.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The final angle to where the rotation should end.</doc>
+ <type name="gdouble"/>
+ </property>
+ <property name="angle-start"
+ version="0.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The initial angle from whence the rotation should start.</doc>
+ <type name="gdouble"/>
+ </property>
+ <property name="axis"
+ version="0.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The axis of rotation.</doc>
+ <type name="RotateAxis"/>
+ </property>
+ <property name="center-x"
+ version="0.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The x center of rotation.</doc>
+ <type name="gint"/>
+ </property>
+ <property name="center-y"
+ version="0.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The y center of rotation.</doc>
+ <type name="gint"/>
+ </property>
+ <property name="center-z"
+ version="0.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The z center of rotation.</doc>
+ <type name="gint"/>
+ </property>
+ <property name="direction"
+ version="0.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The direction of the rotation.</doc>
+ <type name="RotateDirection"/>
+ </property>
+ <field name="parent_instance">
+ <type name="Behaviour" c:type="ClutterBehaviour"/>
+ </field>
+ <field name="priv">
+ <type name="BehaviourRotatePrivate"
+ c:type="ClutterBehaviourRotatePrivate*"/>
+ </field>
+ </class>
+ <record name="BehaviourRotateClass"
+ c:type="ClutterBehaviourRotateClass"
+ glib:is-gtype-struct-for="BehaviourRotate"
+ version="0.4">
+ <doc xml:whitespace="preserve">The #ClutterBehaviourRotateClass struct contains only private data</doc>
+ <field name="parent_class">
+ <type name="BehaviourClass" c:type="ClutterBehaviourClass"/>
+ </field>
+ </record>
+ <record name="BehaviourRotatePrivate"
+ c:type="ClutterBehaviourRotatePrivate"
+ disguised="1">
+ </record>
+ <class name="BehaviourScale"
+ c:symbol-prefix="behaviour_scale"
+ c:type="ClutterBehaviourScale"
+ version="0.2"
+ parent="Behaviour"
+ glib:type-name="ClutterBehaviourScale"
+ glib:get-type="clutter_behaviour_scale_get_type"
+ glib:type-struct="BehaviourScaleClass">
+ <doc xml:whitespace="preserve">The #ClutterBehaviourScale struct contains only private data and
+should be accessed using the provided API</doc>
+ <implements name="Scriptable"/>
+ <constructor name="new"
+ c:identifier="clutter_behaviour_scale_new"
+ version="0.2">
+ <doc xml:whitespace="preserve">Creates a new #ClutterBehaviourScale instance.
+If @alpha is not %NULL, the #ClutterBehaviour will take ownership
+of the #ClutterAlpha instance. In the case when @alpha is %NULL,
+it can be set later with clutter_behaviour_set_alpha().</doc>
<return-value transfer-ownership="full">
- <type name="StageWindow" c:type="ClutterStageWindow*"/>
+ <doc xml:whitespace="preserve">the newly created #ClutterBehaviourScale</doc>
+ <type name="Behaviour" c:type="ClutterBehaviour*"/>
</return-value>
<parameters>
- <parameter name="wrapper" transfer-ownership="none">
- <type name="Stage" c:type="ClutterStage*"/>
+ <parameter name="alpha" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">a #ClutterAlpha instance, or %NULL</doc>
+ <type name="Alpha" c:type="ClutterAlpha*"/>
+ </parameter>
+ <parameter name="x_scale_start" transfer-ownership="none">
+ <doc xml:whitespace="preserve">initial scale factor on the X axis</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="y_scale_start" transfer-ownership="none">
+ <doc xml:whitespace="preserve">initial scale factor on the Y axis</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="x_scale_end" transfer-ownership="none">
+ <doc xml:whitespace="preserve">final scale factor on the X axis</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="y_scale_end" transfer-ownership="none">
+ <doc xml:whitespace="preserve">final scale factor on the Y axis</doc>
+ <type name="gdouble" c:type="gdouble"/>
</parameter>
</parameters>
- </virtual-method>
- <virtual-method name="init_events">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </virtual-method>
- <virtual-method name="init_features">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </virtual-method>
- <virtual-method name="add_options">
+ </constructor>
+ <method name="get_bounds"
+ c:identifier="clutter_behaviour_scale_get_bounds"
+ version="0.4">
+ <doc xml:whitespace="preserve">Retrieves the bounds used by scale behaviour.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="group" transfer-ownership="none">
- <type name="GLib.OptionGroup" c:type="GOptionGroup*"/>
+ <parameter name="x_scale_start"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the initial scale factor on the X axis, or %NULL</doc>
+ <type name="gdouble" c:type="gdouble*"/>
+ </parameter>
+ <parameter name="y_scale_start"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the initial scale factor on the Y axis, or %NULL</doc>
+ <type name="gdouble" c:type="gdouble*"/>
+ </parameter>
+ <parameter name="x_scale_end"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the final scale factor on the X axis, or %NULL</doc>
+ <type name="gdouble" c:type="gdouble*"/>
+ </parameter>
+ <parameter name="y_scale_end"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the final scale factor on the Y axis, or %NULL</doc>
+ <type name="gdouble" c:type="gdouble*"/>
</parameter>
</parameters>
- </virtual-method>
- <virtual-method name="get_features">
- <return-value transfer-ownership="full">
- <type name="FeatureFlags" c:type="ClutterFeatureFlags"/>
- </return-value>
- </virtual-method>
- <virtual-method name="redraw">
+ </method>
+ <method name="set_bounds"
+ c:identifier="clutter_behaviour_scale_set_bounds"
+ version="0.6">
+ <doc xml:whitespace="preserve">Sets the bounds used by scale behaviour.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="stage" transfer-ownership="none">
- <type name="Stage" c:type="ClutterStage*"/>
+ <parameter name="x_scale_start" transfer-ownership="none">
+ <doc xml:whitespace="preserve">initial scale factor on the X axis</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="y_scale_start" transfer-ownership="none">
+ <doc xml:whitespace="preserve">initial scale factor on the Y axis</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="x_scale_end" transfer-ownership="none">
+ <doc xml:whitespace="preserve">final scale factor on the X axis</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="y_scale_end" transfer-ownership="none">
+ <doc xml:whitespace="preserve">final scale factor on the Y axis</doc>
+ <type name="gdouble" c:type="gdouble"/>
</parameter>
</parameters>
- </virtual-method>
- <virtual-method name="create_context" throws="1">
+ </method>
+ <property name="x-scale-end"
+ version="0.6"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The final scaling factor on the X axis for the actors.</doc>
+ <type name="gdouble"/>
+ </property>
+ <property name="x-scale-start"
+ version="0.6"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The initial scaling factor on the X axis for the actors.</doc>
+ <type name="gdouble"/>
+ </property>
+ <property name="y-scale-end"
+ version="0.6"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The final scaling factor on the Y axis for the actors.</doc>
+ <type name="gdouble"/>
+ </property>
+ <property name="y-scale-start"
+ version="0.6"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The initial scaling factor on the Y axis for the actors.</doc>
+ <type name="gdouble"/>
+ </property>
+ <field name="parent_instance">
+ <type name="Behaviour" c:type="ClutterBehaviour"/>
+ </field>
+ <field name="priv">
+ <type name="BehaviourScalePrivate"
+ c:type="ClutterBehaviourScalePrivate*"/>
+ </field>
+ </class>
+ <record name="BehaviourScaleClass"
+ c:type="ClutterBehaviourScaleClass"
+ glib:is-gtype-struct-for="BehaviourScale"
+ version="0.2">
+ <doc xml:whitespace="preserve">The #ClutterBehaviourScaleClass struct contains only private data</doc>
+ <field name="parent_class">
+ <type name="BehaviourClass" c:type="ClutterBehaviourClass"/>
+ </field>
+ </record>
+ <record name="BehaviourScalePrivate"
+ c:type="ClutterBehaviourScalePrivate"
+ disguised="1">
+ </record>
+ <enumeration name="BinAlignment"
+ version="1.2"
+ glib:type-name="ClutterBinAlignment"
+ glib:get-type="clutter_bin_alignment_get_type"
+ c:type="ClutterBinAlignment">
+ <doc xml:whitespace="preserve">The alignment policies available on each axis for #ClutterBinLayout</doc>
+ <member name="fixed"
+ value="0"
+ c:identifier="CLUTTER_BIN_ALIGNMENT_FIXED"
+ glib:nick="fixed"/>
+ <member name="fill"
+ value="1"
+ c:identifier="CLUTTER_BIN_ALIGNMENT_FILL"
+ glib:nick="fill"/>
+ <member name="start"
+ value="2"
+ c:identifier="CLUTTER_BIN_ALIGNMENT_START"
+ glib:nick="start"/>
+ <member name="end"
+ value="3"
+ c:identifier="CLUTTER_BIN_ALIGNMENT_END"
+ glib:nick="end"/>
+ <member name="center"
+ value="4"
+ c:identifier="CLUTTER_BIN_ALIGNMENT_CENTER"
+ glib:nick="center"/>
+ </enumeration>
+ <class name="BinLayout"
+ c:symbol-prefix="bin_layout"
+ c:type="ClutterBinLayout"
+ version="1.2"
+ parent="LayoutManager"
+ glib:type-name="ClutterBinLayout"
+ glib:get-type="clutter_bin_layout_get_type"
+ glib:type-struct="BinLayoutClass">
+ <doc xml:whitespace="preserve">The #ClutterBinLayout structure contains only private data
+and should be accessed using the provided API</doc>
+ <constructor name="new"
+ c:identifier="clutter_bin_layout_new"
+ version="1.2">
+ <doc xml:whitespace="preserve">Creates a new #ClutterBinLayout layout manager</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">the newly created layout manager</doc>
+ <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
</return-value>
- </virtual-method>
- <virtual-method name="ensure_context">
+ <parameters>
+ <parameter name="x_align" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the default alignment policy to be used on the horizontal axis</doc>
+ <type name="BinAlignment" c:type="ClutterBinAlignment"/>
+ </parameter>
+ <parameter name="y_align" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the default alignment policy to be used on the vertical axis</doc>
+ <type name="BinAlignment" c:type="ClutterBinAlignment"/>
+ </parameter>
+ </parameters>
+ </constructor>
+ <method name="add" c:identifier="clutter_bin_layout_add" version="1.2">
+ <doc xml:whitespace="preserve">Adds a #ClutterActor to the container using @self and
+sets the alignment policies for it
+This function is equivalent to clutter_container_add_actor()
+and clutter_layout_manager_child_set_property() but it does not
+require a pointer to the #ClutterContainer associated to the
+#ClutterBinLayout</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="stage" transfer-ownership="none">
- <type name="Stage" c:type="ClutterStage*"/>
+ <parameter name="child" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="x_align" transfer-ownership="none">
+ <doc xml:whitespace="preserve">horizontal alignment policy for @child</doc>
+ <type name="BinAlignment" c:type="ClutterBinAlignment"/>
+ </parameter>
+ <parameter name="y_align" transfer-ownership="none">
+ <doc xml:whitespace="preserve">vertical alignment policy for @child</doc>
+ <type name="BinAlignment" c:type="ClutterBinAlignment"/>
</parameter>
</parameters>
- </virtual-method>
- <virtual-method name="get_device_manager">
- <return-value transfer-ownership="full">
- <type name="DeviceManager" c:type="ClutterDeviceManager*"/>
- </return-value>
- </virtual-method>
- <method name="set_resolution"
- c:identifier="clutter_backend_set_resolution"
- doc="Sets the resolution for font handling on the screen. This is a
-scale factor between points specified in a #PangoFontDescription
-and cairo units. The default value is 96, meaning that a 10 point
-font will be 13 units high. (10 * 96. / 72. = 13.3).
-Applications should never need to call this function."
- version="0.4">
+ </method>
+ <method name="get_alignment"
+ c:identifier="clutter_bin_layout_get_alignment"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the horizontal and vertical alignment policies for
+a child of @self
+If @child is %NULL the default alignment policies will be returned
+instead</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="dpi"
+ <parameter name="child" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">a child of @container</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="x_align"
+ direction="out"
+ caller-allocates="1"
transfer-ownership="none"
- doc=" actually involved; the terminology is conventional).">
- <type name="double" c:type="gdouble"/>
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for the horizontal alignment policy</doc>
+ <type name="BinAlignment" c:type="ClutterBinAlignment*"/>
+ </parameter>
+ <parameter name="y_align"
+ direction="out"
+ caller-allocates="1"
+ transfer-ownership="none"
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for the vertical alignment policy</doc>
+ <type name="BinAlignment" c:type="ClutterBinAlignment*"/>
</parameter>
</parameters>
</method>
- <method name="get_resolution"
- c:identifier="clutter_backend_get_resolution"
- doc="Gets the resolution for font handling on the screen; see
-clutter_backend_set_resolution() for full details.
-has been set."
- version="0.4">
+ <method name="set_alignment"
+ c:identifier="clutter_bin_layout_set_alignment"
+ version="1.2">
+ <doc xml:whitespace="preserve">Sets the horizontal and vertical alignment policies to be applied
+to a @child of @self
+If @child is %NULL then the @x_align and @y_align values will
+be set as the default alignment policies</doc>
<return-value transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
+ <type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="child" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">a child of @container</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="x_align" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the horizontal alignment policy to be used for the @child inside @container</doc>
+ <type name="BinAlignment" c:type="ClutterBinAlignment"/>
+ </parameter>
+ <parameter name="y_align" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the vertical aligment policy to be used on the @child inside @container</doc>
+ <type name="BinAlignment" c:type="ClutterBinAlignment"/>
+ </parameter>
+ </parameters>
</method>
- <method name="set_double_click_time"
- c:identifier="clutter_backend_set_double_click_time"
- doc="Sets the maximum time between two button press events, used to
-verify whether it's a double click event or not."
- version="0.4">
+ <property name="x-align"
+ version="1.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The default horizontal alignment policy for actors managed
+by the #ClutterBinLayout</doc>
+ <type name="BinAlignment"/>
+ </property>
+ <property name="y-align"
+ version="1.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The default vertical alignment policy for actors managed
+by the #ClutterBinLayout</doc>
+ <type name="BinAlignment"/>
+ </property>
+ <field name="parent_instance">
+ <type name="LayoutManager" c:type="ClutterLayoutManager"/>
+ </field>
+ <field name="priv">
+ <type name="BinLayoutPrivate" c:type="ClutterBinLayoutPrivate*"/>
+ </field>
+ </class>
+ <record name="BinLayoutClass"
+ c:type="ClutterBinLayoutClass"
+ glib:is-gtype-struct-for="BinLayout"
+ version="1.2">
+ <doc xml:whitespace="preserve">The #ClutterBinLayoutClass structure contains only private
+data and should be accessed using the provided API</doc>
+ <field name="parent_class">
+ <type name="LayoutManagerClass" c:type="ClutterLayoutManagerClass"/>
+ </field>
+ </record>
+ <record name="BinLayoutPrivate"
+ c:type="ClutterBinLayoutPrivate"
+ disguised="1">
+ </record>
+ <class name="BindConstraint"
+ c:symbol-prefix="bind_constraint"
+ c:type="ClutterBindConstraint"
+ version="1.4"
+ parent="Constraint"
+ glib:type-name="ClutterBindConstraint"
+ glib:get-type="clutter_bind_constraint_get_type">
+ <doc xml:whitespace="preserve"><structname>ClutterBindConstraint</structname> is an opaque structure
+whose members cannot be directly accessed</doc>
+ <constructor name="new"
+ c:identifier="clutter_bind_constraint_new"
+ version="1.4">
+ <doc xml:whitespace="preserve">Creates a new constraint, binding a #ClutterActor's position to
+the given @coordinate of the position of @source</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the newly created #ClutterBindConstraint</doc>
+ <type name="Constraint" c:type="ClutterConstraint*"/>
</return-value>
<parameters>
- <parameter name="msec" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <parameter name="source" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">the #ClutterActor to use as the source of the binding, or %NULL</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="coordinate" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the coordinate to bind</doc>
+ <type name="BindCoordinate" c:type="ClutterBindCoordinate"/>
+ </parameter>
+ <parameter name="offset" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the offset to apply to the binding, in pixels</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
</parameters>
- </method>
- <method name="get_double_click_time"
- c:identifier="clutter_backend_get_double_click_time"
- doc="Gets the maximum time between two button press events, as set
-by clutter_backend_set_double_click_time()."
- version="0.4">
+ </constructor>
+ <method name="get_coordinate"
+ c:identifier="clutter_bind_constraint_get_coordinate"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the bound coordinate of the constraint</doc>
<return-value transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <doc xml:whitespace="preserve">the bound coordinate</doc>
+ <type name="BindCoordinate" c:type="ClutterBindCoordinate"/>
</return-value>
</method>
- <method name="set_double_click_distance"
- c:identifier="clutter_backend_set_double_click_distance"
- doc="Sets the maximum distance used to verify a double click event."
- version="0.4">
+ <method name="get_offset"
+ c:identifier="clutter_bind_constraint_get_offset"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the offset set using clutter_bind_constraint_set_offset()</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the offset, in pixels</doc>
+ <type name="gfloat" c:type="gfloat"/>
</return-value>
- <parameters>
- <parameter name="distance" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- </parameters>
</method>
- <method name="get_double_click_distance"
- c:identifier="clutter_backend_get_double_click_distance"
- doc="Retrieves the distance used to verify a double click event"
- version="0.4">
+ <method name="get_source"
+ c:identifier="clutter_bind_constraint_get_source"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the #ClutterActor set using clutter_bind_constraint_set_source()</doc>
<return-value transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <doc xml:whitespace="preserve">a pointer to the source actor</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</return-value>
</method>
- <method name="set_font_options"
- c:identifier="clutter_backend_set_font_options"
- doc="Sets the new font options for @backend. The #ClutterBackend will
-copy the #cairo_font_options_t.
-If @options is %NULL, the first following call to
-clutter_backend_get_font_options() will return the default font
-options for @backend.
-This function is intended for actors creating a Pango layout
-using the PangoCairo API."
- version="0.8">
+ <method name="set_coordinate"
+ c:identifier="clutter_bind_constraint_set_coordinate"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets the coordinate to bind in the constraint</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="options" transfer-ownership="none">
- <type name="cairo.FontOptions" c:type="cairo_font_options_t*"/>
+ <parameter name="coordinate" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the coordinate to bind</doc>
+ <type name="BindCoordinate" c:type="ClutterBindCoordinate"/>
</parameter>
</parameters>
</method>
- <method name="get_font_options"
- c:identifier="clutter_backend_get_font_options"
- doc="Retrieves the font options for @backend.
-The returned #cairo_font_options_t is owned by the backend and should
-not be modified or freed"
- version="0.8">
- <return-value transfer-ownership="none"
- doc="the font options of the #ClutterBackend.">
- <type name="cairo.FontOptions" c:type="cairo_font_options_t*"/>
- </return-value>
- </method>
- <method name="set_font_name"
- c:identifier="clutter_backend_set_font_name"
- doc="Sets the default font to be used by Clutter. The @font_name string
-must either be %NULL, which means that the font name from the
-default #ClutterBackend will be used; or be something that can
-be parsed by the pango_font_description_from_string() function."
- version="1.0">
+ <method name="set_offset"
+ c:identifier="clutter_bind_constraint_set_offset"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets the offset to be applied to the constraint</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="font_name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="offset" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the offset to apply, in pixels</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
</parameters>
</method>
- <method name="get_font_name"
- c:identifier="clutter_backend_get_font_name"
- doc="Retrieves the default font name as set by
-clutter_backend_set_font_name().
-owned by the #ClutterBackend and should never be modified or freed"
- version="1.0">
+ <method name="set_source"
+ c:identifier="clutter_bind_constraint_set_source"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets the source #ClutterActor for the constraint</doc>
<return-value transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </return-value>
- </method>
- <field name="parent_instance">
- <type name="GObject.Object" c:type="GObject"/>
- </field>
- <field name="priv">
- <type name="BackendPrivate" c:type="ClutterBackendPrivate*"/>
- </field>
- <glib:signal name="font-changed">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
- </return-value>
- </glib:signal>
- <glib:signal name="resolution-changed">
- <return-value transfer-ownership="full">
<type name="none" c:type="void"/>
</return-value>
- </glib:signal>
+ <parameters>
+ <parameter name="source" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">a #ClutterActor, or %NULL to unset the source</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <property name="coordinate"
+ version="1.4"
+ writable="1"
+ construct="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The coordinate to be bound</doc>
+ <type name="BindCoordinate"/>
+ </property>
+ <property name="offset"
+ version="1.4"
+ writable="1"
+ construct="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The offset, in pixels, to be applied to the binding</doc>
+ <type name="gfloat"/>
+ </property>
+ <property name="source"
+ version="1.4"
+ writable="1"
+ construct="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The #ClutterActor used as the source for the binding</doc>
+ <type name="Actor"/>
+ </property>
</class>
- <record name="BackendClass"
- c:type="ClutterBackendClass"
- glib:is-gtype-struct-for="Backend">
- <field name="parent_class">
- <type name="GObject.ObjectClass" c:type="GObjectClass"/>
- </field>
- <field name="pre_parse">
- <callback name="pre_parse" c:type="pre_parse" throws="1">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- <parameters>
- <parameter name="backend" transfer-ownership="none">
- <type name="Backend" c:type="ClutterBackend*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="post_parse">
- <callback name="post_parse" c:type="post_parse" throws="1">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- <parameters>
- <parameter name="backend" transfer-ownership="none">
- <type name="Backend" c:type="ClutterBackend*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="create_stage">
- <callback name="create_stage" c:type="create_stage" throws="1">
- <return-value transfer-ownership="full">
- <type name="StageWindow" c:type="ClutterStageWindow*"/>
- </return-value>
- <parameters>
- <parameter name="backend" transfer-ownership="none">
- <type name="Backend" c:type="ClutterBackend*"/>
- </parameter>
- <parameter name="wrapper" transfer-ownership="none">
- <type name="Stage" c:type="ClutterStage*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="init_events">
- <callback name="init_events" c:type="init_events">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="backend" transfer-ownership="none">
- <type name="Backend" c:type="ClutterBackend*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="init_features">
- <callback name="init_features" c:type="init_features">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="backend" transfer-ownership="none">
- <type name="Backend" c:type="ClutterBackend*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="add_options">
- <callback name="add_options" c:type="add_options">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="backend" transfer-ownership="none">
- <type name="Backend" c:type="ClutterBackend*"/>
- </parameter>
- <parameter name="group" transfer-ownership="none">
- <type name="GLib.OptionGroup" c:type="GOptionGroup*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="get_features">
- <callback name="get_features" c:type="get_features">
- <return-value transfer-ownership="full">
- <type name="FeatureFlags" c:type="ClutterFeatureFlags"/>
- </return-value>
- <parameters>
- <parameter name="backend" transfer-ownership="none">
- <type name="Backend" c:type="ClutterBackend*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="redraw">
- <callback name="redraw" c:type="redraw">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="backend" transfer-ownership="none">
- <type name="Backend" c:type="ClutterBackend*"/>
- </parameter>
- <parameter name="stage" transfer-ownership="none">
- <type name="Stage" c:type="ClutterStage*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="create_context">
- <callback name="create_context" c:type="create_context" throws="1">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- <parameters>
- <parameter name="backend" transfer-ownership="none">
- <type name="Backend" c:type="ClutterBackend*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="ensure_context">
- <callback name="ensure_context" c:type="ensure_context">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="backend" transfer-ownership="none">
- <type name="Backend" c:type="ClutterBackend*"/>
- </parameter>
- <parameter name="stage" transfer-ownership="none">
- <type name="Stage" c:type="ClutterStage*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="get_device_manager">
- <callback name="get_device_manager" c:type="get_device_manager">
- <return-value transfer-ownership="full">
- <type name="DeviceManager" c:type="ClutterDeviceManager*"/>
- </return-value>
- <parameters>
- <parameter name="backend" transfer-ownership="none">
- <type name="Backend" c:type="ClutterBackend*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="resolution_changed">
- <callback name="resolution_changed" c:type="resolution_changed">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="backend" transfer-ownership="none">
- <type name="Backend" c:type="ClutterBackend*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="font_changed">
- <callback name="font_changed" c:type="font_changed">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="backend" transfer-ownership="none">
- <type name="Backend" c:type="ClutterBackend*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- </record>
- <record name="BackendPrivate" c:type="ClutterBackendPrivate">
- </record>
- <constant name="Begin" value="65368">
- <type name="int"/>
- </constant>
- <class name="Behaviour"
- c:type="ClutterBehaviour"
- doc="#ClutterBehaviour-struct contains only private data and should
-be accessed with the functions below."
- version="0.2"
+ <enumeration name="BindCoordinate"
+ version="1.4"
+ glib:type-name="ClutterBindCoordinate"
+ glib:get-type="clutter_bind_coordinate_get_type"
+ c:type="ClutterBindCoordinate">
+ <doc xml:whitespace="preserve">Specifies which property should be used in a binding</doc>
+ <member name="x" value="0" c:identifier="CLUTTER_BIND_X" glib:nick="x"/>
+ <member name="y" value="1" c:identifier="CLUTTER_BIND_Y" glib:nick="y"/>
+ <member name="width"
+ value="2"
+ c:identifier="CLUTTER_BIND_WIDTH"
+ glib:nick="width"/>
+ <member name="height"
+ value="3"
+ c:identifier="CLUTTER_BIND_HEIGHT"
+ glib:nick="height"/>
+ </enumeration>
+ <callback name="BindingActionFunc"
+ c:type="ClutterBindingActionFunc"
+ version="1.0">
+ <doc xml:whitespace="preserve">The prototype for the callback function registered with
+clutter_binding_pool_install_action() and invoked by
+clutter_binding_pool_activate().
+binding has been handled, and return %FALSE otherwise</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the function should return %TRUE if the key</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="gobject" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GObject</doc>
+ <type name="GObject.Object" c:type="GObject*"/>
+ </parameter>
+ <parameter name="action_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the action</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="key_val" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the key symbol</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ <parameter name="modifiers" transfer-ownership="none">
+ <doc xml:whitespace="preserve">bitmask of the modifier flags</doc>
+ <type name="ModifierType" c:type="ClutterModifierType"/>
+ </parameter>
+ </parameters>
+ </callback>
+ <class name="BindingPool"
+ c:symbol-prefix="binding_pool"
+ c:type="ClutterBindingPool"
+ version="1.0"
parent="GObject.Object"
- abstract="1"
- glib:type-name="ClutterBehaviour"
- glib:get-type="clutter_behaviour_get_type"
- glib:type-struct="BehaviourClass">
- <implements name="Scriptable"/>
- <virtual-method name="alpha_notify">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ glib:type-name="ClutterBindingPool"
+ glib:get-type="clutter_binding_pool_get_type">
+ <doc xml:whitespace="preserve">Container of key bindings. The #ClutterBindingPool struct is
+private.</doc>
+ <constructor name="new"
+ c:identifier="clutter_binding_pool_new"
+ version="1.0">
+ <doc xml:whitespace="preserve">Creates a new #ClutterBindingPool that can be used to store
+key bindings for an actor. The @name must be a unique identifier
+for the binding pool, so that clutter_binding_pool_find() will
+be able to return the correct binding pool.
+name. Use g_object_unref() when done.</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">the newly created binding pool with the given</doc>
+ <type name="BindingPool" c:type="ClutterBindingPool*"/>
</return-value>
<parameters>
- <parameter name="alpha_value" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
+ <parameter name="name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the binding pool</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
- </virtual-method>
- <method name="apply"
- c:identifier="clutter_behaviour_apply"
- doc="Applies @behave to @actor. This function adds a reference on
-the actor."
- version="0.2">
+ </constructor>
+ <function name="find"
+ c:identifier="clutter_binding_pool_find"
+ version="1.0">
+ <doc xml:whitespace="preserve">Finds the #ClutterBindingPool with @name.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">a pointer to the #ClutterBindingPool, or %NULL</doc>
+ <type name="BindingPool" c:type="ClutterBindingPool*"/>
</return-value>
<parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
+ <parameter name="name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the binding pool to find</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
- </method>
- <method name="remove"
- c:identifier="clutter_behaviour_remove"
- doc="Removes @actor from the list of #ClutterActor<!-- -->s to which"
- version="0.2">
+ </function>
+ <function name="get_for_class"
+ c:identifier="clutter_binding_pool_get_for_class"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the #ClutterBindingPool for the given #GObject class
+and, eventually, creates it. This function is a wrapper around
+clutter_binding_pool_new() and uses the class type name as the
+unique name for the binding pool.
+Calling this function multiple times will return the same
+#ClutterBindingPool.
+A binding pool for a class can also be retrieved using
+clutter_binding_pool_find() with the class type name:
+|[
+pool = clutter_binding_pool_find (G_OBJECT_TYPE_NAME (instance));
+]|
+The returned #ClutterBindingPool is owned by Clutter and should not
+be freed directly</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the binding pool for the given class.</doc>
+ <type name="BindingPool" c:type="ClutterBindingPool*"/>
</return-value>
<parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
+ <parameter name="klass" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GObjectClass pointer</doc>
+ <type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
- </method>
- <method name="remove_all"
- c:identifier="clutter_behaviour_remove_all"
- doc="Removes every actor from the list that @behave holds."
- version="0.4">
+ </function>
+ <method name="activate"
+ c:identifier="clutter_binding_pool_activate"
+ version="1.0">
+ <doc xml:whitespace="preserve">Activates the callback associated to the action that is
+bound to the @key_val and @modifiers pair.
+The callback has the following signature:
+|[
+void (* callback) (GObject *gobject,
+const gchar *action_name,
+guint key_val,
+ClutterModifierType modifiers,
+gpointer user_data);
+]|
+Where the #GObject instance is @gobject and the user data
+is the one passed when installing the action with
+clutter_binding_pool_install_action().
+If the action bound to the @key_val, @modifiers pair has been
+blocked using clutter_binding_pool_block_action(), the callback
+will not be invoked, and this function will return %FALSE.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">%TRUE if an action was found and was activated</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
+ <parameters>
+ <parameter name="key_val" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the key symbol</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ <parameter name="modifiers" transfer-ownership="none">
+ <doc xml:whitespace="preserve">bitmask for the modifiers</doc>
+ <type name="ModifierType" c:type="ClutterModifierType"/>
+ </parameter>
+ <parameter name="gobject" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GObject</doc>
+ <type name="GObject.Object" c:type="GObject*"/>
+ </parameter>
+ </parameters>
</method>
- <method name="actors_foreach"
- c:identifier="clutter_behaviour_actors_foreach"
- doc="Calls @func for every actor driven by @behave."
- version="0.2">
+ <method name="block_action"
+ c:identifier="clutter_binding_pool_block_action"
+ version="1.0">
+ <doc xml:whitespace="preserve">Blocks all the actions with name @action_name inside @pool.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="func"
- transfer-ownership="none"
- scope="call"
- closure="2">
- <type name="BehaviourForeachFunc"
- c:type="ClutterBehaviourForeachFunc"/>
- </parameter>
- <parameter name="data" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
+ <parameter name="action_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">an action name</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
- <method name="get_n_actors"
- c:identifier="clutter_behaviour_get_n_actors"
- doc="Gets the number of actors this behaviour is applied too."
- version="0.2">
+ <method name="find_action"
+ c:identifier="clutter_binding_pool_find_action"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the name of the action matching the given key symbol
+and modifiers bitmask.
+returned string is owned by the binding pool and should never
+be modified or freed</doc>
<return-value transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </return-value>
- </method>
- <method name="get_nth_actor"
- c:identifier="clutter_behaviour_get_nth_actor"
- doc="Gets an actor the behaviour was applied to referenced by index num."
- version="0.2">
- <return-value transfer-ownership="none"
- doc="A Clutter actor or NULL if @index_ is invalid.">
- <type name="Actor" c:type="ClutterActor*"/>
+ <doc xml:whitespace="preserve">the name of the action, if found, or %NULL. The</doc>
+ <type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
- <parameter name="index_" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="key_val" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a key symbol</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ <parameter name="modifiers" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a bitmask for the modifiers</doc>
+ <type name="ModifierType" c:type="ClutterModifierType"/>
</parameter>
</parameters>
</method>
- <method name="get_actors"
- c:identifier="clutter_behaviour_get_actors"
- doc="Retrieves all the actors to which @behave applies. It is not recommended
-for derived classes to use this in there alpha notify method but use
-#clutter_behaviour_actors_foreach as it avoids alot of needless allocations.
-actors. You should free the returned list with g_slist_free() when
-finished using it."
- version="0.2">
- <return-value transfer-ownership="container" doc="a list of">
- <type name="GLib.SList" c:type="GSList*">
- <type name="Actor"/>
- </type>
- </return-value>
- </method>
- <method name="get_alpha"
- c:identifier="clutter_behaviour_get_alpha"
- doc="Retrieves the #ClutterAlpha object bound to @behave.
-object has been bound to this behaviour."
- version="0.2">
- <return-value transfer-ownership="none"
- doc="a #ClutterAlpha object, or %NULL if no alpha">
- <type name="Alpha" c:type="ClutterAlpha*"/>
- </return-value>
- </method>
- <method name="set_alpha"
- c:identifier="clutter_behaviour_set_alpha"
- doc="Binds @alpha to a #ClutterBehaviour. The #ClutterAlpha object
-used by #ClutterAlpha a new value of the alpha parameter is
-computed by the alpha function; the value should be used by
-the #ClutterBehaviour to update one or more properties of the
-actors to which the behaviour applies.
-If @alpha is not %NULL, the #ClutterBehaviour will take ownership
-of the #ClutterAlpha instance."
- version="0.2">
+ <method name="install_action"
+ c:identifier="clutter_binding_pool_install_action"
+ version="1.0">
+ <doc xml:whitespace="preserve">Installs a new action inside a #ClutterBindingPool. The action
+is bound to @key_val and @modifiers.
+The same action name can be used for multiple @key_val, @modifiers
+pairs.
+When an action has been activated using clutter_binding_pool_activate()
+the passed @callback will be invoked (with @data).
+Actions can be blocked with clutter_binding_pool_block_action()
+and then unblocked using clutter_binding_pool_unblock_action().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="alpha" transfer-ownership="none">
- <type name="Alpha" c:type="ClutterAlpha*"/>
+ <parameter name="action_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the action</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="key_val" transfer-ownership="none">
+ <doc xml:whitespace="preserve">key symbol</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ <parameter name="modifiers" transfer-ownership="none">
+ <doc xml:whitespace="preserve">bitmask of modifiers</doc>
+ <type name="ModifierType" c:type="ClutterModifierType"/>
+ </parameter>
+ <parameter name="callback"
+ transfer-ownership="none"
+ scope="notified"
+ closure="4"
+ destroy="5">
+ <doc xml:whitespace="preserve">function to be called when the action is activated</doc>
+ <type name="GObject.Callback" c:type="GCallback"/>
+ </parameter>
+ <parameter name="data" transfer-ownership="none">
+ <doc xml:whitespace="preserve">data to be passed to @callback</doc>
+ <type name="gpointer" c:type="gpointer"/>
+ </parameter>
+ <parameter name="notify" transfer-ownership="none" scope="async">
+ <doc xml:whitespace="preserve">function to be called when the action is removed from the pool</doc>
+ <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
</method>
- <method name="is_applied"
- c:identifier="clutter_behaviour_is_applied"
- doc="Check if @behave applied to @actor."
- version="0.4">
+ <method name="install_closure"
+ c:identifier="clutter_binding_pool_install_closure"
+ version="1.0">
+ <doc xml:whitespace="preserve">A #GClosure variant of clutter_binding_pool_install_action().
+Installs a new action inside a #ClutterBindingPool. The action
+is bound to @key_val and @modifiers.
+The same action name can be used for multiple @key_val, @modifiers
+pairs.
+When an action has been activated using clutter_binding_pool_activate()
+the passed @closure will be invoked.
+Actions can be blocked with clutter_binding_pool_block_action()
+and then unblocked using clutter_binding_pool_unblock_action().</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
+ <parameter name="action_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the action</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="key_val" transfer-ownership="none">
+ <doc xml:whitespace="preserve">key symbol</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ <parameter name="modifiers" transfer-ownership="none">
+ <doc xml:whitespace="preserve">bitmask of modifiers</doc>
+ <type name="ModifierType" c:type="ClutterModifierType"/>
+ </parameter>
+ <parameter name="closure" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GClosure</doc>
+ <type name="GObject.Closure" c:type="GClosure*"/>
</parameter>
</parameters>
</method>
- <property name="alpha"
- version="0.2"
- writable="1"
- doc="The #ClutterAlpha object used to drive this behaviour. A #ClutterAlpha
-object binds a #ClutterTimeline and a function which computes a value
-(the "alpha") depending on the time. Each time the alpha value changes
-the alpha-notify virtual function is called.">
- <type name="Alpha" c:type="ClutterAlpha"/>
- </property>
- <field name="parent">
- <type name="GObject.Object" c:type="GObject"/>
- </field>
- <field name="priv">
- <type name="BehaviourPrivate" c:type="ClutterBehaviourPrivate*"/>
- </field>
- <glib:signal name="applied"
- doc="The ::apply signal is emitted each time the behaviour is applied
-to an actor."
- version="0.4">
- <return-value transfer-ownership="full">
+ <method name="override_action"
+ c:identifier="clutter_binding_pool_override_action"
+ version="1.0">
+ <doc xml:whitespace="preserve">Allows overriding the action for @key_val and @modifiers inside a
+#ClutterBindingPool. See clutter_binding_pool_install_action().
+When an action has been activated using clutter_binding_pool_activate()
+the passed @callback will be invoked (with @data).
+Actions can be blocked with clutter_binding_pool_block_action()
+and then unblocked using clutter_binding_pool_unblock_action().</doc>
+ <return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor"/>
+ <parameter name="key_val" transfer-ownership="none">
+ <doc xml:whitespace="preserve">key symbol</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ <parameter name="modifiers" transfer-ownership="none">
+ <doc xml:whitespace="preserve">bitmask of modifiers</doc>
+ <type name="ModifierType" c:type="ClutterModifierType"/>
+ </parameter>
+ <parameter name="callback"
+ transfer-ownership="none"
+ scope="notified"
+ closure="3"
+ destroy="4">
+ <doc xml:whitespace="preserve">function to be called when the action is activated</doc>
+ <type name="GObject.Callback" c:type="GCallback"/>
+ </parameter>
+ <parameter name="data" transfer-ownership="none">
+ <doc xml:whitespace="preserve">data to be passed to @callback</doc>
+ <type name="gpointer" c:type="gpointer"/>
</parameter>
- </parameters>
- </glib:signal>
- <glib:signal name="removed"
- doc="The ::removed signal is emitted each time a behaviour is not applied
-to an actor anymore.">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor"/>
+ <parameter name="notify" transfer-ownership="none" scope="async">
+ <doc xml:whitespace="preserve">function to be called when the action is removed from the pool</doc>
+ <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
- </glib:signal>
- </class>
- <record name="BehaviourClass"
- c:type="ClutterBehaviourClass"
- glib:is-gtype-struct-for="Behaviour">
- <field name="parent_class">
- <type name="GObject.ObjectClass" c:type="GObjectClass"/>
- </field>
- <field name="alpha_notify">
- <callback name="alpha_notify" c:type="alpha_notify">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="behave" transfer-ownership="none">
- <type name="Behaviour" c:type="ClutterBehaviour*"/>
- </parameter>
- <parameter name="alpha_value" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="applied">
- <callback name="applied" c:type="applied">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="behave" transfer-ownership="none">
- <type name="Behaviour" c:type="ClutterBehaviour*"/>
- </parameter>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="removed">
- <callback name="removed" c:type="removed">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="behave" transfer-ownership="none">
- <type name="Behaviour" c:type="ClutterBehaviour*"/>
- </parameter>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="clutter_behaviour1">
- <callback name="clutter_behaviour1" c:type="_clutter_behaviour1">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_behaviour2">
- <callback name="clutter_behaviour2" c:type="_clutter_behaviour2">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_behaviour3">
- <callback name="clutter_behaviour3" c:type="_clutter_behaviour3">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_behaviour4">
- <callback name="clutter_behaviour4" c:type="_clutter_behaviour4">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_behaviour5">
- <callback name="clutter_behaviour5" c:type="_clutter_behaviour5">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_behaviour6">
- <callback name="clutter_behaviour6" c:type="_clutter_behaviour6">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- </record>
- <class name="BehaviourDepth"
- c:type="ClutterBehaviourDepth"
- doc="The #ClutterBehaviourDepth structure contains only private data
-and should be accessed using the provided API"
- version="0.2"
- parent="Behaviour"
- glib:type-name="ClutterBehaviourDepth"
- glib:get-type="clutter_behaviour_depth_get_type"
- glib:type-struct="BehaviourDepthClass">
- <implements name="Scriptable"/>
- <constructor name="new"
- c:identifier="clutter_behaviour_depth_new"
- doc="Creates a new #ClutterBehaviourDepth which can be used to control
-the ClutterActor:depth property of a set of #ClutterActor<!-- -->s."
- version="0.4">
- <return-value transfer-ownership="full">
- <type name="BehaviourDepth" c:type="ClutterBehaviour*"/>
+ </method>
+ <method name="override_closure"
+ c:identifier="clutter_binding_pool_override_closure"
+ version="1.0">
+ <doc xml:whitespace="preserve">A #GClosure variant of clutter_binding_pool_override_action().
+Allows overriding the action for @key_val and @modifiers inside a
+#ClutterBindingPool. See clutter_binding_pool_install_closure().
+When an action has been activated using clutter_binding_pool_activate()
+the passed @callback will be invoked (with @data).
+Actions can be blocked with clutter_binding_pool_block_action()
+and then unblocked using clutter_binding_pool_unblock_action().</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="alpha" transfer-ownership="none">
- <type name="Alpha" c:type="ClutterAlpha*"/>
+ <parameter name="key_val" transfer-ownership="none">
+ <doc xml:whitespace="preserve">key symbol</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
- <parameter name="depth_start" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="modifiers" transfer-ownership="none">
+ <doc xml:whitespace="preserve">bitmask of modifiers</doc>
+ <type name="ModifierType" c:type="ClutterModifierType"/>
</parameter>
- <parameter name="depth_end" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="closure" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GClosure</doc>
+ <type name="GObject.Closure" c:type="GClosure*"/>
</parameter>
</parameters>
- </constructor>
- <method name="set_bounds"
- c:identifier="clutter_behaviour_depth_set_bounds"
- doc="Sets the boundaries of the @behaviour."
- version="0.6">
+ </method>
+ <method name="remove_action"
+ c:identifier="clutter_binding_pool_remove_action"
+ version="1.0">
+ <doc xml:whitespace="preserve">Removes the action matching the given @key_val, @modifiers pair,
+if any exists.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="depth_start" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="key_val" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a key symbol</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
- <parameter name="depth_end" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="modifiers" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a bitmask for the modifiers</doc>
+ <type name="ModifierType" c:type="ClutterModifierType"/>
</parameter>
</parameters>
</method>
- <method name="get_bounds"
- c:identifier="clutter_behaviour_depth_get_bounds"
- doc="Gets the boundaries of the @behaviour"
- version="0.6">
+ <method name="unblock_action"
+ c:identifier="clutter_binding_pool_unblock_action"
+ version="1.0">
+ <doc xml:whitespace="preserve">Unblockes all the actions with name @action_name inside @pool.
+Unblocking an action does not cause the callback bound to it to
+be invoked in case clutter_binding_pool_activate() was called on
+an action previously blocked with clutter_binding_pool_block_action().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="depth_start"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full">
- <type name="int" c:type="gint*"/>
- </parameter>
- <parameter name="depth_end"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full">
- <type name="int" c:type="gint*"/>
+ <parameter name="action_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">an action name</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
- <property name="depth-end"
- version="0.4"
- writable="1"
- doc="End depth level to apply to the actors.">
- <type name="int" c:type="gint"/>
- </property>
- <property name="depth-start"
- version="0.4"
+ <property name="name"
+ version="1.0"
writable="1"
- doc="Start depth level to apply to the actors.">
- <type name="int" c:type="gint"/>
+ construct-only="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The unique name of the #ClutterBindingPool.</doc>
+ <type name="utf8"/>
</property>
- <field name="parent_instance">
- <type name="Behaviour" c:type="ClutterBehaviour"/>
- </field>
- <field name="priv">
- <type name="BehaviourDepthPrivate"
- c:type="ClutterBehaviourDepthPrivate*"/>
- </field>
</class>
- <record name="BehaviourDepthClass"
- c:type="ClutterBehaviourDepthClass"
- glib:is-gtype-struct-for="BehaviourDepth"
- doc="The #ClutterBehaviourDepthClass structure contains only private data"
- version="0.2">
- <field name="parent_class">
- <type name="BehaviourClass" c:type="ClutterBehaviourClass"/>
- </field>
- </record>
- <record name="BehaviourDepthPrivate" c:type="ClutterBehaviourDepthPrivate">
- </record>
- <class name="BehaviourEllipse"
- c:type="ClutterBehaviourEllipse"
- doc="The #ClutterBehaviourEllipse struct contains only private data
-and should be accessed using the provided API"
- version="0.4"
- parent="Behaviour"
- glib:type-name="ClutterBehaviourEllipse"
- glib:get-type="clutter_behaviour_ellipse_get_type"
- glib:type-struct="BehaviourEllipseClass">
- <implements name="Scriptable"/>
+ <constant name="Blue" value="269025190">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Bluetooth" value="269025172">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <class name="BlurEffect"
+ c:symbol-prefix="blur_effect"
+ c:type="ClutterBlurEffect"
+ version="1.4"
+ parent="OffscreenEffect"
+ glib:type-name="ClutterBlurEffect"
+ glib:get-type="clutter_blur_effect_get_type">
+ <doc xml:whitespace="preserve"><structname>ClutterBlurEffect</structname> is an opaque structure
+whose members cannot be accessed directly</doc>
<constructor name="new"
- c:identifier="clutter_behaviour_ellipse_new"
- doc="Creates a behaviour that drives actors along an elliptical path with
-given center, width and height; the movement starts at @start
-degrees (with 0 corresponding to 12 o'clock) and ends at @end
-degrees. Angles greated than 360 degrees get clamped to the canonical
-interval <0, 360); if @start is equal to @end, the behaviour will
-rotate by exacly 360 degrees."
- version="0.4">
- <return-value transfer-ownership="full">
- <type name="BehaviourEllipse" c:type="ClutterBehaviour*"/>
+ c:identifier="clutter_blur_effect_new"
+ version="1.4">
+ <doc xml:whitespace="preserve">Creates a new #ClutterBlurEffect to be used with
+clutter_actor_add_effect()</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the newly created #ClutterBlurEffect or %NULL</doc>
+ <type name="Effect" c:type="ClutterEffect*"/>
+ </return-value>
+ </constructor>
+ </class>
+ <constant name="Book" value="269025106">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="BounceKeys_Enable" value="65140">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <class name="Box"
+ c:symbol-prefix="box"
+ c:type="ClutterBox"
+ version="1.2"
+ parent="Actor"
+ glib:type-name="ClutterBox"
+ glib:get-type="clutter_box_get_type"
+ glib:type-struct="BoxClass">
+ <doc xml:whitespace="preserve">The #ClutterBox structure contains only private data and should
+be accessed using the provided API</doc>
+ <implements name="Atk.ImplementorIface"/>
+ <implements name="Animatable"/>
+ <implements name="Container"/>
+ <implements name="Scriptable"/>
+ <constructor name="new" c:identifier="clutter_box_new" version="1.0">
+ <doc xml:whitespace="preserve">Creates a new #ClutterBox. The children of the box will be layed
+out by the passed @manager</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the newly created #ClutterBox actor</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</return-value>
<parameters>
- <parameter name="alpha" transfer-ownership="none">
- <type name="Alpha" c:type="ClutterAlpha*"/>
- </parameter>
- <parameter name="x" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="y" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="width" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="manager" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterLayoutManager</doc>
+ <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
</parameter>
- <parameter name="height" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ </parameters>
+ </constructor>
+ <method name="get_color"
+ c:identifier="clutter_box_get_color"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the background color of @box
+If the #ClutterBox:color-set property is set to %FALSE the
+returned #ClutterColor is undefined</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="color"
+ direction="out"
+ caller-allocates="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">return location for a #ClutterColor</doc>
+ <type name="Color" c:type="ClutterColor*"/>
</parameter>
- <parameter name="direction" transfer-ownership="none">
- <type name="RotateDirection" c:type="ClutterRotateDirection"/>
+ </parameters>
+ </method>
+ <method name="get_layout_manager"
+ c:identifier="clutter_box_get_layout_manager"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the #ClutterLayoutManager instance used by @box
+#ClutterLayoutManager is owned by the #ClutterBox and it should not
+be unreferenced</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterLayoutManager. The returned</doc>
+ <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
+ </return-value>
+ </method>
+ <method name="pack"
+ c:identifier="clutter_box_pack"
+ version="1.2"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Adds @actor to @box and sets layout properties at the same time,
+if the #ClutterLayoutManager used by @box has them
+This function is a wrapper around clutter_container_add_actor()
+and clutter_layout_manager_child_set()
+Language bindings should use the vector-based clutter_box_addv()
+variant instead</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="start" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
+ <parameter name="first_property" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the first property to set, or %NULL</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
- <parameter name="end" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
+ <parameter transfer-ownership="none">
+ <varargs>
+ </varargs>
</parameter>
</parameters>
- </constructor>
- <method name="set_center"
- c:identifier="clutter_behaviour_ellipse_set_center"
- doc="Sets the center of the elliptical path to the point represented by knot."
- version="0.4">
+ </method>
+ <method name="pack_after"
+ c:identifier="clutter_box_pack_after"
+ version="1.2"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Adds @actor to @box, placing it after @sibling, and sets layout
+properties at the same time, if the #ClutterLayoutManager used by
+If @sibling is %NULL then @actor is placed at the end of the
+list of children, to be allocated and painted after every other child
+This function is a wrapper around clutter_container_add_actor(),
+clutter_container_raise_child() and clutter_layout_manager_child_set()</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="x" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="y" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="sibling" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">a #ClutterActor or %NULL</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="first_property" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the first property to set, or %NULL</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter transfer-ownership="none">
+ <varargs>
+ </varargs>
</parameter>
</parameters>
</method>
- <method name="get_center"
- c:identifier="clutter_behaviour_ellipse_get_center"
- doc="Gets the center of the elliptical path path."
- version="0.4">
+ <method name="pack_at"
+ c:identifier="clutter_box_pack_at"
+ version="1.2"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Adds @actor to @box, placing it at @position, and sets layout
+properties at the same time, if the #ClutterLayoutManager used by
+If @position is a negative number, or is larger than the number of
+children of @box, the new child is added at the end of the list of
+children</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="x"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full">
- <type name="int" c:type="gint*"/>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="y"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full">
- <type name="int" c:type="gint*"/>
+ <parameter name="position" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the position to insert the @actor at</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="first_property" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the first property to set, or %NULL</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter transfer-ownership="none">
+ <varargs>
+ </varargs>
</parameter>
</parameters>
</method>
- <method name="set_width"
- c:identifier="clutter_behaviour_ellipse_set_width"
- doc="Sets the width of the elliptical path."
- version="0.4">
+ <method name="pack_before"
+ c:identifier="clutter_box_pack_before"
+ version="1.2"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Adds @actor to @box, placing it before @sibling, and sets layout
+properties at the same time, if the #ClutterLayoutManager used by
+If @sibling is %NULL then @actor is placed at the beginning of the
+list of children, to be allocated and painted below every other child
+This function is a wrapper around clutter_container_add_actor(),
+clutter_container_lower_child() and clutter_layout_manager_child_set()</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="width" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="sibling" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">a #ClutterActor or %NULL</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="first_property" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the first property to set, or %NULL</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter transfer-ownership="none">
+ <varargs>
+ </varargs>
</parameter>
</parameters>
</method>
- <method name="get_width"
- c:identifier="clutter_behaviour_ellipse_get_width"
- doc="Gets the width of the elliptical path."
- version="0.4">
- <return-value transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </return-value>
- </method>
- <method name="set_height"
- c:identifier="clutter_behaviour_ellipse_set_height"
- doc="Sets the height of the elliptical path."
- version="0.4">
+ <method name="packv" c:identifier="clutter_box_packv" version="1.2">
+ <doc xml:whitespace="preserve">Vector-based variant of clutter_box_pack(), intended for language
+bindings to use</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="height" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="n_properties" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the number of properties to set</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ <parameter name="properties" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a vector containing the property names to set</doc>
+ <array length="1" c:type="gchar*">
+ <type name="utf8"/>
+ </array>
+ </parameter>
+ <parameter name="values" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a vector containing the property values to set</doc>
+ <array length="1" c:type="GValue*">
+ <type name="GObject.Value"/>
+ </array>
</parameter>
</parameters>
</method>
- <method name="get_height"
- c:identifier="clutter_behaviour_ellipse_get_height"
- doc="Gets the height of the elliptical path."
- version="0.4">
- <return-value transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </return-value>
- </method>
- <method name="set_angle_start"
- c:identifier="clutter_behaviour_ellipse_set_angle_start"
- doc="Sets the angle at which movement starts; angles >= 360 degress get clamped
-to the canonical interval <0, 360)."
- version="0.6">
+ <method name="set_color"
+ c:identifier="clutter_box_set_color"
+ version="1.2">
+ <doc xml:whitespace="preserve">Sets (or unsets) the background color for @box</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="angle_start" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
+ <parameter name="color" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">the background color, or %NULL to unset</doc>
+ <type name="Color" c:type="ClutterColor*"/>
</parameter>
</parameters>
</method>
- <method name="get_angle_start"
- c:identifier="clutter_behaviour_ellipse_get_angle_start"
- doc="Gets the angle at which movements starts."
- version="0.6">
- <return-value transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </return-value>
- </method>
- <method name="set_angle_end"
- c:identifier="clutter_behaviour_ellipse_set_angle_end"
- doc="Sets the angle at which movement ends; angles >= 360 degress get clamped
-to the canonical interval <0, 360)."
- version="0.4">
+ <method name="set_layout_manager"
+ c:identifier="clutter_box_set_layout_manager"
+ version="1.2">
+ <doc xml:whitespace="preserve">Sets the #ClutterLayoutManager for @box
+A #ClutterLayoutManager is a delegate object that controls the
+layout of the children of @box</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="angle_end" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
+ <parameter name="manager" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterLayoutManager</doc>
+ <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
</parameter>
</parameters>
</method>
- <method name="get_angle_end"
- c:identifier="clutter_behaviour_ellipse_get_angle_end"
- doc="Gets the at which movements ends."
- version="0.4">
+ <property name="color"
+ version="1.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The color to be used to paint the background of the
+#ClutterBox. Setting this property will set the
+#ClutterBox:color-set property as a side effect</doc>
+ <type name="Color"/>
+ </property>
+ <property name="color-set"
+ version="1.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the #ClutterBox:color property has been set</doc>
+ <type name="gboolean"/>
+ </property>
+ <property name="layout-manager"
+ version="1.2"
+ writable="1"
+ construct="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The #ClutterLayoutManager used by the #ClutterBox</doc>
+ <type name="LayoutManager"/>
+ </property>
+ <field name="parent_instance">
+ <type name="Actor" c:type="ClutterActor"/>
+ </field>
+ <field name="priv">
+ <type name="BoxPrivate" c:type="ClutterBoxPrivate*"/>
+ </field>
+ </class>
+ <enumeration name="BoxAlignment"
+ version="1.2"
+ glib:type-name="ClutterBoxAlignment"
+ glib:get-type="clutter_box_alignment_get_type"
+ c:type="ClutterBoxAlignment">
+ <doc xml:whitespace="preserve">The alignment policies available on each axis of the #ClutterBoxLayout</doc>
+ <member name="start"
+ value="0"
+ c:identifier="CLUTTER_BOX_ALIGNMENT_START"
+ glib:nick="start"/>
+ <member name="end"
+ value="1"
+ c:identifier="CLUTTER_BOX_ALIGNMENT_END"
+ glib:nick="end"/>
+ <member name="center"
+ value="2"
+ c:identifier="CLUTTER_BOX_ALIGNMENT_CENTER"
+ glib:nick="center"/>
+ </enumeration>
+ <record name="BoxClass"
+ c:type="ClutterBoxClass"
+ glib:is-gtype-struct-for="Box"
+ version="1.2">
+ <doc xml:whitespace="preserve">The #ClutterBoxClass structure contains only private data</doc>
+ <field name="parent_class">
+ <type name="ActorClass" c:type="ClutterActorClass"/>
+ </field>
+ <field name="clutter_padding_1">
+ <callback name="clutter_padding_1">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="clutter_padding_2">
+ <callback name="clutter_padding_2">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="clutter_padding_3">
+ <callback name="clutter_padding_3">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="clutter_padding_4">
+ <callback name="clutter_padding_4">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="clutter_padding_5">
+ <callback name="clutter_padding_5">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="clutter_padding_6">
+ <callback name="clutter_padding_6">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ </record>
+ <class name="BoxLayout"
+ c:symbol-prefix="box_layout"
+ c:type="ClutterBoxLayout"
+ version="1.2"
+ parent="LayoutManager"
+ glib:type-name="ClutterBoxLayout"
+ glib:get-type="clutter_box_layout_get_type"
+ glib:type-struct="BoxLayoutClass">
+ <doc xml:whitespace="preserve">The #ClutterBoxLayout structure contains only private data
+and should be accessed using the provided API</doc>
+ <constructor name="new"
+ c:identifier="clutter_box_layout_new"
+ version="1.2">
+ <doc xml:whitespace="preserve">Creates a new #ClutterBoxLayout layout manager</doc>
<return-value transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
+ <doc xml:whitespace="preserve">the newly created #ClutterBoxLayout</doc>
+ <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
</return-value>
- </method>
- <method name="set_angle_tilt"
- c:identifier="clutter_behaviour_ellipse_set_angle_tilt"
- doc="Sets the angle at which the ellipse should be tilted around it's center."
- version="0.4">
+ </constructor>
+ <method name="get_alignment"
+ c:identifier="clutter_box_layout_get_alignment"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the horizontal and vertical alignment policies for @actor
+as set using clutter_box_layout_pack() or clutter_box_layout_set_alignment()</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="axis" transfer-ownership="none">
- <type name="RotateAxis" c:type="ClutterRotateAxis"/>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor child of @layout</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="angle_tilt"
- transfer-ownership="none"
- doc=" degrees.">
- <type name="double" c:type="gdouble"/>
+ <parameter name="x_align"
+ direction="out"
+ caller-allocates="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">return location for the horizontal alignment policy</doc>
+ <type name="BoxAlignment" c:type="ClutterBoxAlignment*"/>
+ </parameter>
+ <parameter name="y_align"
+ direction="out"
+ caller-allocates="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">return location for the vertical alignment policy</doc>
+ <type name="BoxAlignment" c:type="ClutterBoxAlignment*"/>
</parameter>
</parameters>
</method>
- <method name="get_angle_tilt"
- c:identifier="clutter_behaviour_ellipse_get_angle_tilt"
- doc="Gets the tilt of the ellipse around the center in the given axis."
- version="0.4">
+ <method name="get_easing_duration"
+ c:identifier="clutter_box_layout_get_easing_duration"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the duration set using clutter_box_layout_set_easing_duration()</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the duration of the animations, in milliseconds</doc>
+ <type name="guint" c:type="guint"/>
+ </return-value>
+ </method>
+ <method name="get_easing_mode"
+ c:identifier="clutter_box_layout_get_easing_mode"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the easing mode set using clutter_box_layout_set_easing_mode()</doc>
<return-value transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
+ <doc xml:whitespace="preserve">an easing mode</doc>
+ <type name="gulong" c:type="gulong"/>
</return-value>
- <parameters>
- <parameter name="axis" transfer-ownership="none">
- <type name="RotateAxis" c:type="ClutterRotateAxis"/>
- </parameter>
- </parameters>
</method>
- <method name="set_tilt"
- c:identifier="clutter_behaviour_ellipse_set_tilt"
- doc="Sets the angles at which the ellipse should be tilted around it's center."
- version="0.4">
+ <method name="get_expand"
+ c:identifier="clutter_box_layout_get_expand"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves whether @actor should expand inside @layout</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">%TRUE if the #ClutterActor should expand, %FALSE otherwise</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
- <parameter name="angle_tilt_x" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </parameter>
- <parameter name="angle_tilt_y" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </parameter>
- <parameter name="angle_tilt_z" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor child of @layout</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</parameter>
</parameters>
</method>
- <method name="get_tilt"
- c:identifier="clutter_behaviour_ellipse_get_tilt"
- doc="Gets the tilt of the ellipse around the center in Y axis."
- version="0.4">
+ <method name="get_fill"
+ c:identifier="clutter_box_layout_get_fill"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the horizontal and vertical fill policies for @actor
+as set using clutter_box_layout_pack() or clutter_box_layout_set_fill()</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="angle_tilt_x"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full">
- <type name="double" c:type="gdouble*"/>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor child of @layout</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="angle_tilt_y"
+ <parameter name="x_fill"
direction="out"
caller-allocates="0"
transfer-ownership="full">
- <type name="double" c:type="gdouble*"/>
+ <doc xml:whitespace="preserve">return location for the horizontal fill policy</doc>
+ <type name="gboolean" c:type="gboolean*"/>
</parameter>
- <parameter name="angle_tilt_z"
+ <parameter name="y_fill"
direction="out"
caller-allocates="0"
transfer-ownership="full">
- <type name="double" c:type="gdouble*"/>
+ <doc xml:whitespace="preserve">return location for the vertical fill policy</doc>
+ <type name="gboolean" c:type="gboolean*"/>
</parameter>
</parameters>
</method>
- <method name="get_direction"
- c:identifier="clutter_behaviour_ellipse_get_direction"
- doc="Retrieves the #ClutterRotateDirection used by the ellipse behaviour."
- version="0.4">
- <return-value transfer-ownership="full">
- <type name="RotateDirection" c:type="ClutterRotateDirection"/>
+ <method name="get_homogeneous"
+ c:identifier="clutter_box_layout_get_homogeneous"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves if the children sizes are allocated homogeneously.
+homogeneously, and %FALSE otherwise</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the #ClutterBoxLayout is arranging its children</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
- <method name="set_direction"
- c:identifier="clutter_behaviour_ellipse_set_direction"
- doc="Sets the rotation direction used by the ellipse behaviour."
- version="0.4">
+ <method name="get_pack_start"
+ c:identifier="clutter_box_layout_get_pack_start"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the value set using clutter_box_layout_set_pack_start()
+at the beginning of the layout, and %FALSE otherwise</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">%TRUE if the #ClutterBoxLayout should pack children</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
- <parameters>
- <parameter name="direction" transfer-ownership="none">
- <type name="RotateDirection" c:type="ClutterRotateDirection"/>
- </parameter>
- </parameters>
</method>
- <property name="angle-end"
- version="0.4"
- writable="1"
- doc="The final angle to where the rotation should end.">
- <type name="double" c:type="gdouble"/>
- </property>
- <property name="angle-start"
- version="0.4"
- writable="1"
- doc="The initial angle from where the rotation should start.">
- <type name="double" c:type="gdouble"/>
- </property>
- <property name="angle-tilt-x"
- version="0.4"
- writable="1"
- doc="The tilt angle for the rotation around center in X axis">
- <type name="double" c:type="gdouble"/>
- </property>
- <property name="angle-tilt-y"
- version="0.4"
- writable="1"
- doc="The tilt angle for the rotation around center in Y axis">
- <type name="double" c:type="gdouble"/>
- </property>
- <property name="angle-tilt-z"
- version="0.4"
- writable="1"
- doc="The tilt angle for the rotation on the Z axis">
- <type name="double" c:type="gdouble"/>
- </property>
- <property name="center"
- version="0.4"
- writable="1"
- doc="The center of the ellipse.">
- <type name="Knot" c:type="ClutterKnot"/>
- </property>
- <property name="direction"
- version="0.4"
- writable="1"
- doc="The direction of the rotation.">
- <type name="RotateDirection" c:type="ClutterRotateDirection"/>
- </property>
- <property name="height"
- version="0.4"
- writable="1"
- doc="Height of the ellipse, in pixels">
- <type name="int" c:type="gint"/>
- </property>
- <property name="width"
- version="0.4"
- writable="1"
- doc="Width of the ellipse, in pixels">
- <type name="int" c:type="gint"/>
- </property>
- <field name="parent_instance">
- <type name="Behaviour" c:type="ClutterBehaviour"/>
- </field>
- <field name="priv">
- <type name="BehaviourEllipsePrivate"
- c:type="ClutterBehaviourEllipsePrivate*"/>
- </field>
- </class>
- <record name="BehaviourEllipseClass"
- c:type="ClutterBehaviourEllipseClass"
- glib:is-gtype-struct-for="BehaviourEllipse"
- doc="The #ClutterBehaviourEllipseClass struct contains only private data"
- version="0.4">
- <field name="parent_class">
- <type name="BehaviourClass" c:type="ClutterBehaviourClass"/>
- </field>
- </record>
- <record name="BehaviourEllipsePrivate"
- c:type="ClutterBehaviourEllipsePrivate">
- </record>
- <callback name="BehaviourForeachFunc"
- c:type="ClutterBehaviourForeachFunc"
- doc="This function is passed to clutter_behaviour_foreach_actor() and
-will be called for each actor driven by @behaviour."
- version="0.2">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="behaviour" transfer-ownership="none">
- <type name="Behaviour" c:type="ClutterBehaviour*"/>
- </parameter>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- <parameter name="data" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
- </parameter>
- </parameters>
- </callback>
- <class name="BehaviourOpacity"
- c:type="ClutterBehaviourOpacity"
- doc="The #ClutterBehaviourOpacity structure contains only private data and
-should be accessed using the provided API"
- version="0.2"
- parent="Behaviour"
- glib:type-name="ClutterBehaviourOpacity"
- glib:get-type="clutter_behaviour_opacity_get_type"
- glib:type-struct="BehaviourOpacityClass">
- <implements name="Scriptable"/>
- <constructor name="new"
- c:identifier="clutter_behaviour_opacity_new"
- doc="Creates a new #ClutterBehaviourOpacity object, driven by @alpha
-which controls the opacity property of every actor, making it
-change in the interval between @opacity_start and @opacity_end."
- version="0.2">
- <return-value transfer-ownership="full">
- <type name="BehaviourOpacity" c:type="ClutterBehaviour*"/>
+ <method name="get_spacing"
+ c:identifier="clutter_box_layout_get_spacing"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the spacing set using clutter_box_layout_set_spacing()</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the spacing between children of the #ClutterBoxLayout</doc>
+ <type name="guint" c:type="guint"/>
</return-value>
- <parameters>
- <parameter name="alpha" transfer-ownership="none">
- <type name="Alpha" c:type="ClutterAlpha*"/>
- </parameter>
- <parameter name="opacity_start" transfer-ownership="none">
- <type name="uint8" c:type="guint8"/>
- </parameter>
- <parameter name="opacity_end" transfer-ownership="none">
- <type name="uint8" c:type="guint8"/>
- </parameter>
- </parameters>
- </constructor>
- <method name="set_bounds"
- c:identifier="clutter_behaviour_opacity_set_bounds"
- doc="Sets the initial and final levels of the opacity applied by @behaviour
-on each actor it controls."
- version="0.6">
+ </method>
+ <method name="get_use_animations"
+ c:identifier="clutter_box_layout_get_use_animations"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves whether @layout should animate changes in the layout properties
+Since clutter_box_layout_set_use_animations()</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the animations should be used, %FALSE otherwise</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ </method>
+ <method name="get_vertical"
+ c:identifier="clutter_box_layout_get_vertical"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the orientation of the @layout as set using the
+clutter_box_layout_set_vertical() function
+vertically, and %FALSE otherwise</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the #ClutterBoxLayout is arranging its children</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ </method>
+ <method name="pack" c:identifier="clutter_box_layout_pack" version="1.2">
+ <doc xml:whitespace="preserve">Packs @actor inside the #ClutterContainer associated to @layout
+and sets the layout properties</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="opacity_start" transfer-ownership="none">
- <type name="uint8" c:type="guint8"/>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="opacity_end" transfer-ownership="none">
- <type name="uint8" c:type="guint8"/>
+ <parameter name="expand" transfer-ownership="none">
+ <doc xml:whitespace="preserve">whether the @actor should expand</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </parameter>
+ <parameter name="x_fill" transfer-ownership="none">
+ <doc xml:whitespace="preserve">whether the @actor should fill horizontally</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </parameter>
+ <parameter name="y_fill" transfer-ownership="none">
+ <doc xml:whitespace="preserve">whether the @actor should fill vertically</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </parameter>
+ <parameter name="x_align" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the horizontal alignment policy for @actor</doc>
+ <type name="BoxAlignment" c:type="ClutterBoxAlignment"/>
+ </parameter>
+ <parameter name="y_align" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the vertical alignment policy for @actor</doc>
+ <type name="BoxAlignment" c:type="ClutterBoxAlignment"/>
</parameter>
</parameters>
</method>
- <method name="get_bounds"
- c:identifier="clutter_behaviour_opacity_get_bounds"
- doc="Gets the initial and final levels of the opacity applied by @behaviour
-on each actor it controls."
- version="0.6">
+ <method name="set_alignment"
+ c:identifier="clutter_box_layout_set_alignment"
+ version="1.2">
+ <doc xml:whitespace="preserve">Sets the horizontal and vertical alignment policies for @actor
+inside @layout</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="opacity_start" transfer-ownership="none">
- <array c:type="guint8*">
- <type name="uint8"/>
- </array>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor child of @layout</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="opacity_end" transfer-ownership="none">
- <array c:type="guint8*">
- <type name="uint8"/>
- </array>
+ <parameter name="x_align" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Horizontal alignment policy for @actor</doc>
+ <type name="BoxAlignment" c:type="ClutterBoxAlignment"/>
+ </parameter>
+ <parameter name="y_align" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Vertical alignment policy for @actor</doc>
+ <type name="BoxAlignment" c:type="ClutterBoxAlignment"/>
</parameter>
</parameters>
</method>
- <property name="opacity-end"
- version="0.2"
- writable="1"
- doc="Final opacity level of the behaviour.">
- <type name="uint" c:type="guint"/>
- </property>
- <property name="opacity-start"
- version="0.2"
- writable="1"
- doc="Initial opacity level of the behaviour.">
- <type name="uint" c:type="guint"/>
- </property>
- <field name="parent">
- <type name="Behaviour" c:type="ClutterBehaviour"/>
- </field>
- <field name="priv">
- <type name="BehaviourOpacityPrivate"
- c:type="ClutterBehaviourOpacityPrivate*"/>
- </field>
- </class>
- <record name="BehaviourOpacityClass"
- c:type="ClutterBehaviourOpacityClass"
- glib:is-gtype-struct-for="BehaviourOpacity"
- doc="The #ClutterBehaviourOpacityClas structure contains only private data"
- version="0.2">
- <field name="parent_class">
- <type name="BehaviourClass" c:type="ClutterBehaviourClass"/>
- </field>
- </record>
- <record name="BehaviourOpacityPrivate"
- c:type="ClutterBehaviourOpacityPrivate">
- </record>
- <class name="BehaviourPath"
- c:type="ClutterBehaviourPath"
- doc="The #ClutterBehaviourPath structure contains only private data
-and should be accessed using the provided API"
- version="0.2"
- parent="Behaviour"
- glib:type-name="ClutterBehaviourPath"
- glib:get-type="clutter_behaviour_path_get_type"
- glib:type-struct="BehaviourPathClass">
- <implements name="Scriptable"/>
- <constructor name="new"
- c:identifier="clutter_behaviour_path_new"
- doc="Creates a new path behaviour. You can use this behaviour to drive
-actors along the nodes of a path, described by @path.
-This will claim the floating reference on the #ClutterPath so you
-do not need to unref if it."
- version="0.2">
- <return-value transfer-ownership="full">
- <type name="BehaviourPath" c:type="ClutterBehaviour*"/>
+ <method name="set_easing_duration"
+ c:identifier="clutter_box_layout_set_easing_duration"
+ version="1.2">
+ <doc xml:whitespace="preserve">Sets the duration of the animations used by @layout when animating changes
+in the layout properties
+Use clutter_box_layout_set_use_animations() to enable and disable the
+animations</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="alpha" transfer-ownership="none">
- <type name="Alpha" c:type="ClutterAlpha*"/>
+ <parameter name="msecs" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the duration of the animations, in milliseconds</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
- <parameter name="path" transfer-ownership="none">
- <type name="Path" c:type="ClutterPath*"/>
+ </parameters>
+ </method>
+ <method name="set_easing_mode"
+ c:identifier="clutter_box_layout_set_easing_mode"
+ version="1.2">
+ <doc xml:whitespace="preserve">Sets the easing mode to be used by @layout when animating changes in layout
+properties
+Use clutter_box_layout_set_use_animations() to enable and disable the
+animations</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="mode" transfer-ownership="none">
+ <doc xml:whitespace="preserve">an easing mode, either from #ClutterAnimationMode or a logical id from clutter_alpha_register_func()</doc>
+ <type name="gulong" c:type="gulong"/>
</parameter>
</parameters>
- </constructor>
- <constructor name="new_with_description"
- c:identifier="clutter_behaviour_path_new_with_description"
- doc="Creates a new path behaviour using the path described by @desc. See
-clutter_path_add_string() for a description of the format."
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="BehaviourPath" c:type="ClutterBehaviour*"/>
+ </method>
+ <method name="set_expand"
+ c:identifier="clutter_box_layout_set_expand"
+ version="1.2">
+ <doc xml:whitespace="preserve">Sets whether @actor should expand inside @layout</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="alpha" transfer-ownership="none">
- <type name="Alpha" c:type="ClutterAlpha*"/>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor child of @layout</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="desc" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="expand" transfer-ownership="none">
+ <doc xml:whitespace="preserve">whether @actor should expand</doc>
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
- </constructor>
- <constructor name="new_with_knots"
- c:identifier="clutter_behaviour_path_new_with_knots"
- doc="Creates a new path behaviour that will make the actors visit all of
-the given knots in order with straight lines in between.
-A path will be created where the first knot is used in a
-%CLUTTER_PATH_MOVE_TO and the subsequent knots are used in
-%CLUTTER_PATH_LINE_TO<!-- -->s."
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="BehaviourPath" c:type="ClutterBehaviour*"/>
+ </method>
+ <method name="set_fill"
+ c:identifier="clutter_box_layout_set_fill"
+ version="1.2">
+ <doc xml:whitespace="preserve">Sets the horizontal and vertical fill policies for @actor
+inside @layout</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="alpha" transfer-ownership="none">
- <type name="Alpha" c:type="ClutterAlpha*"/>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor child of @layout</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="knots" transfer-ownership="none">
- <type name="Knot" c:type="ClutterKnot*"/>
+ <parameter name="x_fill" transfer-ownership="none">
+ <doc xml:whitespace="preserve">whether @actor should fill horizontally the allocated space</doc>
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
- <parameter name="n_knots" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <parameter name="y_fill" transfer-ownership="none">
+ <doc xml:whitespace="preserve">whether @actor should fill vertically the allocated space</doc>
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
- </constructor>
- <method name="set_path"
- c:identifier="clutter_behaviour_path_set_path"
- doc="Change the path that the actors will follow. This will take the
-floating reference on the #ClutterPath so you do not need to unref
-it."
- version="1.0">
+ </method>
+ <method name="set_homogeneous"
+ c:identifier="clutter_box_layout_set_homogeneous"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets whether the size of @layout children should be
+homogeneous</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="path" transfer-ownership="none">
- <type name="Path" c:type="ClutterPath*"/>
+ <parameter name="homogeneous" transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the layout should be homogeneous</doc>
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
- <method name="get_path"
- c:identifier="clutter_behaviour_path_get_path"
- doc="Get the current path of the behaviour"
- version="1.0">
- <return-value transfer-ownership="none" doc="the path">
- <type name="Path" c:type="ClutterPath*"/>
+ <method name="set_pack_start"
+ c:identifier="clutter_box_layout_set_pack_start"
+ version="1.2">
+ <doc xml:whitespace="preserve">Sets whether children of @layout should be layed out by appending
+them or by prepending them</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="pack_start" transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the @layout should pack children at the beginning of the layout</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </parameter>
+ </parameters>
</method>
- <property name="path" writable="1">
- <type name="Path" c:type="ClutterPath"/>
- </property>
- <field name="parent">
- <type name="Behaviour" c:type="ClutterBehaviour"/>
- </field>
- <field name="priv">
- <type name="BehaviourPathPrivate"
- c:type="ClutterBehaviourPathPrivate*"/>
- </field>
- <glib:signal name="knot-reached"
- doc="This signal is emitted each time a node defined inside the path
-is reached."
- version="0.2">
- <return-value transfer-ownership="full">
+ <method name="set_spacing"
+ c:identifier="clutter_box_layout_set_spacing"
+ version="1.2">
+ <doc xml:whitespace="preserve">Sets the spacing between children of @layout</doc>
+ <return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="knot_num" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <parameter name="spacing" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the spacing between children of the layout, in pixels</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
</parameters>
- </glib:signal>
+ </method>
+ <method name="set_use_animations"
+ c:identifier="clutter_box_layout_set_use_animations"
+ version="1.2">
+ <doc xml:whitespace="preserve">Sets whether @layout should animate changes in the layout properties
+The duration of the animations is controlled by
+clutter_box_layout_set_easing_duration(); the easing mode to be used
+by the animations is controlled by clutter_box_layout_set_easing_mode()</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="animate" transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the @layout should use animations</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_vertical"
+ c:identifier="clutter_box_layout_set_vertical"
+ version="1.2">
+ <doc xml:whitespace="preserve">Sets whether @layout should arrange its children vertically alongside
+the Y axis, instead of horizontally alongside the X axis</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="vertical" transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the layout should be vertical</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </parameter>
+ </parameters>
+ </method>
+ <property name="easing-duration"
+ version="1.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The duration of the animations, in case #ClutterBoxLayout:use-animations
+is set to %TRUE
+The duration is expressed in milliseconds</doc>
+ <type name="guint"/>
+ </property>
+ <property name="easing-mode"
+ version="1.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The easing mode for the animations, in case
+#ClutterBoxLayout:use-animations is set to %TRUE
+either be a value from the #ClutterAnimationMode enumeration, like
+%CLUTTER_EASE_OUT_CUBIC, or a logical id as returned by
+clutter_alpha_register_func()
+The default value is %CLUTTER_EASE_OUT_CUBIC</doc>
+ <type name="gulong"/>
+ </property>
+ <property name="homogeneous"
+ version="1.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the #ClutterBoxLayout should arrange its children
+homogeneously, i.e. all childs get the same size</doc>
+ <type name="gboolean"/>
+ </property>
+ <property name="pack-start"
+ version="1.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the #ClutterBoxLayout should pack items at the start
+or append them at the end</doc>
+ <type name="gboolean"/>
+ </property>
+ <property name="spacing"
+ version="1.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The spacing between children of the #ClutterBoxLayout, in pixels</doc>
+ <type name="guint"/>
+ </property>
+ <property name="use-animations"
+ version="1.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the #ClutterBoxLayout should animate changes in the
+layout properties</doc>
+ <type name="gboolean"/>
+ </property>
+ <property name="vertical"
+ version="1.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the #ClutterBoxLayout should arrange its children
+alongside the Y axis, instead of alongside the X axis</doc>
+ <type name="gboolean"/>
+ </property>
+ <field name="parent_instance">
+ <type name="LayoutManager" c:type="ClutterLayoutManager"/>
+ </field>
+ <field name="priv">
+ <type name="BoxLayoutPrivate" c:type="ClutterBoxLayoutPrivate*"/>
+ </field>
</class>
- <record name="BehaviourPathClass"
- c:type="ClutterBehaviourPathClass"
- glib:is-gtype-struct-for="BehaviourPath">
+ <record name="BoxLayoutClass"
+ c:type="ClutterBoxLayoutClass"
+ glib:is-gtype-struct-for="BoxLayout"
+ version="1.2">
+ <doc xml:whitespace="preserve">The #ClutterBoxLayoutClass structure contains only private
+data and should be accessed using the provided API</doc>
<field name="parent_class">
- <type name="BehaviourClass" c:type="ClutterBehaviourClass"/>
+ <type name="LayoutManagerClass" c:type="ClutterLayoutManagerClass"/>
</field>
- <field name="knot_reached">
- <callback name="knot_reached" c:type="knot_reached">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="pathb" transfer-ownership="none">
- <type name="BehaviourPath" c:type="ClutterBehaviourPath*"/>
- </parameter>
- <parameter name="knot_num" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- </parameters>
- </callback>
+ </record>
+ <record name="BoxLayoutPrivate"
+ c:type="ClutterBoxLayoutPrivate"
+ disguised="1">
+ </record>
+ <record name="BoxPrivate" c:type="ClutterBoxPrivate" disguised="1">
+ </record>
+ <constant name="Break" value="65387">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="BrightnessAdjust" value="269025083">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <record name="ButtonEvent" c:type="ClutterButtonEvent" version="0.2">
+ <doc xml:whitespace="preserve">Button event.
+The event coordinates are relative to the stage that received the
+event, and can be transformed into actor-relative coordinates by
+using clutter_actor_transform_stage_point().</doc>
+ <field name="type" writable="1">
+ <type name="EventType" c:type="ClutterEventType"/>
</field>
- <field name="clutter_path_1">
- <callback name="clutter_path_1" c:type="_clutter_path_1">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
+ <field name="time" writable="1">
+ <type name="guint32" c:type="guint32"/>
</field>
- <field name="clutter_path_2">
- <callback name="clutter_path_2" c:type="_clutter_path_2">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
+ <field name="flags" writable="1">
+ <type name="EventFlags" c:type="ClutterEventFlags"/>
</field>
- <field name="clutter_path_3">
- <callback name="clutter_path_3" c:type="_clutter_path_3">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
+ <field name="stage" writable="1">
+ <type name="Stage" c:type="ClutterStage*"/>
</field>
- <field name="clutter_path_4">
- <callback name="clutter_path_4" c:type="_clutter_path_4">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
+ <field name="source" writable="1">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </field>
+ <field name="x" writable="1">
+ <type name="gfloat" c:type="gfloat"/>
+ </field>
+ <field name="y" writable="1">
+ <type name="gfloat" c:type="gfloat"/>
+ </field>
+ <field name="modifier_state" writable="1">
+ <type name="ModifierType" c:type="ClutterModifierType"/>
+ </field>
+ <field name="button" writable="1">
+ <type name="guint32" c:type="guint32"/>
+ </field>
+ <field name="click_count" writable="1">
+ <type name="guint" c:type="guint"/>
+ </field>
+ <field name="axes" writable="1">
+ <type name="gdouble" c:type="gdouble*"/>
+ </field>
+ <field name="device" writable="1">
+ <type name="InputDevice" c:type="ClutterInputDevice*"/>
</field>
</record>
- <record name="BehaviourPathPrivate" c:type="ClutterBehaviourPathPrivate">
- </record>
- <record name="BehaviourPrivate" c:type="ClutterBehaviourPrivate">
- </record>
- <class name="BehaviourRotate"
- c:type="ClutterBehaviourRotate"
- doc="The #ClutterBehaviourRotate struct contains only private data and
-should be accessed using the provided API"
- version="0.4"
- parent="Behaviour"
- glib:type-name="ClutterBehaviourRotate"
- glib:get-type="clutter_behaviour_rotate_get_type"
- glib:type-struct="BehaviourRotateClass">
+ <constant name="Byelorussian_SHORTU" value="1726">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Byelorussian_shortu" value="1710">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="C" value="67">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="CD" value="269025107">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="COGL" value="gl">
+ <type name="utf8" c:type="gchar*"/>
+ </constant>
+ <constant name="CURRENT_TIME" value="0">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cabovedot" value="709">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cacute" value="454">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <class name="CairoTexture"
+ c:symbol-prefix="cairo_texture"
+ c:type="ClutterCairoTexture"
+ version="1.0"
+ parent="Texture"
+ glib:type-name="ClutterCairoTexture"
+ glib:get-type="clutter_cairo_texture_get_type"
+ glib:type-struct="CairoTextureClass">
+ <doc xml:whitespace="preserve">The #ClutterCairoTexture struct contains only private data.</doc>
+ <implements name="Atk.ImplementorIface"/>
+ <implements name="Animatable"/>
<implements name="Scriptable"/>
<constructor name="new"
- c:identifier="clutter_behaviour_rotate_new"
- doc="Creates a new #ClutterBehaviourRotate. This behaviour will rotate actors
-bound to it on @axis, following @direction, between @angle_start and
-<0, 360), if angle_start == angle_end, the behaviour will carry out a
-single rotation of 360 degrees."
- version="0.4">
- <return-value transfer-ownership="full">
- <type name="BehaviourRotate" c:type="ClutterBehaviour*"/>
- </return-value>
- <parameters>
- <parameter name="alpha" transfer-ownership="none">
- <type name="Alpha" c:type="ClutterAlpha*"/>
- </parameter>
- <parameter name="axis" transfer-ownership="none">
- <type name="RotateAxis" c:type="ClutterRotateAxis"/>
- </parameter>
- <parameter name="direction" transfer-ownership="none">
- <type name="RotateDirection" c:type="ClutterRotateDirection"/>
- </parameter>
- <parameter name="angle_start" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </parameter>
- <parameter name="angle_end" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </parameter>
- </parameters>
- </constructor>
- <method name="get_center"
- c:identifier="clutter_behaviour_rotate_get_center"
- doc="Retrieves the center of rotation set using
-clutter_behaviour_rotate_set_center()."
- version="0.4">
+ c:identifier="clutter_cairo_texture_new"
+ version="1.0">
+ <doc xml:whitespace="preserve">Creates a new #ClutterCairoTexture actor, with a surface of @width by</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the newly created #ClutterCairoTexture actor</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</return-value>
<parameters>
- <parameter name="x"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full">
- <type name="int" c:type="gint*"/>
- </parameter>
- <parameter name="y"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full">
- <type name="int" c:type="gint*"/>
+ <parameter name="width" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the width of the surface</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
- <parameter name="z"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full">
- <type name="int" c:type="gint*"/>
+ <parameter name="height" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the height of the surface</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
</parameters>
- </method>
- <method name="set_center"
- c:identifier="clutter_behaviour_rotate_set_center"
- doc="Sets the center of rotation. The coordinates are relative to the plane
-normal to the rotation axis set with clutter_behaviour_rotate_set_axis()."
- version="0.4">
+ </constructor>
+ <method name="clear"
+ c:identifier="clutter_cairo_texture_clear"
+ version="1.0">
+ <doc xml:whitespace="preserve">Clears @self's internal drawing surface, so that the next upload
+will replace the previous contents of the #ClutterCairoTexture
+rather than adding to it.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- <parameters>
- <parameter name="x" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="y" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="z" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- </parameters>
</method>
- <method name="get_axis"
- c:identifier="clutter_behaviour_rotate_get_axis"
- doc="Retrieves the #ClutterRotateAxis used by the rotate behaviour."
- version="0.4">
- <return-value transfer-ownership="full">
- <type name="RotateAxis" c:type="ClutterRotateAxis"/>
+ <method name="create"
+ c:identifier="clutter_cairo_texture_create"
+ version="1.0"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Creates a new Cairo context for the @cairo texture. It is
+similar to using clutter_cairo_texture_create_region() with @x_offset
+and @y_offset of 0, @width equal to the @cairo texture surface width
+and @height equal to the @cairo texture surface height.
+<warning><para>Do not call this function within the paint virtual
+function or from a callback to the #ClutterActor::paint
+signal.</para></warning>
+to upload the contents of the context when done drawing</doc>
+ <return-value>
+ <doc xml:whitespace="preserve">a newly created Cairo context. Use cairo_destroy()</doc>
+ <type name="cairo.Context" c:type="cairo_t*"/>
</return-value>
</method>
- <method name="set_axis"
- c:identifier="clutter_behaviour_rotate_set_axis"
- doc="Sets the axis used by the rotate behaviour."
- version="0.4">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <method name="create_region"
+ c:identifier="clutter_cairo_texture_create_region"
+ version="1.0"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Creates a new Cairo context that will updat the region defined
+by @x_offset, @y_offset, @width and @height.
+<warning><para>Do not call this function within the paint virtual
+function or from a callback to the #ClutterActor::paint
+signal.</para></warning>
+to upload the contents of the context when done drawing</doc>
+ <return-value>
+ <doc xml:whitespace="preserve">a newly created Cairo context. Use cairo_destroy()</doc>
+ <type name="cairo.Context" c:type="cairo_t*"/>
</return-value>
<parameters>
- <parameter name="axis" transfer-ownership="none">
- <type name="RotateAxis" c:type="ClutterRotateAxis"/>
+ <parameter name="x_offset" transfer-ownership="none">
+ <doc xml:whitespace="preserve">offset of the region on the X axis</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
- </parameters>
- </method>
- <method name="get_direction"
- c:identifier="clutter_behaviour_rotate_get_direction"
- doc="Retrieves the #ClutterRotateDirection used by the rotate behaviour."
- version="0.4">
- <return-value transfer-ownership="full">
- <type name="RotateDirection" c:type="ClutterRotateDirection"/>
- </return-value>
- </method>
- <method name="set_direction"
- c:identifier="clutter_behaviour_rotate_set_direction"
- doc="Sets the rotation direction used by the rotate behaviour."
- version="0.4">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="direction" transfer-ownership="none">
- <type name="RotateDirection" c:type="ClutterRotateDirection"/>
+ <parameter name="y_offset" transfer-ownership="none">
+ <doc xml:whitespace="preserve">offset of the region on the Y axis</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="width" transfer-ownership="none">
+ <doc xml:whitespace="preserve">width of the region, or -1 for the full surface width</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="height" transfer-ownership="none">
+ <doc xml:whitespace="preserve">height of the region, or -1 for the full surface height</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
- <method name="get_bounds"
- c:identifier="clutter_behaviour_rotate_get_bounds"
- doc="Retrieves the rotation boundaries of the rotate behaviour."
- version="0.4">
+ <method name="get_surface_size"
+ c:identifier="clutter_cairo_texture_get_surface_size"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the surface width and height for @self.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="angle_start"
+ <parameter name="width"
direction="out"
caller-allocates="0"
transfer-ownership="full">
- <type name="double" c:type="gdouble*"/>
+ <doc xml:whitespace="preserve">return location for the surface width, or %NULL</doc>
+ <type name="guint" c:type="guint*"/>
</parameter>
- <parameter name="angle_end"
+ <parameter name="height"
direction="out"
caller-allocates="0"
transfer-ownership="full">
- <type name="double" c:type="gdouble*"/>
+ <doc xml:whitespace="preserve">return location for the surface height, or %NULL</doc>
+ <type name="guint" c:type="guint*"/>
</parameter>
</parameters>
</method>
- <method name="set_bounds"
- c:identifier="clutter_behaviour_rotate_set_bounds"
- doc="Sets the initial and final angles of a rotation behaviour; angles >= 360
-degrees get clamped to the canonical interval <0, 360)."
- version="0.4">
+ <method name="set_surface_size"
+ c:identifier="clutter_cairo_texture_set_surface_size"
+ version="1.0">
+ <doc xml:whitespace="preserve">Resizes the Cairo surface used by @self to @width and @height.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="angle_start" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
+ <parameter name="width" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the new width of the surface</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
- <parameter name="angle_end" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
+ <parameter name="height" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the new height of the surface</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
- <property name="angle-end"
- version="0.4"
- writable="1"
- doc="The final angle to where the rotation should end.">
- <type name="double" c:type="gdouble"/>
- </property>
- <property name="angle-start"
- version="0.4"
- writable="1"
- doc="The initial angle from whence the rotation should start.">
- <type name="double" c:type="gdouble"/>
- </property>
- <property name="axis"
- version="0.4"
- writable="1"
- doc="The axis of rotation.">
- <type name="RotateAxis" c:type="ClutterRotateAxis"/>
- </property>
- <property name="center-x"
- version="0.4"
+ <property name="surface-height"
+ version="1.0"
writable="1"
- doc="The x center of rotation.">
- <type name="int" c:type="gint"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The height of the Cairo surface used by the #ClutterCairoTexture
+actor, in pixels.</doc>
+ <type name="guint"/>
</property>
- <property name="center-y"
- version="0.4"
+ <property name="surface-width"
+ version="1.0"
writable="1"
- doc="The y center of rotation.">
- <type name="int" c:type="gint"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The width of the Cairo surface used by the #ClutterCairoTexture
+actor, in pixels.</doc>
+ <type name="guint"/>
</property>
- <property name="center-z"
- version="0.4"
+ <field name="parent_instance">
+ <type name="Texture" c:type="ClutterTexture"/>
+ </field>
+ <field name="priv">
+ <type name="CairoTexturePrivate" c:type="ClutterCairoTexturePrivate*"/>
+ </field>
+ </class>
+ <record name="CairoTextureClass"
+ c:type="ClutterCairoTextureClass"
+ glib:is-gtype-struct-for="CairoTexture"
+ version="1.0">
+ <doc xml:whitespace="preserve">The #ClutterCairoTextureClass struct contains only private data.</doc>
+ <field name="parent_class">
+ <type name="TextureClass" c:type="ClutterTextureClass"/>
+ </field>
+ <field name="_clutter_cairo_1" introspectable="0">
+ <callback name="_clutter_cairo_1">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_cairo_2" introspectable="0">
+ <callback name="_clutter_cairo_2">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_cairo_3" introspectable="0">
+ <callback name="_clutter_cairo_3">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_cairo_4" introspectable="0">
+ <callback name="_clutter_cairo_4">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ </record>
+ <record name="CairoTexturePrivate"
+ c:type="ClutterCairoTexturePrivate"
+ disguised="1">
+ </record>
+ <constant name="Calculator" value="269025053">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Calendar" value="269025056">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <callback name="Callback" c:type="ClutterCallback">
+ <doc xml:whitespace="preserve">Generic callback</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="data" transfer-ownership="none">
+ <doc xml:whitespace="preserve">user data</doc>
+ <type name="gpointer" c:type="gpointer"/>
+ </parameter>
+ </parameters>
+ </callback>
+ <constant name="Cancel" value="65385">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Caps_Lock" value="65509">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Ccaron" value="456">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Ccedilla" value="199">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Ccircumflex" value="710">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <class name="ChildMeta"
+ c:symbol-prefix="child_meta"
+ c:type="ClutterChildMeta"
+ version="0.8"
+ parent="GObject.Object"
+ abstract="1"
+ glib:type-name="ClutterChildMeta"
+ glib:get-type="clutter_child_meta_get_type"
+ glib:type-struct="ChildMetaClass">
+ <doc xml:whitespace="preserve">Base interface for container specific state for child actors. A child
+data is meant to be used when you need to keep track of information
+about each individual child added to a container.
+In order to use it you should create your own subclass of
+#ClutterChildMeta and set the #ClutterContainerIface::child_meta_type
+interface member to your subclass type, like:
+|[
+static void
+my_container_iface_init (ClutterContainerIface *iface)
+{
+/&ast; set the rest of the #ClutterContainer vtable &ast;/
+container_iface->child_meta_type = MY_TYPE_CHILD_META;
+}
+]|
+This will automatically create a #ClutterChildMeta of type
+MY_TYPE_CHILD_META for every actor that is added to the container.
+The child data for an actor can be retrieved using the
+clutter_container_get_child_meta() function.
+The properties of the data and your subclass can be manipulated with
+clutter_container_child_set() and clutter_container_child_get() which
+act like g_object_set() and g_object_get().
+You can provide hooks for your own storage as well as control the
+instantiation by overriding #ClutterContainerIface::create_child_meta,
+#ClutterContainerIface::destroy_child_meta and
+#ClutterContainerIface::get_child_meta.</doc>
+ <method name="get_actor"
+ c:identifier="clutter_child_meta_get_actor"
+ version="0.8">
+ <doc xml:whitespace="preserve">Retrieves the actor wrapped by @data</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </return-value>
+ </method>
+ <method name="get_container"
+ c:identifier="clutter_child_meta_get_container"
+ version="0.8">
+ <doc xml:whitespace="preserve">Retrieves the container using @data</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterContainer</doc>
+ <type name="Container" c:type="ClutterContainer*"/>
+ </return-value>
+ </method>
+ <property name="actor"
+ version="0.8"
writable="1"
- doc="The z center of rotation.">
- <type name="int" c:type="gint"/>
+ construct-only="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The #ClutterActor being wrapped by this #ClutterChildMeta</doc>
+ <type name="Actor"/>
</property>
- <property name="direction"
- version="0.4"
+ <property name="container"
+ version="0.8"
writable="1"
- doc="The direction of the rotation.">
- <type name="RotateDirection" c:type="ClutterRotateDirection"/>
+ construct-only="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The #ClutterContainer that created this #ClutterChildMeta.</doc>
+ <type name="Container"/>
</property>
<field name="parent_instance">
- <type name="Behaviour" c:type="ClutterBehaviour"/>
+ <type name="GObject.Object" c:type="GObject"/>
</field>
- <field name="priv">
- <type name="BehaviourRotatePrivate"
- c:type="ClutterBehaviourRotatePrivate*"/>
+ <field name="container">
+ <type name="Container" c:type="ClutterContainer*"/>
+ </field>
+ <field name="actor">
+ <type name="Actor" c:type="ClutterActor*"/>
</field>
</class>
- <record name="BehaviourRotateClass"
- c:type="ClutterBehaviourRotateClass"
- glib:is-gtype-struct-for="BehaviourRotate"
- doc="The #ClutterBehaviourRotateClass struct contains only private data"
- version="0.4">
+ <record name="ChildMetaClass"
+ c:type="ClutterChildMetaClass"
+ glib:is-gtype-struct-for="ChildMeta"
+ version="0.8">
+ <doc xml:whitespace="preserve">The #ClutterChildMetaClass contains only private data</doc>
<field name="parent_class">
- <type name="BehaviourClass" c:type="ClutterBehaviourClass"/>
+ <type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
</record>
- <record name="BehaviourRotatePrivate"
- c:type="ClutterBehaviourRotatePrivate">
- </record>
- <class name="BehaviourScale"
- c:type="ClutterBehaviourScale"
- doc="The #ClutterBehaviourScale struct contains only private data and
-should be accessed using the provided API"
- version="0.2"
- parent="Behaviour"
- glib:type-name="ClutterBehaviourScale"
- glib:get-type="clutter_behaviour_scale_get_type"
- glib:type-struct="BehaviourScaleClass">
- <implements name="Scriptable"/>
+ <constant name="Clear" value="65291">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ClearGrab" value="269024801">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <class name="ClickAction"
+ c:symbol-prefix="click_action"
+ c:type="ClutterClickAction"
+ version="1.4"
+ parent="Action"
+ glib:type-name="ClutterClickAction"
+ glib:get-type="clutter_click_action_get_type"
+ glib:type-struct="ClickActionClass">
+ <doc xml:whitespace="preserve">The <structname>ClutterClickAction</structname> structure contains
+only private data and should be accessed using the provided API</doc>
<constructor name="new"
- c:identifier="clutter_behaviour_scale_new"
- doc="Creates a new #ClutterBehaviourScale instance."
- version="0.2">
- <return-value transfer-ownership="full">
- <type name="BehaviourScale" c:type="ClutterBehaviour*"/>
+ c:identifier="clutter_click_action_new"
+ version="1.4">
+ <doc xml:whitespace="preserve">Creates a new #ClutterClickAction instance</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the newly created #ClutterClickAction</doc>
+ <type name="Action" c:type="ClutterAction*"/>
</return-value>
- <parameters>
- <parameter name="alpha" transfer-ownership="none">
- <type name="Alpha" c:type="ClutterAlpha*"/>
- </parameter>
- <parameter name="x_scale_start" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </parameter>
- <parameter name="y_scale_start" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </parameter>
- <parameter name="x_scale_end" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </parameter>
- <parameter name="y_scale_end" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </parameter>
- </parameters>
</constructor>
- <method name="set_bounds"
- c:identifier="clutter_behaviour_scale_set_bounds"
- doc="Sets the bounds used by scale behaviour."
- version="0.6">
+ <method name="get_button"
+ c:identifier="clutter_click_action_get_button"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the button that was pressed.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the button value</doc>
+ <type name="guint" c:type="guint"/>
</return-value>
- <parameters>
- <parameter name="x_scale_start" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </parameter>
- <parameter name="y_scale_start" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </parameter>
- <parameter name="x_scale_end" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </parameter>
- <parameter name="y_scale_end" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </parameter>
- </parameters>
</method>
- <method name="get_bounds"
- c:identifier="clutter_behaviour_scale_get_bounds"
- doc="Retrieves the bounds used by scale behaviour."
- version="0.4">
+ <method name="release"
+ c:identifier="clutter_click_action_release"
+ version="1.4">
+ <doc xml:whitespace="preserve">Emulates a release of the pointer button, which ungrabs the pointer
+and unsets the #ClutterClickAction:pressed state.
+This function is useful to break a grab, for instance after a certain
+amount of time has passed.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- <parameters>
- <parameter name="x_scale_start"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- doc=" axis, or %NULL">
- <type name="double" c:type="gdouble*"/>
- </parameter>
- <parameter name="y_scale_start"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- doc=" axis, or %NULL">
- <type name="double" c:type="gdouble*"/>
- </parameter>
- <parameter name="x_scale_end"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- doc=" or %NULL">
- <type name="double" c:type="gdouble*"/>
- </parameter>
- <parameter name="y_scale_end"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- doc=" or %NULL">
- <type name="double" c:type="gdouble*"/>
- </parameter>
- </parameters>
</method>
- <property name="x-scale-end"
- version="0.6"
- writable="1"
- doc="The final scaling factor on the X axis for the actors.">
- <type name="double" c:type="gdouble"/>
- </property>
- <property name="x-scale-start"
- version="0.6"
- writable="1"
- doc="The initial scaling factor on the X axis for the actors.">
- <type name="double" c:type="gdouble"/>
- </property>
- <property name="y-scale-end"
- version="0.6"
- writable="1"
- doc="The final scaling factor on the Y axis for the actors.">
- <type name="double" c:type="gdouble"/>
+ <property name="held" version="1.4" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the clickable actor has the pointer grabbed</doc>
+ <type name="gboolean"/>
</property>
- <property name="y-scale-start"
- version="0.6"
- writable="1"
- doc="The initial scaling factor on the Y axis for the actors.">
- <type name="double" c:type="gdouble"/>
+ <property name="pressed" version="1.4" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the clickable actor should be in "pressed" state</doc>
+ <type name="gboolean"/>
</property>
<field name="parent_instance">
- <type name="Behaviour" c:type="ClutterBehaviour"/>
+ <type name="Action" c:type="ClutterAction"/>
</field>
<field name="priv">
- <type name="BehaviourScalePrivate"
- c:type="ClutterBehaviourScalePrivate*"/>
- </field>
- </class>
- <record name="BehaviourScaleClass"
- c:type="ClutterBehaviourScaleClass"
- glib:is-gtype-struct-for="BehaviourScale"
- doc="The #ClutterBehaviourScaleClass struct contains only private data"
- version="0.2">
- <field name="parent_class">
- <type name="BehaviourClass" c:type="ClutterBehaviourClass"/>
+ <type name="ClickActionPrivate" c:type="ClutterClickActionPrivate*"/>
</field>
- </record>
- <record name="BehaviourScalePrivate" c:type="ClutterBehaviourScalePrivate">
- </record>
- <enumeration name="BinAlignment"
- doc="The alignment policies available on each axis for #ClutterBinLayout"
- version="1.2"
- glib:type-name="ClutterBinAlignment"
- glib:get-type="clutter_bin_alignment_get_type"
- c:type="ClutterBinAlignment">
- <member name="fixed"
- value="0"
- c:identifier="CLUTTER_BIN_ALIGNMENT_FIXED"
- glib:nick="fixed"/>
- <member name="fill"
- value="1"
- c:identifier="CLUTTER_BIN_ALIGNMENT_FILL"
- glib:nick="fill"/>
- <member name="start"
- value="2"
- c:identifier="CLUTTER_BIN_ALIGNMENT_START"
- glib:nick="start"/>
- <member name="end"
- value="3"
- c:identifier="CLUTTER_BIN_ALIGNMENT_END"
- glib:nick="end"/>
- <member name="center"
- value="4"
- c:identifier="CLUTTER_BIN_ALIGNMENT_CENTER"
- glib:nick="center"/>
- </enumeration>
- <class name="BinLayout"
- c:type="ClutterBinLayout"
- doc="The #ClutterBinLayout structure contains only private data
-and should be accessed using the provided API"
- version="1.2"
- parent="LayoutManager"
- glib:type-name="ClutterBinLayout"
- glib:get-type="clutter_bin_layout_get_type"
- glib:type-struct="BinLayoutClass">
- <constructor name="new"
- c:identifier="clutter_bin_layout_new"
- doc="Creates a new #ClutterBinLayout layout manager"
- version="1.2">
- <return-value transfer-ownership="full">
- <type name="BinLayout" c:type="ClutterLayoutManager*"/>
- </return-value>
- <parameters>
- <parameter name="x_align"
- transfer-ownership="none"
- doc=" horizontal axis">
- <type name="BinAlignment" c:type="ClutterBinAlignment"/>
- </parameter>
- <parameter name="y_align"
- transfer-ownership="none"
- doc=" vertical axis">
- <type name="BinAlignment" c:type="ClutterBinAlignment"/>
- </parameter>
- </parameters>
- </constructor>
- <method name="set_alignment"
- c:identifier="clutter_bin_layout_set_alignment"
- doc="Sets the horizontal and vertical alignment policies to be applied
-to a @child of @self
-If @child is %NULL then the @x_align and @y_align values will
-be set as the default alignment policies"
- version="1.2">
+ <glib:signal name="clicked" version="1.4">
+ <doc xml:whitespace="preserve">The ::clicked signal is emitted when the #ClutterActor to which
+a #ClutterClickAction has been applied should respond to a
+pointer button press and release events</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <type name="none"/>
</return-value>
<parameters>
- <parameter name="child"
- transfer-ownership="none"
- allow-none="1"
- doc="a child of @container">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- <parameter name="x_align"
- transfer-ownership="none"
- doc=" inside @container">
- <type name="BinAlignment" c:type="ClutterBinAlignment"/>
- </parameter>
- <parameter name="y_align"
- transfer-ownership="none"
- doc=" inside @container">
- <type name="BinAlignment" c:type="ClutterBinAlignment"/>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterActor attached to the @action</doc>
+ <type name="Actor"/>
</parameter>
</parameters>
- </method>
- <method name="get_alignment"
- c:identifier="clutter_bin_layout_get_alignment"
- doc="Retrieves the horizontal and vertical alignment policies for
-a child of @self
-If @child is %NULL the default alignment policies will be returned
-instead"
- version="1.2">
+ </glib:signal>
+ </class>
+ <record name="ClickActionClass"
+ c:type="ClutterClickActionClass"
+ glib:is-gtype-struct-for="ClickAction"
+ version="1.4">
+ <doc xml:whitespace="preserve">The <structname>ClutterClickActionClass</structname> structure
+contains only private data</doc>
+ <field name="parent_class">
+ <type name="ActionClass" c:type="ClutterActionClass"/>
+ </field>
+ <field name="clicked">
+ <callback name="clicked">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="action" transfer-ownership="none">
+ <type name="ClickAction" c:type="ClutterClickAction*"/>
+ </parameter>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="_clutter_click_action1" introspectable="0">
+ <callback name="_clutter_click_action1">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_click_action2" introspectable="0">
+ <callback name="_clutter_click_action2">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_click_action3" introspectable="0">
+ <callback name="_clutter_click_action3">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_click_action4" introspectable="0">
+ <callback name="_clutter_click_action4">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_click_action5" introspectable="0">
+ <callback name="_clutter_click_action5">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_click_action6" introspectable="0">
+ <callback name="_clutter_click_action6">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_click_action7" introspectable="0">
+ <callback name="_clutter_click_action7">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ </record>
+ <record name="ClickActionPrivate"
+ c:type="ClutterClickActionPrivate"
+ disguised="1">
+ </record>
+ <class name="Clone"
+ c:symbol-prefix="clone"
+ c:type="ClutterClone"
+ version="1.0"
+ parent="Actor"
+ glib:type-name="ClutterClone"
+ glib:get-type="clutter_clone_get_type"
+ glib:type-struct="CloneClass">
+ <doc xml:whitespace="preserve">The #ClutterClone structure contains only private data
+and should be accessed using the provided API</doc>
+ <implements name="Atk.ImplementorIface"/>
+ <implements name="Animatable"/>
+ <implements name="Scriptable"/>
+ <constructor name="new" c:identifier="clutter_clone_new" version="1.0">
+ <doc xml:whitespace="preserve">Creates a new #ClutterActor which clones @source/</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the newly created #ClutterClone</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</return-value>
<parameters>
- <parameter name="child"
- transfer-ownership="none"
- allow-none="1"
- doc="a child of @container">
+ <parameter name="source" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor, or %NULL</doc>
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="x_align"
- direction="out"
- caller-allocates="1"
- transfer-ownership="none"
- allow-none="1"
- doc="return location for the horizontal alignment policy">
- <type name="BinAlignment" c:type="ClutterBinAlignment*"/>
- </parameter>
- <parameter name="y_align"
- direction="out"
- caller-allocates="1"
- transfer-ownership="none"
- allow-none="1"
- doc="return location for the vertical alignment policy">
- <type name="BinAlignment" c:type="ClutterBinAlignment*"/>
- </parameter>
</parameters>
+ </constructor>
+ <method name="get_source"
+ c:identifier="clutter_clone_get_source"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the source #ClutterActor being cloned by @clone</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the actor source for the clone</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </return-value>
</method>
- <method name="add"
- c:identifier="clutter_bin_layout_add"
- doc="Adds a #ClutterActor to the container using @self and
-sets the alignment policies for it
-This function is equivalent to clutter_container_add_actor()
-and clutter_layout_manager_child_set_property() but it does not
-require a pointer to the #ClutterContainer associated to the
-#ClutterBinLayout"
- version="1.2">
+ <method name="set_source"
+ c:identifier="clutter_clone_set_source"
+ version="1.0">
+ <doc xml:whitespace="preserve">Sets @source as the source actor to be cloned by @clone.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="child" transfer-ownership="none">
+ <parameter name="source" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor, or %NULL</doc>
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="x_align" transfer-ownership="none">
- <type name="BinAlignment" c:type="ClutterBinAlignment"/>
- </parameter>
- <parameter name="y_align" transfer-ownership="none">
- <type name="BinAlignment" c:type="ClutterBinAlignment"/>
- </parameter>
</parameters>
</method>
- <property name="x-align"
- version="1.2"
- writable="1"
- doc="The default horizontal alignment policy for actors managed
-by the #ClutterBinLayout">
- <type name="BinAlignment" c:type="ClutterBinAlignment"/>
- </property>
- <property name="y-align"
- version="1.2"
+ <property name="source"
+ version="1.0"
writable="1"
- doc="The default vertical alignment policy for actors managed
-by the #ClutterBinLayout">
- <type name="BinAlignment" c:type="ClutterBinAlignment"/>
+ construct="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">This property specifies the source actor being cloned.</doc>
+ <type name="Actor"/>
</property>
<field name="parent_instance">
- <type name="LayoutManager" c:type="ClutterLayoutManager"/>
+ <type name="Actor" c:type="ClutterActor"/>
</field>
<field name="priv">
- <type name="BinLayoutPrivate" c:type="ClutterBinLayoutPrivate*"/>
+ <type name="ClonePrivate" c:type="ClutterClonePrivate*"/>
</field>
</class>
- <record name="BinLayoutClass"
- c:type="ClutterBinLayoutClass"
- glib:is-gtype-struct-for="BinLayout"
- doc="The #ClutterBinLayoutClass structure contains only private
-data and should be accessed using the provided API"
- version="1.2">
+ <record name="CloneClass"
+ c:type="ClutterCloneClass"
+ glib:is-gtype-struct-for="Clone"
+ version="1.0">
+ <doc xml:whitespace="preserve">The #ClutterCloneClass structure contains only private data</doc>
<field name="parent_class">
- <type name="LayoutManagerClass" c:type="ClutterLayoutManagerClass"/>
+ <type name="ActorClass" c:type="ClutterActorClass"/>
+ </field>
+ <field name="_clutter_actor_clone1" introspectable="0">
+ <callback name="_clutter_actor_clone1">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_actor_clone2" introspectable="0">
+ <callback name="_clutter_actor_clone2">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_actor_clone3" introspectable="0">
+ <callback name="_clutter_actor_clone3">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_actor_clone4" introspectable="0">
+ <callback name="_clutter_actor_clone4">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
</field>
</record>
- <record name="BinLayoutPrivate" c:type="ClutterBinLayoutPrivate">
+ <record name="ClonePrivate" c:type="ClutterClonePrivate" disguised="1">
</record>
- <callback name="BindingActionFunc"
- c:type="ClutterBindingActionFunc"
- doc="The prototype for the callback function registered with
-clutter_binding_pool_install_action() and invoked by
-clutter_binding_pool_activate().
-binding has been handled, and return %FALSE otherwise"
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- <parameters>
- <parameter name="gobject" transfer-ownership="none">
- <type name="GObject.Object" c:type="GObject*"/>
- </parameter>
- <parameter name="action_name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- <parameter name="key_val" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- <parameter name="modifiers" transfer-ownership="none">
- <type name="ModifierType" c:type="ClutterModifierType"/>
- </parameter>
- </parameters>
- </callback>
- <class name="BindingPool"
- c:type="ClutterBindingPool"
- doc="Container of key bindings. The #ClutterBindingPool struct is
-private."
- version="1.0"
- parent="GObject.Object"
- glib:type-name="ClutterBindingPool"
- glib:get-type="clutter_binding_pool_get_type">
- <constructor name="new"
- c:identifier="clutter_binding_pool_new"
- doc="Creates a new #ClutterBindingPool that can be used to store
-key bindings for an actor. The @name must be a unique identifier
-for the binding pool, so that clutter_binding_pool_find() will
-be able to return the correct binding pool.
-name. Use g_object_unref() when done."
- version="1.0">
+ <constant name="Close" value="269025110">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Codeinput" value="65335">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ColonSign" value="16785569">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <record name="Color"
+ c:type="ClutterColor"
+ glib:type-name="ClutterColor"
+ glib:get-type="clutter_color_get_type"
+ c:symbol-prefix="color">
+ <doc xml:whitespace="preserve">Color representation.</doc>
+ <field name="red" writable="1">
+ <type name="guint8" c:type="guint8"/>
+ </field>
+ <field name="green" writable="1">
+ <type name="guint8" c:type="guint8"/>
+ </field>
+ <field name="blue" writable="1">
+ <type name="guint8" c:type="guint8"/>
+ </field>
+ <field name="alpha" writable="1">
+ <type name="guint8" c:type="guint8"/>
+ </field>
+ <constructor name="new" c:identifier="clutter_color_new" version="0.8.4">
+ <doc xml:whitespace="preserve">Creates a new #ClutterColor with the given values.
+Use clutter_color_free() when done</doc>
<return-value transfer-ownership="full">
- <type name="BindingPool" c:type="ClutterBindingPool*"/>
+ <doc xml:whitespace="preserve">the newly allocated color.</doc>
+ <type name="Color" c:type="ClutterColor*"/>
</return-value>
<parameters>
- <parameter name="name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="red" transfer-ownership="none">
+ <doc xml:whitespace="preserve">red component of the color, between 0 and 255</doc>
+ <type name="guint8" c:type="guint8"/>
+ </parameter>
+ <parameter name="green" transfer-ownership="none">
+ <doc xml:whitespace="preserve">green component of the color, between 0 and 255</doc>
+ <type name="guint8" c:type="guint8"/>
+ </parameter>
+ <parameter name="blue" transfer-ownership="none">
+ <doc xml:whitespace="preserve">blue component of the color, between 0 and 255</doc>
+ <type name="guint8" c:type="guint8"/>
+ </parameter>
+ <parameter name="alpha" transfer-ownership="none">
+ <doc xml:whitespace="preserve">alpha component of the color, between 0 and 255</doc>
+ <type name="guint8" c:type="guint8"/>
</parameter>
</parameters>
</constructor>
- <function name="get_for_class"
- c:identifier="clutter_binding_pool_get_for_class"
- doc="Retrieves the #ClutterBindingPool for the given #GObject class
-and, eventually, creates it. This function is a wrapper around
-clutter_binding_pool_new() and uses the class type name as the
-unique name for the binding pool.
-Calling this function multiple times will return the same
-#ClutterBindingPool.
-A binding pool for a class can also be retrieved using
-clutter_binding_pool_find() with the class type name:
-|[
-pool = clutter_binding_pool_find (G_OBJECT_TYPE_NAME (instance));
-]|
-The returned #ClutterBindingPool is owned by Clutter and should not
-be freed directly"
- version="1.0">
- <return-value transfer-ownership="none"
- doc="the binding pool for the given class.">
- <type name="BindingPool" c:type="ClutterBindingPool*"/>
+ <method name="add" c:identifier="clutter_color_add">
+ <doc xml:whitespace="preserve">Adds @a to @b and saves the resulting color inside @result.
+The alpha channel of @result is set as as the maximum value
+between the alpha channels of @a and @b.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="klass" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
+ <parameter name="b" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterColor</doc>
+ <type name="Color" c:type="ClutterColor*"/>
+ </parameter>
+ <parameter name="result"
+ direction="out"
+ caller-allocates="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">return location for the result</doc>
+ <type name="Color" c:type="ClutterColor*"/>
</parameter>
</parameters>
- </function>
- <function name="find"
- c:identifier="clutter_binding_pool_find"
- doc="Finds the #ClutterBindingPool with @name."
- version="1.0">
- <return-value transfer-ownership="none"
- doc="a pointer to the #ClutterBindingPool, or %NULL">
- <type name="BindingPool" c:type="ClutterBindingPool*"/>
+ </method>
+ <method name="copy" c:identifier="clutter_color_copy" version="0.2">
+ <doc xml:whitespace="preserve">Makes a copy of the color structure. The result must be
+freed using clutter_color_free().</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">an allocated copy of @color.</doc>
+ <type name="Color" c:type="ClutterColor*"/>
+ </return-value>
+ </method>
+ <method name="darken" c:identifier="clutter_color_darken">
+ <doc xml:whitespace="preserve">Darkens @color by a fixed amount, and saves the changed color
+in @result.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="result"
+ direction="out"
+ caller-allocates="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">return location for the darker color</doc>
+ <type name="Color" c:type="ClutterColor*"/>
</parameter>
</parameters>
- </function>
- <method name="install_action"
- c:identifier="clutter_binding_pool_install_action"
- doc="Installs a new action inside a #ClutterBindingPool. The action
-is bound to @key_val and @modifiers.
-The same action name can be used for multiple @key_val, @modifiers
-pairs.
-When an action has been activated using clutter_binding_pool_activate()
-the passed @callback will be invoked (with @data).
-Actions can be blocked with clutter_binding_pool_block_action()
-and then unblocked using clutter_binding_pool_unblock_action()."
- version="1.0">
+ </method>
+ <method name="free" c:identifier="clutter_color_free" version="0.2">
+ <doc xml:whitespace="preserve">Frees a color structure created with clutter_color_copy().</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </method>
+ <method name="from_hls" c:identifier="clutter_color_from_hls">
+ <doc xml:whitespace="preserve">Converts a color expressed in HLS (hue, luminance and saturation)
+values into a #ClutterColor.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="action_name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- <parameter name="key_val" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- <parameter name="modifiers" transfer-ownership="none">
- <type name="ModifierType" c:type="ClutterModifierType"/>
+ <parameter name="hue" transfer-ownership="none">
+ <doc xml:whitespace="preserve">hue value, in the 0 .. 360 range</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
- <parameter name="callback"
- transfer-ownership="none"
- scope="notified"
- closure="5"
- destroy="6">
- <type name="GObject.Callback" c:type="GCallback"/>
+ <parameter name="luminance" transfer-ownership="none">
+ <doc xml:whitespace="preserve">luminance value, in the 0 .. 1 range</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
- <parameter name="data" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
+ <parameter name="saturation" transfer-ownership="none">
+ <doc xml:whitespace="preserve">saturation value, in the 0 .. 1 range</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
- <parameter name="notify"
- transfer-ownership="none"
- scope="call"
- doc=" from the pool">
- <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
+ </parameters>
+ </method>
+ <method name="from_pixel" c:identifier="clutter_color_from_pixel">
+ <doc xml:whitespace="preserve">Converts @pixel from the packed representation of a four 8 bit channel
+color to a #ClutterColor.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="pixel" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a 32 bit packed integer containing a color</doc>
+ <type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</method>
- <method name="install_closure"
- c:identifier="clutter_binding_pool_install_closure"
- doc="A #GClosure variant of clutter_binding_pool_install_action().
-Installs a new action inside a #ClutterBindingPool. The action
-is bound to @key_val and @modifiers.
-The same action name can be used for multiple @key_val, @modifiers
-pairs.
-When an action has been activated using clutter_binding_pool_activate()
-the passed @closure will be invoked.
-Actions can be blocked with clutter_binding_pool_block_action()
-and then unblocked using clutter_binding_pool_unblock_action()."
+ <method name="from_string"
+ c:identifier="clutter_color_from_string"
version="1.0">
+ <doc xml:whitespace="preserve">Parses a string definition of a color, filling the
+<structfield>red</structfield>, <structfield>green</structfield>,
+<structfield>blue</structfield> and <structfield>alpha</structfield>
+channels of @color. If alpha is not specified it will be set full opaque.
+The @color is not allocated.
+The color may be defined by any of the formats understood by
+pango_color_from_string(); these include literal color names, like
+<literal>Red</literal> or <literal>DarkSlateGray</literal>, or
+hexadecimal specifications like <literal>&num;3050b2</literal> or
+<literal>&num;333</literal>.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">%TRUE if parsing succeeded.</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
- <parameter name="action_name" transfer-ownership="none">
+ <parameter name="str" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a string specifiying a color (named color or #RRGGBBAA)</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
- <parameter name="key_val" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- <parameter name="modifiers" transfer-ownership="none">
- <type name="ModifierType" c:type="ClutterModifierType"/>
- </parameter>
- <parameter name="closure" transfer-ownership="none">
- <type name="GObject.Closure" c:type="GClosure*"/>
- </parameter>
</parameters>
</method>
- <method name="override_action"
- c:identifier="clutter_binding_pool_override_action"
- doc="Allows overriding the action for @key_val and @modifiers inside a
-#ClutterBindingPool. See clutter_binding_pool_install_action().
-When an action has been activated using clutter_binding_pool_activate()
-the passed @callback will be invoked (with @data).
-Actions can be blocked with clutter_binding_pool_block_action()
-and then unblocked using clutter_binding_pool_unblock_action()."
- version="1.0">
+ <method name="lighten" c:identifier="clutter_color_lighten">
+ <doc xml:whitespace="preserve">Lightens @color by a fixed amount, and saves the changed color
+in @result.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="key_val" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- <parameter name="modifiers" transfer-ownership="none">
- <type name="ModifierType" c:type="ClutterModifierType"/>
- </parameter>
- <parameter name="callback"
- transfer-ownership="none"
- scope="notified"
- closure="4"
- destroy="5">
- <type name="GObject.Callback" c:type="GCallback"/>
- </parameter>
- <parameter name="data" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
- </parameter>
- <parameter name="notify"
- transfer-ownership="none"
- scope="call"
- doc=" from the pool">
- <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
+ <parameter name="result"
+ direction="out"
+ caller-allocates="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">return location for the lighter color</doc>
+ <type name="Color" c:type="ClutterColor*"/>
</parameter>
</parameters>
</method>
- <method name="override_closure"
- c:identifier="clutter_binding_pool_override_closure"
- doc="A #GClosure variant of clutter_binding_pool_override_action().
-Allows overriding the action for @key_val and @modifiers inside a
-#ClutterBindingPool. See clutter_binding_pool_install_closure().
-When an action has been activated using clutter_binding_pool_activate()
-the passed @callback will be invoked (with @data).
-Actions can be blocked with clutter_binding_pool_block_action()
-and then unblocked using clutter_binding_pool_unblock_action()."
- version="1.0">
+ <method name="shade" c:identifier="clutter_color_shade">
+ <doc xml:whitespace="preserve">Shades @color by @factor and saves the modified color into @result.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="key_val" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- <parameter name="modifiers" transfer-ownership="none">
- <type name="ModifierType" c:type="ClutterModifierType"/>
+ <parameter name="factor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the shade factor to apply</doc>
+ <type name="gdouble" c:type="gdouble"/>
</parameter>
- <parameter name="closure" transfer-ownership="none">
- <type name="GObject.Closure" c:type="GClosure*"/>
+ <parameter name="result"
+ direction="out"
+ caller-allocates="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">return location for the shaded color</doc>
+ <type name="Color" c:type="ClutterColor*"/>
</parameter>
</parameters>
</method>
- <method name="find_action"
- c:identifier="clutter_binding_pool_find_action"
- doc="Retrieves the name of the action matching the given key symbol
-and modifiers bitmask.
-returned string is owned by the binding pool and should never
-be modified or freed"
- version="1.0">
+ <method name="subtract" c:identifier="clutter_color_subtract">
+ <doc xml:whitespace="preserve">Subtracts @b from @a and saves the resulting color inside @result.
+This function assumes that the components of @a are greater than the
+components of @b; the result is, otherwise, undefined.
+The alpha channel of @result is set as the minimum value
+between the alpha channels of @a and @b.</doc>
<return-value transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="key_val" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <parameter name="b" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterColor</doc>
+ <type name="Color" c:type="ClutterColor*"/>
</parameter>
- <parameter name="modifiers" transfer-ownership="none">
- <type name="ModifierType" c:type="ClutterModifierType"/>
+ <parameter name="result"
+ direction="out"
+ caller-allocates="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">return location for the result</doc>
+ <type name="Color" c:type="ClutterColor*"/>
</parameter>
</parameters>
</method>
- <method name="remove_action"
- c:identifier="clutter_binding_pool_remove_action"
- doc="Removes the action matching the given @key_val, @modifiers pair,
-if any exists."
- version="1.0">
+ <method name="to_hls" c:identifier="clutter_color_to_hls">
+ <doc xml:whitespace="preserve">Converts @color to the HLS format.
+The @hue value is in the 0 .. 360 range. The @luminance and</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="key_val" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <parameter name="hue"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the hue value or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
- <parameter name="modifiers" transfer-ownership="none">
- <type name="ModifierType" c:type="ClutterModifierType"/>
+ <parameter name="luminance"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the luminance value or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
+ </parameter>
+ <parameter name="saturation"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the saturation value or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
</parameters>
</method>
- <method name="activate"
- c:identifier="clutter_binding_pool_activate"
- doc="Activates the callback associated to the action that is
-bound to the @key_val and @modifiers pair.
-The callback has the following signature:
-|[
-void (* callback) (GObject *gobject,
-const gchar *action_name,
-guint key_val,
-ClutterModifierType modifiers,
-gpointer user_data);
-]|
-Where the #GObject instance is @gobject and the user data
-is the one passed when installing the action with
-clutter_binding_pool_install_action().
-If the action bound to the @key_val, @modifiers pair has been
-blocked using clutter_binding_pool_block_action(), the callback
-will not be invoked, and this function will return %FALSE."
- version="1.0">
+ <method name="to_pixel" c:identifier="clutter_color_to_pixel">
+ <doc xml:whitespace="preserve">Converts @color into a packed 32 bit integer, containing
+all the four 8 bit channels used by #ClutterColor.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a packed color</doc>
+ <type name="guint32" c:type="guint32"/>
+ </return-value>
+ </method>
+ <method name="to_string"
+ c:identifier="clutter_color_to_string"
+ version="0.2">
+ <doc xml:whitespace="preserve">Returns a textual specification of @color in the hexadecimal form
+<literal>&num;rrggbbaa</literal>, where <literal>r</literal>,
+<literal>g</literal>, <literal>b</literal> and <literal>a</literal> are
+hex digits representing the red, green, blue and alpha components
+respectively.</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">a newly-allocated text string</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </return-value>
+ </method>
+ </record>
+ <class name="ColorizeEffect"
+ c:symbol-prefix="colorize_effect"
+ c:type="ClutterColorizeEffect"
+ parent="OffscreenEffect"
+ glib:type-name="ClutterColorizeEffect"
+ glib:get-type="clutter_colorize_effect_get_type">
+ <doc xml:whitespace="preserve"><structname>ClutterColorizeEffect</structname> is an opaque structure
+whose members cannot be directly accessed
+SinceL 1.4</doc>
+ <constructor name="new"
+ c:identifier="clutter_colorize_effect_new"
+ version="1.4">
+ <doc xml:whitespace="preserve">Creates a new #ClutterColorizeEffect to be used with
+clutter_actor_add_effect()</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">the newly created #ClutterColorizeEffect or %NULL</doc>
+ <type name="Effect" c:type="ClutterEffect*"/>
</return-value>
<parameters>
- <parameter name="key_val" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- <parameter name="modifiers" transfer-ownership="none">
- <type name="ModifierType" c:type="ClutterModifierType"/>
- </parameter>
- <parameter name="gobject" transfer-ownership="none">
- <type name="GObject.Object" c:type="GObject*"/>
+ <parameter name="tint" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the color to be used</doc>
+ <type name="Color" c:type="ClutterColor*"/>
</parameter>
</parameters>
- </method>
- <method name="block_action"
- c:identifier="clutter_binding_pool_block_action"
- doc="Blocks all the actions with name @action_name inside @pool."
- version="1.0">
+ </constructor>
+ <method name="get_tint"
+ c:identifier="clutter_colorize_effect_get_tint"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the tint used by @effect</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="action_name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="tint"
+ direction="out"
+ caller-allocates="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">return location for the color used</doc>
+ <type name="Color" c:type="ClutterColor*"/>
</parameter>
</parameters>
</method>
- <method name="unblock_action"
- c:identifier="clutter_binding_pool_unblock_action"
- doc="Unblockes all the actions with name @action_name inside @pool.
-Unblocking an action does not cause the callback bound to it to
-be invoked in case clutter_binding_pool_activate() was called on
-an action previously blocked with clutter_binding_pool_block_action()."
- version="1.0">
+ <method name="set_tint"
+ c:identifier="clutter_colorize_effect_set_tint"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets the tint to be used when colorizing</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="action_name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="tint" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the color to be used</doc>
+ <type name="Color" c:type="ClutterColor*"/>
</parameter>
</parameters>
</method>
- <property name="name"
- version="1.0"
+ <property name="tint"
+ version="1.4"
writable="1"
- construct-only="1"
- doc="The unique name of the #ClutterBindingPool.">
- <type name="utf8" c:type="gchararray"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The tint to apply to the actor</doc>
+ <type name="Color"/>
</property>
</class>
- <constant name="BounceKeys_Enable" value="65140">
- <type name="int"/>
- </constant>
- <class name="Box"
- c:type="ClutterBox"
- doc="The #ClutterBox structure contains only private data and should
-be accessed using the provided API"
- version="1.2"
- parent="Actor"
- glib:type-name="ClutterBox"
- glib:get-type="clutter_box_get_type"
- glib:type-struct="BoxClass">
- <implements name="Container"/>
- <implements name="Scriptable"/>
- <constructor name="new"
- c:identifier="clutter_box_new"
- doc="Creates a new #ClutterBox. The children of the box will be layed
-out by the passed @manager"
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="Box" c:type="ClutterActor*"/>
+ <constant name="Community" value="269025085">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <class name="Constraint"
+ c:symbol-prefix="constraint"
+ c:type="ClutterConstraint"
+ version="1.4"
+ parent="ActorMeta"
+ abstract="1"
+ glib:type-name="ClutterConstraint"
+ glib:get-type="clutter_constraint_get_type"
+ glib:type-struct="ConstraintClass">
+ <doc xml:whitespace="preserve">The <structname>ClutterConstraint</structname> structure contains only
+private data and should be accessed using the provided API</doc>
+ <virtual-method name="update_allocation">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="allocation" transfer-ownership="none">
+ <type name="ActorBox" c:type="ClutterActorBox*"/>
+ </parameter>
+ </parameters>
+ </virtual-method>
+ <field name="parent_instance">
+ <type name="ActorMeta" c:type="ClutterActorMeta"/>
+ </field>
+ </class>
+ <record name="ConstraintClass"
+ c:type="ClutterConstraintClass"
+ glib:is-gtype-struct-for="Constraint"
+ version="1.4">
+ <doc xml:whitespace="preserve">The <structname>ClutterConstraintClass</structname> structure contains
+only private data</doc>
+ <field name="parent_class">
+ <type name="ActorMetaClass" c:type="ClutterActorMetaClass"/>
+ </field>
+ <field name="update_allocation">
+ <callback name="update_allocation">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="constraint" transfer-ownership="none">
+ <type name="Constraint" c:type="ClutterConstraint*"/>
+ </parameter>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="allocation" transfer-ownership="none">
+ <type name="ActorBox" c:type="ClutterActorBox*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="_clutter_constraint1" introspectable="0">
+ <callback name="_clutter_constraint1">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_constraint2" introspectable="0">
+ <callback name="_clutter_constraint2">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_constraint3" introspectable="0">
+ <callback name="_clutter_constraint3">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_constraint4" introspectable="0">
+ <callback name="_clutter_constraint4">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_constraint5" introspectable="0">
+ <callback name="_clutter_constraint5">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_constraint6" introspectable="0">
+ <callback name="_clutter_constraint6">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_constraint7" introspectable="0">
+ <callback name="_clutter_constraint7">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_constraint8" introspectable="0">
+ <callback name="_clutter_constraint8">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ </record>
+ <interface name="Container"
+ c:symbol-prefix="container"
+ c:type="ClutterContainer"
+ version="0.4"
+ glib:type-name="ClutterContainer"
+ glib:get-type="clutter_container_get_type"
+ glib:type-struct="ContainerIface">
+ <doc xml:whitespace="preserve">#ClutterContainer is an opaque structure whose members cannot be directly
+accessed</doc>
+ <virtual-method name="add">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ </parameters>
+ </virtual-method>
+ <virtual-method name="create_child_meta"
+ invoker="create_child_meta"
+ version="1.2">
+ <doc xml:whitespace="preserve">Creates the #ClutterChildMeta wrapping @actor inside the
+class member is not set to %G_TYPE_INVALID.
+This function is only useful when adding a #ClutterActor to
+a #ClutterContainer implementation outside of the
+#ClutterContainer::add() virtual function implementation.
+Applications should not call this function.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="manager" transfer-ownership="none">
- <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</parameter>
</parameters>
- </constructor>
- <method name="set_layout_manager"
- c:identifier="clutter_box_set_layout_manager"
- doc="Sets the #ClutterLayoutManager for @box
-A #ClutterLayoutManager is a delegate object that controls the
-layout of the children of @box"
- version="1.2">
+ </virtual-method>
+ <virtual-method name="destroy_child_meta"
+ invoker="destroy_child_meta"
+ version="1.2">
+ <doc xml:whitespace="preserve">Destroys the #ClutterChildMeta wrapping @actor inside the
+This function is only useful when removing a #ClutterActor to
+a #ClutterContainer implementation outside of the
+#ClutterContainer::add() virtual function implementation.
+Applications should not call this function.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="manager" transfer-ownership="none">
- <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</parameter>
</parameters>
- </method>
- <method name="get_layout_manager"
- c:identifier="clutter_box_get_layout_manager"
- doc="Retrieves the #ClutterLayoutManager instance used by @box"
- version="1.2">
- <return-value transfer-ownership="full">
- <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
- </return-value>
- </method>
- <method name="set_color"
- c:identifier="clutter_box_set_color"
- doc="Sets (or unsets) the background color for @box"
- version="1.2">
+ </virtual-method>
+ <virtual-method name="foreach" invoker="foreach" version="0.4">
+ <doc xml:whitespace="preserve">Calls @callback for each child of @container that was added
+by the application (with clutter_container_add_actor()). Does
+not iterate over "internal" children that are part of the
+container's own implementation, if any.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="color"
+ <parameter name="callback"
transfer-ownership="none"
- allow-none="1"
- doc="the background color, or %NULL to unset">
- <type name="Color" c:type="ClutterColor*"/>
+ scope="call"
+ closure="1">
+ <doc xml:whitespace="preserve">a function to be called for each child</doc>
+ <type name="Callback" c:type="ClutterCallback"/>
+ </parameter>
+ <parameter name="user_data" transfer-ownership="none" closure="1">
+ <doc xml:whitespace="preserve">data to be passed to the function, or %NULL</doc>
+ <type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
- </method>
- <method name="get_color"
- c:identifier="clutter_box_get_color"
- doc="Retrieves the background color of @box
-If the #ClutterBox:color-set property is set to %FALSE the
-returned #ClutterColor is undefined"
- version="1.2">
+ </virtual-method>
+ <virtual-method name="foreach_with_internals"
+ invoker="foreach_with_internals"
+ version="1.0">
+ <doc xml:whitespace="preserve">Calls @callback for each child of @container, including "internal"
+children built in to the container itself that were never added
+by the application.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="color"
- direction="out"
- caller-allocates="1"
+ <parameter name="callback"
transfer-ownership="none"
- doc="return location for a #ClutterColor">
- <type name="Color" c:type="ClutterColor*"/>
+ scope="call"
+ closure="1">
+ <doc xml:whitespace="preserve">a function to be called for each child</doc>
+ <type name="Callback" c:type="ClutterCallback"/>
+ </parameter>
+ <parameter name="user_data" transfer-ownership="none" closure="1">
+ <doc xml:whitespace="preserve">data to be passed to the function, or %NULL</doc>
+ <type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
- </method>
- <method name="pack"
- c:identifier="clutter_box_pack"
- doc="Adds @actor to @box and sets layout properties at the same time,
-if the #ClutterLayoutManager used by @box has them
-This function is a wrapper around clutter_container_add_actor()
-and clutter_layout_manager_child_set()
-Language bindings should use the vector-based clutter_box_addv()
-variant instead"
- version="1.2">
+ </virtual-method>
+ <virtual-method name="get_child_meta"
+ invoker="get_child_meta"
+ version="0.8">
+ <doc xml:whitespace="preserve">Retrieves the #ClutterChildMeta which contains the data about the
+of @container or %NULL if the specifiec actor does not exist or the
+container is not configured to provide #ClutterChildMeta<!-- -->s</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the #ClutterChildMeta for the @actor child</doc>
+ <type name="ChildMeta" c:type="ClutterChildMeta*"/>
</return-value>
<parameters>
<parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor that is a child of @container.</doc>
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="first_property" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- <parameter transfer-ownership="none">
- <varargs>
- </varargs>
- </parameter>
</parameters>
- </method>
- <method name="packv"
- c:identifier="clutter_box_packv"
- doc="Vector-based variant of clutter_box_pack(), intended for language
-bindings to use"
- version="1.2">
+ </virtual-method>
+ <virtual-method name="lower">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameter name="actor" transfer-ownership="none">
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="n_properties" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- <parameter name="properties"
- transfer-ownership="none"
- doc="a vector containing the property names to set">
- <array length="2" c:type="gchar*">
- <type name="utf8"/>
- </array>
- </parameter>
- <parameter name="values"
- transfer-ownership="none"
- doc="a vector containing the property values to set">
- <array length="2" c:type="GValue*">
- <type name="GObject.Value"/>
- </array>
+ <parameter name="sibling" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
</parameter>
</parameters>
- </method>
- <method name="pack_after"
- c:identifier="clutter_box_pack_after"
- doc="Adds @actor to @box, placing it after @sibling, and sets layout
-properties at the same time, if the #ClutterLayoutManager used by
-If @sibling is %NULL then @actor is placed at the end of the
-list of children, to be allocated and painted after every other child
-This function is a wrapper around clutter_container_add_actor(),
-clutter_container_raise_child() and clutter_layout_manager_child_set()"
- version="1.2">
+ </virtual-method>
+ <virtual-method name="raise">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameter name="actor" transfer-ownership="none">
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="sibling"
- transfer-ownership="none"
- allow-none="1"
- doc="a #ClutterActor or %NULL">
+ <parameter name="sibling" transfer-ownership="none">
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="first_property" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- <parameter transfer-ownership="none">
- <varargs>
- </varargs>
- </parameter>
</parameters>
- </method>
- <method name="pack_before"
- c:identifier="clutter_box_pack_before"
- doc="Adds @actor to @box, placing it before @sibling, and sets layout
-properties at the same time, if the #ClutterLayoutManager used by
-If @sibling is %NULL then @actor is placed at the beginning of the
-list of children, to be allocated and painted below every other child
-This function is a wrapper around clutter_container_add_actor(),
-clutter_container_lower_child() and clutter_layout_manager_child_set()"
- version="1.2">
+ </virtual-method>
+ <virtual-method name="remove">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameter name="actor" transfer-ownership="none">
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="sibling"
- transfer-ownership="none"
- allow-none="1"
- doc="a #ClutterActor or %NULL">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- <parameter name="first_property" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- <parameter transfer-ownership="none">
- <varargs>
- </varargs>
- </parameter>
</parameters>
- </method>
- <method name="pack_at"
- c:identifier="clutter_box_pack_at"
- doc="Adds @actor to @box, placing it at @position, and sets layout
-properties at the same time, if the #ClutterLayoutManager used by
-If @position is a negative number, or is larger than the number of
-children of @box, the new child is added at the end of the list of
-children"
- version="1.2">
+ </virtual-method>
+ <virtual-method name="sort_depth_order"
+ invoker="sort_depth_order"
+ version="0.6">
+ <doc xml:whitespace="preserve">Sorts a container's children using their depth. This function should not
+be normally used by applications.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </virtual-method>
+ <method name="add"
+ c:identifier="clutter_container_add"
+ version="0.4"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Adds a list of #ClutterActor<!-- -->s to @container. Each time and
+actor is added, the "actor-added" signal is emitted. Each actor should
+be parented to @container, which takes a reference on the actor. You
+cannot add a #ClutterActor to more than one #ClutterContainer.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="actor" transfer-ownership="none">
+ <parameter name="first_actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the first #ClutterActor to add</doc>
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="position" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="first_property" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
<parameter transfer-ownership="none">
<varargs>
</varargs>
</parameter>
</parameters>
- </method>
- <property name="color"
- version="1.2"
- writable="1"
- doc="The color to be used to paint the background of the
-#ClutterBox. Setting this property will set the
-#ClutterBox:color-set property as a side effect">
- <type name="Color" c:type="ClutterColor"/>
- </property>
- <property name="color-set"
- version="1.2"
- writable="1"
- doc="Whether the #ClutterBox:color property has been set">
- <type name="boolean" c:type="gboolean"/>
- </property>
- <property name="layout-manager"
- version="1.2"
- writable="1"
- construct="1"
- doc="The #ClutterLayoutManager used by the #ClutterBox">
- <type name="LayoutManager" c:type="ClutterLayoutManager"/>
- </property>
- <field name="parent_instance">
- <type name="Actor" c:type="ClutterActor"/>
- </field>
- <field name="priv">
- <type name="BoxPrivate" c:type="ClutterBoxPrivate*"/>
- </field>
- </class>
- <enumeration name="BoxAlignment"
- doc="The alignment policies available on each axis of the #ClutterBoxLayout"
- version="1.2"
- glib:type-name="ClutterBoxAlignment"
- glib:get-type="clutter_box_alignment_get_type"
- c:type="ClutterBoxAlignment">
- <member name="start"
- value="0"
- c:identifier="CLUTTER_BOX_ALIGNMENT_START"
- glib:nick="start"/>
- <member name="end"
- value="1"
- c:identifier="CLUTTER_BOX_ALIGNMENT_END"
- glib:nick="end"/>
- <member name="center"
- value="2"
- c:identifier="CLUTTER_BOX_ALIGNMENT_CENTER"
- glib:nick="center"/>
- </enumeration>
- <record name="BoxClass"
- c:type="ClutterBoxClass"
- glib:is-gtype-struct-for="Box"
- doc="The #ClutterBoxClass structure contains only private data"
- version="1.2">
- <field name="parent_class">
- <type name="ActorClass" c:type="ClutterActorClass"/>
- </field>
- <field name="padding_1">
- <callback name="padding_1" c:type="clutter_padding_1">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="padding_2">
- <callback name="padding_2" c:type="clutter_padding_2">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="padding_3">
- <callback name="padding_3" c:type="clutter_padding_3">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="padding_4">
- <callback name="padding_4" c:type="clutter_padding_4">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="padding_5">
- <callback name="padding_5" c:type="clutter_padding_5">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="padding_6">
- <callback name="padding_6" c:type="clutter_padding_6">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- </record>
- <class name="BoxLayout"
- c:type="ClutterBoxLayout"
- doc="The #ClutterBoxLayout structure contains only private data
-and should be accessed using the provided API"
- version="1.2"
- parent="LayoutManager"
- glib:type-name="ClutterBoxLayout"
- glib:get-type="clutter_box_layout_get_type"
- glib:type-struct="BoxLayoutClass">
- <constructor name="new"
- c:identifier="clutter_box_layout_new"
- doc="Creates a new #ClutterBoxLayout layout manager"
- version="1.2">
- <return-value transfer-ownership="full">
- <type name="BoxLayout" c:type="ClutterLayoutManager*"/>
- </return-value>
- </constructor>
- <method name="set_spacing"
- c:identifier="clutter_box_layout_set_spacing"
- doc="Sets the spacing between children of @layout"
- version="1.2">
+ </method>
+ <method name="add_actor"
+ c:identifier="clutter_container_add_actor"
+ version="0.4">
+ <doc xml:whitespace="preserve">Adds a #ClutterActor to @container. This function will emit the
+"actor-added" signal. The actor should be parented to
+#ClutterContainer.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="spacing" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the first #ClutterActor to add</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</parameter>
</parameters>
</method>
- <method name="get_spacing"
- c:identifier="clutter_box_layout_get_spacing"
- doc="Retrieves the spacing set using clutter_box_layout_set_spacing()"
- version="1.2">
- <return-value transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </return-value>
- </method>
- <method name="set_vertical"
- c:identifier="clutter_box_layout_set_vertical"
- doc="Sets whether @layout should arrange its children vertically alongside
-the Y axis, instead of horizontally alongside the X axis"
- version="1.2">
+ <method name="add_valist"
+ c:identifier="clutter_container_add_valist"
+ version="0.4"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Alternative va_list version of clutter_container_add().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="vertical" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <parameter name="first_actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the first #ClutterActor to add</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="var_args" transfer-ownership="none">
+ <doc xml:whitespace="preserve">list of actors to add, followed by %NULL</doc>
+ <type name="va_list" c:type="va_list"/>
</parameter>
</parameters>
</method>
- <method name="get_vertical"
- c:identifier="clutter_box_layout_get_vertical"
- doc="Retrieves the orientation of the @layout as set using the
-clutter_box_layout_set_vertical() function
-vertically, and %FALSE otherwise"
- version="1.2">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- </method>
- <method name="set_pack_start"
- c:identifier="clutter_box_layout_set_pack_start"
- doc="Sets whether children of @layout should be layed out by appending
-them or by prepending them"
- version="1.2">
+ <method name="child_get"
+ c:identifier="clutter_container_child_get"
+ version="0.8"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Gets @container specific properties of an actor.
+In general, a copy is made of the property contents and the caller is
+responsible for freeing the memory in the appropriate manner for the type, for
+instance by calling g_free() or g_object_unref().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="pack_start"
- transfer-ownership="none"
- doc=" beginning of the layout">
- <type name="boolean" c:type="gboolean"/>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor that is a child of @container.</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="first_prop" transfer-ownership="none">
+ <doc xml:whitespace="preserve">name of the first property to be set.</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter transfer-ownership="none">
+ <varargs>
+ </varargs>
</parameter>
</parameters>
</method>
- <method name="get_pack_start"
- c:identifier="clutter_box_layout_get_pack_start"
- doc="Retrieves the value set using clutter_box_layout_set_pack_start()
-at the beginning of the layout, and %FALSE otherwise"
- version="1.2">
+ <method name="child_get_property"
+ c:identifier="clutter_container_child_get_property"
+ version="0.8">
+ <doc xml:whitespace="preserve">Gets a container specific property of a child of @container, In general,
+a copy is made of the property contents and the caller is responsible for
+freeing the memory by calling g_value_unset().
+Note that clutter_container_child_set_property() is really intended for
+language bindings, clutter_container_child_set() is much more convenient
+for C programming.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="child" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor that is a child of @container.</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="property" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the property to set.</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the value.</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
+ </parameters>
</method>
- <method name="pack"
- c:identifier="clutter_box_layout_pack"
- doc="Packs @actor inside the #ClutterContainer associated to @layout
-and sets the layout properties"
- version="1.2">
+ <method name="child_set"
+ c:identifier="clutter_container_child_set"
+ version="0.8"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Sets container specific properties on the child of a container.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor that is a child of @container.</doc>
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="expand" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <parameter name="first_prop" transfer-ownership="none">
+ <doc xml:whitespace="preserve">name of the first property to be set.</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
- <parameter name="x_fill" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <parameter transfer-ownership="none">
+ <varargs>
+ </varargs>
</parameter>
- <parameter name="y_fill" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ </parameters>
+ </method>
+ <method name="child_set_property"
+ c:identifier="clutter_container_child_set_property"
+ version="0.8">
+ <doc xml:whitespace="preserve">Sets a container-specific property on a child of @container.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="child" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor that is a child of @container.</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="x_align" transfer-ownership="none">
- <type name="BoxAlignment" c:type="ClutterBoxAlignment"/>
+ <parameter name="property" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the property to set.</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
- <parameter name="y_align" transfer-ownership="none">
- <type name="BoxAlignment" c:type="ClutterBoxAlignment"/>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the value.</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
</parameter>
</parameters>
</method>
- <method name="set_alignment"
- c:identifier="clutter_box_layout_set_alignment"
- doc="Sets the horizontal and vertical alignment policies for @actor
-inside @layout"
+ <method name="create_child_meta"
+ c:identifier="clutter_container_create_child_meta"
version="1.2">
+ <doc xml:whitespace="preserve">Creates the #ClutterChildMeta wrapping @actor inside the
+class member is not set to %G_TYPE_INVALID.
+This function is only useful when adding a #ClutterActor to
+a #ClutterContainer implementation outside of the
+#ClutterContainer::add() virtual function implementation.
+Applications should not call this function.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor</doc>
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="x_align" transfer-ownership="none">
- <type name="BoxAlignment" c:type="ClutterBoxAlignment"/>
- </parameter>
- <parameter name="y_align" transfer-ownership="none">
- <type name="BoxAlignment" c:type="ClutterBoxAlignment"/>
- </parameter>
</parameters>
</method>
- <method name="get_alignment"
- c:identifier="clutter_box_layout_get_alignment"
- doc="Retrieves the horizontal and vertical alignment policies for @actor
-as set using clutter_box_layout_pack() or clutter_box_layout_set_alignment()"
+ <method name="destroy_child_meta"
+ c:identifier="clutter_container_destroy_child_meta"
version="1.2">
+ <doc xml:whitespace="preserve">Destroys the #ClutterChildMeta wrapping @actor inside the
+This function is only useful when removing a #ClutterActor to
+a #ClutterContainer implementation outside of the
+#ClutterContainer::add() virtual function implementation.
+Applications should not call this function.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor</doc>
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="x_align"
- direction="out"
- caller-allocates="1"
- transfer-ownership="none"
- doc="return location for the horizontal alignment policy">
- <type name="BoxAlignment" c:type="ClutterBoxAlignment*"/>
+ </parameters>
+ </method>
+ <method name="find_child_by_name"
+ c:identifier="clutter_container_find_child_by_name"
+ version="0.6">
+ <doc xml:whitespace="preserve">Finds a child actor of a container by its name. Search recurses
+into any child container.
+or %NULL if no actor with that name was found.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">The child actor with the requested name,</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </return-value>
+ <parameters>
+ <parameter name="child_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the requested child.</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
- <parameter name="y_align"
- direction="out"
- caller-allocates="1"
+ </parameters>
+ </method>
+ <method name="foreach"
+ c:identifier="clutter_container_foreach"
+ version="0.4">
+ <doc xml:whitespace="preserve">Calls @callback for each child of @container that was added
+by the application (with clutter_container_add_actor()). Does
+not iterate over "internal" children that are part of the
+container's own implementation, if any.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="callback"
transfer-ownership="none"
- doc="return location for the vertical alignment policy">
- <type name="BoxAlignment" c:type="ClutterBoxAlignment*"/>
+ scope="call"
+ closure="1">
+ <doc xml:whitespace="preserve">a function to be called for each child</doc>
+ <type name="Callback" c:type="ClutterCallback"/>
+ </parameter>
+ <parameter name="user_data" transfer-ownership="none">
+ <doc xml:whitespace="preserve">data to be passed to the function, or %NULL</doc>
+ <type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
- <method name="set_fill"
- c:identifier="clutter_box_layout_set_fill"
- doc="Sets the horizontal and vertical fill policies for @actor
-inside @layout"
- version="1.2">
+ <method name="foreach_with_internals"
+ c:identifier="clutter_container_foreach_with_internals"
+ version="1.0">
+ <doc xml:whitespace="preserve">Calls @callback for each child of @container, including "internal"
+children built in to the container itself that were never added
+by the application.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- <parameter name="x_fill" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <parameter name="callback"
+ transfer-ownership="none"
+ scope="call"
+ closure="1">
+ <doc xml:whitespace="preserve">a function to be called for each child</doc>
+ <type name="Callback" c:type="ClutterCallback"/>
</parameter>
- <parameter name="y_fill" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <parameter name="user_data" transfer-ownership="none">
+ <doc xml:whitespace="preserve">data to be passed to the function, or %NULL</doc>
+ <type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
- <method name="get_fill"
- c:identifier="clutter_box_layout_get_fill"
- doc="Retrieves the horizontal and vertical fill policies for @actor
-as set using clutter_box_layout_pack() or clutter_box_layout_set_fill()"
- version="1.2">
+ <method name="get_child_meta"
+ c:identifier="clutter_container_get_child_meta"
+ version="0.8">
+ <doc xml:whitespace="preserve">Retrieves the #ClutterChildMeta which contains the data about the
+of @container or %NULL if the specifiec actor does not exist or the
+container is not configured to provide #ClutterChildMeta<!-- -->s</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the #ClutterChildMeta for the @actor child</doc>
+ <type name="ChildMeta" c:type="ClutterChildMeta*"/>
</return-value>
<parameters>
<parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor that is a child of @container.</doc>
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="x_fill"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- doc="return location for the horizontal fill policy">
- <type name="boolean" c:type="gboolean*"/>
- </parameter>
- <parameter name="y_fill"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- doc="return location for the vertical fill policy">
- <type name="boolean" c:type="gboolean*"/>
- </parameter>
</parameters>
</method>
- <method name="set_expand"
- c:identifier="clutter_box_layout_set_expand"
- doc="Sets whether @actor should expand inside @layout"
- version="1.2">
+ <method name="get_children"
+ c:identifier="clutter_container_get_children"
+ version="0.4">
+ <doc xml:whitespace="preserve">Retrieves all the children of @container.
+of #ClutterActor<!-- -->s. Use g_list_free() on the returned
+list when done.</doc>
+ <return-value transfer-ownership="container">
+ <doc xml:whitespace="preserve">a list</doc>
+ <type name="GLib.List" c:type="GList*">
+ <type name="Actor"/>
+ </type>
+ </return-value>
+ </method>
+ <method name="lower_child"
+ c:identifier="clutter_container_lower_child"
+ version="0.6">
+ <doc xml:whitespace="preserve">Lowers @actor to @sibling level, in the depth ordering.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the actor to raise</doc>
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="expand" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <parameter name="sibling" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the sibling to lower to, or %NULL to lower to the bottom</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</parameter>
</parameters>
</method>
- <method name="get_expand"
- c:identifier="clutter_box_layout_get_expand"
- doc="Retrieves whether @actor should expand inside @layout"
- version="1.2">
+ <method name="raise_child"
+ c:identifier="clutter_container_raise_child"
+ version="0.6">
+ <doc xml:whitespace="preserve">Raises @actor to @sibling level, in the depth ordering.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the actor to raise</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="sibling" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the sibling to raise to, or %NULL to raise to the top</doc>
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
</parameters>
</method>
- <method name="set_use_animations"
- c:identifier="clutter_box_layout_set_use_animations"
- doc="Sets whether @layout should animate changes in the layout properties
-The duration of the animations is controlled by
-clutter_box_layout_set_easing_duration(); the easing mode to be used
-by the animations is controlled by clutter_box_layout_set_easing_mode()"
- version="1.2">
+ <method name="remove"
+ c:identifier="clutter_container_remove"
+ version="0.4"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Removes a %NULL terminated list of #ClutterActor<!-- -->s from
+around you must hold a reference to it yourself, using g_object_ref().
+Each time an actor is removed, the "actor-removed" signal is
+emitted by @container.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="animate" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <parameter name="first_actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">first #ClutterActor to remove</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter transfer-ownership="none">
+ <varargs>
+ </varargs>
</parameter>
</parameters>
</method>
- <method name="get_use_animations"
- c:identifier="clutter_box_layout_get_use_animations"
- doc="Retrieves whether @layout should animate changes in the layout properties
-Since clutter_box_layout_set_use_animations()"
- version="1.2">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- </method>
- <method name="set_easing_mode"
- c:identifier="clutter_box_layout_set_easing_mode"
- doc="Sets the easing mode to be used by @layout when animating changes in layout
-properties
-Use clutter_box_layout_set_use_animations() to enable and disable the
-animations"
- version="1.2">
+ <method name="remove_actor"
+ c:identifier="clutter_container_remove_actor"
+ version="0.4">
+ <doc xml:whitespace="preserve">Removes @actor from @container. The actor should be unparented, so
+if you want to keep it around you must hold a reference to it
+yourself, using g_object_ref(). When the actor has been removed,
+the "actor-removed" signal is emitted by @container.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="mode"
- transfer-ownership="none"
- doc=" from clutter_alpha_register_func()">
- <type name="ulong" c:type="gulong"/>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</parameter>
</parameters>
</method>
- <method name="get_easing_mode"
- c:identifier="clutter_box_layout_get_easing_mode"
- doc="Retrieves the easing mode set using clutter_box_layout_set_easing_mode()"
- version="1.2">
+ <method name="remove_valist"
+ c:identifier="clutter_container_remove_valist"
+ version="0.4"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Alternative va_list version of clutter_container_remove().</doc>
<return-value transfer-ownership="none">
- <type name="ulong" c:type="gulong"/>
+ <type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="first_actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the first #ClutterActor to add</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="var_args" transfer-ownership="none">
+ <doc xml:whitespace="preserve">list of actors to remove, followed by %NULL</doc>
+ <type name="va_list" c:type="va_list"/>
+ </parameter>
+ </parameters>
</method>
- <method name="set_easing_duration"
- c:identifier="clutter_box_layout_set_easing_duration"
- doc="Sets the duration of the animations used by @layout when animating changes
-in the layout properties
-Use clutter_box_layout_set_use_animations() to enable and disable the
-animations"
- version="1.2">
+ <method name="sort_depth_order"
+ c:identifier="clutter_container_sort_depth_order"
+ version="0.6">
+ <doc xml:whitespace="preserve">Sorts a container's children using their depth. This function should not
+be normally used by applications.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
+ </method>
+ <glib:signal name="actor-added" version="0.4">
+ <doc xml:whitespace="preserve">The ::actor-added signal is emitted each time an actor
+has been added to @container.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
<parameters>
- <parameter name="msecs" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the new child that has been added to @container</doc>
+ <type name="Actor"/>
</parameter>
</parameters>
- </method>
- <method name="get_easing_duration"
- c:identifier="clutter_box_layout_get_easing_duration"
- doc="Retrieves the duration set using clutter_box_layout_set_easing_duration()"
- version="1.2">
+ </glib:signal>
+ <glib:signal name="actor-removed" version="0.4">
+ <doc xml:whitespace="preserve">The ::actor-removed signal is emitted each time an actor
+is removed from @container.</doc>
<return-value transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <type name="none"/>
</return-value>
- </method>
- <property name="easing-duration"
- version="1.2"
- writable="1"
- doc="The duration of the animations, in case #ClutterBoxLayout:use-animations
-is set to %TRUE
-The duration is expressed in milliseconds">
- <type name="uint" c:type="guint"/>
- </property>
- <property name="easing-mode"
- version="1.2"
- writable="1"
- doc="The easing mode for the animations, in case
-#ClutterBoxLayout:use-animations is set to %TRUE
-either be a value from the #ClutterAnimationMode enumeration, like
-%CLUTTER_EASE_OUT_CUBIC, or a logical id as returned by
-clutter_alpha_register_func()
-The default value is %CLUTTER_EASE_OUT_CUBIC">
- <type name="ulong" c:type="gulong"/>
- </property>
- <property name="pack-start"
- version="1.2"
- writable="1"
- doc="Whether the #ClutterBoxLayout should pack items at the start
-or append them at the end">
- <type name="boolean" c:type="gboolean"/>
- </property>
- <property name="spacing"
- version="1.2"
- writable="1"
- doc="The spacing between children of the #ClutterBoxLayout, in pixels">
- <type name="uint" c:type="guint"/>
- </property>
- <property name="use-animations"
- version="1.2"
- writable="1"
- doc="Whether the #ClutterBoxLayout should animate changes in the
-layout properties">
- <type name="boolean" c:type="gboolean"/>
- </property>
- <property name="vertical"
- version="1.2"
- writable="1"
- doc="Whether the #ClutterBoxLayout should arrange its children
-alongside the Y axis, instead of alongside the X axis">
- <type name="boolean" c:type="gboolean"/>
- </property>
- <field name="parent_instance">
- <type name="LayoutManager" c:type="ClutterLayoutManager"/>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the child that has been removed from @container</doc>
+ <type name="Actor"/>
+ </parameter>
+ </parameters>
+ </glib:signal>
+ <glib:signal name="child-notify" version="0.8" introspectable="0">
+ <doc xml:whitespace="preserve">The ::child-notify signal is emitted each time a property is
+being set through the clutter_container_child_set() and
+clutter_container_child_set_property() calls.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the child that has had a property set.</doc>
+ <type name="Actor"/>
+ </parameter>
+ <parameter name="p0" transfer-ownership="none">
+ <type/>
+ </parameter>
+ </parameters>
+ </glib:signal>
+ </interface>
+ <record name="ContainerIface"
+ c:type="ClutterContainerIface"
+ glib:is-gtype-struct-for="Container"
+ version="0.4">
+ <doc xml:whitespace="preserve">Base interface for container actors. The @add, @remove and @foreach
+virtual functions must be provided by any implementation; the other
+virtual functions are optional.</doc>
+ <field name="g_iface">
+ <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
</field>
- <field name="priv">
- <type name="BoxLayoutPrivate" c:type="ClutterBoxLayoutPrivate*"/>
+ <field name="add">
+ <callback name="add">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="container" transfer-ownership="none">
+ <type name="Container" c:type="ClutterContainer*"/>
+ </parameter>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="remove">
+ <callback name="remove">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="container" transfer-ownership="none">
+ <type name="Container" c:type="ClutterContainer*"/>
+ </parameter>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="foreach">
+ <callback name="foreach">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="container" transfer-ownership="none">
+ <type name="Container" c:type="ClutterContainer*"/>
+ </parameter>
+ <parameter name="callback"
+ transfer-ownership="none"
+ scope="call"
+ closure="2">
+ <doc xml:whitespace="preserve">a function to be called for each child</doc>
+ <type name="Callback" c:type="ClutterCallback"/>
+ </parameter>
+ <parameter name="user_data" transfer-ownership="none" closure="2">
+ <doc xml:whitespace="preserve">data to be passed to the function, or %NULL</doc>
+ <type name="gpointer" c:type="gpointer"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="foreach_with_internals">
+ <callback name="foreach_with_internals">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="container" transfer-ownership="none">
+ <type name="Container" c:type="ClutterContainer*"/>
+ </parameter>
+ <parameter name="callback"
+ transfer-ownership="none"
+ scope="call"
+ closure="2">
+ <doc xml:whitespace="preserve">a function to be called for each child</doc>
+ <type name="Callback" c:type="ClutterCallback"/>
+ </parameter>
+ <parameter name="user_data" transfer-ownership="none" closure="2">
+ <doc xml:whitespace="preserve">data to be passed to the function, or %NULL</doc>
+ <type name="gpointer" c:type="gpointer"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="raise">
+ <callback name="raise">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="container" transfer-ownership="none">
+ <type name="Container" c:type="ClutterContainer*"/>
+ </parameter>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="sibling" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="lower">
+ <callback name="lower">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="container" transfer-ownership="none">
+ <type name="Container" c:type="ClutterContainer*"/>
+ </parameter>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="sibling" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="sort_depth_order">
+ <callback name="sort_depth_order">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="container" transfer-ownership="none">
+ <type name="Container" c:type="ClutterContainer*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="child_meta_type">
+ <type name="GType" c:type="GType"/>
+ </field>
+ <field name="create_child_meta">
+ <callback name="create_child_meta">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="container" transfer-ownership="none">
+ <type name="Container" c:type="ClutterContainer*"/>
+ </parameter>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="destroy_child_meta">
+ <callback name="destroy_child_meta">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="container" transfer-ownership="none">
+ <type name="Container" c:type="ClutterContainer*"/>
+ </parameter>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="get_child_meta">
+ <callback name="get_child_meta">
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterChildMeta for the @actor child</doc>
+ <type name="ChildMeta" c:type="ClutterChildMeta*"/>
+ </return-value>
+ <parameters>
+ <parameter name="container" transfer-ownership="none">
+ <type name="Container" c:type="ClutterContainer*"/>
+ </parameter>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor that is a child of @container.</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="actor_added">
+ <callback name="actor_added">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="container" transfer-ownership="none">
+ <type name="Container" c:type="ClutterContainer*"/>
+ </parameter>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="actor_removed">
+ <callback name="actor_removed">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="container" transfer-ownership="none">
+ <type name="Container" c:type="ClutterContainer*"/>
+ </parameter>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ </parameters>
+ </callback>
</field>
- </class>
- <record name="BoxLayoutClass"
- c:type="ClutterBoxLayoutClass"
- glib:is-gtype-struct-for="BoxLayout"
- doc="The #ClutterBoxLayoutClass structure contains only private
-data and should be accessed using the provided API"
- version="1.2">
- <field name="parent_class">
- <type name="LayoutManagerClass" c:type="ClutterLayoutManagerClass"/>
+ <field name="child_notify">
+ <callback name="child_notify">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="container" transfer-ownership="none">
+ <type name="Container" c:type="ClutterContainer*"/>
+ </parameter>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="pspec" transfer-ownership="none">
+ <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
+ </parameter>
+ </parameters>
+ </callback>
</field>
</record>
- <record name="BoxLayoutPrivate" c:type="ClutterBoxLayoutPrivate">
- </record>
- <record name="BoxPrivate" c:type="ClutterBoxPrivate">
- </record>
- <constant name="Break" value="65387">
- <type name="int"/>
+ <constant name="ContrastAdjust" value="269025058">
+ <type name="gint" c:type="gint"/>
</constant>
- <record name="ButtonEvent"
- c:type="ClutterButtonEvent"
- doc="Button event.
-The event coordinates are relative to the stage that received the
-event, and can be transformed into actor-relative coordinates by
-using clutter_actor_transform_stage_point()."
- version="0.2">
+ <constant name="Control_L" value="65507">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Control_R" value="65508">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Copy" value="269025111">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <record name="CrossingEvent" c:type="ClutterCrossingEvent" version="0.2">
+ <doc xml:whitespace="preserve">Event for the movement of the pointer across different actors</doc>
<field name="type" writable="1">
<type name="EventType" c:type="ClutterEventType"/>
</field>
<field name="time" writable="1">
- <type name="uint32" c:type="guint32"/>
+ <type name="guint32" c:type="guint32"/>
</field>
<field name="flags" writable="1">
<type name="EventFlags" c:type="ClutterEventFlags"/>
<type name="Actor" c:type="ClutterActor*"/>
</field>
<field name="x" writable="1">
- <type name="float" c:type="gfloat"/>
+ <type name="gfloat" c:type="gfloat"/>
</field>
<field name="y" writable="1">
- <type name="float" c:type="gfloat"/>
- </field>
- <field name="modifier_state" writable="1">
- <type name="ModifierType" c:type="ClutterModifierType"/>
- </field>
- <field name="button" writable="1">
- <type name="uint32" c:type="guint32"/>
- </field>
- <field name="click_count" writable="1">
- <type name="uint" c:type="guint"/>
- </field>
- <field name="axes" writable="1">
- <type name="any" c:type="gdouble*"/>
+ <type name="gfloat" c:type="gfloat"/>
</field>
<field name="device" writable="1">
<type name="InputDevice" c:type="ClutterInputDevice*"/>
</field>
+ <field name="related" writable="1">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </field>
</record>
- <constant name="Byelorussian_SHORTU" value="1726">
- <type name="int"/>
+ <constant name="CruzeiroSign" value="16785570">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cut" value="269025112">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="CycleAngle" value="269025180">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_A" value="1761">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_BE" value="1762">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_CHE" value="1790">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_CHE_descender" value="16778422">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_CHE_vertstroke" value="16778424">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_DE" value="1764">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_DZHE" value="1727">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_E" value="1788">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_EF" value="1766">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_EL" value="1772">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_EM" value="1773">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_EN" value="1774">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_EN_descender" value="16778402">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_ER" value="1778">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_ES" value="1779">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_GHE" value="1767">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_GHE_bar" value="16778386">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_HA" value="1768">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_HARDSIGN" value="1791">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_HA_descender" value="16778418">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_I" value="1769">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_IE" value="1765">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_IO" value="1715">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_I_macron" value="16778466">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_JE" value="1720">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_KA" value="1771">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_KA_descender" value="16778394">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_KA_vertstroke" value="16778396">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_LJE" value="1721">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_NJE" value="1722">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_O" value="1775">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_O_bar" value="16778472">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_PE" value="1776">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_SCHWA" value="16778456">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_SHA" value="1787">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_SHCHA" value="1789">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_SHHA" value="16778426">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_SHORTI" value="1770">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_SOFTSIGN" value="1784">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_TE" value="1780">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_TSE" value="1763">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_U" value="1781">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_U_macron" value="16778478">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_U_straight" value="16778414">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_U_straight_bar" value="16778416">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_VE" value="1783">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_YA" value="1777">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_YERU" value="1785">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_YU" value="1760">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_ZE" value="1786">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_ZHE" value="1782">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_ZHE_descender" value="16778390">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_a" value="1729">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_be" value="1730">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_che" value="1758">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_che_descender" value="16778423">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_che_vertstroke" value="16778425">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_de" value="1732">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_dzhe" value="1711">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_e" value="1756">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_ef" value="1734">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_el" value="1740">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_em" value="1741">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_en" value="1742">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_en_descender" value="16778403">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_er" value="1746">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_es" value="1747">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_ghe" value="1735">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_ghe_bar" value="16778387">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_ha" value="1736">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_ha_descender" value="16778419">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_hardsign" value="1759">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_i" value="1737">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_i_macron" value="16778467">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_ie" value="1733">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_io" value="1699">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_je" value="1704">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_ka" value="1739">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_ka_descender" value="16778395">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_ka_vertstroke" value="16778397">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_lje" value="1705">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_nje" value="1706">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_o" value="1743">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_o_bar" value="16778473">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_pe" value="1744">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_schwa" value="16778457">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_sha" value="1755">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_shcha" value="1757">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_shha" value="16778427">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_shorti" value="1738">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_softsign" value="1752">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_te" value="1748">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_tse" value="1731">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_u" value="1749">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_u_macron" value="16778479">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_u_straight" value="16778415">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_u_straight_bar" value="16778417">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Cyrillic_ve" value="1751">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Byelorussian_shortu" value="1710">
- <type name="int"/>
+ <constant name="Cyrillic_ya" value="1745">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="C" value="67">
- <type name="int"/>
+ <constant name="Cyrillic_yeru" value="1753">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="COGL" value="gl">
- <type name="utf8"/>
+ <constant name="Cyrillic_yu" value="1728">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="CURRENT_TIME" value="0">
- <type name="int"/>
+ <constant name="Cyrillic_ze" value="1754">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cabovedot" value="709">
- <type name="int"/>
+ <constant name="Cyrillic_zhe" value="1750">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cacute" value="454">
- <type name="int"/>
+ <constant name="Cyrillic_zhe_descender" value="16778391">
+ <type name="gint" c:type="gint"/>
</constant>
- <class name="CairoTexture"
- c:type="ClutterCairoTexture"
- doc="The #ClutterCairoTexture struct contains only private data."
- version="1.0"
- parent="Texture"
- glib:type-name="ClutterCairoTexture"
- glib:get-type="clutter_cairo_texture_get_type"
- glib:type-struct="CairoTextureClass">
- <implements name="Scriptable"/>
- <constructor name="new"
- c:identifier="clutter_cairo_texture_new"
- doc="Creates a new #ClutterCairoTexture actor, with a surface of @width by"
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="CairoTexture" c:type="ClutterActor*"/>
- </return-value>
- <parameters>
- <parameter name="width" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- <parameter name="height" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- </parameters>
- </constructor>
- <method name="create_region"
- c:identifier="clutter_cairo_texture_create_region"
- doc="Creates a new Cairo context that will updat the region defined
-by @x_offset, @y_offset, @width and @height.
-<warning><para>Do not call this function within the paint virtual
-function or from a callback to the #ClutterActor::paint
-signal.</para></warning>
-to upload the contents of the context when done drawing"
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="cairo.Context" c:type="cairo_t*"/>
- </return-value>
- <parameters>
- <parameter name="x_offset" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="y_offset" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="width" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="height" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- </parameters>
- </method>
- <method name="create"
- c:identifier="clutter_cairo_texture_create"
- doc="Creates a new Cairo context for the @cairo texture. It is
-similar to using clutter_cairo_texture_create_region() with @x_offset
-and @y_offset of 0, @width equal to the @cairo texture surface width
-and @height equal to the @cairo texture surface height.
-<warning><para>Do not call this function within the paint virtual
-function or from a callback to the #ClutterActor::paint
-signal.</para></warning>
-to upload the contents of the context when done drawing"
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="cairo.Context" c:type="cairo_t*"/>
- </return-value>
- </method>
- <method name="set_surface_size"
- c:identifier="clutter_cairo_texture_set_surface_size"
- doc="Resizes the Cairo surface used by @self to @width and @height."
- version="1.0">
+ <constant name="D" value="68">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="DOS" value="269025114">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Dabovedot" value="16784906">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Dcaron" value="463">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <class name="DeformEffect"
+ c:symbol-prefix="deform_effect"
+ c:type="ClutterDeformEffect"
+ version="1.4"
+ parent="OffscreenEffect"
+ abstract="1"
+ glib:type-name="ClutterDeformEffect"
+ glib:get-type="clutter_deform_effect_get_type"
+ glib:type-struct="DeformEffectClass">
+ <doc xml:whitespace="preserve">The <structname>ClutterDeformEffect</structname> structure contains
+only private data and should be accessed using the provided API</doc>
+ <virtual-method name="deform_vertex">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="width" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
<parameter name="height" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- </parameters>
- </method>
- <method name="get_surface_size"
- c:identifier="clutter_cairo_texture_get_surface_size"
- doc="Retrieves the surface width and height for @self."
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="width"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full">
- <type name="uint" c:type="guint*"/>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
- <parameter name="height"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full">
- <type name="uint" c:type="guint*"/>
+ <parameter name="vertex" transfer-ownership="none">
+ <type name="Cogl.TextureVertex" c:type="CoglTextureVertex*"/>
</parameter>
</parameters>
- </method>
- <method name="clear"
- c:identifier="clutter_cairo_texture_clear"
- doc="Clears @self's internal drawing surface, so that the next upload
-will replace the previous contents of the #ClutterCairoTexture
-rather than adding to it."
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </method>
- <property name="surface-height"
- version="1.0"
- writable="1"
- doc="The height of the Cairo surface used by the #ClutterCairoTexture
-actor, in pixels.">
- <type name="uint" c:type="guint"/>
- </property>
- <property name="surface-width"
- version="1.0"
- writable="1"
- doc="The width of the Cairo surface used by the #ClutterCairoTexture
-actor, in pixels.">
- <type name="uint" c:type="guint"/>
- </property>
- <field name="parent_instance">
- <type name="Texture" c:type="ClutterTexture"/>
- </field>
- <field name="priv">
- <type name="CairoTexturePrivate" c:type="ClutterCairoTexturePrivate*"/>
- </field>
- </class>
- <record name="CairoTextureClass"
- c:type="ClutterCairoTextureClass"
- glib:is-gtype-struct-for="CairoTexture"
- doc="The #ClutterCairoTextureClass struct contains only private data."
- version="1.0">
- <field name="parent_class">
- <type name="TextureClass" c:type="ClutterTextureClass"/>
- </field>
- <field name="clutter_cairo_1">
- <callback name="clutter_cairo_1" c:type="_clutter_cairo_1">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_cairo_2">
- <callback name="clutter_cairo_2" c:type="_clutter_cairo_2">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_cairo_3">
- <callback name="clutter_cairo_3" c:type="_clutter_cairo_3">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_cairo_4">
- <callback name="clutter_cairo_4" c:type="_clutter_cairo_4">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- </record>
- <record name="CairoTexturePrivate" c:type="ClutterCairoTexturePrivate">
- </record>
- <callback name="Callback" c:type="ClutterCallback" doc="Generic callback">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- <parameter name="data" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
- </parameter>
- </parameters>
- </callback>
- <constant name="Cancel" value="65385">
- <type name="int"/>
- </constant>
- <constant name="Caps_Lock" value="65509">
- <type name="int"/>
- </constant>
- <constant name="Ccaron" value="456">
- <type name="int"/>
- </constant>
- <constant name="Ccedilla" value="199">
- <type name="int"/>
- </constant>
- <constant name="Ccircumflex" value="710">
- <type name="int"/>
- </constant>
- <class name="ChildMeta"
- c:type="ClutterChildMeta"
- doc="Base interface for container specific state for child actors. A child
-data is meant to be used when you need to keep track of information
-about each individual child added to a container.
-In order to use it you should create your own subclass of
-#ClutterChildMeta and set the #ClutterContainerIface::child_meta_type
-interface member to your subclass type, like:
-|[
-static void
-my_container_iface_init (ClutterContainerIface *iface)
-{
-/&ast; set the rest of the #ClutterContainer vtable &ast;/
-container_iface->child_meta_type = MY_TYPE_CHILD_META;
-}
-]|
-This will automatically create a #ClutterChildMeta of type
-MY_TYPE_CHILD_META for every actor that is added to the container.
-The child data for an actor can be retrieved using the
-clutter_container_get_child_meta() function.
-The properties of the data and your subclass can be manipulated with
-clutter_container_child_set() and clutter_container_child_get() which
-act like g_object_set() and g_object_get().
-You can provide hooks for your own storage as well as control the
-instantiation by overriding #ClutterContainerIface::create_child_meta,
-#ClutterContainerIface::destroy_child_meta and
-#ClutterContainerIface::get_child_meta."
- version="0.8"
- parent="GObject.Object"
- abstract="1"
- glib:type-name="ClutterChildMeta"
- glib:get-type="clutter_child_meta_get_type"
- glib:type-struct="ChildMetaClass">
- <method name="get_container"
- c:identifier="clutter_child_meta_get_container"
- doc="Retrieves the container using @data"
- version="0.8">
- <return-value transfer-ownership="none" doc="a #ClutterContainer">
- <type name="Container" c:type="ClutterContainer*"/>
- </return-value>
- </method>
- <method name="get_actor"
- c:identifier="clutter_child_meta_get_actor"
- doc="Retrieves the actor wrapped by @data"
- version="0.8">
- <return-value transfer-ownership="none" doc="a #ClutterActor">
- <type name="Actor" c:type="ClutterActor*"/>
+ </virtual-method>
+ <method name="get_back_material"
+ c:identifier="clutter_deform_effect_get_back_material"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the handle to the back face material used by @effect
+The returned material is owned by the #ClutterDeformEffect and it
+should not be freed directly</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a handle for the material, or %NULL.</doc>
+ <type name="Cogl.Handle" c:type="CoglHandle"/>
</return-value>
- </method>
- <property name="actor"
- version="0.8"
- writable="1"
- construct-only="1"
- doc="The #ClutterActor being wrapped by this #ClutterChildMeta">
- <type name="Actor" c:type="ClutterActor"/>
- </property>
- <property name="container"
- version="0.8"
- writable="1"
- construct-only="1"
- doc="The #ClutterContainer that created this #ClutterChildMeta.">
- <type name="Container" c:type="ClutterContainer"/>
- </property>
- <field name="parent_instance">
- <type name="GObject.Object" c:type="GObject"/>
- </field>
- <field name="container">
- <type name="Container" c:type="ClutterContainer*"/>
- </field>
- <field name="actor">
- <type name="Actor" c:type="ClutterActor*"/>
- </field>
- </class>
- <record name="ChildMetaClass"
- c:type="ClutterChildMetaClass"
- glib:is-gtype-struct-for="ChildMeta"
- doc="The #ClutterChildMetaClass contains only private data"
- version="0.8">
- <field name="parent_class">
- <type name="GObject.ObjectClass" c:type="GObjectClass"/>
- </field>
- </record>
- <constant name="Clear" value="65291">
- <type name="int"/>
- </constant>
- <class name="Clone"
- c:type="ClutterClone"
- doc="The #ClutterClone structure contains only private data
-and should be accessed using the provided API"
- version="1.0"
- parent="Actor"
- glib:type-name="ClutterClone"
- glib:get-type="clutter_clone_get_type"
- glib:type-struct="CloneClass">
- <implements name="Scriptable"/>
- <constructor name="new"
- c:identifier="clutter_clone_new"
- doc="Creates a new #ClutterActor which clones @source/"
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="Clone" c:type="ClutterActor*"/>
+ </method>
+ <method name="get_n_tiles"
+ c:identifier="clutter_deform_effect_get_n_tiles"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the number of horizontal and vertical tiles used to sub-divide
+the actor's geometry during the effect</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="source" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
+ <parameter name="x_tiles"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the number of horizontal tiles, or %NULL</doc>
+ <type name="guint" c:type="guint*"/>
+ </parameter>
+ <parameter name="y_tiles"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the number of vertical tiles, or %NULL</doc>
+ <type name="guint" c:type="guint*"/>
</parameter>
</parameters>
- </constructor>
- <method name="set_source"
- c:identifier="clutter_clone_set_source"
- doc="Sets @source as the source actor to be cloned by @clone."
- version="1.0">
+ </method>
+ <method name="invalidate"
+ c:identifier="clutter_deform_effect_invalidate"
+ version="1.4">
+ <doc xml:whitespace="preserve">Invalidates the @effect<!-- -->'s vertices and, if it is associated
+to an actor, it will queue a redraw</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </method>
+ <method name="set_back_material"
+ c:identifier="clutter_deform_effect_set_back_material"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets the material that should be used when drawing the back face
+of the actor during a deformation
+The #ClutterDeformEffect will take a reference on the material's
+handle</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="source" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
+ <parameter name="material" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">a handle to a Cogl material</doc>
+ <type name="Cogl.Handle" c:type="CoglHandle"/>
</parameter>
</parameters>
</method>
- <method name="get_source"
- c:identifier="clutter_clone_get_source"
- doc="Retrieves the source #ClutterActor being cloned by @clone"
- version="1.0">
- <return-value transfer-ownership="none"
- doc="the actor source for the clone">
- <type name="Actor" c:type="ClutterActor*"/>
+ <method name="set_n_tiles"
+ c:identifier="clutter_deform_effect_set_n_tiles"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets the number of horizontal and vertical tiles to be used
+when applying the effect
+More tiles allow a finer grained deformation at the expenses
+of computation</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="x_tiles" transfer-ownership="none">
+ <doc xml:whitespace="preserve">number of horizontal tiles</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ <parameter name="y_tiles" transfer-ownership="none">
+ <doc xml:whitespace="preserve">number of vertical tiles</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ </parameters>
</method>
- <property name="source"
- version="1.0"
+ <property name="back-material"
+ version="1.4"
+ introspectable="0"
writable="1"
- construct="1"
- doc="This property specifies the source actor being cloned.">
- <type name="Actor" c:type="ClutterActor"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">A material to be used when painting the back of the actor
+to which this effect has been applied
+By default, no material will be used</doc>
+ <type/>
+ </property>
+ <property name="x-tiles"
+ version="1.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The number of horizontal tiles. The bigger the number, the
+smaller the tiles</doc>
+ <type name="guint"/>
+ </property>
+ <property name="y-tiles"
+ version="1.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The number of vertical tiles. The bigger the number, the
+smaller the tiles</doc>
+ <type name="guint"/>
</property>
<field name="parent_instance">
- <type name="Actor" c:type="ClutterActor"/>
+ <type name="OffscreenEffect" c:type="ClutterOffscreenEffect"/>
</field>
<field name="priv">
- <type name="ClonePrivate" c:type="ClutterClonePrivate*"/>
+ <type name="DeformEffectPrivate" c:type="ClutterDeformEffectPrivate*"/>
</field>
</class>
- <record name="CloneClass"
- c:type="ClutterCloneClass"
- glib:is-gtype-struct-for="Clone"
- doc="The #ClutterCloneClass structure contains only private data"
- version="1.0">
+ <record name="DeformEffectClass"
+ c:type="ClutterDeformEffectClass"
+ glib:is-gtype-struct-for="DeformEffect"
+ version="1.4">
+ <doc xml:whitespace="preserve">The <structname>ClutterDeformEffectClass</structname> structure contains
+only private data</doc>
<field name="parent_class">
- <type name="ActorClass" c:type="ClutterActorClass"/>
+ <type name="OffscreenEffectClass"
+ c:type="ClutterOffscreenEffectClass"/>
</field>
- <field name="clutter_actor_clone1">
- <callback name="clutter_actor_clone1" c:type="_clutter_actor_clone1">
+ <field name="deform_vertex">
+ <callback name="deform_vertex">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="effect" transfer-ownership="none">
+ <type name="DeformEffect" c:type="ClutterDeformEffect*"/>
+ </parameter>
+ <parameter name="width" transfer-ownership="none">
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ <parameter name="height" transfer-ownership="none">
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ <parameter name="vertex" transfer-ownership="none">
+ <type name="Cogl.TextureVertex" c:type="CoglTextureVertex*"/>
+ </parameter>
+ </parameters>
</callback>
</field>
- <field name="clutter_actor_clone2">
- <callback name="clutter_actor_clone2" c:type="_clutter_actor_clone2">
+ <field name="_clutter_deform1" introspectable="0">
+ <callback name="_clutter_deform1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_actor_clone3">
- <callback name="clutter_actor_clone3" c:type="_clutter_actor_clone3">
+ <field name="_clutter_deform2" introspectable="0">
+ <callback name="_clutter_deform2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_actor_clone4">
- <callback name="clutter_actor_clone4" c:type="_clutter_actor_clone4">
+ <field name="_clutter_deform3" introspectable="0">
+ <callback name="_clutter_deform3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- </record>
- <record name="ClonePrivate" c:type="ClutterClonePrivate">
- </record>
- <constant name="Codeinput" value="65335">
- <type name="int"/>
- </constant>
- <constant name="ColonSign" value="16785569">
- <type name="int"/>
- </constant>
- <record name="Color"
- c:type="ClutterColor"
- doc="Color representation."
- glib:type-name="ClutterColor"
- glib:get-type="clutter_color_get_type">
- <field name="red" writable="1">
- <type name="uint8" c:type="guint8"/>
+ <field name="_clutter_deform4" introspectable="0">
+ <callback name="_clutter_deform4">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
</field>
- <field name="green" writable="1">
- <type name="uint8" c:type="guint8"/>
+ <field name="_clutter_deform5" introspectable="0">
+ <callback name="_clutter_deform5">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
</field>
- <field name="blue" writable="1">
- <type name="uint8" c:type="guint8"/>
+ <field name="_clutter_deform6" introspectable="0">
+ <callback name="_clutter_deform6">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
</field>
- <field name="alpha" writable="1">
- <type name="uint8" c:type="guint8"/>
+ <field name="_clutter_deform7" introspectable="0">
+ <callback name="_clutter_deform7">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
</field>
- <constructor name="new"
- c:identifier="clutter_color_new"
- doc="Creates a new #ClutterColor with the given values.
-when done"
- version="0.8.4">
- <return-value transfer-ownership="full">
- <type name="Color" c:type="ClutterColor*"/>
- </return-value>
- <parameters>
- <parameter name="red" transfer-ownership="none">
- <type name="uint8" c:type="guint8"/>
- </parameter>
- <parameter name="green" transfer-ownership="none">
- <type name="uint8" c:type="guint8"/>
- </parameter>
- <parameter name="blue" transfer-ownership="none">
- <type name="uint8" c:type="guint8"/>
- </parameter>
- <parameter name="alpha" transfer-ownership="none">
- <type name="uint8" c:type="guint8"/>
- </parameter>
- </parameters>
- </constructor>
- <method name="copy"
- c:identifier="clutter_color_copy"
- doc="Makes a copy of the color structure. The result must be
-freed using clutter_color_free()."
- version="0.2">
- <return-value transfer-ownership="full">
- <type name="Color" c:type="ClutterColor*"/>
- </return-value>
- </method>
- <method name="free"
- c:identifier="clutter_color_free"
- doc="Frees a color structure created with clutter_color_copy()."
- version="0.2">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </method>
- <method name="add"
- c:identifier="clutter_color_add"
- doc="Adds @a to @b and saves the resulting color inside @result.
-The alpha channel of @result is set as as the maximum value
-between the alpha channels of @a and @b.">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="b" transfer-ownership="none">
- <type name="Color" c:type="ClutterColor*"/>
- </parameter>
- <parameter name="result"
- direction="out"
- caller-allocates="1"
- transfer-ownership="none"
- doc="return location for the result">
- <type name="Color" c:type="ClutterColor*"/>
- </parameter>
- </parameters>
- </method>
- <method name="subtract"
- c:identifier="clutter_color_subtract"
- doc="Subtracts @b from @a and saves the resulting color inside @result.
-This function assumes that the components of @a are greater than the
-components of @b; the result is, otherwise, undefined.
-The alpha channel of @result is set as the minimum value
-between the alpha channels of @a and @b.">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="b" transfer-ownership="none">
- <type name="Color" c:type="ClutterColor*"/>
- </parameter>
- <parameter name="result"
- direction="out"
- caller-allocates="1"
- transfer-ownership="none"
- doc="return location for the result">
- <type name="Color" c:type="ClutterColor*"/>
- </parameter>
- </parameters>
- </method>
- <method name="lighten"
- c:identifier="clutter_color_lighten"
- doc="Lightens @color by a fixed amount, and saves the changed color
-in @result.">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="result"
- direction="out"
- caller-allocates="1"
- transfer-ownership="none"
- doc="return location for the lighter color">
- <type name="Color" c:type="ClutterColor*"/>
- </parameter>
- </parameters>
- </method>
- <method name="darken"
- c:identifier="clutter_color_darken"
- doc="Darkens @color by a fixed amount, and saves the changed color
-in @result.">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="result"
- direction="out"
- caller-allocates="1"
- transfer-ownership="none"
- doc="return location for the darker color">
- <type name="Color" c:type="ClutterColor*"/>
- </parameter>
- </parameters>
- </method>
- <method name="shade"
- c:identifier="clutter_color_shade"
- doc="Shades @color by @factor and saves the modified color into @result.">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="factor" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </parameter>
- <parameter name="result"
- direction="out"
- caller-allocates="1"
- transfer-ownership="none"
- doc="return location for the shaded color">
- <type name="Color" c:type="ClutterColor*"/>
- </parameter>
- </parameters>
- </method>
- <method name="to_string"
- c:identifier="clutter_color_to_string"
- doc="Returns a textual specification of @color in the hexadecimal form
-<literal>&num;rrggbbaa</literal>, where <literal>r</literal>,
-<literal>g</literal>, <literal>b</literal> and <literal>a</literal> are
-hex digits representing the red, green, blue and alpha components
-respectively."
- version="0.2">
- <return-value transfer-ownership="full">
- <type name="utf8" c:type="gchar*"/>
- </return-value>
- </method>
- <method name="from_string"
- c:identifier="clutter_color_from_string"
- doc="Parses a string definition of a color, filling the
-<structfield>red</structfield>, <structfield>green</structfield>,
-<structfield>blue</structfield> and <structfield>alpha</structfield>
-channels of @color. If alpha is not specified it will be set full opaque.
-The @color is not allocated.
-The color may be defined by any of the formats understood by
-pango_color_from_string(); these include literal color names, like
-<literal>Red</literal> or <literal>DarkSlateGray</literal>, or
-hexadecimal specifications like <literal>&num;3050b2</literal> or
-<literal>&num;333</literal>."
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- <parameters>
- <parameter name="str" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- </parameters>
- </method>
- <method name="to_hls"
- c:identifier="clutter_color_to_hls"
- doc="Converts @color to the HLS format.
-The @hue value is in the 0 .. 360 range. The @luminance and">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="hue"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full">
- <type name="float" c:type="gfloat*"/>
- </parameter>
- <parameter name="luminance"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full">
- <type name="float" c:type="gfloat*"/>
- </parameter>
- <parameter name="saturation"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full">
- <type name="float" c:type="gfloat*"/>
- </parameter>
- </parameters>
- </method>
- <method name="from_hls"
- c:identifier="clutter_color_from_hls"
- doc="Converts a color expressed in HLS (hue, luminance and saturation)
-values into a #ClutterColor.">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="hue" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </parameter>
- <parameter name="luminance" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </parameter>
- <parameter name="saturation" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </parameter>
- </parameters>
- </method>
- <method name="to_pixel"
- c:identifier="clutter_color_to_pixel"
- doc="Converts @color into a packed 32 bit integer, containing
-all the four 8 bit channels used by #ClutterColor.">
- <return-value transfer-ownership="none">
- <type name="uint32" c:type="guint32"/>
- </return-value>
- </method>
- <method name="from_pixel"
- c:identifier="clutter_color_from_pixel"
- doc="Converts @pixel from the packed representation of a four 8 bit channel
-color to a #ClutterColor.">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="pixel" transfer-ownership="none">
- <type name="uint32" c:type="guint32"/>
- </parameter>
- </parameters>
- </method>
</record>
- <interface name="Container"
- c:type="ClutterContainer"
- doc="#ClutterContainer is an opaque structure whose members cannot be directly
-accessed"
- version="0.4"
- glib:type-name="ClutterContainer"
- glib:get-type="clutter_container_get_type"
- glib:type-struct="ContainerIface">
- <virtual-method name="add">
+ <record name="DeformEffectPrivate"
+ c:type="ClutterDeformEffectPrivate"
+ disguised="1">
+ </record>
+ <constant name="Delete" value="65535">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <class name="DesaturateEffect"
+ c:symbol-prefix="desaturate_effect"
+ c:type="ClutterDesaturateEffect"
+ version="1.4"
+ parent="OffscreenEffect"
+ glib:type-name="ClutterDesaturateEffect"
+ glib:get-type="clutter_desaturate_effect_get_type">
+ <doc xml:whitespace="preserve"><structname>ClutterDesaturateEffect</structname> is an opaque structure
+whose members cannot be directly accessed</doc>
+ <constructor name="new"
+ c:identifier="clutter_desaturate_effect_new"
+ version="1.4">
+ <doc xml:whitespace="preserve">Creates a new #ClutterDesaturateEffect to be used with
+clutter_actor_add_effect()</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the newly created #ClutterDesaturateEffect or %NULL</doc>
+ <type name="Effect" c:type="ClutterEffect*"/>
</return-value>
<parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
+ <parameter name="factor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the desaturation factor, between 0.0 and 1.0</doc>
+ <type name="gdouble" c:type="gdouble"/>
</parameter>
</parameters>
- </virtual-method>
- <virtual-method name="remove">
+ </constructor>
+ <method name="get_factor"
+ c:identifier="clutter_desaturate_effect_get_factor"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the desaturation factor of @effect</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the desaturation factor</doc>
+ <type name="gdouble" c:type="gdouble"/>
</return-value>
- <parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- </parameters>
- </virtual-method>
- <virtual-method name="foreach" invoker="foreach">
+ </method>
+ <method name="set_factor"
+ c:identifier="clutter_desaturate_effect_set_factor"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets the desaturation factor for @effect, with 0.0 being "do not desaturate"
+and 1.0 being "fully desaturate"</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="callback" transfer-ownership="none">
- <type name="Callback" c:type="ClutterCallback"/>
- </parameter>
- <parameter name="user_data" transfer-ownership="none" closure="2">
- <type name="any" c:type="gpointer"/>
+ <parameter name="factor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the desaturation factor, between 0.0 and 1.0</doc>
+ <type name="gdouble" c:type="gdouble"/>
</parameter>
</parameters>
- </virtual-method>
- <virtual-method name="foreach_with_internals"
- invoker="foreach_with_internals">
+ </method>
+ <property name="factor"
+ version="1.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The desaturation factor, between 0.0 (no desaturation) and 1.0 (full
+desaturation).</doc>
+ <type name="gdouble"/>
+ </property>
+ </class>
+ <class name="DeviceManager"
+ c:symbol-prefix="device_manager"
+ c:type="ClutterDeviceManager"
+ version="1.2"
+ parent="GObject.Object"
+ abstract="1"
+ glib:type-name="ClutterDeviceManager"
+ glib:get-type="clutter_device_manager_get_type"
+ glib:type-struct="DeviceManagerClass">
+ <doc xml:whitespace="preserve">The #ClutterDeviceManager structure contains only private data</doc>
+ <function name="get_default"
+ c:identifier="clutter_device_manager_get_default"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the device manager singleton
+The returned instance is owned by Clutter and it should not be
+modified or freed</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterDeviceManager singleton.</doc>
+ <type name="DeviceManager" c:type="ClutterDeviceManager*"/>
+ </return-value>
+ </function>
+ <virtual-method name="add_device">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="callback" transfer-ownership="none">
- <type name="Callback" c:type="ClutterCallback"/>
- </parameter>
- <parameter name="user_data" transfer-ownership="none" closure="2">
- <type name="any" c:type="gpointer"/>
+ <parameter name="device" transfer-ownership="none">
+ <type name="InputDevice" c:type="ClutterInputDevice*"/>
</parameter>
</parameters>
</virtual-method>
- <virtual-method name="raise">
+ <virtual-method name="get_core_device"
+ invoker="get_core_device"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the core #ClutterInputDevice of type @device_type
+Core devices are devices created automatically by the default
+Clutter backend
+returned device is owned by the #ClutterDeviceManager and should
+not be modified or freed</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">a #ClutterInputDevice or %NULL. The</doc>
+ <type name="InputDevice" c:type="ClutterInputDevice*"/>
</return-value>
<parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- <parameter name="sibling" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
+ <parameter name="type" transfer-ownership="none">
+ <type name="InputDeviceType" c:type="ClutterInputDeviceType"/>
</parameter>
</parameters>
</virtual-method>
- <virtual-method name="lower">
+ <virtual-method name="get_device" invoker="get_device" version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the #ClutterInputDevice with the given @device_id
+returned device is owned by the #ClutterDeviceManager and should
+never be modified or freed</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">a #ClutterInputDevice or %NULL. The</doc>
+ <type name="InputDevice" c:type="ClutterInputDevice*"/>
</return-value>
<parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- <parameter name="sibling" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
+ <parameter name="id" transfer-ownership="none">
+ <type name="gint" c:type="gint"/>
</parameter>
</parameters>
</virtual-method>
- <virtual-method name="sort_depth_order" invoker="sort_depth_order">
+ <virtual-method name="get_devices">
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <type name="GLib.SList" c:type="GSList*">
+ <type name="gpointer" c:type="gpointer"/>
+ </type>
</return-value>
</virtual-method>
- <virtual-method name="create_child_meta" invoker="create_child_meta">
+ <virtual-method name="remove_device">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
+ <parameter name="device" transfer-ownership="none">
+ <type name="InputDevice" c:type="ClutterInputDevice*"/>
</parameter>
</parameters>
</virtual-method>
- <virtual-method name="destroy_child_meta" invoker="destroy_child_meta">
+ <method name="get_core_device"
+ c:identifier="clutter_device_manager_get_core_device"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the core #ClutterInputDevice of type @device_type
+Core devices are devices created automatically by the default
+Clutter backend
+returned device is owned by the #ClutterDeviceManager and should
+not be modified or freed</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">a #ClutterInputDevice or %NULL. The</doc>
+ <type name="InputDevice" c:type="ClutterInputDevice*"/>
</return-value>
<parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
+ <parameter name="device_type" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the type of the core device</doc>
+ <type name="InputDeviceType" c:type="ClutterInputDeviceType"/>
</parameter>
</parameters>
- </virtual-method>
- <virtual-method name="get_child_meta" invoker="get_child_meta">
- <return-value transfer-ownership="full">
- <type name="ChildMeta" c:type="ClutterChildMeta*"/>
+ </method>
+ <method name="get_device"
+ c:identifier="clutter_device_manager_get_device"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the #ClutterInputDevice with the given @device_id
+returned device is owned by the #ClutterDeviceManager and should
+never be modified or freed</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterInputDevice or %NULL. The</doc>
+ <type name="InputDevice" c:type="ClutterInputDevice*"/>
</return-value>
<parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
+ <parameter name="device_id" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the integer id of a device</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
</parameters>
- </virtual-method>
- <method name="add"
- c:identifier="clutter_container_add"
- doc="Adds a list of #ClutterActor<!-- -->s to @container. Each time and
-actor is added, the "actor-added" signal is emitted. Each actor should
-be parented to @container, which takes a reference on the actor. You
-cannot add a #ClutterActor to more than one #ClutterContainer."
- version="0.4">
+ </method>
+ <method name="list_devices"
+ c:identifier="clutter_device_manager_list_devices"
+ version="1.2">
+ <doc xml:whitespace="preserve">Lists all currently registered input devices
+a newly allocated list of #ClutterInputDevice objects. Use
+g_slist_free() to deallocate it when done</doc>
+ <return-value transfer-ownership="container">
+ <type name="GLib.SList" c:type="GSList*">
+ <type name="InputDevice"/>
+ </type>
+ </return-value>
+ </method>
+ <method name="peek_devices"
+ c:identifier="clutter_device_manager_peek_devices"
+ version="1.2">
+ <doc xml:whitespace="preserve">Lists all currently registered input devices
+a pointer to the internal list of #ClutterInputDevice objects. The
+returned list is owned by the #ClutterDeviceManager and should never
+be modified or freed</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <type name="GLib.SList" c:type="GSList*">
+ <type name="InputDevice"/>
+ </type>
</return-value>
- <parameters>
- <parameter name="first_actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- <parameter transfer-ownership="none">
- <varargs>
- </varargs>
- </parameter>
- </parameters>
</method>
- <method name="add_actor"
- c:identifier="clutter_container_add_actor"
- doc="Adds a #ClutterActor to @container. This function will emit the
-"actor-added" signal. The actor should be parented to
-#ClutterContainer."
- version="0.4">
+ <property name="backend"
+ writable="1"
+ construct-only="1"
+ transfer-ownership="none">
+ <type name="Backend"/>
+ </property>
+ <field name="parent_instance">
+ <type name="GObject.Object" c:type="GObject"/>
+ </field>
+ <field name="priv">
+ <type name="DeviceManagerPrivate"
+ c:type="ClutterDeviceManagerPrivate*"/>
+ </field>
+ <glib:signal name="device-added" version="1.2">
+ <doc xml:whitespace="preserve">The ::device-added signal is emitted each time a device has been
+added to the #ClutterDeviceManager</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <type name="none"/>
</return-value>
<parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the newly added #ClutterInputDevice</doc>
+ <type name="InputDevice"/>
</parameter>
</parameters>
- </method>
- <method name="remove"
- c:identifier="clutter_container_remove"
- doc="Removes a %NULL terminated list of #ClutterActor<!-- -->s from
-around you must hold a reference to it yourself, using g_object_ref().
-Each time an actor is removed, the "actor-removed" signal is
-emitted by @container."
- version="0.4">
+ </glib:signal>
+ <glib:signal name="device-removed" version="1.2">
+ <doc xml:whitespace="preserve">The ::device-removed signal is emitted each time a device has been
+removed from the #ClutterDeviceManager</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <type name="none"/>
</return-value>
<parameters>
- <parameter name="first_actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- <parameter transfer-ownership="none">
- <varargs>
- </varargs>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the removed #ClutterInputDevice</doc>
+ <type name="InputDevice"/>
</parameter>
</parameters>
- </method>
- <method name="remove_actor"
- c:identifier="clutter_container_remove_actor"
- doc="Removes @actor from @container. The actor should be unparented, so
-if you want to keep it around you must hold a reference to it
-yourself, using g_object_ref(). When the actor has been removed,
-the "actor-removed" signal is emitted by @container."
- version="0.4">
+ </glib:signal>
+ </class>
+ <record name="DeviceManagerClass"
+ c:type="ClutterDeviceManagerClass"
+ glib:is-gtype-struct-for="DeviceManager"
+ version="1.2">
+ <doc xml:whitespace="preserve">The #ClutterDeviceManagerClass structure contains only private data</doc>
+ <field name="parent_class">
+ <type name="GObject.ObjectClass" c:type="GObjectClass"/>
+ </field>
+ <field name="get_devices">
+ <callback name="get_devices">
+ <return-value transfer-ownership="none">
+ <type name="GLib.SList" c:type="GSList*">
+ <type name="gpointer" c:type="gpointer"/>
+ </type>
+ </return-value>
+ <parameters>
+ <parameter name="manager" transfer-ownership="none">
+ <type name="DeviceManager" c:type="ClutterDeviceManager*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="get_core_device">
+ <callback name="get_core_device">
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterInputDevice or %NULL. The</doc>
+ <type name="InputDevice" c:type="ClutterInputDevice*"/>
+ </return-value>
+ <parameters>
+ <parameter name="manager" transfer-ownership="none">
+ <type name="DeviceManager" c:type="ClutterDeviceManager*"/>
+ </parameter>
+ <parameter name="type" transfer-ownership="none">
+ <type name="InputDeviceType" c:type="ClutterInputDeviceType"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="get_device">
+ <callback name="get_device">
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterInputDevice or %NULL. The</doc>
+ <type name="InputDevice" c:type="ClutterInputDevice*"/>
+ </return-value>
+ <parameters>
+ <parameter name="manager" transfer-ownership="none">
+ <type name="DeviceManager" c:type="ClutterDeviceManager*"/>
+ </parameter>
+ <parameter name="id" transfer-ownership="none">
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="add_device">
+ <callback name="add_device">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="manager" transfer-ownership="none">
+ <type name="DeviceManager" c:type="ClutterDeviceManager*"/>
+ </parameter>
+ <parameter name="device" transfer-ownership="none">
+ <type name="InputDevice" c:type="ClutterInputDevice*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="remove_device">
+ <callback name="remove_device">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="manager" transfer-ownership="none">
+ <type name="DeviceManager" c:type="ClutterDeviceManager*"/>
+ </parameter>
+ <parameter name="device" transfer-ownership="none">
+ <type name="InputDevice" c:type="ClutterInputDevice*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="_padding">
+ <array zero-terminated="0" c:type="gpointer" fixed-size="8">
+ <type name="gpointer" c:type="gpointer"/>
+ </array>
+ </field>
+ </record>
+ <record name="DeviceManagerPrivate"
+ c:type="ClutterDeviceManagerPrivate"
+ disguised="1">
+ </record>
+ <constant name="Display" value="269025113">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Documents" value="269025115">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="DongSign" value="16785579">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Down" value="65364">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <class name="DragAction"
+ c:symbol-prefix="drag_action"
+ c:type="ClutterDragAction"
+ version="1.4"
+ parent="Action"
+ glib:type-name="ClutterDragAction"
+ glib:get-type="clutter_drag_action_get_type"
+ glib:type-struct="DragActionClass">
+ <doc xml:whitespace="preserve">The <structname>ClutterDragAction</structname> structure contains only
+private data and should be accessed using the provided API</doc>
+ <constructor name="new"
+ c:identifier="clutter_drag_action_new"
+ version="1.4">
+ <doc xml:whitespace="preserve">Creates a new #ClutterDragAction instance</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- </parameters>
- </method>
- <method name="get_children"
- c:identifier="clutter_container_get_children"
- doc="Retrieves all the children of @container.
-of #ClutterActor<!-- -->s. Use g_list_free() on the returned
-list when done."
- version="0.4">
- <return-value transfer-ownership="container" doc="a list">
- <type name="GLib.List" c:type="GList*">
- <type name="Actor"/>
- </type>
+ <doc xml:whitespace="preserve">the newly created #ClutterDragAction</doc>
+ <type name="Action" c:type="ClutterAction*"/>
</return-value>
- </method>
- <method name="foreach"
- c:identifier="clutter_container_foreach"
- doc="Calls @callback for each child of @container that was added
-by the application (with clutter_container_add_actor()). Does
-not iterate over "internal" children that are part of the
-container's own implementation, if any."
- version="0.4">
+ </constructor>
+ <method name="get_drag_axis"
+ c:identifier="clutter_drag_action_get_drag_axis"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the axis constraint set by clutter_drag_action_set_drag_axis()</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the axis constraint</doc>
+ <type name="DragAxis" c:type="ClutterDragAxis"/>
</return-value>
- <parameters>
- <parameter name="callback"
- transfer-ownership="none"
- scope="call"
- closure="2">
- <type name="Callback" c:type="ClutterCallback"/>
- </parameter>
- <parameter name="user_data" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
- </parameter>
- </parameters>
</method>
- <method name="foreach_with_internals"
- c:identifier="clutter_container_foreach_with_internals"
- doc="Calls @callback for each child of @container, including "internal"
-children built in to the container itself that were never added
-by the application."
- version="1.0">
+ <method name="get_drag_handle"
+ c:identifier="clutter_drag_action_get_drag_handle"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the drag handle set by clutter_drag_action_set_drag_handle()
+handle, or %NULL if none was set</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="callback"
- transfer-ownership="none"
- scope="call"
- closure="2">
- <type name="Callback" c:type="ClutterCallback"/>
- </parameter>
- <parameter name="user_data" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
- </parameter>
- </parameters>
- </method>
- <method name="find_child_by_name"
- c:identifier="clutter_container_find_child_by_name"
- doc="Finds a child actor of a container by its name. Search recurses
-into any child container.
-or %NULL if no actor with that name was found."
- version="0.6">
- <return-value transfer-ownership="none"
- doc="The child actor with the requested name,">
+ <doc xml:whitespace="preserve">a #ClutterActor, used as the drag</doc>
<type name="Actor" c:type="ClutterActor*"/>
</return-value>
- <parameters>
- <parameter name="child_name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- </parameters>
</method>
- <method name="raise_child"
- c:identifier="clutter_container_raise_child"
- doc="Raises @actor to @sibling level, in the depth ordering."
- version="0.6">
+ <method name="get_drag_threshold"
+ c:identifier="clutter_drag_action_get_drag_threshold"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the values set by clutter_drag_action_set_drag_threshold()</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
+ <parameter name="x_threshold"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the horizontal drag threshold value, in pixels</doc>
+ <type name="guint" c:type="guint*"/>
</parameter>
- <parameter name="sibling" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
+ <parameter name="y_threshold"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the vertical drag threshold value, in pixels</doc>
+ <type name="guint" c:type="guint*"/>
</parameter>
</parameters>
</method>
- <method name="lower_child"
- c:identifier="clutter_container_lower_child"
- doc="Lowers @actor to @sibling level, in the depth ordering."
- version="0.6">
+ <method name="get_motion_coords"
+ c:identifier="clutter_drag_action_get_motion_coords"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the coordinates, in stage space, of the latest motion
+event during the dragging</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- <parameter name="sibling" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
+ <parameter name="motion_x"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the latest motion event's X coordinate</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
- </parameters>
- </method>
- <method name="sort_depth_order"
- c:identifier="clutter_container_sort_depth_order"
- doc="Sorts a container's children using their depth. This function should not
-be normally used by applications."
- version="0.6">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </method>
- <method name="create_child_meta"
- c:identifier="clutter_container_create_child_meta"
- doc="Creates the #ClutterChildMeta wrapping @actor inside the
-class member is not set to %G_TYPE_INVALID.
-This function is only useful when adding a #ClutterActor to
-a #ClutterContainer implementation outside of the
-#ClutterContainer::add() virtual function implementation.
-Applications should not call this function."
- version="1.2">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
+ <parameter name="motion_y"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the latest motion event's Y coordinate</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
</parameters>
</method>
- <method name="destroy_child_meta"
- c:identifier="clutter_container_destroy_child_meta"
- doc="Destroys the #ClutterChildMeta wrapping @actor inside the
-This function is only useful when removing a #ClutterActor to
-a #ClutterContainer implementation outside of the
-#ClutterContainer::add() virtual function implementation.
-Applications should not call this function."
- version="1.2">
+ <method name="get_press_coords"
+ c:identifier="clutter_drag_action_get_press_coords"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the coordinates, in stage space, of the press event
+that started the dragging</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
+ <parameter name="press_x"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the press event's X coordinate</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
- </parameters>
- </method>
- <method name="get_child_meta"
- c:identifier="clutter_container_get_child_meta"
- doc="Retrieves the #ClutterChildMeta which contains the data about the
-of @container or %NULL if the specifiec actor does not exist or the
-container is not configured to provide #ClutterChildMeta<!-- -->s"
- version="0.8">
- <return-value transfer-ownership="none"
- doc="the #ClutterChildMeta for the @actor child">
- <type name="ChildMeta" c:type="ClutterChildMeta*"/>
- </return-value>
- <parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
+ <parameter name="press_y"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the press event's Y coordinate</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
</parameters>
</method>
- <method name="child_set_property"
- c:identifier="clutter_container_child_set_property"
- doc="Sets a container-specific property on a child of @container."
- version="0.8">
+ <method name="set_drag_axis"
+ c:identifier="clutter_drag_action_set_drag_axis"
+ version="1.4">
+ <doc xml:whitespace="preserve">Restricts the dragging action to a specific axis</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="child" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- <parameter name="property" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- <parameter name="value" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
+ <parameter name="axis" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the axis to constraint the dragging to</doc>
+ <type name="DragAxis" c:type="ClutterDragAxis"/>
</parameter>
</parameters>
</method>
- <method name="child_get_property"
- c:identifier="clutter_container_child_get_property"
- doc="Gets a container specific property of a child of @container, In general,
-a copy is made of the property contents and the caller is responsible for
-freeing the memory by calling g_value_unset().
-Note that clutter_container_child_set_property() is really intended for
-language bindings, clutter_container_child_set() is much more convenient
-for C programming."
- version="0.8">
+ <method name="set_drag_handle"
+ c:identifier="clutter_drag_action_set_drag_handle"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets the actor to be used as the drag handle</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="child" transfer-ownership="none">
+ <parameter name="handle" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor</doc>
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="property" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- <parameter name="value" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
- </parameter>
</parameters>
</method>
- <method name="child_set"
- c:identifier="clutter_container_child_set"
- doc="Sets container specific properties on the child of a container."
- version="0.8">
+ <method name="set_drag_threshold"
+ c:identifier="clutter_drag_action_set_drag_threshold"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets the horizontal and vertical drag thresholds that must be
+cleared by the pointer before @action can begin the dragging</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- <parameter name="first_prop" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="x_threshold" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a distance on the horizontal axis, in pixels</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
- <parameter transfer-ownership="none">
- <varargs>
- </varargs>
+ <parameter name="y_threshold" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a distance on the vertical axis, in pixels</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
- <method name="child_get"
- c:identifier="clutter_container_child_get"
- doc="Gets @container specific properties of an actor.
-In general, a copy is made of the property contents and the caller is
-responsible for freeing the memory in the appropriate manner for the type, for
-instance by calling g_free() or g_object_unref()."
- version="0.8">
+ <property name="drag-axis"
+ version="1.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Constraints the dragging action to the specified axis</doc>
+ <type name="DragAxis"/>
+ </property>
+ <property name="drag-handle"
+ version="1.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The #ClutterActor that is effectively being dragged
+A #ClutterDragAction will, be default, use the #ClutterActor that
+has been attached to the action; it is possible to create a
+separate #ClutterActor and use it instead.
+Setting this property has no effect on the #ClutterActor argument
+passed to the #ClutterDragAction signals</doc>
+ <type name="Actor"/>
+ </property>
+ <property name="x-drag-threshold"
+ version="1.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The horizontal threshold, in pixels, that begins a drag action
+When set to a non-zero value, #ClutterDragAction will only emit
+#ClutterDragAction::drag-begin if the pointer has moved
+horizontally at least of the given amount of pixels since
+the button press event</doc>
+ <type name="guint"/>
+ </property>
+ <property name="y-drag-threshold"
+ version="1.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The vertical threshold, in pixels, that begins a drag action
+When set to a non-zero value, #ClutterDragAction will only emit
+#ClutterDragAction::drag-begin if the pointer has moved
+vertically at least of the given amount of pixels since
+the button press event</doc>
+ <type name="guint"/>
+ </property>
+ <field name="parent_instance">
+ <type name="Action" c:type="ClutterAction"/>
+ </field>
+ <field name="priv">
+ <type name="DragActionPrivate" c:type="ClutterDragActionPrivate*"/>
+ </field>
+ <glib:signal name="drag-begin" version="1.4">
+ <doc xml:whitespace="preserve">The ::drag-begin signal is emitted when the #ClutterDragAction
+starts the dragging
+The emission of this signal can be delayed by using the
+#ClutterDragAction:x-drag-threshold and
+#ClutterDragAction:y-drag-threshold properties</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <type name="none"/>
</return-value>
<parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- <parameter name="first_prop" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterActor attached to the action</doc>
+ <type name="Actor"/>
</parameter>
- <parameter transfer-ownership="none">
- <varargs>
- </varargs>
+ <parameter name="p0" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the X coordinate (in stage space) of the press event</doc>
+ <type name="gfloat"/>
</parameter>
- </parameters>
- </method>
- <glib:signal name="actor-added"
- doc="The ::actor-added signal is emitted each time an actor
-has been added to @container."
- version="0.4">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor"/>
+ <parameter name="p1" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the Y coordinate (in stage space) of the press event</doc>
+ <type name="gfloat"/>
</parameter>
- </parameters>
- </glib:signal>
- <glib:signal name="actor-removed"
- doc="The ::actor-removed signal is emitted each time an actor
-is removed from @container."
- version="0.4">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor"/>
+ <parameter name="p2" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the modifiers of the press event</doc>
+ <type name="ModifierType"/>
</parameter>
</parameters>
</glib:signal>
- <glib:signal name="child-notify"
- doc="The ::child-notify signal is emitted each time a property is
-being set through the clutter_container_child_set() and
-clutter_container_child_set_property() calls."
- version="0.8">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
+ <glib:signal name="drag-end" version="1.4">
+ <doc xml:whitespace="preserve">The ::drag-end signal is emitted at the end of the dragging,
+when the pointer button's is released
+This signal is emitted if and only if the #ClutterDragAction::drag-begin
+signal has been emitted first</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
</return-value>
<parameters>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor"/>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterActor attached to the action</doc>
+ <type name="Actor"/>
</parameter>
- <parameter name="since" transfer-ownership="none">
- <type name="GObject.ParamSpec" c:type="GParam"/>
+ <parameter name="p0" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the X coordinate (in stage space) of the release event</doc>
+ <type name="gfloat"/>
</parameter>
- </parameters>
- </glib:signal>
- </interface>
- <record name="ContainerIface"
- c:type="ClutterContainerIface"
- glib:is-gtype-struct-for="Container"
- doc="Base interface for container actors. The @add, @remove and @foreach
-virtual functions must be provided by any implementation; the other
-virtual functions are optional."
- version="0.4">
- <field name="g_iface">
- <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
- </field>
- <field name="add">
- <callback name="add" c:type="add">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="container" transfer-ownership="none">
- <type name="Container" c:type="ClutterContainer*"/>
- </parameter>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- </parameters>
- </callback>
+ <parameter name="p1" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the Y coordinate (in stage space) of the release event</doc>
+ <type name="gfloat"/>
+ </parameter>
+ <parameter name="p2" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the modifiers of the release event</doc>
+ <type name="ModifierType"/>
+ </parameter>
+ </parameters>
+ </glib:signal>
+ <glib:signal name="drag-motion">
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <type name="Actor"/>
+ </parameter>
+ <parameter name="p0" transfer-ownership="none">
+ <type name="gfloat"/>
+ </parameter>
+ <parameter name="p1" transfer-ownership="none">
+ <type name="gfloat"/>
+ </parameter>
+ </parameters>
+ </glib:signal>
+ </class>
+ <record name="DragActionClass"
+ c:type="ClutterDragActionClass"
+ glib:is-gtype-struct-for="DragAction"
+ version="1.4">
+ <doc xml:whitespace="preserve">The <structname>ClutterDragActionClass</structname> structure contains
+only private data</doc>
+ <field name="parent_class">
+ <type name="ActionClass" c:type="ClutterActionClass"/>
</field>
- <field name="remove">
- <callback name="remove" c:type="remove">
+ <field name="drag_begin">
+ <callback name="drag_begin">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="container" transfer-ownership="none">
- <type name="Container" c:type="ClutterContainer*"/>
+ <parameter name="action" transfer-ownership="none">
+ <type name="DragAction" c:type="ClutterDragAction*"/>
</parameter>
<parameter name="actor" transfer-ownership="none">
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
- </parameters>
- </callback>
- </field>
- <field name="foreach">
- <callback name="foreach" c:type="foreach">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="container" transfer-ownership="none">
- <type name="Container" c:type="ClutterContainer*"/>
- </parameter>
- <parameter name="callback" transfer-ownership="none">
- <type name="Callback" c:type="ClutterCallback"/>
- </parameter>
- <parameter name="user_data" transfer-ownership="none" closure="2">
- <type name="any" c:type="gpointer"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="foreach_with_internals">
- <callback name="foreach_with_internals"
- c:type="foreach_with_internals">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="container" transfer-ownership="none">
- <type name="Container" c:type="ClutterContainer*"/>
+ <parameter name="event_x" transfer-ownership="none">
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
- <parameter name="callback" transfer-ownership="none">
- <type name="Callback" c:type="ClutterCallback"/>
+ <parameter name="event_y" transfer-ownership="none">
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
- <parameter name="user_data" transfer-ownership="none" closure="2">
- <type name="any" c:type="gpointer"/>
+ <parameter name="modifiers" transfer-ownership="none">
+ <type name="ModifierType" c:type="ClutterModifierType"/>
</parameter>
</parameters>
</callback>
</field>
- <field name="raise">
- <callback name="raise" c:type="raise">
+ <field name="drag_motion">
+ <callback name="drag_motion">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="container" transfer-ownership="none">
- <type name="Container" c:type="ClutterContainer*"/>
+ <parameter name="action" transfer-ownership="none">
+ <type name="DragAction" c:type="ClutterDragAction*"/>
</parameter>
<parameter name="actor" transfer-ownership="none">
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="sibling" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
+ <parameter name="delta_x" transfer-ownership="none">
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ <parameter name="delta_y" transfer-ownership="none">
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
</parameters>
</callback>
</field>
- <field name="lower">
- <callback name="lower" c:type="lower">
+ <field name="drag_end">
+ <callback name="drag_end">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="container" transfer-ownership="none">
- <type name="Container" c:type="ClutterContainer*"/>
+ <parameter name="action" transfer-ownership="none">
+ <type name="DragAction" c:type="ClutterDragAction*"/>
</parameter>
<parameter name="actor" transfer-ownership="none">
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="sibling" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
+ <parameter name="event_x" transfer-ownership="none">
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
- </parameters>
- </callback>
- </field>
- <field name="sort_depth_order">
- <callback name="sort_depth_order" c:type="sort_depth_order">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="container" transfer-ownership="none">
- <type name="Container" c:type="ClutterContainer*"/>
+ <parameter name="event_y" transfer-ownership="none">
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ <parameter name="modifiers" transfer-ownership="none">
+ <type name="ModifierType" c:type="ClutterModifierType"/>
</parameter>
</parameters>
</callback>
</field>
- <field name="child_meta_type">
- <type name="GType" c:type="GType"/>
- </field>
- <field name="create_child_meta">
- <callback name="create_child_meta" c:type="create_child_meta">
+ <field name="_clutter_drag_action1" introspectable="0">
+ <callback name="_clutter_drag_action1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- <parameters>
- <parameter name="container" transfer-ownership="none">
- <type name="Container" c:type="ClutterContainer*"/>
- </parameter>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- </parameters>
</callback>
</field>
- <field name="destroy_child_meta">
- <callback name="destroy_child_meta" c:type="destroy_child_meta">
+ <field name="_clutter_drag_action2" introspectable="0">
+ <callback name="_clutter_drag_action2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- <parameters>
- <parameter name="container" transfer-ownership="none">
- <type name="Container" c:type="ClutterContainer*"/>
- </parameter>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="get_child_meta">
- <callback name="get_child_meta" c:type="get_child_meta">
- <return-value transfer-ownership="full">
- <type name="ChildMeta" c:type="ClutterChildMeta*"/>
- </return-value>
- <parameters>
- <parameter name="container" transfer-ownership="none">
- <type name="Container" c:type="ClutterContainer*"/>
- </parameter>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- </parameters>
</callback>
</field>
- <field name="actor_added">
- <callback name="actor_added" c:type="actor_added">
+ <field name="_clutter_drag_action3" introspectable="0">
+ <callback name="_clutter_drag_action3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- <parameters>
- <parameter name="container" transfer-ownership="none">
- <type name="Container" c:type="ClutterContainer*"/>
- </parameter>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- </parameters>
</callback>
</field>
- <field name="actor_removed">
- <callback name="actor_removed" c:type="actor_removed">
+ <field name="_clutter_drag_action4" introspectable="0">
+ <callback name="_clutter_drag_action4">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- <parameters>
- <parameter name="container" transfer-ownership="none">
- <type name="Container" c:type="ClutterContainer*"/>
- </parameter>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- </parameters>
</callback>
</field>
- <field name="child_notify">
- <callback name="child_notify" c:type="child_notify">
+ <field name="_clutter_drag_action5" introspectable="0">
+ <callback name="_clutter_drag_action5">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- <parameters>
- <parameter name="container" transfer-ownership="none">
- <type name="Container" c:type="ClutterContainer*"/>
- </parameter>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- <parameter name="pspec" transfer-ownership="none">
- <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
- </parameter>
- </parameters>
</callback>
</field>
</record>
- <constant name="Control_L" value="65507">
- <type name="int"/>
- </constant>
- <constant name="Control_R" value="65508">
- <type name="int"/>
- </constant>
- <record name="CrossingEvent"
- c:type="ClutterCrossingEvent"
- doc="Event for the movement of the pointer across different actors"
- version="0.2">
- <field name="type" writable="1">
- <type name="EventType" c:type="ClutterEventType"/>
- </field>
- <field name="time" writable="1">
- <type name="uint32" c:type="guint32"/>
- </field>
- <field name="flags" writable="1">
- <type name="EventFlags" c:type="ClutterEventFlags"/>
- </field>
- <field name="stage" writable="1">
- <type name="Stage" c:type="ClutterStage*"/>
- </field>
- <field name="source" writable="1">
- <type name="Actor" c:type="ClutterActor*"/>
- </field>
- <field name="x" writable="1">
- <type name="float" c:type="gfloat"/>
- </field>
- <field name="y" writable="1">
- <type name="float" c:type="gfloat"/>
- </field>
- <field name="device" writable="1">
- <type name="InputDevice" c:type="ClutterInputDevice*"/>
- </field>
- <field name="related" writable="1">
- <type name="Actor" c:type="ClutterActor*"/>
- </field>
+ <record name="DragActionPrivate"
+ c:type="ClutterDragActionPrivate"
+ disguised="1">
</record>
- <constant name="CruzeiroSign" value="16785570">
- <type name="int"/>
- </constant>
- <constant name="Cyrillic_A" value="1761">
- <type name="int"/>
- </constant>
- <constant name="Cyrillic_BE" value="1762">
- <type name="int"/>
- </constant>
- <constant name="Cyrillic_CHE" value="1790">
- <type name="int"/>
- </constant>
- <constant name="Cyrillic_CHE_descender" value="16778422">
- <type name="int"/>
- </constant>
- <constant name="Cyrillic_CHE_vertstroke" value="16778424">
- <type name="int"/>
- </constant>
- <constant name="Cyrillic_DE" value="1764">
- <type name="int"/>
- </constant>
- <constant name="Cyrillic_DZHE" value="1727">
- <type name="int"/>
- </constant>
- <constant name="Cyrillic_E" value="1788">
- <type name="int"/>
- </constant>
- <constant name="Cyrillic_EF" value="1766">
- <type name="int"/>
- </constant>
- <constant name="Cyrillic_EL" value="1772">
- <type name="int"/>
- </constant>
- <constant name="Cyrillic_EM" value="1773">
- <type name="int"/>
- </constant>
- <constant name="Cyrillic_EN" value="1774">
- <type name="int"/>
- </constant>
- <constant name="Cyrillic_EN_descender" value="16778402">
- <type name="int"/>
- </constant>
- <constant name="Cyrillic_ER" value="1778">
- <type name="int"/>
- </constant>
- <constant name="Cyrillic_ES" value="1779">
- <type name="int"/>
- </constant>
- <constant name="Cyrillic_GHE" value="1767">
- <type name="int"/>
- </constant>
- <constant name="Cyrillic_GHE_bar" value="16778386">
- <type name="int"/>
- </constant>
- <constant name="Cyrillic_HA" value="1768">
- <type name="int"/>
- </constant>
- <constant name="Cyrillic_HARDSIGN" value="1791">
- <type name="int"/>
- </constant>
- <constant name="Cyrillic_HA_descender" value="16778418">
- <type name="int"/>
- </constant>
- <constant name="Cyrillic_I" value="1769">
- <type name="int"/>
- </constant>
- <constant name="Cyrillic_IE" value="1765">
- <type name="int"/>
- </constant>
- <constant name="Cyrillic_IO" value="1715">
- <type name="int"/>
- </constant>
- <constant name="Cyrillic_I_macron" value="16778466">
- <type name="int"/>
+ <enumeration name="DragAxis"
+ version="1.4"
+ glib:type-name="ClutterDragAxis"
+ glib:get-type="clutter_drag_axis_get_type"
+ c:type="ClutterDragAxis">
+ <doc xml:whitespace="preserve">The axis of the constraint that should be applied on the
+dragging action</doc>
+ <member name="axis_none"
+ value="0"
+ c:identifier="CLUTTER_DRAG_AXIS_NONE"
+ glib:nick="axis-none"/>
+ <member name="x_axis"
+ value="1"
+ c:identifier="CLUTTER_DRAG_X_AXIS"
+ glib:nick="x-axis"/>
+ <member name="y_axis"
+ value="2"
+ c:identifier="CLUTTER_DRAG_Y_AXIS"
+ glib:nick="y-axis"/>
+ </enumeration>
+ <constant name="Dstroke" value="464">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_JE" value="1720">
- <type name="int"/>
+ <constant name="E" value="69">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_KA" value="1771">
- <type name="int"/>
+ <constant name="ENG" value="957">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_KA_descender" value="16778394">
- <type name="int"/>
+ <constant name="ETH" value="208">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_KA_vertstroke" value="16778396">
- <type name="int"/>
+ <constant name="Eabovedot" value="972">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_LJE" value="1721">
- <type name="int"/>
+ <constant name="Eacute" value="201">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_NJE" value="1722">
- <type name="int"/>
+ <constant name="Ebelowdot" value="16785080">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_O" value="1775">
- <type name="int"/>
+ <constant name="Ecaron" value="460">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_O_bar" value="16778472">
- <type name="int"/>
+ <constant name="Ecircumflex" value="202">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_PE" value="1776">
- <type name="int"/>
+ <constant name="Ecircumflexacute" value="16785086">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_SCHWA" value="16778456">
- <type name="int"/>
+ <constant name="Ecircumflexbelowdot" value="16785094">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_SHA" value="1787">
- <type name="int"/>
+ <constant name="Ecircumflexgrave" value="16785088">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_SHCHA" value="1789">
- <type name="int"/>
+ <constant name="Ecircumflexhook" value="16785090">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_SHHA" value="16778426">
- <type name="int"/>
+ <constant name="Ecircumflextilde" value="16785092">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_SHORTI" value="1770">
- <type name="int"/>
+ <constant name="EcuSign" value="16785568">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_SOFTSIGN" value="1784">
- <type name="int"/>
+ <constant name="Ediaeresis" value="203">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_TE" value="1780">
- <type name="int"/>
+ <class name="Effect"
+ c:symbol-prefix="effect"
+ c:type="ClutterEffect"
+ version="1.4"
+ parent="ActorMeta"
+ abstract="1"
+ glib:type-name="ClutterEffect"
+ glib:get-type="clutter_effect_get_type"
+ glib:type-struct="EffectClass">
+ <doc xml:whitespace="preserve">The #ClutterEffect structure contains only private data and should
+be accessed using the provided API</doc>
+ <virtual-method name="post_paint">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </virtual-method>
+ <virtual-method name="pre_paint">
+ <return-value transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ </virtual-method>
+ <field name="parent_instance">
+ <type name="ActorMeta" c:type="ClutterActorMeta"/>
+ </field>
+ </class>
+ <record name="EffectClass"
+ c:type="ClutterEffectClass"
+ glib:is-gtype-struct-for="Effect"
+ version="1.4">
+ <doc xml:whitespace="preserve">The #ClutterEffectClass structure contains only private data</doc>
+ <field name="parent_class">
+ <type name="ActorMetaClass" c:type="ClutterActorMetaClass"/>
+ </field>
+ <field name="pre_paint">
+ <callback name="pre_paint">
+ <return-value transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="effect" transfer-ownership="none">
+ <type name="Effect" c:type="ClutterEffect*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="post_paint">
+ <callback name="post_paint">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="effect" transfer-ownership="none">
+ <type name="Effect" c:type="ClutterEffect*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="_clutter_effect1" introspectable="0">
+ <callback name="_clutter_effect1">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_effect2" introspectable="0">
+ <callback name="_clutter_effect2">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_effect3" introspectable="0">
+ <callback name="_clutter_effect3">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_effect4" introspectable="0">
+ <callback name="_clutter_effect4">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_effect5" introspectable="0">
+ <callback name="_clutter_effect5">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_effect6" introspectable="0">
+ <callback name="_clutter_effect6">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ </record>
+ <constant name="Egrave" value="200">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_TSE" value="1763">
- <type name="int"/>
+ <constant name="Ehook" value="16785082">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_U" value="1781">
- <type name="int"/>
+ <constant name="Eisu_Shift" value="65327">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_U_macron" value="16778478">
- <type name="int"/>
+ <constant name="Eisu_toggle" value="65328">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_U_straight" value="16778414">
- <type name="int"/>
+ <constant name="Eject" value="269025068">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_U_straight_bar" value="16778416">
- <type name="int"/>
+ <constant name="Emacron" value="938">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_VE" value="1783">
- <type name="int"/>
+ <constant name="End" value="65367">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_YA" value="1777">
- <type name="int"/>
+ <constant name="Eogonek" value="458">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_YERU" value="1785">
- <type name="int"/>
+ <constant name="Escape" value="65307">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_YU" value="1760">
- <type name="int"/>
+ <constant name="Eth" value="208">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_ZE" value="1786">
- <type name="int"/>
+ <constant name="Etilde" value="16785084">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_ZHE" value="1782">
- <type name="int"/>
+ <constant name="EuroSign" value="8364">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_ZHE_descender" value="16778390">
- <type name="int"/>
+ <union name="Event"
+ c:type="ClutterEvent"
+ version="0.2"
+ glib:type-name="ClutterEvent"
+ glib:get-type="clutter_event_get_type"
+ c:symbol-prefix="event">
+ <doc xml:whitespace="preserve">Generic event wrapper.</doc>
+ <field name="type" writable="1">
+ <type name="EventType" c:type="ClutterEventType"/>
+ </field>
+ <field name="any" writable="1">
+ <type name="AnyEvent" c:type="ClutterAnyEvent"/>
+ </field>
+ <field name="button" writable="1">
+ <type name="ButtonEvent" c:type="ClutterButtonEvent"/>
+ </field>
+ <field name="key" writable="1">
+ <type name="KeyEvent" c:type="ClutterKeyEvent"/>
+ </field>
+ <field name="motion" writable="1">
+ <type name="MotionEvent" c:type="ClutterMotionEvent"/>
+ </field>
+ <field name="scroll" writable="1">
+ <type name="ScrollEvent" c:type="ClutterScrollEvent"/>
+ </field>
+ <field name="stage_state" writable="1">
+ <type name="StageStateEvent" c:type="ClutterStageStateEvent"/>
+ </field>
+ <field name="crossing" writable="1">
+ <type name="CrossingEvent" c:type="ClutterCrossingEvent"/>
+ </field>
+ <constructor name="new" c:identifier="clutter_event_new">
+ <doc xml:whitespace="preserve">Creates a new #ClutterEvent of the specified type.</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">A newly allocated #ClutterEvent.</doc>
+ <type name="Event" c:type="ClutterEvent*"/>
+ </return-value>
+ <parameters>
+ <parameter name="type" transfer-ownership="none">
+ <doc xml:whitespace="preserve">The type of event.</doc>
+ <type name="EventType" c:type="ClutterEventType"/>
+ </parameter>
+ </parameters>
+ </constructor>
+ <method name="copy" c:identifier="clutter_event_copy">
+ <doc xml:whitespace="preserve">Copies @event.</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">A newly allocated #ClutterEvent</doc>
+ <type name="Event" c:type="ClutterEvent*"/>
+ </return-value>
+ </method>
+ <method name="free" c:identifier="clutter_event_free">
+ <doc xml:whitespace="preserve">Frees all resources used by @event.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </method>
+ <method name="get_button"
+ c:identifier="clutter_event_get_button"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the button number of @event</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the button number</doc>
+ <type name="guint32" c:type="guint32"/>
+ </return-value>
+ </method>
+ <method name="get_click_count"
+ c:identifier="clutter_event_get_click_count"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the number of clicks of @event</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the click count</doc>
+ <type name="guint" c:type="guint"/>
+ </return-value>
+ </method>
+ <method name="get_coords"
+ c:identifier="clutter_event_get_coords"
+ version="0.4">
+ <doc xml:whitespace="preserve">Retrieves the coordinates of @event and puts them into @x and @y.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="x"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the X coordinate, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
+ </parameter>
+ <parameter name="y"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the Y coordinate, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="get_device"
+ c:identifier="clutter_event_get_device"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the #ClutterInputDevice for the event.
+The #ClutterInputDevice structure is completely opaque and should
+be cast to the platform-specific implementation.
+returned device is owned by the #ClutterEvent and it should not
+be unreferenced</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterInputDevice or %NULL. The</doc>
+ <type name="InputDevice" c:type="ClutterInputDevice*"/>
+ </return-value>
+ </method>
+ <method name="get_device_id" c:identifier="clutter_event_get_device_id">
+ <doc xml:whitespace="preserve">Retrieves the events device id if set.
+no specific device set.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">A unique identifier for the device or -1 if the event has</doc>
+ <type name="gint" c:type="gint"/>
+ </return-value>
+ </method>
+ <method name="get_device_type"
+ c:identifier="clutter_event_get_device_type"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the type of the device for @event
+any is set</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterInputDeviceType for the device, if</doc>
+ <type name="InputDeviceType" c:type="ClutterInputDeviceType"/>
+ </return-value>
+ </method>
+ <method name="get_flags"
+ c:identifier="clutter_event_get_flags"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the #ClutterEventFlags of @event</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the event flags</doc>
+ <type name="EventFlags" c:type="ClutterEventFlags"/>
+ </return-value>
+ </method>
+ <method name="get_key_code"
+ c:identifier="clutter_event_get_key_code"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the keycode of the key that caused @event</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">The keycode representing the key</doc>
+ <type name="guint16" c:type="guint16"/>
+ </return-value>
+ </method>
+ <method name="get_key_symbol"
+ c:identifier="clutter_event_get_key_symbol"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the key symbol of @event</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the key symbol representing the key</doc>
+ <type name="guint" c:type="guint"/>
+ </return-value>
+ </method>
+ <method name="get_key_unicode"
+ c:identifier="clutter_event_get_key_unicode">
+ <doc xml:whitespace="preserve">Retrieves the unicode value for the key that caused @keyev.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">The unicode value representing the key</doc>
+ <type name="guint32" c:type="guint32"/>
+ </return-value>
+ </method>
+ <method name="get_related"
+ c:identifier="clutter_event_get_related"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the related actor of a crossing event.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the related #ClutterActor, or %NULL</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </return-value>
+ </method>
+ <method name="get_scroll_direction"
+ c:identifier="clutter_event_get_scroll_direction"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the direction of the scrolling of @event</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the scrolling direction</doc>
+ <type name="ScrollDirection" c:type="ClutterScrollDirection"/>
+ </return-value>
+ </method>
+ <method name="get_source"
+ c:identifier="clutter_event_get_source"
+ version="0.6">
+ <doc xml:whitespace="preserve">Retrieves the source #ClutterActor the event originated from, or
+NULL if the event has no source.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </return-value>
+ </method>
+ <method name="get_stage"
+ c:identifier="clutter_event_get_stage"
+ version="0.8">
+ <doc xml:whitespace="preserve">Retrieves the source #ClutterStage the event originated for, or
+%NULL if the event has no stage.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterStage</doc>
+ <type name="Stage" c:type="ClutterStage*"/>
+ </return-value>
+ </method>
+ <method name="get_state"
+ c:identifier="clutter_event_get_state"
+ version="0.4">
+ <doc xml:whitespace="preserve">Retrieves the modifier state of the event.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the modifier state parameter, or 0</doc>
+ <type name="ModifierType" c:type="ClutterModifierType"/>
+ </return-value>
+ </method>
+ <method name="get_time"
+ c:identifier="clutter_event_get_time"
+ version="0.4">
+ <doc xml:whitespace="preserve">Retrieves the time of the event.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the time of the event, or %CLUTTER_CURRENT_TIME</doc>
+ <type name="guint32" c:type="guint32"/>
+ </return-value>
+ </method>
+ <method name="put" c:identifier="clutter_event_put" version="0.6">
+ <doc xml:whitespace="preserve">Puts a copy of the event on the back of the event queue. The event will
+have the %CLUTTER_EVENT_FLAG_SYNTHETIC flag set. If the source is set
+event signals will be emitted for this source and capture/bubbling for
+its ancestors. If the source is not set it will be generated by picking
+or use the actor that currently has keyboard focus</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </method>
+ <method name="type" c:identifier="clutter_event_type">
+ <doc xml:whitespace="preserve">Retrieves the type of the event.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterEventType</doc>
+ <type name="EventType" c:type="ClutterEventType"/>
+ </return-value>
+ </method>
+ </union>
+ <bitfield name="EventFlags"
+ version="0.6"
+ glib:type-name="ClutterEventFlags"
+ glib:get-type="clutter_event_flags_get_type"
+ c:type="ClutterEventFlags">
+ <doc xml:whitespace="preserve">Flags for the #ClutterEvent</doc>
+ <member name="none"
+ value="0"
+ c:identifier="CLUTTER_EVENT_NONE"
+ glib:nick="none"/>
+ <member name="flag_synthetic"
+ value="1"
+ c:identifier="CLUTTER_EVENT_FLAG_SYNTHETIC"
+ glib:nick="flag-synthetic"/>
+ </bitfield>
+ <enumeration name="EventType"
+ version="0.4"
+ glib:type-name="ClutterEventType"
+ glib:get-type="clutter_event_type_get_type"
+ c:type="ClutterEventType">
+ <doc xml:whitespace="preserve">Types of events.</doc>
+ <member name="nothing"
+ value="0"
+ c:identifier="CLUTTER_NOTHING"
+ glib:nick="nothing"/>
+ <member name="key_press"
+ value="1"
+ c:identifier="CLUTTER_KEY_PRESS"
+ glib:nick="key-press"/>
+ <member name="key_release"
+ value="2"
+ c:identifier="CLUTTER_KEY_RELEASE"
+ glib:nick="key-release"/>
+ <member name="motion"
+ value="3"
+ c:identifier="CLUTTER_MOTION"
+ glib:nick="motion"/>
+ <member name="enter"
+ value="4"
+ c:identifier="CLUTTER_ENTER"
+ glib:nick="enter"/>
+ <member name="leave"
+ value="5"
+ c:identifier="CLUTTER_LEAVE"
+ glib:nick="leave"/>
+ <member name="button_press"
+ value="6"
+ c:identifier="CLUTTER_BUTTON_PRESS"
+ glib:nick="button-press"/>
+ <member name="button_release"
+ value="7"
+ c:identifier="CLUTTER_BUTTON_RELEASE"
+ glib:nick="button-release"/>
+ <member name="scroll"
+ value="8"
+ c:identifier="CLUTTER_SCROLL"
+ glib:nick="scroll"/>
+ <member name="stage_state"
+ value="9"
+ c:identifier="CLUTTER_STAGE_STATE"
+ glib:nick="stage-state"/>
+ <member name="destroy_notify"
+ value="10"
+ c:identifier="CLUTTER_DESTROY_NOTIFY"
+ glib:nick="destroy-notify"/>
+ <member name="client_message"
+ value="11"
+ c:identifier="CLUTTER_CLIENT_MESSAGE"
+ glib:nick="client-message"/>
+ <member name="delete"
+ value="12"
+ c:identifier="CLUTTER_DELETE"
+ glib:nick="delete"/>
+ </enumeration>
+ <constant name="Excel" value="269025116">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_a" value="1729">
- <type name="int"/>
+ <constant name="Execute" value="65378">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_be" value="1730">
- <type name="int"/>
+ <constant name="Explorer" value="269025117">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_che" value="1758">
- <type name="int"/>
+ <constant name="F" value="70">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_che_descender" value="16778423">
- <type name="int"/>
+ <constant name="F1" value="65470">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_che_vertstroke" value="16778425">
- <type name="int"/>
+ <constant name="F10" value="65479">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_de" value="1732">
- <type name="int"/>
+ <constant name="F11" value="65480">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_dzhe" value="1711">
- <type name="int"/>
+ <constant name="F12" value="65481">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_e" value="1756">
- <type name="int"/>
+ <constant name="F13" value="65482">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_ef" value="1734">
- <type name="int"/>
+ <constant name="F14" value="65483">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_el" value="1740">
- <type name="int"/>
+ <constant name="F15" value="65484">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_em" value="1741">
- <type name="int"/>
+ <constant name="F16" value="65485">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_en" value="1742">
- <type name="int"/>
+ <constant name="F17" value="65486">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_en_descender" value="16778403">
- <type name="int"/>
+ <constant name="F18" value="65487">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_er" value="1746">
- <type name="int"/>
+ <constant name="F19" value="65488">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_es" value="1747">
- <type name="int"/>
+ <constant name="F2" value="65471">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_ghe" value="1735">
- <type name="int"/>
+ <constant name="F20" value="65489">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_ghe_bar" value="16778387">
- <type name="int"/>
+ <constant name="F21" value="65490">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_ha" value="1736">
- <type name="int"/>
+ <constant name="F22" value="65491">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_ha_descender" value="16778419">
- <type name="int"/>
+ <constant name="F23" value="65492">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_hardsign" value="1759">
- <type name="int"/>
+ <constant name="F24" value="65493">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_i" value="1737">
- <type name="int"/>
+ <constant name="F25" value="65494">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_i_macron" value="16778467">
- <type name="int"/>
+ <constant name="F26" value="65495">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_ie" value="1733">
- <type name="int"/>
+ <constant name="F27" value="65496">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_io" value="1699">
- <type name="int"/>
+ <constant name="F28" value="65497">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_je" value="1704">
- <type name="int"/>
+ <constant name="F29" value="65498">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_ka" value="1739">
- <type name="int"/>
+ <constant name="F3" value="65472">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_ka_descender" value="16778395">
- <type name="int"/>
+ <constant name="F30" value="65499">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_ka_vertstroke" value="16778397">
- <type name="int"/>
+ <constant name="F31" value="65500">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_lje" value="1705">
- <type name="int"/>
+ <constant name="F32" value="65501">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_nje" value="1706">
- <type name="int"/>
+ <constant name="F33" value="65502">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_o" value="1743">
- <type name="int"/>
+ <constant name="F34" value="65503">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_o_bar" value="16778473">
- <type name="int"/>
+ <constant name="F35" value="65504">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_pe" value="1744">
- <type name="int"/>
+ <constant name="F4" value="65473">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_schwa" value="16778457">
- <type name="int"/>
+ <constant name="F5" value="65474">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_sha" value="1755">
- <type name="int"/>
+ <constant name="F6" value="65475">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_shcha" value="1757">
- <type name="int"/>
+ <constant name="F7" value="65476">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_shha" value="16778427">
- <type name="int"/>
+ <constant name="F8" value="65477">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_shorti" value="1738">
- <type name="int"/>
+ <constant name="F9" value="65478">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_softsign" value="1752">
- <type name="int"/>
+ <constant name="FFrancSign" value="16785571">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_te" value="1748">
- <type name="int"/>
+ <constant name="FLAVOUR" value="glx">
+ <type name="utf8" c:type="gchar*"/>
</constant>
- <constant name="Cyrillic_tse" value="1731">
- <type name="int"/>
+ <constant name="Fabovedot" value="16784926">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_u" value="1749">
- <type name="int"/>
+ <constant name="Farsi_0" value="16778992">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_u_macron" value="16778479">
- <type name="int"/>
+ <constant name="Farsi_1" value="16778993">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_u_straight" value="16778415">
- <type name="int"/>
+ <constant name="Farsi_2" value="16778994">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_u_straight_bar" value="16778417">
- <type name="int"/>
+ <constant name="Farsi_3" value="16778995">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_ve" value="1751">
- <type name="int"/>
+ <constant name="Farsi_4" value="16778996">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_ya" value="1745">
- <type name="int"/>
+ <constant name="Farsi_5" value="16778997">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_yeru" value="1753">
- <type name="int"/>
+ <constant name="Farsi_6" value="16778998">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_yu" value="1728">
- <type name="int"/>
+ <constant name="Farsi_7" value="16778999">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_ze" value="1754">
- <type name="int"/>
+ <constant name="Farsi_8" value="16779000">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_zhe" value="1750">
- <type name="int"/>
+ <constant name="Farsi_9" value="16779001">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Cyrillic_zhe_descender" value="16778391">
- <type name="int"/>
+ <constant name="Farsi_yeh" value="16778956">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="D" value="68">
- <type name="int"/>
+ <constant name="Favorites" value="269025072">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Dabovedot" value="16784906">
- <type name="int"/>
+ <bitfield name="FeatureFlags"
+ version="0.4"
+ glib:type-name="ClutterFeatureFlags"
+ glib:get-type="clutter_feature_flags_get_type"
+ c:type="ClutterFeatureFlags">
+ <doc xml:whitespace="preserve">Runtime flags indicating specific features available via Clutter window
+sysytem and graphics backend.</doc>
+ <member name="texture_npot"
+ value="4"
+ c:identifier="CLUTTER_FEATURE_TEXTURE_NPOT"
+ glib:nick="texture-npot"/>
+ <member name="sync_to_vblank"
+ value="8"
+ c:identifier="CLUTTER_FEATURE_SYNC_TO_VBLANK"
+ glib:nick="sync-to-vblank"/>
+ <member name="texture_yuv"
+ value="16"
+ c:identifier="CLUTTER_FEATURE_TEXTURE_YUV"
+ glib:nick="texture-yuv"/>
+ <member name="texture_read_pixels"
+ value="32"
+ c:identifier="CLUTTER_FEATURE_TEXTURE_READ_PIXELS"
+ glib:nick="texture-read-pixels"/>
+ <member name="stage_static"
+ value="64"
+ c:identifier="CLUTTER_FEATURE_STAGE_STATIC"
+ glib:nick="stage-static"/>
+ <member name="stage_user_resize"
+ value="128"
+ c:identifier="CLUTTER_FEATURE_STAGE_USER_RESIZE"
+ glib:nick="stage-user-resize"/>
+ <member name="stage_cursor"
+ value="256"
+ c:identifier="CLUTTER_FEATURE_STAGE_CURSOR"
+ glib:nick="stage-cursor"/>
+ <member name="shaders_glsl"
+ value="512"
+ c:identifier="CLUTTER_FEATURE_SHADERS_GLSL"
+ glib:nick="shaders-glsl"/>
+ <member name="offscreen"
+ value="1024"
+ c:identifier="CLUTTER_FEATURE_OFFSCREEN"
+ glib:nick="offscreen"/>
+ <member name="stage_multiple"
+ value="2048"
+ c:identifier="CLUTTER_FEATURE_STAGE_MULTIPLE"
+ glib:nick="stage-multiple"/>
+ <member name="swap_events"
+ value="4096"
+ c:identifier="CLUTTER_FEATURE_SWAP_EVENTS"
+ glib:nick="swap-events"/>
+ </bitfield>
+ <constant name="Finance" value="269025084">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Dcaron" value="463">
- <type name="int"/>
+ <constant name="Find" value="65384">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Delete" value="65535">
- <type name="int"/>
+ <constant name="First_Virtual_Screen" value="65232">
+ <type name="gint" c:type="gint"/>
</constant>
- <class name="DeviceManager"
- c:type="ClutterDeviceManager"
- doc="The #ClutterDeviceManager structure contains only private data"
+ <class name="FixedLayout"
+ c:symbol-prefix="fixed_layout"
+ c:type="ClutterFixedLayout"
version="1.2"
- parent="GObject.Object"
- abstract="1"
- glib:type-name="ClutterDeviceManager"
- glib:get-type="clutter_device_manager_get_type"
- glib:type-struct="DeviceManagerClass">
- <function name="get_default"
- c:identifier="clutter_device_manager_get_default"
- doc="Retrieves the device manager singleton
-The returned instance is owned by Clutter and it should not be
-modified or freed"
- version="1.2">
- <return-value transfer-ownership="none"
- doc="the #ClutterDeviceManager singleton.">
- <type name="DeviceManager" c:type="ClutterDeviceManager*"/>
+ parent="LayoutManager"
+ glib:type-name="ClutterFixedLayout"
+ glib:get-type="clutter_fixed_layout_get_type"
+ glib:type-struct="FixedLayoutClass">
+ <doc xml:whitespace="preserve">The #ClutterFixedLayout structure contains only private data and
+it should be accessed using the provided API</doc>
+ <constructor name="new"
+ c:identifier="clutter_fixed_layout_new"
+ version="1.2">
+ <doc xml:whitespace="preserve">Creates a new #ClutterFixedLayout</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the newly created #ClutterFixedLayout</doc>
+ <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
+ </return-value>
+ </constructor>
+ <field name="parent_instance">
+ <type name="LayoutManager" c:type="ClutterLayoutManager"/>
+ </field>
+ </class>
+ <record name="FixedLayoutClass"
+ c:type="ClutterFixedLayoutClass"
+ glib:is-gtype-struct-for="FixedLayout"
+ version="1.2">
+ <doc xml:whitespace="preserve">The #ClutterFixedLayoutClass structure contains only private data
+and it should be accessed using the provided API</doc>
+ <field name="parent_class">
+ <type name="LayoutManagerClass" c:type="ClutterLayoutManagerClass"/>
+ </field>
+ </record>
+ <class name="FlowLayout"
+ c:symbol-prefix="flow_layout"
+ c:type="ClutterFlowLayout"
+ version="1.2"
+ parent="LayoutManager"
+ glib:type-name="ClutterFlowLayout"
+ glib:get-type="clutter_flow_layout_get_type"
+ glib:type-struct="FlowLayoutClass">
+ <doc xml:whitespace="preserve">The #ClutterFlowLayout structure contains only private data
+and should be accessed using the provided API</doc>
+ <constructor name="new"
+ c:identifier="clutter_flow_layout_new"
+ version="1.2">
+ <doc xml:whitespace="preserve">Creates a new #ClutterFlowLayout with the given @orientation</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the newly created #ClutterFlowLayout</doc>
+ <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
</return-value>
- </function>
- <virtual-method name="get_devices">
+ <parameters>
+ <parameter name="orientation" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the orientation of the flow layout</doc>
+ <type name="FlowOrientation" c:type="ClutterFlowOrientation"/>
+ </parameter>
+ </parameters>
+ </constructor>
+ <method name="get_column_spacing"
+ c:identifier="clutter_flow_layout_get_column_spacing"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the spacing between columns
+in pixels</doc>
<return-value transfer-ownership="none">
- <type name="GLib.SList" c:type="GSList*"/>
+ <doc xml:whitespace="preserve">the spacing between columns of the #ClutterFlowLayout,</doc>
+ <type name="gfloat" c:type="gfloat"/>
</return-value>
- </virtual-method>
- <virtual-method name="get_core_device">
- <return-value transfer-ownership="full">
- <type name="InputDevice" c:type="ClutterInputDevice*"/>
+ </method>
+ <method name="get_column_width"
+ c:identifier="clutter_flow_layout_get_column_width"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the minimum and maximum column widths</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="type" transfer-ownership="none">
- <type name="InputDeviceType" c:type="ClutterInputDeviceType"/>
+ <parameter name="min_width"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the minimum column width, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
+ </parameter>
+ <parameter name="max_width"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the maximum column width, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
</parameters>
- </virtual-method>
- <virtual-method name="get_device">
- <return-value transfer-ownership="full">
- <type name="InputDevice" c:type="ClutterInputDevice*"/>
+ </method>
+ <method name="get_homogeneous"
+ c:identifier="clutter_flow_layout_get_homogeneous"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves whether the @layout is homogeneous</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the #ClutterFlowLayout is homogeneous</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ </method>
+ <method name="get_orientation"
+ c:identifier="clutter_flow_layout_get_orientation"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the orientation of the @layout</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the orientation of the #ClutterFlowLayout</doc>
+ <type name="FlowOrientation" c:type="ClutterFlowOrientation"/>
+ </return-value>
+ </method>
+ <method name="get_row_height"
+ c:identifier="clutter_flow_layout_get_row_height"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the minimum and maximum row heights</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="id" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="min_height"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the minimum row height, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
+ </parameter>
+ <parameter name="max_height"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the maximum row height, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
</parameters>
- </virtual-method>
- <virtual-method name="add_device">
+ </method>
+ <method name="get_row_spacing"
+ c:identifier="clutter_flow_layout_get_row_spacing"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the spacing between rows
+in pixels</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the spacing between rows of the #ClutterFlowLayout,</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </return-value>
+ </method>
+ <method name="set_column_spacing"
+ c:identifier="clutter_flow_layout_set_column_spacing"
+ version="1.2">
+ <doc xml:whitespace="preserve">Sets the space between columns, in pixels</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="device" transfer-ownership="none">
- <type name="InputDevice" c:type="ClutterInputDevice*"/>
+ <parameter name="spacing" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the space between columns</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
</parameters>
- </virtual-method>
- <virtual-method name="remove_device">
+ </method>
+ <method name="set_column_width"
+ c:identifier="clutter_flow_layout_set_column_width"
+ version="1.2">
+ <doc xml:whitespace="preserve">Sets the minimum and maximum widths that a column can have</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="device" transfer-ownership="none">
- <type name="InputDevice" c:type="ClutterInputDevice*"/>
+ <parameter name="min_width" transfer-ownership="none">
+ <doc xml:whitespace="preserve">minimum width of a column</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ <parameter name="max_width" transfer-ownership="none">
+ <doc xml:whitespace="preserve">maximum width of a column</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
</parameters>
- </virtual-method>
- <method name="list_devices"
- c:identifier="clutter_device_manager_list_devices"
- doc="Lists all currently registered input devices
-a newly allocated list of #ClutterInputDevice objects. Use
-g_slist_free() to deallocate it when done"
+ </method>
+ <method name="set_homogeneous"
+ c:identifier="clutter_flow_layout_set_homogeneous"
version="1.2">
- <return-value transfer-ownership="container">
- <type name="GLib.SList" c:type="GSList*">
- <type name="InputDevice"/>
- </type>
+ <doc xml:whitespace="preserve">Sets whether the @layout should allocate the same space for
+each child</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="homogeneous" transfer-ownership="none">
+ <doc xml:whitespace="preserve">whether the layout should be homogeneous or not</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </parameter>
+ </parameters>
</method>
- <method name="peek_devices"
- c:identifier="clutter_device_manager_peek_devices"
- doc="Lists all currently registered input devices
-a pointer to the internal list of #ClutterInputDevice objects. The
-returned list is owned by the #ClutterDeviceManager and should never
-be modified or freed"
+ <method name="set_orientation"
+ c:identifier="clutter_flow_layout_set_orientation"
version="1.2">
+ <doc xml:whitespace="preserve">Sets the orientation of the flow layout
+The orientation controls the direction used to allocate
+orientation also controls the direction of the overflowing</doc>
<return-value transfer-ownership="none">
- <type name="GLib.SList" c:type="GSList*">
- <type name="InputDevice"/>
- </type>
+ <type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="orientation" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the orientation of the layout</doc>
+ <type name="FlowOrientation" c:type="ClutterFlowOrientation"/>
+ </parameter>
+ </parameters>
</method>
- <method name="get_device"
- c:identifier="clutter_device_manager_get_device"
- doc="Retrieves the #ClutterInputDevice with the given @device_id
-returned device is owned by the #ClutterDeviceManager and should
-never be modified or freed"
+ <method name="set_row_height"
+ c:identifier="clutter_flow_layout_set_row_height"
version="1.2">
- <return-value transfer-ownership="none"
- doc="a #ClutterInputDevice or %NULL. The">
- <type name="InputDevice" c:type="ClutterInputDevice*"/>
+ <doc xml:whitespace="preserve">Sets the minimum and maximum heights that a row can have</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="device_id" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="min_height" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the minimum height of a row</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ <parameter name="max_height" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the maximum height of a row</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
</parameters>
</method>
- <method name="get_core_device"
- c:identifier="clutter_device_manager_get_core_device"
- doc="Retrieves the core #ClutterInputDevice of type @device_type
-Core devices are devices created automatically by the default
-Clutter backend
-returned device is owned by the #ClutterDeviceManager and should
-not be modified or freed"
+ <method name="set_row_spacing"
+ c:identifier="clutter_flow_layout_set_row_spacing"
version="1.2">
- <return-value transfer-ownership="none"
- doc="a #ClutterInputDevice or %NULL. The">
- <type name="InputDevice" c:type="ClutterInputDevice*"/>
+ <doc xml:whitespace="preserve">Sets the spacing between rows, in pixels</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="device_type" transfer-ownership="none">
- <type name="InputDeviceType" c:type="ClutterInputDeviceType"/>
+ <parameter name="spacing" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the space between rows</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
</parameters>
</method>
- <property name="backend" writable="1" construct-only="1">
- <type name="Backend" c:type="ClutterBackend"/>
+ <property name="column-spacing"
+ version="1.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The spacing between columns, in pixels; the value of this
+property is honoured by horizontal non-overflowing layouts
+and by vertical overflowing layouts</doc>
+ <type name="gfloat"/>
+ </property>
+ <property name="homogeneous"
+ version="1.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether each child inside the #ClutterFlowLayout should receive
+the same allocation</doc>
+ <type name="gboolean"/>
+ </property>
+ <property name="max-column-width"
+ version="1.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Maximum width for each column in the layout, in pixels. If
+set to -1 the width will be the maximum child width</doc>
+ <type name="gfloat"/>
+ </property>
+ <property name="max-row-height"
+ version="1.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Maximum height for each row in the layout, in pixels. If
+set to -1 the width will be the maximum child height</doc>
+ <type name="gfloat"/>
+ </property>
+ <property name="min-column-width"
+ version="1.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Minimum width for each column in the layout, in pixels</doc>
+ <type name="gfloat"/>
+ </property>
+ <property name="min-row-height"
+ version="1.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Minimum height for each row in the layout, in pixels</doc>
+ <type name="gfloat"/>
+ </property>
+ <property name="orientation"
+ version="1.2"
+ writable="1"
+ construct="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The orientation of the #ClutterFlowLayout. The children
+of the layout will be layed out following the orientation.
+This property also controls the overflowing directions</doc>
+ <type name="FlowOrientation"/>
+ </property>
+ <property name="row-spacing"
+ version="1.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The spacing between rows, in pixels; the value of this
+property is honoured by vertical non-overflowing layouts and
+by horizontal overflowing layouts</doc>
+ <type name="gfloat"/>
</property>
<field name="parent_instance">
- <type name="GObject.Object" c:type="GObject"/>
+ <type name="LayoutManager" c:type="ClutterLayoutManager"/>
+ </field>
+ <field name="priv">
+ <type name="FlowLayoutPrivate" c:type="ClutterFlowLayoutPrivate*"/>
+ </field>
+ </class>
+ <record name="FlowLayoutClass"
+ c:type="ClutterFlowLayoutClass"
+ glib:is-gtype-struct-for="FlowLayout"
+ version="1.2">
+ <doc xml:whitespace="preserve">The #ClutterFlowLayoutClass structure contains only private data
+and should be accessed using the provided API</doc>
+ <field name="parent_class">
+ <type name="LayoutManagerClass" c:type="ClutterLayoutManagerClass"/>
+ </field>
+ </record>
+ <record name="FlowLayoutPrivate"
+ c:type="ClutterFlowLayoutPrivate"
+ disguised="1">
+ </record>
+ <enumeration name="FlowOrientation"
+ version="1.2"
+ glib:type-name="ClutterFlowOrientation"
+ glib:get-type="clutter_flow_orientation_get_type"
+ c:type="ClutterFlowOrientation">
+ <doc xml:whitespace="preserve">The direction of the arrangement of the children inside
+a #ClutterFlowLayout</doc>
+ <member name="horizontal"
+ value="0"
+ c:identifier="CLUTTER_FLOW_HORIZONTAL"
+ glib:nick="horizontal"/>
+ <member name="vertical"
+ value="1"
+ c:identifier="CLUTTER_FLOW_VERTICAL"
+ glib:nick="vertical"/>
+ </enumeration>
+ <record name="Fog"
+ c:type="ClutterFog"
+ version="0.6"
+ glib:type-name="ClutterFog"
+ glib:get-type="clutter_fog_get_type"
+ c:symbol-prefix="fog">
+ <doc xml:whitespace="preserve">Fog settings used to create the depth cueing effect.</doc>
+ <field name="z_near" writable="1">
+ <type name="gfloat" c:type="gfloat"/>
+ </field>
+ <field name="z_far" writable="1">
+ <type name="gfloat" c:type="gfloat"/>
+ </field>
+ </record>
+ <bitfield name="FontFlags"
+ version="1.0"
+ glib:type-name="ClutterFontFlags"
+ glib:get-type="clutter_font_flags_get_type"
+ c:type="ClutterFontFlags">
+ <doc xml:whitespace="preserve">Runtime flags to change the font quality. To be used with
+clutter_set_font_flags().</doc>
+ <member name="mipmapping"
+ value="1"
+ c:identifier="CLUTTER_FONT_MIPMAPPING"
+ glib:nick="mipmapping"/>
+ <member name="hinting"
+ value="2"
+ c:identifier="CLUTTER_FONT_HINTING"
+ glib:nick="hinting"/>
+ </bitfield>
+ <constant name="Forward" value="269025063">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="FrameBack" value="269025181">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="FrameForward" value="269025182">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="G" value="71">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Gabovedot" value="725">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Game" value="269025118">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Gbreve" value="683">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Gcaron" value="16777702">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Gcedilla" value="939">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Gcircumflex" value="728">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <record name="Geometry"
+ c:type="ClutterGeometry"
+ glib:type-name="ClutterGeometry"
+ glib:get-type="clutter_geometry_get_type"
+ c:symbol-prefix="geometry">
+ <doc xml:whitespace="preserve">The rectangle containing an actor's bounding box, measured in pixels.</doc>
+ <field name="x" writable="1">
+ <type name="gint" c:type="gint"/>
</field>
- <field name="priv">
- <type name="DeviceManagerPrivate"
- c:type="ClutterDeviceManagerPrivate*"/>
+ <field name="y" writable="1">
+ <type name="gint" c:type="gint"/>
</field>
- <glib:signal name="device-added"
- doc="The ::device-added signal is emitted each time a device has been
-added to the #ClutterDeviceManager"
- version="1.2">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
+ <field name="width" writable="1">
+ <type name="guint" c:type="guint"/>
+ </field>
+ <field name="height" writable="1">
+ <type name="guint" c:type="guint"/>
+ </field>
+ <method name="intersects"
+ c:identifier="clutter_geometry_intersects"
+ version="1.4">
+ <doc xml:whitespace="preserve">Determines if @geometry0 and geometry1 intersect returning %TRUE if
+they do else %FALSE.
+%FALSE.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE of @geometry0 and geometry1 intersect else</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
- <parameter name="device" transfer-ownership="none">
- <type name="InputDevice" c:type="ClutterInputDevice"/>
+ <parameter name="geometry1" transfer-ownership="none">
+ <doc xml:whitespace="preserve">The second geometry to test</doc>
+ <type name="Geometry" c:type="ClutterGeometry*"/>
</parameter>
</parameters>
- </glib:signal>
- <glib:signal name="device-removed"
- doc="The ::device-removed signal is emitted each time a device has been
-removed from the #ClutterDeviceManager"
- version="1.2">
- <return-value transfer-ownership="full">
+ </method>
+ <method name="union" c:identifier="clutter_geometry_union" version="1.4">
+ <doc xml:whitespace="preserve">Find the union of two rectangles represented as #ClutterGeometry.</doc>
+ <return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="device" transfer-ownership="none">
- <type name="InputDevice" c:type="ClutterInputDevice"/>
+ <parameter name="geometry_b" transfer-ownership="none">
+ <doc xml:whitespace="preserve">another #ClutterGeometry</doc>
+ <type name="Geometry" c:type="ClutterGeometry*"/>
+ </parameter>
+ <parameter name="result"
+ direction="out"
+ caller-allocates="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">location to store the result</doc>
+ <type name="Geometry" c:type="ClutterGeometry*"/>
</parameter>
</parameters>
- </glib:signal>
- </class>
- <record name="DeviceManagerClass"
- c:type="ClutterDeviceManagerClass"
- glib:is-gtype-struct-for="DeviceManager"
- doc="The #ClutterDeviceManagerClass structure contains only private data"
- version="1.2">
- <field name="parent_class">
- <type name="GObject.ObjectClass" c:type="GObjectClass"/>
- </field>
- <field name="get_devices">
- <callback name="get_devices" c:type="get_devices">
- <return-value transfer-ownership="none">
- <type name="GLib.SList" c:type="GSList*"/>
- </return-value>
- <parameters>
- <parameter name="manager" transfer-ownership="none">
- <type name="DeviceManager" c:type="ClutterDeviceManager*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="get_core_device">
- <callback name="get_core_device" c:type="get_core_device">
- <return-value transfer-ownership="full">
- <type name="InputDevice" c:type="ClutterInputDevice*"/>
- </return-value>
- <parameters>
- <parameter name="manager" transfer-ownership="none">
- <type name="DeviceManager" c:type="ClutterDeviceManager*"/>
- </parameter>
- <parameter name="type" transfer-ownership="none">
- <type name="InputDeviceType" c:type="ClutterInputDeviceType"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="get_device">
- <callback name="get_device" c:type="get_device">
- <return-value transfer-ownership="full">
- <type name="InputDevice" c:type="ClutterInputDevice*"/>
- </return-value>
- <parameters>
- <parameter name="manager" transfer-ownership="none">
- <type name="DeviceManager" c:type="ClutterDeviceManager*"/>
- </parameter>
- <parameter name="id" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="add_device">
- <callback name="add_device" c:type="add_device">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="manager" transfer-ownership="none">
- <type name="DeviceManager" c:type="ClutterDeviceManager*"/>
- </parameter>
- <parameter name="device" transfer-ownership="none">
- <type name="InputDevice" c:type="ClutterInputDevice*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="remove_device">
- <callback name="remove_device" c:type="remove_device">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="manager" transfer-ownership="none">
- <type name="DeviceManager" c:type="ClutterDeviceManager*"/>
- </parameter>
- <parameter name="device" transfer-ownership="none">
- <type name="InputDevice" c:type="ClutterInputDevice*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="_padding">
- <array zero-terminated="0" c:type="gpointer" fixed-size="8">
- <type name="any"/>
- </array>
- </field>
- </record>
- <record name="DeviceManagerPrivate" c:type="ClutterDeviceManagerPrivate">
+ </method>
</record>
- <constant name="DongSign" value="16785579">
- <type name="int"/>
+ <constant name="Georgian_an" value="16781520">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_ban" value="16781521">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_can" value="16781546">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_char" value="16781549">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_chin" value="16781545">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_cil" value="16781548">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_don" value="16781523">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_en" value="16781524">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_fi" value="16781558">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_gan" value="16781522">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_ghan" value="16781542">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_hae" value="16781552">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_har" value="16781556">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_he" value="16781553">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_hie" value="16781554">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_hoe" value="16781557">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_in" value="16781528">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_jhan" value="16781551">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_jil" value="16781547">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_kan" value="16781529">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_khar" value="16781541">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_las" value="16781530">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_man" value="16781531">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_nar" value="16781532">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_on" value="16781533">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_par" value="16781534">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_phar" value="16781540">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_qar" value="16781543">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_rae" value="16781536">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_san" value="16781537">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_shin" value="16781544">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_tan" value="16781527">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_tar" value="16781538">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_un" value="16781539">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_vin" value="16781525">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_we" value="16781555">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_xan" value="16781550">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_zen" value="16781526">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Georgian_zhar" value="16781535">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Go" value="269025119">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <enumeration name="Gravity"
+ version="0.2"
+ glib:type-name="ClutterGravity"
+ glib:get-type="clutter_gravity_get_type"
+ c:type="ClutterGravity">
+ <doc xml:whitespace="preserve">Gravity of the scaling operations. When a gravity different than
+%CLUTTER_GRAVITY_NONE is used, an actor is scaled keeping the position
+of the specified portion at the same coordinates.</doc>
+ <member name="none"
+ value="0"
+ c:identifier="CLUTTER_GRAVITY_NONE"
+ glib:nick="none"/>
+ <member name="north"
+ value="1"
+ c:identifier="CLUTTER_GRAVITY_NORTH"
+ glib:nick="north"/>
+ <member name="north_east"
+ value="2"
+ c:identifier="CLUTTER_GRAVITY_NORTH_EAST"
+ glib:nick="north-east"/>
+ <member name="east"
+ value="3"
+ c:identifier="CLUTTER_GRAVITY_EAST"
+ glib:nick="east"/>
+ <member name="south_east"
+ value="4"
+ c:identifier="CLUTTER_GRAVITY_SOUTH_EAST"
+ glib:nick="south-east"/>
+ <member name="south"
+ value="5"
+ c:identifier="CLUTTER_GRAVITY_SOUTH"
+ glib:nick="south"/>
+ <member name="south_west"
+ value="6"
+ c:identifier="CLUTTER_GRAVITY_SOUTH_WEST"
+ glib:nick="south-west"/>
+ <member name="west"
+ value="7"
+ c:identifier="CLUTTER_GRAVITY_WEST"
+ glib:nick="west"/>
+ <member name="north_west"
+ value="8"
+ c:identifier="CLUTTER_GRAVITY_NORTH_WEST"
+ glib:nick="north-west"/>
+ <member name="center"
+ value="9"
+ c:identifier="CLUTTER_GRAVITY_CENTER"
+ glib:nick="center"/>
+ </enumeration>
+ <constant name="Greek_ALPHA" value="1985">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_ALPHAaccent" value="1953">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_BETA" value="1986">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_CHI" value="2007">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_DELTA" value="1988">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Down" value="65364">
- <type name="int"/>
+ <constant name="Greek_EPSILON" value="1989">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Dstroke" value="464">
- <type name="int"/>
+ <constant name="Greek_EPSILONaccent" value="1954">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="E" value="69">
- <type name="int"/>
+ <constant name="Greek_ETA" value="1991">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ENG" value="957">
- <type name="int"/>
+ <constant name="Greek_ETAaccent" value="1955">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ETH" value="208">
- <type name="int"/>
+ <constant name="Greek_GAMMA" value="1987">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Eabovedot" value="972">
- <type name="int"/>
+ <constant name="Greek_IOTA" value="1993">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Eacute" value="201">
- <type name="int"/>
+ <constant name="Greek_IOTAaccent" value="1956">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Ebelowdot" value="16785080">
- <type name="int"/>
+ <constant name="Greek_IOTAdiaeresis" value="1957">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Ecaron" value="460">
- <type name="int"/>
+ <constant name="Greek_IOTAdieresis" value="1957">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Ecircumflex" value="202">
- <type name="int"/>
+ <constant name="Greek_KAPPA" value="1994">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Ecircumflexacute" value="16785086">
- <type name="int"/>
+ <constant name="Greek_LAMBDA" value="1995">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Ecircumflexbelowdot" value="16785094">
- <type name="int"/>
+ <constant name="Greek_LAMDA" value="1995">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Ecircumflexgrave" value="16785088">
- <type name="int"/>
+ <constant name="Greek_MU" value="1996">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Ecircumflexhook" value="16785090">
- <type name="int"/>
+ <constant name="Greek_NU" value="1997">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Ecircumflextilde" value="16785092">
- <type name="int"/>
+ <constant name="Greek_OMEGA" value="2009">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="EcuSign" value="16785568">
- <type name="int"/>
+ <constant name="Greek_OMEGAaccent" value="1963">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Ediaeresis" value="203">
- <type name="int"/>
+ <constant name="Greek_OMICRON" value="1999">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Egrave" value="200">
- <type name="int"/>
+ <constant name="Greek_OMICRONaccent" value="1959">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Ehook" value="16785082">
- <type name="int"/>
+ <constant name="Greek_PHI" value="2006">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Eisu_Shift" value="65327">
- <type name="int"/>
+ <constant name="Greek_PI" value="2000">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Eisu_toggle" value="65328">
- <type name="int"/>
+ <constant name="Greek_PSI" value="2008">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Emacron" value="938">
- <type name="int"/>
+ <constant name="Greek_RHO" value="2001">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="End" value="65367">
- <type name="int"/>
+ <constant name="Greek_SIGMA" value="2002">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Eogonek" value="458">
- <type name="int"/>
+ <constant name="Greek_TAU" value="2004">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Escape" value="65307">
- <type name="int"/>
+ <constant name="Greek_THETA" value="1992">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Eth" value="208">
- <type name="int"/>
+ <constant name="Greek_UPSILON" value="2005">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Etilde" value="16785084">
- <type name="int"/>
+ <constant name="Greek_UPSILONaccent" value="1960">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="EuroSign" value="8364">
- <type name="int"/>
+ <constant name="Greek_UPSILONdieresis" value="1961">
+ <type name="gint" c:type="gint"/>
</constant>
- <union name="Event"
- c:type="ClutterEvent"
- glib:type-name="ClutterEvent"
- glib:get-type="clutter_event_get_type">
- <field name="type" writable="1">
- <type name="EventType" c:type="ClutterEventType"/>
- </field>
- <field name="any" writable="1">
- <type name="AnyEvent" c:type="ClutterAnyEvent"/>
- </field>
- <field name="button" writable="1">
- <type name="ButtonEvent" c:type="ClutterButtonEvent"/>
- </field>
- <field name="key" writable="1">
- <type name="KeyEvent" c:type="ClutterKeyEvent"/>
- </field>
- <field name="motion" writable="1">
- <type name="MotionEvent" c:type="ClutterMotionEvent"/>
- </field>
- <field name="scroll" writable="1">
- <type name="ScrollEvent" c:type="ClutterScrollEvent"/>
- </field>
- <field name="stage_state" writable="1">
- <type name="StageStateEvent" c:type="ClutterStageStateEvent"/>
- </field>
- <field name="crossing" writable="1">
- <type name="CrossingEvent" c:type="ClutterCrossingEvent"/>
- </field>
- <constructor name="new"
- c:identifier="clutter_event_new"
- doc="Creates a new #ClutterEvent of the specified type.">
- <return-value transfer-ownership="full">
- <type name="Event" c:type="ClutterEvent*"/>
- </return-value>
- <parameters>
- <parameter name="type" transfer-ownership="none">
- <type name="EventType" c:type="ClutterEventType"/>
- </parameter>
- </parameters>
- </constructor>
- <method name="put"
- c:identifier="clutter_event_put"
- doc="Puts a copy of the event on the back of the event queue. The event will
-have the %CLUTTER_EVENT_FLAG_SYNTHETIC flag set. If the source is set
-event signals will be emitted for this source and capture/bubbling for
-its ancestors. If the source is not set it will be generated by picking
-or use the actor that currently has keyboard focus"
- version="0.6">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </method>
- <method name="copy"
- c:identifier="clutter_event_copy"
- doc="Copies @event.">
- <return-value transfer-ownership="full">
- <type name="Event" c:type="ClutterEvent*"/>
- </return-value>
- </method>
- <method name="free"
- c:identifier="clutter_event_free"
- doc="Frees all resources used by @event.">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </method>
- <method name="type"
- c:identifier="clutter_event_type"
- doc="Retrieves the type of the event.">
- <return-value transfer-ownership="full">
- <type name="EventType" c:type="ClutterEventType"/>
- </return-value>
- </method>
- <method name="get_flags"
- c:identifier="clutter_event_get_flags"
- doc="Retrieves the #ClutterEventFlags of @event"
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="EventFlags" c:type="ClutterEventFlags"/>
- </return-value>
- </method>
- <method name="get_time"
- c:identifier="clutter_event_get_time"
- doc="Retrieves the time of the event."
- version="0.4">
- <return-value transfer-ownership="none">
- <type name="uint32" c:type="guint32"/>
- </return-value>
- </method>
- <method name="get_state"
- c:identifier="clutter_event_get_state"
- doc="Retrieves the modifier state of the event."
- version="0.4">
- <return-value transfer-ownership="full">
- <type name="ModifierType" c:type="ClutterModifierType"/>
- </return-value>
- </method>
- <method name="get_device_id"
- c:identifier="clutter_event_get_device_id"
- doc="Retrieves the events device id if set.
-no specific device set.">
- <return-value transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </return-value>
- </method>
- <method name="get_device_type"
- c:identifier="clutter_event_get_device_type"
- doc="Retrieves the type of the device for @event
-any is set"
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="InputDeviceType" c:type="ClutterInputDeviceType"/>
- </return-value>
- </method>
- <method name="get_device"
- c:identifier="clutter_event_get_device"
- doc="Retrieves the #ClutterInputDevice for the event.
-The #ClutterInputDevice structure is completely opaque and should
-be cast to the platform-specific implementation."
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="InputDevice" c:type="ClutterInputDevice*"/>
- </return-value>
- </method>
- <method name="get_source"
- c:identifier="clutter_event_get_source"
- doc="Retrieves the source #ClutterActor the event originated from, or
-NULL if the event has no source."
- version="0.6">
- <return-value transfer-ownership="none" doc="a #ClutterActor">
- <type name="Actor" c:type="ClutterActor*"/>
- </return-value>
- </method>
- <method name="get_stage"
- c:identifier="clutter_event_get_stage"
- doc="Retrieves the source #ClutterStage the event originated for, or
-%NULL if the event has no stage."
- version="0.8">
- <return-value transfer-ownership="none" doc="a #ClutterStage">
- <type name="Stage" c:type="ClutterStage*"/>
- </return-value>
- </method>
- <method name="get_coords"
- c:identifier="clutter_event_get_coords"
- doc="Retrieves the coordinates of @event and puts them into @x and @y."
- version="0.4">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="x"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full">
- <type name="float" c:type="gfloat*"/>
- </parameter>
- <parameter name="y"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full">
- <type name="float" c:type="gfloat*"/>
- </parameter>
- </parameters>
- </method>
- <method name="get_key_symbol"
- c:identifier="clutter_event_get_key_symbol"
- doc="Retrieves the key symbol of @event"
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </return-value>
- </method>
- <method name="get_key_code"
- c:identifier="clutter_event_get_key_code"
- doc="Retrieves the keycode of the key that caused @event"
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="uint16" c:type="guint16"/>
- </return-value>
- </method>
- <method name="get_key_unicode"
- c:identifier="clutter_event_get_key_unicode"
- doc="Retrieves the unicode value for the key that caused @keyev.">
+ <constant name="Greek_XI" value="1998">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_ZETA" value="1990">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_accentdieresis" value="1966">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_alpha" value="2017">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_alphaaccent" value="1969">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_beta" value="2018">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_chi" value="2039">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_delta" value="2020">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_epsilon" value="2021">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_epsilonaccent" value="1970">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_eta" value="2023">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_etaaccent" value="1971">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_finalsmallsigma" value="2035">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_gamma" value="2019">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_horizbar" value="1967">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_iota" value="2025">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_iotaaccent" value="1972">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_iotaaccentdieresis" value="1974">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_iotadieresis" value="1973">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_kappa" value="2026">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_lambda" value="2027">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_lamda" value="2027">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_mu" value="2028">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_nu" value="2029">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_omega" value="2041">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_omegaaccent" value="1979">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_omicron" value="2031">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_omicronaccent" value="1975">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_phi" value="2038">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_pi" value="2032">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_psi" value="2040">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_rho" value="2033">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_sigma" value="2034">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_switch" value="65406">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_tau" value="2036">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_theta" value="2024">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_upsilon" value="2037">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_upsilonaccent" value="1976">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_upsilonaccentdieresis" value="1978">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_upsilondieresis" value="1977">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_xi" value="2030">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Greek_zeta" value="2022">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Green" value="269025188">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <class name="Group"
+ c:symbol-prefix="group"
+ c:type="ClutterGroup"
+ version="0.1"
+ parent="Actor"
+ glib:type-name="ClutterGroup"
+ glib:get-type="clutter_group_get_type"
+ glib:type-struct="GroupClass">
+ <doc xml:whitespace="preserve">The #ClutterGroup structure contains only private data
+and should be accessed using the provided API</doc>
+ <implements name="Atk.ImplementorIface"/>
+ <implements name="Animatable"/>
+ <implements name="Container"/>
+ <implements name="Scriptable"/>
+ <constructor name="new" c:identifier="clutter_group_new">
+ <doc xml:whitespace="preserve">Create a new #ClutterGroup.</doc>
<return-value transfer-ownership="none">
- <type name="uint32" c:type="guint32"/>
+ <doc xml:whitespace="preserve">the newly created #ClutterGroup actor</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</return-value>
- </method>
- <method name="get_button"
- c:identifier="clutter_event_get_button"
- doc="Retrieves the button number of @event"
- version="1.0">
+ </constructor>
+ <method name="get_n_children"
+ c:identifier="clutter_group_get_n_children"
+ version="0.2">
+ <doc xml:whitespace="preserve">Gets the number of actors held in the group.</doc>
<return-value transfer-ownership="none">
- <type name="uint32" c:type="guint32"/>
+ <doc xml:whitespace="preserve">The number of child actors held in the group.</doc>
+ <type name="gint" c:type="gint"/>
</return-value>
</method>
- <method name="get_click_count"
- c:identifier="clutter_event_get_click_count"
- doc="Retrieves the number of clicks of @event"
- version="1.0">
+ <method name="get_nth_child"
+ c:identifier="clutter_group_get_nth_child"
+ version="0.2">
+ <doc xml:whitespace="preserve">Gets a groups child held at @index_ in stack.</doc>
<return-value transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </return-value>
- </method>
- <method name="get_related"
- c:identifier="clutter_event_get_related"
- doc="Retrieves the related actor of a crossing event."
- version="1.0">
- <return-value transfer-ownership="none"
- doc="the related #ClutterActor, or %NULL">
+ <doc xml:whitespace="preserve">A Clutter actor, or %NULL if</doc>
<type name="Actor" c:type="ClutterActor*"/>
</return-value>
+ <parameters>
+ <parameter name="index_" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the position of the requested actor.</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ </parameters>
</method>
- <method name="get_scroll_direction"
- c:identifier="clutter_event_get_scroll_direction"
- doc="Retrieves the direction of the scrolling of @event"
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="ScrollDirection" c:type="ClutterScrollDirection"/>
+ <method name="remove_all" c:identifier="clutter_group_remove_all">
+ <doc xml:whitespace="preserve">Removes all children actors from the #ClutterGroup.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
</method>
- </union>
- <bitfield name="EventFlags"
- doc="Flags for the #ClutterEvent"
- version="0.6"
- glib:type-name="ClutterEventFlags"
- glib:get-type="clutter_event_flags_get_type"
- c:type="ClutterEventFlags">
- <member name="none"
- value="0"
- c:identifier="CLUTTER_EVENT_NONE"
- glib:nick="none"/>
- <member name="flag_synthetic"
- value="1"
- c:identifier="CLUTTER_EVENT_FLAG_SYNTHETIC"
- glib:nick="flag-synthetic"/>
- </bitfield>
- <enumeration name="EventType"
- doc="Types of events."
- version="0.4"
- glib:type-name="ClutterEventType"
- glib:get-type="clutter_event_type_get_type"
- c:type="ClutterEventType">
- <member name="nothing"
- value="0"
- c:identifier="CLUTTER_NOTHING"
- glib:nick="nothing"/>
- <member name="key_press"
- value="1"
- c:identifier="CLUTTER_KEY_PRESS"
- glib:nick="key-press"/>
- <member name="key_release"
- value="2"
- c:identifier="CLUTTER_KEY_RELEASE"
- glib:nick="key-release"/>
- <member name="motion"
- value="3"
- c:identifier="CLUTTER_MOTION"
- glib:nick="motion"/>
- <member name="enter"
- value="4"
- c:identifier="CLUTTER_ENTER"
- glib:nick="enter"/>
- <member name="leave"
- value="5"
- c:identifier="CLUTTER_LEAVE"
- glib:nick="leave"/>
- <member name="button_press"
- value="6"
- c:identifier="CLUTTER_BUTTON_PRESS"
- glib:nick="button-press"/>
- <member name="button_release"
- value="7"
- c:identifier="CLUTTER_BUTTON_RELEASE"
- glib:nick="button-release"/>
- <member name="scroll"
- value="8"
- c:identifier="CLUTTER_SCROLL"
- glib:nick="scroll"/>
- <member name="stage_state"
- value="9"
- c:identifier="CLUTTER_STAGE_STATE"
- glib:nick="stage-state"/>
- <member name="destroy_notify"
- value="10"
- c:identifier="CLUTTER_DESTROY_NOTIFY"
- glib:nick="destroy-notify"/>
- <member name="client_message"
- value="11"
- c:identifier="CLUTTER_CLIENT_MESSAGE"
- glib:nick="client-message"/>
- <member name="delete"
- value="12"
- c:identifier="CLUTTER_DELETE"
- glib:nick="delete"/>
- </enumeration>
- <constant name="Execute" value="65378">
- <type name="int"/>
+ <field name="parent_instance">
+ <type name="Actor" c:type="ClutterActor"/>
+ </field>
+ <field name="priv">
+ <type name="GroupPrivate" c:type="ClutterGroupPrivate*"/>
+ </field>
+ </class>
+ <record name="GroupClass"
+ c:type="ClutterGroupClass"
+ glib:is-gtype-struct-for="Group"
+ version="0.1">
+ <doc xml:whitespace="preserve">The #ClutterGroupClass structure contains only private data</doc>
+ <field name="parent_class">
+ <type name="ActorClass" c:type="ClutterActorClass"/>
+ </field>
+ <field name="_clutter_reserved1" introspectable="0">
+ <callback name="_clutter_reserved1">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_reserved2" introspectable="0">
+ <callback name="_clutter_reserved2">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_reserved3" introspectable="0">
+ <callback name="_clutter_reserved3">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_reserved4" introspectable="0">
+ <callback name="_clutter_reserved4">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_reserved5" introspectable="0">
+ <callback name="_clutter_reserved5">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_reserved6" introspectable="0">
+ <callback name="_clutter_reserved6">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ </record>
+ <record name="GroupPrivate" c:type="ClutterGroupPrivate" disguised="1">
+ </record>
+ <constant name="H" value="72">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul" value="65329">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_A" value="3775">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_AE" value="3776">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_AraeA" value="3830">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_AraeAE" value="3831">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_Banja" value="65337">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_Cieuc" value="3770">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_Codeinput" value="65335">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_Dikeud" value="3751">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_E" value="3780">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_EO" value="3779">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_EU" value="3793">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_End" value="65331">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_Hanja" value="65332">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_Hieuh" value="3774">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_I" value="3795">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_Ieung" value="3767">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_J_Cieuc" value="3818">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_J_Dikeud" value="3802">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_J_Hieuh" value="3822">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_J_Ieung" value="3816">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_J_Jieuj" value="3817">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_J_Khieuq" value="3819">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_J_Kiyeog" value="3796">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_J_KiyeogSios" value="3798">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_J_KkogjiDalrinIeung" value="3833">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_J_Mieum" value="3811">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_J_Nieun" value="3799">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_J_NieunHieuh" value="3801">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_J_NieunJieuj" value="3800">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_J_PanSios" value="3832">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_J_Phieuf" value="3821">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_J_Pieub" value="3812">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_J_PieubSios" value="3813">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_J_Rieul" value="3803">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F" value="70">
- <type name="int"/>
+ <constant name="Hangul_J_RieulHieuh" value="3810">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F1" value="65470">
- <type name="int"/>
+ <constant name="Hangul_J_RieulKiyeog" value="3804">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F10" value="65479">
- <type name="int"/>
+ <constant name="Hangul_J_RieulMieum" value="3805">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F11" value="65480">
- <type name="int"/>
+ <constant name="Hangul_J_RieulPhieuf" value="3809">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F12" value="65481">
- <type name="int"/>
+ <constant name="Hangul_J_RieulPieub" value="3806">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F13" value="65482">
- <type name="int"/>
+ <constant name="Hangul_J_RieulSios" value="3807">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F14" value="65483">
- <type name="int"/>
+ <constant name="Hangul_J_RieulTieut" value="3808">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F15" value="65484">
- <type name="int"/>
+ <constant name="Hangul_J_Sios" value="3814">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F16" value="65485">
- <type name="int"/>
+ <constant name="Hangul_J_SsangKiyeog" value="3797">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F17" value="65486">
- <type name="int"/>
+ <constant name="Hangul_J_SsangSios" value="3815">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F18" value="65487">
- <type name="int"/>
+ <constant name="Hangul_J_Tieut" value="3820">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F19" value="65488">
- <type name="int"/>
+ <constant name="Hangul_J_YeorinHieuh" value="3834">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F2" value="65471">
- <type name="int"/>
+ <constant name="Hangul_Jamo" value="65333">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F20" value="65489">
- <type name="int"/>
+ <constant name="Hangul_Jeonja" value="65336">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F21" value="65490">
- <type name="int"/>
+ <constant name="Hangul_Jieuj" value="3768">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F22" value="65491">
- <type name="int"/>
+ <constant name="Hangul_Khieuq" value="3771">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F23" value="65492">
- <type name="int"/>
+ <constant name="Hangul_Kiyeog" value="3745">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F24" value="65493">
- <type name="int"/>
+ <constant name="Hangul_KiyeogSios" value="3747">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F25" value="65494">
- <type name="int"/>
+ <constant name="Hangul_KkogjiDalrinIeung" value="3827">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F26" value="65495">
- <type name="int"/>
+ <constant name="Hangul_Mieum" value="3761">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F27" value="65496">
- <type name="int"/>
+ <constant name="Hangul_MultipleCandidate" value="65341">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F28" value="65497">
- <type name="int"/>
+ <constant name="Hangul_Nieun" value="3748">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F29" value="65498">
- <type name="int"/>
+ <constant name="Hangul_NieunHieuh" value="3750">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F3" value="65472">
- <type name="int"/>
+ <constant name="Hangul_NieunJieuj" value="3749">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F30" value="65499">
- <type name="int"/>
+ <constant name="Hangul_O" value="3783">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F31" value="65500">
- <type name="int"/>
+ <constant name="Hangul_OE" value="3786">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F32" value="65501">
- <type name="int"/>
+ <constant name="Hangul_PanSios" value="3826">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F33" value="65502">
- <type name="int"/>
+ <constant name="Hangul_Phieuf" value="3773">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F34" value="65503">
- <type name="int"/>
+ <constant name="Hangul_Pieub" value="3762">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F35" value="65504">
- <type name="int"/>
+ <constant name="Hangul_PieubSios" value="3764">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F4" value="65473">
- <type name="int"/>
+ <constant name="Hangul_PostHanja" value="65339">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F5" value="65474">
- <type name="int"/>
+ <constant name="Hangul_PreHanja" value="65338">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F6" value="65475">
- <type name="int"/>
+ <constant name="Hangul_PreviousCandidate" value="65342">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F7" value="65476">
- <type name="int"/>
+ <constant name="Hangul_Rieul" value="3753">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F8" value="65477">
- <type name="int"/>
+ <constant name="Hangul_RieulHieuh" value="3760">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="F9" value="65478">
- <type name="int"/>
+ <constant name="Hangul_RieulKiyeog" value="3754">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="FFrancSign" value="16785571">
- <type name="int"/>
+ <constant name="Hangul_RieulMieum" value="3755">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="FLAVOUR" value="glx">
- <type name="utf8"/>
+ <constant name="Hangul_RieulPhieuf" value="3759">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Fabovedot" value="16784926">
- <type name="int"/>
+ <constant name="Hangul_RieulPieub" value="3756">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Farsi_0" value="16778992">
- <type name="int"/>
+ <constant name="Hangul_RieulSios" value="3757">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Farsi_1" value="16778993">
- <type name="int"/>
+ <constant name="Hangul_RieulTieut" value="3758">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Farsi_2" value="16778994">
- <type name="int"/>
+ <constant name="Hangul_RieulYeorinHieuh" value="3823">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Farsi_3" value="16778995">
- <type name="int"/>
+ <constant name="Hangul_Romaja" value="65334">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Farsi_4" value="16778996">
- <type name="int"/>
+ <constant name="Hangul_SingleCandidate" value="65340">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_Sios" value="3765">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_Special" value="65343">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_SsangDikeud" value="3752">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_SsangJieuj" value="3769">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_SsangKiyeog" value="3746">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_SsangPieub" value="3763">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_SsangSios" value="3766">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_Start" value="65330">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_SunkyeongeumMieum" value="3824">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_SunkyeongeumPhieuf" value="3828">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_SunkyeongeumPieub" value="3825">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_Tieut" value="3772">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_U" value="3788">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_WA" value="3784">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_WAE" value="3785">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_WE" value="3790">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_WEO" value="3789">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_WI" value="3791">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_YA" value="3777">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_YAE" value="3778">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_YE" value="3782">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_YEO" value="3781">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_YI" value="3794">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_YO" value="3787">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_YU" value="3792">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_YeorinHieuh" value="3829">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hangul_switch" value="65406">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hankaku" value="65321">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hcircumflex" value="678">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hebrew_switch" value="65406">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Help" value="65386">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Henkan" value="65315">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Henkan_Mode" value="65315">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hibernate" value="269025192">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hiragana" value="65317">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hiragana_Katakana" value="65319">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="History" value="269025079">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Home" value="65360">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="HomePage" value="269025048">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="HotLinks" value="269025082">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hstroke" value="673">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hyper_L" value="65517">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Hyper_R" value="65518">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="I" value="73">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Center_Object" value="65075">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Continuous_Underline" value="65072">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Discontinuous_Underline" value="65073">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Emphasize" value="65074">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Enter" value="65076">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Fast_Cursor_Down" value="65071">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Fast_Cursor_Left" value="65068">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Fast_Cursor_Right" value="65069">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Fast_Cursor_Up" value="65070">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_First_Group" value="65036">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_First_Group_Lock" value="65037">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Group_Latch" value="65030">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Group_Lock" value="65031">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Group_Shift" value="65406">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Last_Group" value="65038">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Last_Group_Lock" value="65039">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Left_Tab" value="65056">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Level2_Latch" value="65026">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Level3_Latch" value="65028">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Level3_Lock" value="65029">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Level3_Shift" value="65027">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Level5_Latch" value="65042">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Level5_Lock" value="65043">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Level5_Shift" value="65041">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Lock" value="65025">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Move_Line_Down" value="65058">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Move_Line_Up" value="65057">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Next_Group" value="65032">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Next_Group_Lock" value="65033">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Partial_Line_Down" value="65060">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Partial_Line_Up" value="65059">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Partial_Space_Left" value="65061">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Partial_Space_Right" value="65062">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Prev_Group" value="65034">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Prev_Group_Lock" value="65035">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Release_Both_Margins" value="65067">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Release_Margin_Left" value="65065">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Release_Margin_Right" value="65066">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Set_Margin_Left" value="65063">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ISO_Set_Margin_Right" value="65064">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Iabovedot" value="681">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Iacute" value="205">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Farsi_5" value="16778997">
- <type name="int"/>
+ <constant name="Ibelowdot" value="16785098">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Farsi_6" value="16778998">
- <type name="int"/>
+ <constant name="Ibreve" value="16777516">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Farsi_7" value="16778999">
- <type name="int"/>
+ <constant name="Icircumflex" value="206">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Farsi_8" value="16779000">
- <type name="int"/>
+ <constant name="Idiaeresis" value="207">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Farsi_9" value="16779001">
- <type name="int"/>
+ <constant name="Igrave" value="204">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Farsi_yeh" value="16778956">
- <type name="int"/>
+ <constant name="Ihook" value="16785096">
+ <type name="gint" c:type="gint"/>
</constant>
- <bitfield name="FeatureFlags"
- doc="Runtime flags indicating specific features available via Clutter window
-sysytem and graphics backend."
- version="0.4"
- glib:type-name="ClutterFeatureFlags"
- glib:get-type="clutter_feature_flags_get_type"
- c:type="ClutterFeatureFlags">
- <member name="texture_npot"
- value="4"
- c:identifier="CLUTTER_FEATURE_TEXTURE_NPOT"
- glib:nick="texture-npot"/>
- <member name="sync_to_vblank"
- value="8"
- c:identifier="CLUTTER_FEATURE_SYNC_TO_VBLANK"
- glib:nick="sync-to-vblank"/>
- <member name="texture_yuv"
- value="16"
- c:identifier="CLUTTER_FEATURE_TEXTURE_YUV"
- glib:nick="texture-yuv"/>
- <member name="texture_read_pixels"
- value="32"
- c:identifier="CLUTTER_FEATURE_TEXTURE_READ_PIXELS"
- glib:nick="texture-read-pixels"/>
- <member name="stage_static"
- value="64"
- c:identifier="CLUTTER_FEATURE_STAGE_STATIC"
- glib:nick="stage-static"/>
- <member name="stage_user_resize"
- value="128"
- c:identifier="CLUTTER_FEATURE_STAGE_USER_RESIZE"
- glib:nick="stage-user-resize"/>
- <member name="stage_cursor"
- value="256"
- c:identifier="CLUTTER_FEATURE_STAGE_CURSOR"
- glib:nick="stage-cursor"/>
- <member name="shaders_glsl"
- value="512"
- c:identifier="CLUTTER_FEATURE_SHADERS_GLSL"
- glib:nick="shaders-glsl"/>
- <member name="offscreen"
- value="1024"
- c:identifier="CLUTTER_FEATURE_OFFSCREEN"
- glib:nick="offscreen"/>
- <member name="stage_multiple"
- value="2048"
- c:identifier="CLUTTER_FEATURE_STAGE_MULTIPLE"
- glib:nick="stage-multiple"/>
- <member name="swap_events"
- value="4096"
- c:identifier="CLUTTER_FEATURE_SWAP_EVENTS"
- glib:nick="swap-events"/>
- </bitfield>
- <constant name="Find" value="65384">
- <type name="int"/>
+ <constant name="Imacron" value="975">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="First_Virtual_Screen" value="65232">
- <type name="int"/>
+ <enumeration name="InitError"
+ version="0.2"
+ glib:type-name="ClutterInitError"
+ glib:get-type="clutter_init_error_get_type"
+ c:type="ClutterInitError"
+ glib:error-quark="clutter_init_error_quark">
+ <doc xml:whitespace="preserve">Error conditions returned by clutter_init() and clutter_init_with_args().</doc>
+ <member name="success"
+ value="1"
+ c:identifier="CLUTTER_INIT_SUCCESS"
+ glib:nick="success"/>
+ <member name="error_unknown"
+ value="0"
+ c:identifier="CLUTTER_INIT_ERROR_UNKNOWN"
+ glib:nick="error-unknown"/>
+ <member name="error_threads"
+ value="-1"
+ c:identifier="CLUTTER_INIT_ERROR_THREADS"
+ glib:nick="error-threads"/>
+ <member name="error_backend"
+ value="-2"
+ c:identifier="CLUTTER_INIT_ERROR_BACKEND"
+ glib:nick="error-backend"/>
+ <member name="error_internal"
+ value="-3"
+ c:identifier="CLUTTER_INIT_ERROR_INTERNAL"
+ glib:nick="error-internal"/>
+ </enumeration>
+ <class name="InputDevice"
+ c:symbol-prefix="input_device"
+ c:type="ClutterInputDevice"
+ parent="GObject.Object"
+ glib:type-name="ClutterInputDevice"
+ glib:get-type="clutter_input_device_get_type"
+ glib:type-struct="InputDeviceClass">
+ <doc xml:whitespace="preserve">Generic representation of an input device. The actual contents of this
+structure depend on the backend used.</doc>
+ <method name="get_device_coords"
+ c:identifier="clutter_input_device_get_device_coords"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the latest coordinates of the pointer of @device</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="x"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the X coordinate</doc>
+ <type name="gint" c:type="gint*"/>
+ </parameter>
+ <parameter name="y"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the Y coordinate</doc>
+ <type name="gint" c:type="gint*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="get_device_id"
+ c:identifier="clutter_input_device_get_device_id"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the unique identifier of @device</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the identifier of the device</doc>
+ <type name="gint" c:type="gint"/>
+ </return-value>
+ </method>
+ <method name="get_device_name"
+ c:identifier="clutter_input_device_get_device_name"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the name of the @device
+is owned by the #ClutterInputDevice and should never be modified
+or freed</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the device, or %NULL. The returned string</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </return-value>
+ </method>
+ <method name="get_device_type"
+ c:identifier="clutter_input_device_get_device_type"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the type of @device</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the type of the device</doc>
+ <type name="InputDeviceType" c:type="ClutterInputDeviceType"/>
+ </return-value>
+ </method>
+ <method name="get_pointer_actor"
+ c:identifier="clutter_input_device_get_pointer_actor"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the #ClutterActor underneath the pointer of @device</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a pointer to the #ClutterActor or %NULL</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </return-value>
+ </method>
+ <method name="get_pointer_stage"
+ c:identifier="clutter_input_device_get_pointer_stage"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the #ClutterStage underneath the pointer of @device</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a pointer to the #ClutterStage or %NULL</doc>
+ <type name="Stage" c:type="ClutterStage*"/>
+ </return-value>
+ </method>
+ <method name="update_from_event"
+ c:identifier="clutter_input_device_update_from_event"
+ version="1.2">
+ <doc xml:whitespace="preserve">Forcibly updates the state of the @device using a #ClutterEvent
+for integration with embedding toolkits, like clutter-gtk
+Embedding toolkits that disable the event collection inside Clutter
+need to use this function to update the state of input devices depending
+on a #ClutterEvent that they are going to submit to the event handling code
+in Clutter though clutter_do_event(). Since the input devices hold the state
+that is going to be used to fill in fields like the #ClutterButtonEvent
+click count, or to emit synthesized events like %CLUTTER_ENTER and
+%CLUTTER_LEAVE, it is necessary for embedding toolkits to also be
+responsible of updating the input device state.
+For instance, this might be the code to translate an embedding toolkit
+native motion notification into a Clutter #ClutterMotionEvent and ask
+Clutter to process it:
+|[
+ClutterEvent c_event;
+translate_native_event_to_clutter (native_event, &amp;c_event);
+clutter_do_event (&amp;c_event);
+]|
+Before letting clutter_do_event() process the event, it is necessary to call
+clutter_input_device_update_from_event():
+|[
+ClutterEvent c_event;
+ClutterDeviceManager *manager;
+ClutterInputDevice *device;
+translate_native_event_to_clutter (native_event, &amp;c_event);
+/&ast; get the device manager &ast;/
+manager = clutter_device_manager_get_default ();
+/&ast; use the default Core Pointer that Clutter
+&ast; backends register by default
+&ast;/
+device = clutter_device_manager_get_core_device (manager, %CLUTTER_POINTER_DEVICE);
+/&ast; update the state of the input device &ast;/
+clutter_input_device_update_from_event (device, &amp;c_event, FALSE);
+clutter_do_event (&amp;c_event);
+]|
+The @update_stage boolean argument should be used when the input device
+enters and leaves a #ClutterStage; it will use the #ClutterStage field
+of the passed @event to update the stage associated to the input device.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="event" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterEvent</doc>
+ <type name="Event" c:type="ClutterEvent*"/>
+ </parameter>
+ <parameter name="update_stage" transfer-ownership="none">
+ <doc xml:whitespace="preserve">whether to update the #ClutterStage of the @device using the stage of the event</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </parameter>
+ </parameters>
+ </method>
+ <property name="device-type"
+ version="1.2"
+ writable="1"
+ construct-only="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The type of the device</doc>
+ <type name="InputDeviceType"/>
+ </property>
+ <property name="id"
+ version="1.2"
+ writable="1"
+ construct-only="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The unique identifier of the device</doc>
+ <type name="gint"/>
+ </property>
+ <property name="name"
+ version="1.2"
+ writable="1"
+ construct-only="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The name of the device</doc>
+ <type name="utf8"/>
+ </property>
+ </class>
+ <record name="InputDeviceClass"
+ c:type="ClutterInputDeviceClass"
+ glib:is-gtype-struct-for="InputDevice"
+ version="1.2">
+ <doc xml:whitespace="preserve">The #ClutterInputDeviceClass structure contains only private
+data and should not be accessed directly</doc>
+ <field name="parent_class">
+ <type name="GObject.ObjectClass" c:type="GObjectClass"/>
+ </field>
+ </record>
+ <enumeration name="InputDeviceType"
+ version="1.0"
+ glib:type-name="ClutterInputDeviceType"
+ glib:get-type="clutter_input_device_type_get_type"
+ c:type="ClutterInputDeviceType">
+ <doc xml:whitespace="preserve">The types of input devices available.
+The #ClutterInputDeviceType enumeration can be extended at later
+date; not every platform supports every input device type.</doc>
+ <member name="pointer_device"
+ value="0"
+ c:identifier="CLUTTER_POINTER_DEVICE"
+ glib:nick="pointer-device"/>
+ <member name="keyboard_device"
+ value="1"
+ c:identifier="CLUTTER_KEYBOARD_DEVICE"
+ glib:nick="keyboard-device"/>
+ <member name="extension_device"
+ value="2"
+ c:identifier="CLUTTER_EXTENSION_DEVICE"
+ glib:nick="extension-device"/>
+ <member name="n_device_types"
+ value="3"
+ c:identifier="CLUTTER_N_DEVICE_TYPES"
+ glib:nick="n-device-types"/>
+ </enumeration>
+ <constant name="Insert" value="65379">
+ <type name="gint" c:type="gint"/>
</constant>
- <class name="FixedLayout"
- c:type="ClutterFixedLayout"
- doc="The #ClutterFixedLayout structure contains only private data and
-it should be accessed using the provided API"
- version="1.2"
- parent="LayoutManager"
- glib:type-name="ClutterFixedLayout"
- glib:get-type="clutter_fixed_layout_get_type"
- glib:type-struct="FixedLayoutClass">
+ <enumeration name="Interpolation"
+ version="1.2"
+ glib:type-name="ClutterInterpolation"
+ glib:get-type="clutter_interpolation_get_type"
+ c:type="ClutterInterpolation">
+ <doc xml:whitespace="preserve">The mode of interpolation between key frames</doc>
+ <member name="linear"
+ value="0"
+ c:identifier="CLUTTER_INTERPOLATION_LINEAR"
+ glib:nick="linear"/>
+ <member name="cubic"
+ value="1"
+ c:identifier="CLUTTER_INTERPOLATION_CUBIC"
+ glib:nick="cubic"/>
+ </enumeration>
+ <class name="Interval"
+ c:symbol-prefix="interval"
+ c:type="ClutterInterval"
+ version="1.0"
+ parent="GObject.InitiallyUnowned"
+ glib:type-name="ClutterInterval"
+ glib:get-type="clutter_interval_get_type"
+ glib:type-struct="IntervalClass">
+ <doc xml:whitespace="preserve">The #ClutterInterval structure contains only private data and should
+be accessed using the provided functions.</doc>
<constructor name="new"
- c:identifier="clutter_fixed_layout_new"
- doc="Creates a new #ClutterFixedLayout"
- version="1.2">
- <return-value transfer-ownership="full">
- <type name="FixedLayout" c:type="ClutterLayoutManager*"/>
+ c:identifier="clutter_interval_new"
+ version="1.0"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Creates a new #ClutterInterval holding values of type @gtype.
+This function avoids using a #GValue for the initial and final values
+of the interval:
+|[
+interval = clutter_interval_new (G_TYPE_FLOAT, 0.0, 1.0);
+interval = clutter_interval_new (G_TYPE_BOOLEAN, FALSE, TRUE);
+interval = clutter_interval_new (G_TYPE_INT, 0, 360);
+]|</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the newly created #ClutterInterval</doc>
+ <type name="Interval" c:type="ClutterInterval*"/>
</return-value>
+ <parameters>
+ <parameter name="gtype" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the type of the values in the interval</doc>
+ <type name="GType" c:type="GType"/>
+ </parameter>
+ <parameter transfer-ownership="none">
+ <varargs>
+ </varargs>
+ </parameter>
+ </parameters>
</constructor>
- <field name="parent_instance">
- <type name="LayoutManager" c:type="ClutterLayoutManager"/>
- </field>
- </class>
- <record name="FixedLayoutClass"
- c:type="ClutterFixedLayoutClass"
- glib:is-gtype-struct-for="FixedLayout"
- doc="The #ClutterFixedLayoutClass structure contains only private data
-and it should be accessed using the provided API"
- version="1.2">
- <field name="parent_class">
- <type name="LayoutManagerClass" c:type="ClutterLayoutManagerClass"/>
- </field>
- </record>
- <class name="FlowLayout"
- c:type="ClutterFlowLayout"
- doc="The #ClutterFlowLayout structure contains only private data
-and should be accessed using the provided API"
- version="1.2"
- parent="LayoutManager"
- glib:type-name="ClutterFlowLayout"
- glib:get-type="clutter_flow_layout_get_type"
- glib:type-struct="FlowLayoutClass">
- <constructor name="new"
- c:identifier="clutter_flow_layout_new"
- doc="Creates a new #ClutterFlowLayout with the given @orientation"
- version="1.2">
- <return-value transfer-ownership="full">
- <type name="FlowLayout" c:type="ClutterLayoutManager*"/>
+ <constructor name="new_with_values"
+ c:identifier="clutter_interval_new_with_values"
+ version="1.0">
+ <doc xml:whitespace="preserve">Creates a new #ClutterInterval of type @gtype, between @initial
+and @final.
+This function is useful for language bindings.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the newly created #ClutterInterval</doc>
+ <type name="Interval" c:type="ClutterInterval*"/>
</return-value>
<parameters>
- <parameter name="orientation" transfer-ownership="none">
- <type name="FlowOrientation" c:type="ClutterFlowOrientation"/>
+ <parameter name="gtype" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the type of the values in the interval</doc>
+ <type name="GType" c:type="GType"/>
+ </parameter>
+ <parameter name="initial" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GValue holding the initial value of the interval</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
+ <parameter name="final" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GValue holding the final value of the interval</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
</parameter>
</parameters>
</constructor>
- <method name="set_orientation"
- c:identifier="clutter_flow_layout_set_orientation"
- doc="Sets the orientation of the flow layout
-The orientation controls the direction used to allocate
-orientation also controls the direction of the overflowing"
- version="1.2">
+ <function name="register_progress_func"
+ c:identifier="clutter_interval_register_progress_func"
+ version="1.0"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Sets the progress function for a given @value_type, like:
+|[
+clutter_interval_register_progress_func (MY_TYPE_FOO,
+my_foo_progress);
+]|
+Whenever a #ClutterInterval instance using the default
+#ClutterInterval::compute_value implementation is set as an
+interval between two #GValue of type @value_type, it will call
+for instance:
+|[
+static gboolean
+my_int_progress (const GValue *a,
+const GValue *b,
+gdouble progress,
+GValue *retval)
+{
+gint ia = g_value_get_int (a);
+gint ib = g_value_get_int (b);
+gint res = factor * (ib - ia) + ia;
+g_value_set_int (retval, res);
+return TRUE;
+}
+clutter_interval_register_progress_func (G_TYPE_INT, my_int_progress);
+]|
+To unset a previously set progress function of a #GType, pass %NULL
+for @func.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="orientation" transfer-ownership="none">
- <type name="FlowOrientation" c:type="ClutterFlowOrientation"/>
+ <parameter name="value_type" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GType</doc>
+ <type name="GType" c:type="GType"/>
+ </parameter>
+ <parameter name="func" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterProgressFunc, or %NULL to unset a previously set progress function</doc>
+ <type name="ProgressFunc" c:type="ClutterProgressFunc"/>
</parameter>
</parameters>
- </method>
- <method name="get_orientation"
- c:identifier="clutter_flow_layout_get_orientation"
- doc="Retrieves the orientation of the @layout"
- version="1.2">
+ </function>
+ <virtual-method name="compute_value"
+ invoker="compute_value"
+ version="1.0">
+ <doc xml:whitespace="preserve">Computes the value between the @interval boundaries given the
+progress @factor and copies it into @value.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the operation was successful</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="factor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the progress factor, between 0 and 1</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="value"
+ direction="out"
+ caller-allocates="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">return location for an initialized #GValue</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
+ </parameters>
+ </virtual-method>
+ <virtual-method name="validate" invoker="validate" version="1.0">
+ <doc xml:whitespace="preserve">Validates the initial and final values of @interval against
+a #GParamSpec.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the #ClutterInterval is valid, %FALSE otherwise</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="pspec" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GParamSpec</doc>
+ <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
+ </parameter>
+ </parameters>
+ </virtual-method>
+ <method name="clone" c:identifier="clutter_interval_clone" version="1.0">
+ <doc xml:whitespace="preserve">Creates a copy of @interval.</doc>
<return-value transfer-ownership="full">
- <type name="FlowOrientation" c:type="ClutterFlowOrientation"/>
+ <doc xml:whitespace="preserve">the newly created #ClutterInterval</doc>
+ <type name="Interval" c:type="ClutterInterval*"/>
</return-value>
</method>
- <method name="set_homogeneous"
- c:identifier="clutter_flow_layout_set_homogeneous"
- doc="Sets whether the @layout should allocate the same space for
-each child"
- version="1.2">
+ <method name="compute"
+ c:identifier="clutter_interval_compute"
+ version="1.4">
+ <doc xml:whitespace="preserve">Computes the value between the @interval boundaries given the
+progress @factor
+Unlike clutter_interval_compute_value(), this function will
+return a const pointer to the computed value
+You should use this function if you immediately pass the computed
+value to another function that makes a copy of it, like
+g_object_set_property()
+or %NULL if the computation was not successfull</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">a pointer to the computed value,</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
</return-value>
<parameters>
- <parameter name="homogeneous" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <parameter name="factor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the progress factor, between 0 and 1</doc>
+ <type name="gdouble" c:type="gdouble"/>
</parameter>
</parameters>
</method>
- <method name="get_homogeneous"
- c:identifier="clutter_flow_layout_get_homogeneous"
- doc="Retrieves whether the @layout is homogeneous"
- version="1.2">
+ <method name="compute_value"
+ c:identifier="clutter_interval_compute_value"
+ version="1.0">
+ <doc xml:whitespace="preserve">Computes the value between the @interval boundaries given the
+progress @factor and copies it into @value.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">%TRUE if the operation was successful</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
+ <parameters>
+ <parameter name="factor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the progress factor, between 0 and 1</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="value"
+ direction="out"
+ caller-allocates="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">return location for an initialized #GValue</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
+ </parameters>
</method>
- <method name="set_column_spacing"
- c:identifier="clutter_flow_layout_set_column_spacing"
- doc="Sets the space between columns, in pixels"
- version="1.2">
+ <method name="get_final_value"
+ c:identifier="clutter_interval_get_final_value"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the final value of @interval and copies
+it into @value.
+The passed #GValue must be initialized to the value held by
+the #ClutterInterval.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="spacing" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <parameter name="value"
+ direction="out"
+ caller-allocates="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GValue</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
</parameter>
</parameters>
</method>
- <method name="get_column_spacing"
- c:identifier="clutter_flow_layout_get_column_spacing"
- doc="Retrieves the spacing between columns
-in pixels"
- version="1.2">
+ <method name="get_initial_value"
+ c:identifier="clutter_interval_get_initial_value"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the initial value of @interval and copies
+it into @value.
+The passed #GValue must be initialized to the value held by
+the #ClutterInterval.</doc>
<return-value transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="value"
+ direction="out"
+ caller-allocates="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GValue</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
+ </parameters>
</method>
- <method name="set_row_spacing"
- c:identifier="clutter_flow_layout_set_row_spacing"
- doc="Sets the spacing between rows, in pixels"
- version="1.2">
+ <method name="get_interval"
+ c:identifier="clutter_interval_get_interval"
+ version="1.0"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Variable arguments wrapper for clutter_interval_get_initial_value()
+and clutter_interval_get_final_value() that avoids using the
+#GValue arguments:
+|[
+gint a = 0, b = 0;
+clutter_interval_get_interval (interval, &a, &b);
+]|
+This function is meant for the convenience of the C API; bindings
+should reimplement this function using the #GValue-based API.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="spacing" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <parameter transfer-ownership="none">
+ <varargs>
+ </varargs>
</parameter>
</parameters>
</method>
- <method name="get_row_spacing"
- c:identifier="clutter_flow_layout_get_row_spacing"
- doc="Retrieves the spacing between rows
-in pixels"
- version="1.2">
+ <method name="get_value_type"
+ c:identifier="clutter_interval_get_value_type"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the #GType of the values inside @interval.</doc>
<return-value transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <doc xml:whitespace="preserve">the type of the value, or G_TYPE_INVALID</doc>
+ <type name="GType" c:type="GType"/>
</return-value>
</method>
- <method name="set_column_width"
- c:identifier="clutter_flow_layout_set_column_width"
- doc="Sets the minimum and maximum widths that a column can have"
- version="1.2">
+ <method name="peek_final_value"
+ c:identifier="clutter_interval_peek_final_value"
+ version="1.0">
+ <doc xml:whitespace="preserve">Gets the pointer to the final value of @interval
+The value is owned by the #ClutterInterval and it should not be
+modified or freed</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the final value of the interval.</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
</return-value>
- <parameters>
- <parameter name="min_width" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </parameter>
- <parameter name="max_width" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </parameter>
- </parameters>
</method>
- <method name="get_column_width"
- c:identifier="clutter_flow_layout_get_column_width"
- doc="Retrieves the minimum and maximum column widths"
- version="1.2">
+ <method name="peek_initial_value"
+ c:identifier="clutter_interval_peek_initial_value"
+ version="1.0">
+ <doc xml:whitespace="preserve">Gets the pointer to the initial value of @interval
+The value is owned by the #ClutterInterval and it should not be
+modified or freed</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the initial value of the interval.</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </return-value>
+ </method>
+ <method name="set_final_value"
+ c:identifier="clutter_interval_set_final_value"
+ version="1.0">
+ <doc xml:whitespace="preserve">Sets the final value of @interval to @value. The value is
+copied inside the #ClutterInterval.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="min_width"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- doc="return location for the minimum column width, or %NULL">
- <type name="float" c:type="gfloat*"/>
- </parameter>
- <parameter name="max_width"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- doc="return location for the maximum column width, or %NULL">
- <type name="float" c:type="gfloat*"/>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GValue</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
</parameter>
</parameters>
</method>
- <method name="set_row_height"
- c:identifier="clutter_flow_layout_set_row_height"
- doc="Sets the minimum and maximum heights that a row can have"
- version="1.2">
+ <method name="set_initial_value"
+ c:identifier="clutter_interval_set_initial_value"
+ version="1.0">
+ <doc xml:whitespace="preserve">Sets the initial value of @interval to @value. The value is copied
+inside the #ClutterInterval.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="min_height" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </parameter>
- <parameter name="max_height" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GValue</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
</parameter>
</parameters>
</method>
- <method name="get_row_height"
- c:identifier="clutter_flow_layout_get_row_height"
- doc="Retrieves the minimum and maximum row heights"
- version="1.2">
+ <method name="set_interval"
+ c:identifier="clutter_interval_set_interval"
+ version="1.0"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Variable arguments wrapper for clutter_interval_set_initial_value()
+and clutter_interval_set_final_value() that avoids using the
+#GValue arguments:
+|[
+clutter_interval_set_interval (interval, 0, 50);
+clutter_interval_set_interval (interval, 1.0, 0.0);
+clutter_interval_set_interval (interval, FALSE, TRUE);
+]|
+This function is meant for the convenience of the C API; bindings
+should reimplement this function using the #GValue-based API.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="min_height"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- doc="return location for the minimum row height, or %NULL">
- <type name="float" c:type="gfloat*"/>
+ <parameter transfer-ownership="none">
+ <varargs>
+ </varargs>
</parameter>
- <parameter name="max_height"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- doc="return location for the maximum row height, or %NULL">
- <type name="float" c:type="gfloat*"/>
+ </parameters>
+ </method>
+ <method name="validate"
+ c:identifier="clutter_interval_validate"
+ version="1.0">
+ <doc xml:whitespace="preserve">Validates the initial and final values of @interval against
+a #GParamSpec.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the #ClutterInterval is valid, %FALSE otherwise</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="pspec" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GParamSpec</doc>
+ <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
</parameter>
</parameters>
</method>
- <property name="column-spacing"
- version="1.2"
- writable="1"
- doc="The spacing between columns, in pixels; the value of this
-property is honoured by horizontal non-overflowing layouts
-and by vertical overflowing layouts">
- <type name="float" c:type="gfloat"/>
- </property>
- <property name="homogeneous"
- version="1.2"
- writable="1"
- doc="Whether each child inside the #ClutterFlowLayout should receive
-the same allocation">
- <type name="boolean" c:type="gboolean"/>
- </property>
- <property name="max-column-width"
- version="1.2"
- writable="1"
- doc="Maximum width for each column in the layout, in pixels. If
-set to -1 the width will be the maximum child width">
- <type name="float" c:type="gfloat"/>
- </property>
- <property name="max-row-height"
- version="1.2"
- writable="1"
- doc="Maximum height for each row in the layout, in pixels. If
-set to -1 the width will be the maximum child height">
- <type name="float" c:type="gfloat"/>
- </property>
- <property name="min-column-width"
- version="1.2"
- writable="1"
- doc="Minimum width for each column in the layout, in pixels">
- <type name="float" c:type="gfloat"/>
- </property>
- <property name="min-row-height"
- version="1.2"
- writable="1"
- doc="Minimum height for each row in the layout, in pixels">
- <type name="float" c:type="gfloat"/>
- </property>
- <property name="orientation"
- version="1.2"
- writable="1"
- construct="1"
- doc="The orientation of the #ClutterFlowLayout. The children
-of the layout will be layed out following the orientation.
-This property also controls the overflowing directions">
- <type name="FlowOrientation" c:type="ClutterFlowOrientation"/>
- </property>
- <property name="row-spacing"
- version="1.2"
+ <property name="value-type"
+ version="1.0"
writable="1"
- doc="The spacing between rows, in pixels; the value of this
-property is honoured by vertical non-overflowing layouts and
-by horizontal overflowing layouts">
- <type name="float" c:type="gfloat"/>
+ construct-only="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The type of the values in the interval.</doc>
+ <type name="GType"/>
</property>
<field name="parent_instance">
- <type name="LayoutManager" c:type="ClutterLayoutManager"/>
+ <type name="GObject.InitiallyUnowned" c:type="GInitiallyUnowned"/>
</field>
<field name="priv">
- <type name="FlowLayoutPrivate" c:type="ClutterFlowLayoutPrivate*"/>
+ <type name="IntervalPrivate" c:type="ClutterIntervalPrivate*"/>
</field>
</class>
- <record name="FlowLayoutClass"
- c:type="ClutterFlowLayoutClass"
- glib:is-gtype-struct-for="FlowLayout"
- doc="The #ClutterFlowLayoutClass structure contains only private data
-and should be accessed using the provided API"
- version="1.2">
+ <record name="IntervalClass"
+ c:type="ClutterIntervalClass"
+ glib:is-gtype-struct-for="Interval"
+ version="1.0">
+ <doc xml:whitespace="preserve">The #ClutterIntervalClass contains only private data.</doc>
<field name="parent_class">
- <type name="LayoutManagerClass" c:type="ClutterLayoutManagerClass"/>
+ <type name="GObject.InitiallyUnownedClass"
+ c:type="GInitiallyUnownedClass"/>
</field>
- </record>
- <record name="FlowLayoutPrivate" c:type="ClutterFlowLayoutPrivate">
- </record>
- <enumeration name="FlowOrientation"
- doc="The direction of the arrangement of the children inside
-a #ClutterFlowLayout"
- version="1.2"
- glib:type-name="ClutterFlowOrientation"
- glib:get-type="clutter_flow_orientation_get_type"
- c:type="ClutterFlowOrientation">
- <member name="horizontal"
- value="0"
- c:identifier="CLUTTER_FLOW_HORIZONTAL"
- glib:nick="horizontal"/>
- <member name="vertical"
- value="1"
- c:identifier="CLUTTER_FLOW_VERTICAL"
- glib:nick="vertical"/>
- </enumeration>
- <record name="Fog"
- c:type="ClutterFog"
- doc="Fog settings used to create the depth cueing effect."
- version="0.6"
- glib:type-name="ClutterFog"
- glib:get-type="clutter_fog_get_type">
- <field name="z_near" writable="1">
- <type name="float" c:type="gfloat"/>
+ <field name="validate">
+ <callback name="validate">
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the #ClutterInterval is valid, %FALSE otherwise</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="interval" transfer-ownership="none">
+ <type name="Interval" c:type="ClutterInterval*"/>
+ </parameter>
+ <parameter name="pspec" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GParamSpec</doc>
+ <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
+ </parameter>
+ </parameters>
+ </callback>
</field>
- <field name="z_far" writable="1">
- <type name="float" c:type="gfloat"/>
+ <field name="compute_value">
+ <callback name="compute_value">
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the operation was successful</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="interval" transfer-ownership="none">
+ <type name="Interval" c:type="ClutterInterval*"/>
+ </parameter>
+ <parameter name="factor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the progress factor, between 0 and 1</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="value"
+ direction="out"
+ caller-allocates="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">return location for an initialized #GValue</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="_clutter_reserved1" introspectable="0">
+ <callback name="_clutter_reserved1">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_reserved2" introspectable="0">
+ <callback name="_clutter_reserved2">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_reserved3" introspectable="0">
+ <callback name="_clutter_reserved3">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_reserved4" introspectable="0">
+ <callback name="_clutter_reserved4">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_reserved5" introspectable="0">
+ <callback name="_clutter_reserved5">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_reserved6" introspectable="0">
+ <callback name="_clutter_reserved6">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
</field>
</record>
- <bitfield name="FontFlags"
- doc="Runtime flags to change the font quality. To be used with
-clutter_set_font_flags()."
- version="1.0"
- glib:type-name="ClutterFontFlags"
- glib:get-type="clutter_font_flags_get_type"
- c:type="ClutterFontFlags">
- <member name="mipmapping"
- value="1"
- c:identifier="CLUTTER_FONT_MIPMAPPING"
- glib:nick="mipmapping"/>
- <member name="hinting"
- value="2"
- c:identifier="CLUTTER_FONT_HINTING"
- glib:nick="hinting"/>
- </bitfield>
- <constant name="G" value="71">
- <type name="int"/>
+ <record name="IntervalPrivate"
+ c:type="ClutterIntervalPrivate"
+ disguised="1">
+ </record>
+ <constant name="Iogonek" value="967">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Itilde" value="933">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="J" value="74">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Jcircumflex" value="684">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="K" value="75">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_0" value="48">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_1" value="49">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_2" value="50">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_3" value="51">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_3270_AltCursor" value="64784">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_3270_Attn" value="64782">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_3270_BackTab" value="64773">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_3270_ChangeScreen" value="64793">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_3270_Copy" value="64789">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_3270_CursorBlink" value="64783">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_3270_CursorSelect" value="64796">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_3270_DeleteWord" value="64794">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_3270_Duplicate" value="64769">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_3270_Enter" value="64798">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_3270_EraseEOF" value="64774">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_3270_EraseInput" value="64775">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_3270_ExSelect" value="64795">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_3270_FieldMark" value="64770">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_3270_Ident" value="64787">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_3270_Jump" value="64786">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_3270_KeyClick" value="64785">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_3270_Left2" value="64772">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_3270_PA1" value="64778">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_3270_PA2" value="64779">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_3270_PA3" value="64780">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_3270_Play" value="64790">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_3270_PrintScreen" value="64797">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_3270_Quit" value="64777">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_3270_Record" value="64792">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_3270_Reset" value="64776">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_3270_Right2" value="64771">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_3270_Rule" value="64788">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_3270_Setup" value="64791">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_3270_Test" value="64781">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_4" value="52">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_5" value="53">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_6" value="54">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_7" value="55">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_8" value="56">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_9" value="57">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_A" value="65">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_AE" value="198">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Aacute" value="193">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Abelowdot" value="16785056">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Abreve" value="451">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Abreveacute" value="16785070">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Abrevebelowdot" value="16785078">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Abrevegrave" value="16785072">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Abrevehook" value="16785074">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Abrevetilde" value="16785076">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_AccessX_Enable" value="65136">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_AccessX_Feedback_Enable" value="65137">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Acircumflex" value="194">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Acircumflexacute" value="16785060">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Acircumflexbelowdot" value="16785068">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Acircumflexgrave" value="16785062">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Acircumflexhook" value="16785064">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Acircumflextilde" value="16785066">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_AddFavorite" value="269025081">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Adiaeresis" value="196">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Agrave" value="192">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ahook" value="16785058">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Alt_L" value="65513">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Alt_R" value="65514">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Amacron" value="960">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Aogonek" value="417">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ApplicationLeft" value="269025104">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ApplicationRight" value="269025105">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_0" value="16778848">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_1" value="16778849">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_2" value="16778850">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_3" value="16778851">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_4" value="16778852">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_5" value="16778853">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_6" value="16778854">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_7" value="16778855">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_8" value="16778856">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_9" value="16778857">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_ain" value="1497">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_alef" value="1479">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_alefmaksura" value="1513">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_beh" value="1480">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_comma" value="1452">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_dad" value="1494">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_dal" value="1487">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_damma" value="1519">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_dammatan" value="1516">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_ddal" value="16778888">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_farsi_yeh" value="16778956">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_fatha" value="1518">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_fathatan" value="1515">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_feh" value="1505">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_fullstop" value="16778964">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_gaf" value="16778927">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_ghain" value="1498">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_ha" value="1511">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_hah" value="1485">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_hamza" value="1473">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_hamza_above" value="16778836">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_hamza_below" value="16778837">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_hamzaonalef" value="1475">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_hamzaonwaw" value="1476">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_hamzaonyeh" value="1478">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_hamzaunderalef" value="1477">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_heh" value="1511">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_heh_doachashmee" value="16778942">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_heh_goal" value="16778945">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_jeem" value="1484">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_jeh" value="16778904">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_kaf" value="1507">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_kasra" value="1520">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_kasratan" value="1517">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_keheh" value="16778921">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_khah" value="1486">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_lam" value="1508">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_madda_above" value="16778835">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_maddaonalef" value="1474">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_meem" value="1509">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_noon" value="1510">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_noon_ghunna" value="16778938">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_peh" value="16778878">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_percent" value="16778858">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_qaf" value="1506">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_question_mark" value="1471">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_ra" value="1489">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_rreh" value="16778897">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_sad" value="1493">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_seen" value="1491">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_semicolon" value="1467">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_shadda" value="1521">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_sheen" value="1492">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_sukun" value="1522">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_superscript_alef" value="16778864">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_switch" value="65406">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_tah" value="1495">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_tatweel" value="1504">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_tcheh" value="16778886">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_teh" value="1482">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_tehmarbuta" value="1481">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_thal" value="1488">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_theh" value="1483">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_tteh" value="16778873">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_veh" value="16778916">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_waw" value="1512">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_yeh" value="1514">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_yeh_baree" value="16778962">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_zah" value="1496">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Arabic_zain" value="1490">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Aring" value="197">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_AT" value="16778552">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_AYB" value="16778545">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_BEN" value="16778546">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_CHA" value="16778569">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_DA" value="16778548">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_DZA" value="16778561">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_E" value="16778551">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_FE" value="16778582">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_GHAT" value="16778562">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_GIM" value="16778547">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_HI" value="16778565">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_HO" value="16778560">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_INI" value="16778555">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_JE" value="16778571">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_KE" value="16778580">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_KEN" value="16778559">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_KHE" value="16778557">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_LYUN" value="16778556">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_MEN" value="16778564">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_NU" value="16778566">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_O" value="16778581">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_PE" value="16778570">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_PYUR" value="16778579">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_RA" value="16778572">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_RE" value="16778576">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_SE" value="16778573">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_SHA" value="16778567">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_TCHE" value="16778563">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_TO" value="16778553">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_TSA" value="16778558">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_TSO" value="16778577">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_TYUN" value="16778575">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_VEV" value="16778574">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_VO" value="16778568">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_VYUN" value="16778578">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_YECH" value="16778549">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_ZA" value="16778550">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_ZHE" value="16778554">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_accent" value="16778587">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_amanak" value="16778588">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_apostrophe" value="16778586">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_at" value="16778600">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_ayb" value="16778593">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_ben" value="16778594">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_but" value="16778589">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_cha" value="16778617">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_da" value="16778596">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_dza" value="16778609">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_e" value="16778599">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_exclam" value="16778588">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_fe" value="16778630">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_full_stop" value="16778633">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_ghat" value="16778610">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_gim" value="16778595">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_hi" value="16778613">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_ho" value="16778608">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_hyphen" value="16778634">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_ini" value="16778603">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_je" value="16778619">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_ke" value="16778628">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_ken" value="16778607">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_khe" value="16778605">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_ligature_ew" value="16778631">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_lyun" value="16778604">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_men" value="16778612">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_nu" value="16778614">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_o" value="16778629">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_paruyk" value="16778590">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_pe" value="16778618">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_pyur" value="16778627">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_question" value="16778590">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_ra" value="16778620">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_re" value="16778624">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_se" value="16778621">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_separation_mark" value="16778589">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_sha" value="16778615">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_shesht" value="16778587">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_tche" value="16778611">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_to" value="16778601">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_tsa" value="16778606">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_tso" value="16778625">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_tyun" value="16778623">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_verjaket" value="16778633">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_vev" value="16778622">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_vo" value="16778616">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_vyun" value="16778626">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_yech" value="16778597">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_yentamna" value="16778634">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_za" value="16778598">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Armenian_zhe" value="16778602">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Atilde" value="195">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_AudibleBell_Enable" value="65146">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_AudioCycleTrack" value="269025179">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_AudioForward" value="269025175">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_AudioLowerVolume" value="269025041">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_AudioMedia" value="269025074">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_AudioMute" value="269025042">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_AudioNext" value="269025047">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_AudioPause" value="269025073">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_AudioPlay" value="269025044">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_AudioPrev" value="269025046">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_AudioRaiseVolume" value="269025043">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_AudioRandomPlay" value="269025177">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_AudioRecord" value="269025052">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_AudioRepeat" value="269025176">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_AudioRewind" value="269025086">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_AudioStop" value="269025045">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Away" value="269025165">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_B" value="66">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Babovedot" value="16784898">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Back" value="269025062">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_BackForward" value="269025087">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_BackSpace" value="65288">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Battery" value="269025171">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Begin" value="65368">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Blue" value="269025190">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Bluetooth" value="269025172">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Book" value="269025106">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_BounceKeys_Enable" value="65140">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Break" value="65387">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_BrightnessAdjust" value="269025083">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Byelorussian_SHORTU" value="1726">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Byelorussian_shortu" value="1710">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_C" value="67">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_CD" value="269025107">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cabovedot" value="709">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cacute" value="454">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Calculator" value="269025053">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Calendar" value="269025056">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cancel" value="65385">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Caps_Lock" value="65509">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ccaron" value="456">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ccedilla" value="199">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ccircumflex" value="710">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Clear" value="65291">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ClearGrab" value="269024801">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Close" value="269025110">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Codeinput" value="65335">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ColonSign" value="16785569">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Community" value="269025085">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ContrastAdjust" value="269025058">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Control_L" value="65507">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Control_R" value="65508">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Copy" value="269025111">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_CruzeiroSign" value="16785570">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cut" value="269025112">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_CycleAngle" value="269025180">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_A" value="1761">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_BE" value="1762">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_CHE" value="1790">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_CHE_descender" value="16778422">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_CHE_vertstroke" value="16778424">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_DE" value="1764">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_DZHE" value="1727">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_E" value="1788">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_EF" value="1766">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_EL" value="1772">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_EM" value="1773">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_EN" value="1774">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_EN_descender" value="16778402">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_ER" value="1778">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_ES" value="1779">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_GHE" value="1767">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_GHE_bar" value="16778386">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_HA" value="1768">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_HARDSIGN" value="1791">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_HA_descender" value="16778418">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_I" value="1769">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_IE" value="1765">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_IO" value="1715">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_I_macron" value="16778466">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_JE" value="1720">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_KA" value="1771">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_KA_descender" value="16778394">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_KA_vertstroke" value="16778396">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_LJE" value="1721">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_NJE" value="1722">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_O" value="1775">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_O_bar" value="16778472">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_PE" value="1776">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_SCHWA" value="16778456">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_SHA" value="1787">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_SHCHA" value="1789">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_SHHA" value="16778426">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_SHORTI" value="1770">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_SOFTSIGN" value="1784">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_TE" value="1780">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_TSE" value="1763">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_U" value="1781">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_U_macron" value="16778478">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_U_straight" value="16778414">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_U_straight_bar" value="16778416">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_VE" value="1783">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_YA" value="1777">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_YERU" value="1785">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_YU" value="1760">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_ZE" value="1786">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_ZHE" value="1782">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_ZHE_descender" value="16778390">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_a" value="1729">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_be" value="1730">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_che" value="1758">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_che_descender" value="16778423">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_che_vertstroke" value="16778425">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_de" value="1732">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_dzhe" value="1711">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_e" value="1756">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_ef" value="1734">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_el" value="1740">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_em" value="1741">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_en" value="1742">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_en_descender" value="16778403">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_er" value="1746">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_es" value="1747">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_ghe" value="1735">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_ghe_bar" value="16778387">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_ha" value="1736">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_ha_descender" value="16778419">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_hardsign" value="1759">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_i" value="1737">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_i_macron" value="16778467">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_ie" value="1733">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_io" value="1699">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_je" value="1704">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_ka" value="1739">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_ka_descender" value="16778395">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_ka_vertstroke" value="16778397">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_lje" value="1705">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_nje" value="1706">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_o" value="1743">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_o_bar" value="16778473">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_pe" value="1744">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_schwa" value="16778457">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_sha" value="1755">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_shcha" value="1757">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_shha" value="16778427">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_shorti" value="1738">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_softsign" value="1752">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_te" value="1748">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_tse" value="1731">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_u" value="1749">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_u_macron" value="16778479">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_u_straight" value="16778415">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_u_straight_bar" value="16778417">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_ve" value="1751">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_ya" value="1745">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_yeru" value="1753">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_yu" value="1728">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_ze" value="1754">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_zhe" value="1750">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Cyrillic_zhe_descender" value="16778391">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_D" value="68">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_DOS" value="269025114">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Dabovedot" value="16784906">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Dcaron" value="463">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Delete" value="65535">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Display" value="269025113">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Documents" value="269025115">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_DongSign" value="16785579">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Down" value="65364">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Dstroke" value="464">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_E" value="69">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ENG" value="957">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ETH" value="208">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Eabovedot" value="972">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Eacute" value="201">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ebelowdot" value="16785080">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ecaron" value="460">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ecircumflex" value="202">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ecircumflexacute" value="16785086">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ecircumflexbelowdot" value="16785094">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ecircumflexgrave" value="16785088">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ecircumflexhook" value="16785090">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ecircumflextilde" value="16785092">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_EcuSign" value="16785568">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ediaeresis" value="203">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Egrave" value="200">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ehook" value="16785082">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Eisu_Shift" value="65327">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Eisu_toggle" value="65328">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Eject" value="269025068">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Emacron" value="938">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_End" value="65367">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Eogonek" value="458">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Escape" value="65307">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Eth" value="208">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Etilde" value="16785084">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_EuroSign" value="8364">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Excel" value="269025116">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Execute" value="65378">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Explorer" value="269025117">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F" value="70">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F1" value="65470">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F10" value="65479">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F11" value="65480">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F12" value="65481">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F13" value="65482">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F14" value="65483">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F15" value="65484">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F16" value="65485">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F17" value="65486">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F18" value="65487">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F19" value="65488">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F2" value="65471">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F20" value="65489">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F21" value="65490">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F22" value="65491">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F23" value="65492">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F24" value="65493">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F25" value="65494">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F26" value="65495">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F27" value="65496">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F28" value="65497">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F29" value="65498">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F3" value="65472">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F30" value="65499">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F31" value="65500">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F32" value="65501">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F33" value="65502">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F34" value="65503">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F35" value="65504">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F4" value="65473">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F5" value="65474">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F6" value="65475">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F7" value="65476">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F8" value="65477">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_F9" value="65478">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_FFrancSign" value="16785571">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Fabovedot" value="16784926">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Farsi_0" value="16778992">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Farsi_1" value="16778993">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Farsi_2" value="16778994">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Farsi_3" value="16778995">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Farsi_4" value="16778996">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Farsi_5" value="16778997">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Farsi_6" value="16778998">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Farsi_7" value="16778999">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Farsi_8" value="16779000">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Farsi_9" value="16779001">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Farsi_yeh" value="16778956">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Favorites" value="269025072">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Finance" value="269025084">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Find" value="65384">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_First_Virtual_Screen" value="65232">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Forward" value="269025063">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_FrameBack" value="269025181">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_FrameForward" value="269025182">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_G" value="71">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Gabovedot" value="725">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Game" value="269025118">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Gbreve" value="683">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Gcaron" value="16777702">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Gcedilla" value="939">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Gcircumflex" value="728">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_an" value="16781520">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_ban" value="16781521">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_can" value="16781546">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_char" value="16781549">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_chin" value="16781545">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_cil" value="16781548">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_don" value="16781523">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_en" value="16781524">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_fi" value="16781558">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_gan" value="16781522">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_ghan" value="16781542">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_hae" value="16781552">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_har" value="16781556">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_he" value="16781553">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_hie" value="16781554">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_hoe" value="16781557">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_in" value="16781528">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_jhan" value="16781551">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_jil" value="16781547">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_kan" value="16781529">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_khar" value="16781541">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_las" value="16781530">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_man" value="16781531">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_nar" value="16781532">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_on" value="16781533">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_par" value="16781534">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_phar" value="16781540">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_qar" value="16781543">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_rae" value="16781536">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_san" value="16781537">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_shin" value="16781544">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_tan" value="16781527">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_tar" value="16781538">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_un" value="16781539">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_vin" value="16781525">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_we" value="16781555">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_xan" value="16781550">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_zen" value="16781526">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Georgian_zhar" value="16781535">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Go" value="269025119">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_ALPHA" value="1985">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_ALPHAaccent" value="1953">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_BETA" value="1986">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_CHI" value="2007">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_DELTA" value="1988">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_EPSILON" value="1989">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_EPSILONaccent" value="1954">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_ETA" value="1991">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_ETAaccent" value="1955">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_GAMMA" value="1987">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_IOTA" value="1993">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_IOTAaccent" value="1956">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_IOTAdiaeresis" value="1957">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_IOTAdieresis" value="1957">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_KAPPA" value="1994">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_LAMBDA" value="1995">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_LAMDA" value="1995">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_MU" value="1996">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_NU" value="1997">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_OMEGA" value="2009">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_OMEGAaccent" value="1963">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_OMICRON" value="1999">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_OMICRONaccent" value="1959">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_PHI" value="2006">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_PI" value="2000">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_PSI" value="2008">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_RHO" value="2001">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_SIGMA" value="2002">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_TAU" value="2004">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_THETA" value="1992">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_UPSILON" value="2005">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_UPSILONaccent" value="1960">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_UPSILONdieresis" value="1961">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_XI" value="1998">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_ZETA" value="1990">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_accentdieresis" value="1966">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_alpha" value="2017">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_alphaaccent" value="1969">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_beta" value="2018">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_chi" value="2039">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_delta" value="2020">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_epsilon" value="2021">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_epsilonaccent" value="1970">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_eta" value="2023">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_etaaccent" value="1971">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_finalsmallsigma" value="2035">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_gamma" value="2019">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_horizbar" value="1967">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_iota" value="2025">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_iotaaccent" value="1972">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_iotaaccentdieresis" value="1974">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_iotadieresis" value="1973">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_kappa" value="2026">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_lambda" value="2027">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_lamda" value="2027">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_mu" value="2028">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_nu" value="2029">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_omega" value="2041">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_omegaaccent" value="1979">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_omicron" value="2031">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_omicronaccent" value="1975">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_phi" value="2038">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_pi" value="2032">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_psi" value="2040">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_rho" value="2033">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_sigma" value="2034">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_switch" value="65406">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_tau" value="2036">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_theta" value="2024">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_upsilon" value="2037">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_upsilonaccent" value="1976">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_upsilonaccentdieresis" value="1978">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_upsilondieresis" value="1977">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_xi" value="2030">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Greek_zeta" value="2022">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Green" value="269025188">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_H" value="72">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul" value="65329">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_A" value="3775">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_AE" value="3776">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_AraeA" value="3830">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_AraeAE" value="3831">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_Banja" value="65337">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_Cieuc" value="3770">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_Codeinput" value="65335">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_Dikeud" value="3751">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_E" value="3780">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_EO" value="3779">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_EU" value="3793">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_End" value="65331">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_Hanja" value="65332">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_Hieuh" value="3774">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_I" value="3795">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_Ieung" value="3767">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_J_Cieuc" value="3818">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_J_Dikeud" value="3802">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_J_Hieuh" value="3822">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_J_Ieung" value="3816">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_J_Jieuj" value="3817">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_J_Khieuq" value="3819">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_J_Kiyeog" value="3796">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_J_KiyeogSios" value="3798">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_J_KkogjiDalrinIeung" value="3833">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_J_Mieum" value="3811">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_J_Nieun" value="3799">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_J_NieunHieuh" value="3801">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_J_NieunJieuj" value="3800">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_J_PanSios" value="3832">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_J_Phieuf" value="3821">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_J_Pieub" value="3812">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_J_PieubSios" value="3813">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_J_Rieul" value="3803">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_J_RieulHieuh" value="3810">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_J_RieulKiyeog" value="3804">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_J_RieulMieum" value="3805">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_J_RieulPhieuf" value="3809">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_J_RieulPieub" value="3806">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_J_RieulSios" value="3807">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_J_RieulTieut" value="3808">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_J_Sios" value="3814">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_J_SsangKiyeog" value="3797">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_J_SsangSios" value="3815">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_J_Tieut" value="3820">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_J_YeorinHieuh" value="3834">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_Jamo" value="65333">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_Jeonja" value="65336">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_Jieuj" value="3768">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_Khieuq" value="3771">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_Kiyeog" value="3745">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_KiyeogSios" value="3747">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_KkogjiDalrinIeung" value="3827">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_Mieum" value="3761">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_MultipleCandidate" value="65341">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_Nieun" value="3748">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_NieunHieuh" value="3750">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_NieunJieuj" value="3749">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_O" value="3783">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_OE" value="3786">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_PanSios" value="3826">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_Phieuf" value="3773">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_Pieub" value="3762">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_PieubSios" value="3764">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_PostHanja" value="65339">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_PreHanja" value="65338">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_PreviousCandidate" value="65342">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_Rieul" value="3753">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_RieulHieuh" value="3760">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_RieulKiyeog" value="3754">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_RieulMieum" value="3755">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_RieulPhieuf" value="3759">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_RieulPieub" value="3756">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_RieulSios" value="3757">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_RieulTieut" value="3758">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_RieulYeorinHieuh" value="3823">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_Romaja" value="65334">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_SingleCandidate" value="65340">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_Sios" value="3765">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_Special" value="65343">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_SsangDikeud" value="3752">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_SsangJieuj" value="3769">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_SsangKiyeog" value="3746">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_SsangPieub" value="3763">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_SsangSios" value="3766">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_Start" value="65330">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_SunkyeongeumMieum" value="3824">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_SunkyeongeumPhieuf" value="3828">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_SunkyeongeumPieub" value="3825">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_Tieut" value="3772">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_U" value="3788">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_WA" value="3784">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_WAE" value="3785">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_WE" value="3790">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_WEO" value="3789">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_WI" value="3791">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_YA" value="3777">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_YAE" value="3778">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_YE" value="3782">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_YEO" value="3781">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_YI" value="3794">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_YO" value="3787">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_YU" value="3792">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_YeorinHieuh" value="3829">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hangul_switch" value="65406">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hankaku" value="65321">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hcircumflex" value="678">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hebrew_switch" value="65406">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Help" value="65386">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Henkan" value="65315">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Henkan_Mode" value="65315">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hibernate" value="269025192">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hiragana" value="65317">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hiragana_Katakana" value="65319">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_History" value="269025079">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Home" value="65360">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_HomePage" value="269025048">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_HotLinks" value="269025082">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hstroke" value="673">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hyper_L" value="65517">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Hyper_R" value="65518">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_I" value="73">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Center_Object" value="65075">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Continuous_Underline" value="65072">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Discontinuous_Underline" value="65073">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Emphasize" value="65074">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Enter" value="65076">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Fast_Cursor_Down" value="65071">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Fast_Cursor_Left" value="65068">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Fast_Cursor_Right" value="65069">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Fast_Cursor_Up" value="65070">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_First_Group" value="65036">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_First_Group_Lock" value="65037">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Group_Latch" value="65030">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Group_Lock" value="65031">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Group_Shift" value="65406">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Last_Group" value="65038">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Last_Group_Lock" value="65039">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Left_Tab" value="65056">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Level2_Latch" value="65026">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Level3_Latch" value="65028">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Level3_Lock" value="65029">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Level3_Shift" value="65027">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Level5_Latch" value="65042">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Level5_Lock" value="65043">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Level5_Shift" value="65041">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Lock" value="65025">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Move_Line_Down" value="65058">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Move_Line_Up" value="65057">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Next_Group" value="65032">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Next_Group_Lock" value="65033">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Partial_Line_Down" value="65060">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Partial_Line_Up" value="65059">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Partial_Space_Left" value="65061">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Partial_Space_Right" value="65062">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Prev_Group" value="65034">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Prev_Group_Lock" value="65035">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Release_Both_Margins" value="65067">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Release_Margin_Left" value="65065">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Release_Margin_Right" value="65066">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Set_Margin_Left" value="65063">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ISO_Set_Margin_Right" value="65064">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Iabovedot" value="681">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Iacute" value="205">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ibelowdot" value="16785098">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ibreve" value="16777516">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Icircumflex" value="206">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Idiaeresis" value="207">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Igrave" value="204">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ihook" value="16785096">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Imacron" value="975">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Insert" value="65379">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Iogonek" value="967">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Itilde" value="933">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_J" value="74">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Jcircumflex" value="684">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_K" value="75">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_0" value="65456">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_1" value="65457">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_2" value="65458">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_3" value="65459">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_4" value="65460">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_5" value="65461">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_6" value="65462">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_7" value="65463">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_8" value="65464">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_9" value="65465">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_Add" value="65451">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_Begin" value="65437">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_Decimal" value="65454">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_Delete" value="65439">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_Divide" value="65455">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_Down" value="65433">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_End" value="65436">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_Enter" value="65421">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_Equal" value="65469">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_F1" value="65425">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_F2" value="65426">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_F3" value="65427">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_F4" value="65428">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_Home" value="65429">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_Insert" value="65438">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_Left" value="65430">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_Multiply" value="65450">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_Next" value="65435">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_Page_Down" value="65435">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_Page_Up" value="65434">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_Prior" value="65434">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_Right" value="65432">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_Separator" value="65452">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_Space" value="65408">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_Subtract" value="65453">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_Tab" value="65417">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KP_Up" value="65431">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Kana_Lock" value="65325">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Kana_Shift" value="65326">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Kanji" value="65313">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Kanji_Bangou" value="65335">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Katakana" value="65318">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KbdBrightnessDown" value="269025030">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KbdBrightnessUp" value="269025029">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_KbdLightOnOff" value="269025028">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Kcedilla" value="979">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Korean_Won" value="3839">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_L" value="76">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_L1" value="65480">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_L10" value="65489">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_L2" value="65481">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_L3" value="65482">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_L4" value="65483">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_L5" value="65484">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_L6" value="65485">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_L7" value="65486">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_L8" value="65487">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_L9" value="65488">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Lacute" value="453">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Last_Virtual_Screen" value="65236">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Launch0" value="269025088">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Launch1" value="269025089">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Launch2" value="269025090">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Launch3" value="269025091">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Launch4" value="269025092">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Launch5" value="269025093">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Launch6" value="269025094">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Launch7" value="269025095">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Launch8" value="269025096">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Launch9" value="269025097">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_LaunchA" value="269025098">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_LaunchB" value="269025099">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_LaunchC" value="269025100">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_LaunchD" value="269025101">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_LaunchE" value="269025102">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_LaunchF" value="269025103">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Lbelowdot" value="16784950">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Lcaron" value="421">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Lcedilla" value="934">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Left" value="65361">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_LightBulb" value="269025077">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Linefeed" value="65290">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_LiraSign" value="16785572">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_LogOff" value="269025121">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Lstroke" value="419">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_M" value="77">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Mabovedot" value="16784960">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Macedonia_DSE" value="1717">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Macedonia_GJE" value="1714">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Macedonia_KJE" value="1724">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Macedonia_dse" value="1701">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Macedonia_gje" value="1698">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Macedonia_kje" value="1708">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Mae_Koho" value="65342">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Mail" value="269025049">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_MailForward" value="269025168">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Market" value="269025122">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Massyo" value="65324">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Meeting" value="269025123">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Memo" value="269025054">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Menu" value="65383">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_MenuKB" value="269025125">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_MenuPB" value="269025126">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Messenger" value="269025166">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Meta_L" value="65511">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Meta_R" value="65512">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_MillSign" value="16785573">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ModeLock" value="269025025">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Mode_switch" value="65406">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_MonBrightnessDown" value="269025027">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_MonBrightnessUp" value="269025026">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_MouseKeys_Accel_Enable" value="65143">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_MouseKeys_Enable" value="65142">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Muhenkan" value="65314">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Multi_key" value="65312">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_MultipleCandidate" value="65341">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Music" value="269025170">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_MyComputer" value="269025075">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_MySites" value="269025127">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_N" value="78">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Nacute" value="465">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_NairaSign" value="16785574">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ncaron" value="466">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ncedilla" value="977">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_New" value="269025128">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_NewSheqelSign" value="16785578">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_News" value="269025129">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Next" value="65366">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Next_VMode" value="269024802">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Next_Virtual_Screen" value="65234">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ntilde" value="209">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Num_Lock" value="65407">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_O" value="79">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_OE" value="5052">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Oacute" value="211">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Obarred" value="16777631">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Obelowdot" value="16785100">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ocaron" value="16777681">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ocircumflex" value="212">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ocircumflexacute" value="16785104">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ocircumflexbelowdot" value="16785112">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ocircumflexgrave" value="16785106">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ocircumflexhook" value="16785108">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ocircumflextilde" value="16785110">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Odiaeresis" value="214">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Odoubleacute" value="469">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_OfficeHome" value="269025130">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ograve" value="210">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ohook" value="16785102">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ohorn" value="16777632">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ohornacute" value="16785114">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ohornbelowdot" value="16785122">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ohorngrave" value="16785116">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ohornhook" value="16785118">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ohorntilde" value="16785120">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Omacron" value="978">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ooblique" value="216">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Open" value="269025131">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_OpenURL" value="269025080">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Option" value="269025132">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Oslash" value="216">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Otilde" value="213">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Overlay1_Enable" value="65144">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Overlay2_Enable" value="65145">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_P" value="80">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pabovedot" value="16784982">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Page_Down" value="65366">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Page_Up" value="65365">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Paste" value="269025133">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pause" value="65299">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_PesetaSign" value="16785575">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Phone" value="269025134">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pictures" value="269025169">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pointer_Accelerate" value="65274">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pointer_Button1" value="65257">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pointer_Button2" value="65258">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pointer_Button3" value="65259">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pointer_Button4" value="65260">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pointer_Button5" value="65261">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pointer_Button_Dflt" value="65256">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pointer_DblClick1" value="65263">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pointer_DblClick2" value="65264">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pointer_DblClick3" value="65265">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pointer_DblClick4" value="65266">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pointer_DblClick5" value="65267">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pointer_DblClick_Dflt" value="65262">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pointer_DfltBtnNext" value="65275">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pointer_DfltBtnPrev" value="65276">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pointer_Down" value="65251">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pointer_DownLeft" value="65254">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pointer_DownRight" value="65255">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pointer_Drag1" value="65269">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pointer_Drag2" value="65270">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pointer_Drag3" value="65271">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pointer_Drag4" value="65272">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pointer_Drag5" value="65277">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pointer_Drag_Dflt" value="65268">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pointer_EnableKeys" value="65273">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pointer_Left" value="65248">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pointer_Right" value="65249">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pointer_Up" value="65250">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pointer_UpLeft" value="65252">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Pointer_UpRight" value="65253">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_PowerDown" value="269025057">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_PowerOff" value="269025066">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Prev_VMode" value="269024803">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Prev_Virtual_Screen" value="65233">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_PreviousCandidate" value="65342">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Print" value="65377">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Prior" value="65365">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Q" value="81">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_R" value="82">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_R1" value="65490">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_R10" value="65499">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_R11" value="65500">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_R12" value="65501">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_R13" value="65502">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_R14" value="65503">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_R15" value="65504">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_R2" value="65491">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_R3" value="65492">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_R4" value="65493">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_R5" value="65494">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_R6" value="65495">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_R7" value="65496">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_R8" value="65497">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_R9" value="65498">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Racute" value="448">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Rcaron" value="472">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Rcedilla" value="931">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Red" value="269025187">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Redo" value="65382">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Refresh" value="269025065">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Reload" value="269025139">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_RepeatKeys_Enable" value="65138">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Reply" value="269025138">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Return" value="65293">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Right" value="65363">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_RockerDown" value="269025060">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_RockerEnter" value="269025061">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_RockerUp" value="269025059">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Romaji" value="65316">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_RotateWindows" value="269025140">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_RotationKB" value="269025142">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_RotationPB" value="269025141">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_RupeeSign" value="16785576">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_S" value="83">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_SCHWA" value="16777615">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Sabovedot" value="16784992">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Sacute" value="422">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Save" value="269025143">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Scaron" value="425">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Scedilla" value="426">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Scircumflex" value="734">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ScreenSaver" value="269025069">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ScrollClick" value="269025146">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ScrollDown" value="269025145">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ScrollUp" value="269025144">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Scroll_Lock" value="65300">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Search" value="269025051">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Select" value="65376">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_SelectButton" value="269025184">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Send" value="269025147">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Serbian_DJE" value="1713">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Serbian_DZE" value="1727">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Serbian_JE" value="1720">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Serbian_LJE" value="1721">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Serbian_NJE" value="1722">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Serbian_TSHE" value="1723">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Serbian_dje" value="1697">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Serbian_dze" value="1711">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Serbian_je" value="1704">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Serbian_lje" value="1705">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Serbian_nje" value="1706">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Serbian_tshe" value="1707">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Shift_L" value="65505">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Shift_Lock" value="65510">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Shift_R" value="65506">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Shop" value="269025078">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_SingleCandidate" value="65340">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Sleep" value="269025071">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_SlowKeys_Enable" value="65139">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Spell" value="269025148">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_SplitScreen" value="269025149">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Standby" value="269025040">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Start" value="269025050">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_StickyKeys_Enable" value="65141">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Stop" value="269025064">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Subtitle" value="269025178">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Super_L" value="65515">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Super_R" value="65516">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Support" value="269025150">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Suspend" value="269025191">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Switch_VT_1" value="269024769">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Switch_VT_10" value="269024778">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Switch_VT_11" value="269024779">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Switch_VT_12" value="269024780">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Switch_VT_2" value="269024770">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Switch_VT_3" value="269024771">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Switch_VT_4" value="269024772">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Switch_VT_5" value="269024773">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Switch_VT_6" value="269024774">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Switch_VT_7" value="269024775">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Switch_VT_8" value="269024776">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Switch_VT_9" value="269024777">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Sys_Req" value="65301">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_T" value="84">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_THORN" value="222">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Tab" value="65289">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Tabovedot" value="16785002">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_TaskPane" value="269025151">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Tcaron" value="427">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Tcedilla" value="478">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Terminal" value="269025152">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Terminate_Server" value="65237">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_baht" value="3551">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_bobaimai" value="3514">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_chochan" value="3496">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_chochang" value="3498">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_choching" value="3497">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_chochoe" value="3500">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_dochada" value="3502">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_dodek" value="3508">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_fofa" value="3517">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_fofan" value="3519">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_hohip" value="3531">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_honokhuk" value="3534">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_khokhai" value="3490">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_khokhon" value="3493">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_khokhuat" value="3491">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_khokhwai" value="3492">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_khorakhang" value="3494">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_kokai" value="3489">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_lakkhangyao" value="3557">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_lekchet" value="3575">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_lekha" value="3573">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_lekhok" value="3574">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_lekkao" value="3577">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_leknung" value="3569">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_lekpaet" value="3576">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_leksam" value="3571">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_leksi" value="3572">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_leksong" value="3570">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_leksun" value="3568">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_lochula" value="3532">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_loling" value="3525">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_lu" value="3526">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_maichattawa" value="3563">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_maiek" value="3560">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_maihanakat" value="3537">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_maihanakat_maitho" value="3550">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_maitaikhu" value="3559">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_maitho" value="3561">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_maitri" value="3562">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_maiyamok" value="3558">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_moma" value="3521">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_ngongu" value="3495">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_nikhahit" value="3565">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_nonen" value="3507">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_nonu" value="3513">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_oang" value="3533">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_paiyannoi" value="3535">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_phinthu" value="3546">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_phophan" value="3518">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_phophung" value="3516">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_phosamphao" value="3520">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_popla" value="3515">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_rorua" value="3523">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_ru" value="3524">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_saraa" value="3536">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_saraaa" value="3538">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_saraae" value="3553">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_saraaimaimalai" value="3556">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_saraaimaimuan" value="3555">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_saraam" value="3539">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_sarae" value="3552">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_sarai" value="3540">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_saraii" value="3541">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_sarao" value="3554">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_sarau" value="3544">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_saraue" value="3542">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_sarauee" value="3543">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_sarauu" value="3545">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_sorusi" value="3529">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_sosala" value="3528">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_soso" value="3499">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_sosua" value="3530">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_thanthakhat" value="3564">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_thonangmontho" value="3505">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_thophuthao" value="3506">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_thothahan" value="3511">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_thothan" value="3504">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_thothong" value="3512">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_thothung" value="3510">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_topatak" value="3503">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_totao" value="3509">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_wowaen" value="3527">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_yoyak" value="3522">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thai_yoying" value="3501">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Thorn" value="222">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Time" value="269025183">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ToDoList" value="269025055">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Tools" value="269025153">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_TopMenu" value="269025186">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_TouchpadToggle" value="269025193">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Touroku" value="65323">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Travel" value="269025154">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Tslash" value="940">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_U" value="85">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_UWB" value="269025174">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Uacute" value="218">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ubelowdot" value="16785124">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ubreve" value="733">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ucircumflex" value="219">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Udiaeresis" value="220">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Udoubleacute" value="475">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ugrave" value="217">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Uhook" value="16785126">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Uhorn" value="16777647">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Uhornacute" value="16785128">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Uhornbelowdot" value="16785136">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Uhorngrave" value="16785130">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Uhornhook" value="16785132">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Uhorntilde" value="16785134">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ukrainian_GHE_WITH_UPTURN" value="1725">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ukrainian_I" value="1718">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ukrainian_IE" value="1716">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ukrainian_YI" value="1719">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ukrainian_ghe_with_upturn" value="1709">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ukrainian_i" value="1702">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ukrainian_ie" value="1700">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ukrainian_yi" value="1703">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ukranian_I" value="1718">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ukranian_JE" value="1716">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ukranian_YI" value="1719">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ukranian_i" value="1702">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ukranian_je" value="1700">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ukranian_yi" value="1703">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Umacron" value="990">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Undo" value="65381">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ungrab" value="269024800">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Uogonek" value="985">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Up" value="65362">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Uring" value="473">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_User1KB" value="269025157">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_User2KB" value="269025158">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_UserPB" value="269025156">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Utilde" value="989">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_V" value="86">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_VendorHome" value="269025076">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Video" value="269025159">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_View" value="269025185">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_VoidSymbol" value="16777215">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_W" value="87">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_WLAN" value="269025173">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_WWW" value="269025070">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Wacute" value="16785026">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_WakeUp" value="269025067">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Wcircumflex" value="16777588">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Wdiaeresis" value="16785028">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_WebCam" value="269025167">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Wgrave" value="16785024">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_WheelButton" value="269025160">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_WindowClear" value="269025109">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_WonSign" value="16785577">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Word" value="269025161">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_X" value="88">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Xabovedot" value="16785034">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Xfer" value="269025162">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Y" value="89">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Yacute" value="221">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ybelowdot" value="16785140">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ycircumflex" value="16777590">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ydiaeresis" value="5054">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Yellow" value="269025189">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ygrave" value="16785138">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Yhook" value="16785142">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Ytilde" value="16785144">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Z" value="90">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Zabovedot" value="431">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Zacute" value="428">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Zcaron" value="430">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Zen_Koho" value="65341">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Zenkaku" value="65320">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Zenkaku_Hankaku" value="65322">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ZoomIn" value="269025163">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ZoomOut" value="269025164">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_Zstroke" value="16777653">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_a" value="97">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_aacute" value="225">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_abelowdot" value="16785057">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_abovedot" value="511">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_abreve" value="483">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_abreveacute" value="16785071">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_abrevebelowdot" value="16785079">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_abrevegrave" value="16785073">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_abrevehook" value="16785075">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_abrevetilde" value="16785077">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_acircumflex" value="226">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_acircumflexacute" value="16785061">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_acircumflexbelowdot" value="16785069">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_acircumflexgrave" value="16785063">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_acircumflexhook" value="16785065">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_acircumflextilde" value="16785067">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_acute" value="180">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_adiaeresis" value="228">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ae" value="230">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_agrave" value="224">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ahook" value="16785059">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_amacron" value="992">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ampersand" value="38">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_aogonek" value="433">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_apostrophe" value="39">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_approxeq" value="16785992">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_approximate" value="2248">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_aring" value="229">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_asciicircum" value="94">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_asciitilde" value="126">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_asterisk" value="42">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_at" value="64">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_atilde" value="227">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_b" value="98">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_babovedot" value="16784899">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_backslash" value="92">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ballotcross" value="2804">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_bar" value="124">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_because" value="16785973">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_blank" value="2527">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_botintegral" value="2213">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_botleftparens" value="2220">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_botleftsqbracket" value="2216">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_botleftsummation" value="2226">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_botrightparens" value="2222">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_botrightsqbracket" value="2218">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_botrightsummation" value="2230">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_bott" value="2550">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_botvertsummationconnector" value="2228">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braceleft" value="123">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braceright" value="125">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_bracketleft" value="91">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_bracketright" value="93">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_blank" value="16787456">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dot_1" value="65521">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dot_10" value="65530">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dot_2" value="65522">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dot_3" value="65523">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dot_4" value="65524">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dot_5" value="65525">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dot_6" value="65526">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dot_7" value="65527">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dot_8" value="65528">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dot_9" value="65529">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1" value="16787457">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_12" value="16787459">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_123" value="16787463">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1234" value="16787471">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_12345" value="16787487">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_123456" value="16787519">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1234567" value="16787583">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_12345678" value="16787711">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1234568" value="16787647">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_123457" value="16787551">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1234578" value="16787679">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_123458" value="16787615">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_12346" value="16787503">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_123467" value="16787567">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1234678" value="16787695">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_123468" value="16787631">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_12347" value="16787535">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_123478" value="16787663">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_12348" value="16787599">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1235" value="16787479">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_12356" value="16787511">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_123567" value="16787575">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1235678" value="16787703">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_123568" value="16787639">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_12357" value="16787543">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_123578" value="16787671">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_12358" value="16787607">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1236" value="16787495">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_12367" value="16787559">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_123678" value="16787687">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_12368" value="16787623">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1237" value="16787527">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_12378" value="16787655">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1238" value="16787591">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_124" value="16787467">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1245" value="16787483">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_12456" value="16787515">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_124567" value="16787579">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1245678" value="16787707">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_124568" value="16787643">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_12457" value="16787547">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_124578" value="16787675">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_12458" value="16787611">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1246" value="16787499">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_12467" value="16787563">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_124678" value="16787691">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_12468" value="16787627">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1247" value="16787531">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_12478" value="16787659">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1248" value="16787595">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_125" value="16787475">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1256" value="16787507">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_12567" value="16787571">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_125678" value="16787699">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_12568" value="16787635">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1257" value="16787539">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_12578" value="16787667">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1258" value="16787603">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_126" value="16787491">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1267" value="16787555">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_12678" value="16787683">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1268" value="16787619">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_127" value="16787523">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1278" value="16787651">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_128" value="16787587">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_13" value="16787461">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_134" value="16787469">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1345" value="16787485">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_13456" value="16787517">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_134567" value="16787581">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1345678" value="16787709">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_134568" value="16787645">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_13457" value="16787549">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_134578" value="16787677">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_13458" value="16787613">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1346" value="16787501">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_13467" value="16787565">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_134678" value="16787693">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_13468" value="16787629">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1347" value="16787533">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_13478" value="16787661">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1348" value="16787597">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_135" value="16787477">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1356" value="16787509">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_13567" value="16787573">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_135678" value="16787701">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_13568" value="16787637">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1357" value="16787541">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_13578" value="16787669">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1358" value="16787605">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_136" value="16787493">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1367" value="16787557">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_13678" value="16787685">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1368" value="16787621">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_137" value="16787525">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1378" value="16787653">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_138" value="16787589">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_14" value="16787465">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_145" value="16787481">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1456" value="16787513">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_14567" value="16787577">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_145678" value="16787705">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_14568" value="16787641">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1457" value="16787545">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_14578" value="16787673">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1458" value="16787609">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_146" value="16787497">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1467" value="16787561">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_14678" value="16787689">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1468" value="16787625">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_147" value="16787529">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1478" value="16787657">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_148" value="16787593">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_15" value="16787473">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_156" value="16787505">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1567" value="16787569">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_15678" value="16787697">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1568" value="16787633">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_157" value="16787537">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1578" value="16787665">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_158" value="16787601">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_16" value="16787489">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_167" value="16787553">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_1678" value="16787681">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_168" value="16787617">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_17" value="16787521">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_178" value="16787649">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_18" value="16787585">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_2" value="16787458">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_23" value="16787462">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_234" value="16787470">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_2345" value="16787486">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_23456" value="16787518">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_234567" value="16787582">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_2345678" value="16787710">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_234568" value="16787646">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_23457" value="16787550">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_234578" value="16787678">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_23458" value="16787614">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_2346" value="16787502">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_23467" value="16787566">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_234678" value="16787694">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_23468" value="16787630">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_2347" value="16787534">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_23478" value="16787662">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_2348" value="16787598">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_235" value="16787478">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_2356" value="16787510">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_23567" value="16787574">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_235678" value="16787702">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_23568" value="16787638">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_2357" value="16787542">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_23578" value="16787670">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_2358" value="16787606">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_236" value="16787494">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_2367" value="16787558">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_23678" value="16787686">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_2368" value="16787622">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_237" value="16787526">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_2378" value="16787654">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_238" value="16787590">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_24" value="16787466">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_245" value="16787482">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_2456" value="16787514">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_24567" value="16787578">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_245678" value="16787706">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_24568" value="16787642">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_2457" value="16787546">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_24578" value="16787674">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_2458" value="16787610">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_246" value="16787498">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_2467" value="16787562">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_24678" value="16787690">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_2468" value="16787626">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_247" value="16787530">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_2478" value="16787658">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_248" value="16787594">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_25" value="16787474">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_256" value="16787506">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_2567" value="16787570">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_25678" value="16787698">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_2568" value="16787634">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_257" value="16787538">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_2578" value="16787666">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_258" value="16787602">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_26" value="16787490">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_267" value="16787554">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_2678" value="16787682">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_268" value="16787618">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_27" value="16787522">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_278" value="16787650">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_28" value="16787586">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_3" value="16787460">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_34" value="16787468">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_345" value="16787484">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_3456" value="16787516">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_34567" value="16787580">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_345678" value="16787708">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_34568" value="16787644">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_3457" value="16787548">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_34578" value="16787676">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_3458" value="16787612">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_346" value="16787500">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_3467" value="16787564">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_34678" value="16787692">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_3468" value="16787628">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_347" value="16787532">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_3478" value="16787660">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_348" value="16787596">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_35" value="16787476">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_356" value="16787508">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_3567" value="16787572">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_35678" value="16787700">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_3568" value="16787636">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_357" value="16787540">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_3578" value="16787668">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_358" value="16787604">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_36" value="16787492">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_367" value="16787556">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_3678" value="16787684">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_368" value="16787620">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_37" value="16787524">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_378" value="16787652">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_38" value="16787588">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_4" value="16787464">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_45" value="16787480">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_456" value="16787512">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_4567" value="16787576">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_45678" value="16787704">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_4568" value="16787640">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_457" value="16787544">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_4578" value="16787672">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_458" value="16787608">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_46" value="16787496">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_467" value="16787560">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_4678" value="16787688">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_468" value="16787624">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_47" value="16787528">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_478" value="16787656">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_48" value="16787592">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_5" value="16787472">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_56" value="16787504">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_567" value="16787568">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_5678" value="16787696">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_568" value="16787632">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_57" value="16787536">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_578" value="16787664">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_58" value="16787600">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_6" value="16787488">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_67" value="16787552">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_678" value="16787680">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_68" value="16787616">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_7" value="16787520">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_78" value="16787648">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_braille_dots_8" value="16787584">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_breve" value="418">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_brokenbar" value="166">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_c" value="99">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_cabovedot" value="741">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_cacute" value="486">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_careof" value="2744">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_caret" value="2812">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_caron" value="439">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ccaron" value="488">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ccedilla" value="231">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ccircumflex" value="742">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_cedilla" value="184">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_cent" value="162">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_checkerboard" value="2529">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_checkmark" value="2803">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_circle" value="3023">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_club" value="2796">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_colon" value="58">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_comma" value="44">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_containsas" value="16785931">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_copyright" value="169">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_cr" value="2532">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_crossinglines" value="2542">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_cuberoot" value="16785947">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_currency" value="164">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_cursor" value="2815">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_d" value="100">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dabovedot" value="16784907">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dagger" value="2801">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dcaron" value="495">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_A" value="65153">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_E" value="65155">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_I" value="65157">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_O" value="65159">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_U" value="65161">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_a" value="65152">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_abovecomma" value="65124">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_abovedot" value="65110">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_abovereversedcomma" value="65125">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_abovering" value="65112">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_acute" value="65105">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_belowbreve" value="65131">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_belowcircumflex" value="65129">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_belowcomma" value="65134">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_belowdiaeresis" value="65132">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_belowdot" value="65120">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_belowmacron" value="65128">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_belowring" value="65127">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_belowtilde" value="65130">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_breve" value="65109">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_capital_schwa" value="65163">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_caron" value="65114">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_cedilla" value="65115">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_circumflex" value="65106">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_currency" value="65135">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_dasia" value="65125">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_diaeresis" value="65111">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_doubleacute" value="65113">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_doublegrave" value="65126">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_e" value="65154">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_grave" value="65104">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_hook" value="65121">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_horn" value="65122">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_i" value="65156">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_invertedbreve" value="65133">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_iota" value="65117">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_macron" value="65108">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_o" value="65158">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_ogonek" value="65116">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_perispomeni" value="65107">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_psili" value="65124">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_semivoiced_sound" value="65119">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_small_schwa" value="65162">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_stroke" value="65123">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_tilde" value="65107">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_u" value="65160">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dead_voiced_sound" value="65118">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_decimalpoint" value="2749">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_degree" value="176">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_diaeresis" value="168">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_diamond" value="2797">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_digitspace" value="2725">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dintegral" value="16785964">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_division" value="247">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dollar" value="36">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_doubbaselinedot" value="2735">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_doubleacute" value="445">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_doubledagger" value="2802">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_doublelowquotemark" value="2814">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_downarrow" value="2302">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_downcaret" value="2984">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_downshoe" value="3030">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_downstile" value="3012">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_downtack" value="3010">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_dstroke" value="496">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_e" value="101">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_eabovedot" value="1004">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_eacute" value="233">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ebelowdot" value="16785081">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ecaron" value="492">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ecircumflex" value="234">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ecircumflexacute" value="16785087">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ecircumflexbelowdot" value="16785095">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ecircumflexgrave" value="16785089">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ecircumflexhook" value="16785091">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ecircumflextilde" value="16785093">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ediaeresis" value="235">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_egrave" value="232">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ehook" value="16785083">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_eightsubscript" value="16785544">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_eightsuperior" value="16785528">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_elementof" value="16785928">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ellipsis" value="2734">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_em3space" value="2723">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_em4space" value="2724">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_emacron" value="954">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_emdash" value="2729">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_emfilledcircle" value="2782">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_emfilledrect" value="2783">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_emopencircle" value="2766">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_emopenrectangle" value="2767">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_emptyset" value="16785925">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_emspace" value="2721">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_endash" value="2730">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_enfilledcircbullet" value="2790">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_enfilledsqbullet" value="2791">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_eng" value="959">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_enopencircbullet" value="2784">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_enopensquarebullet" value="2785">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_enspace" value="2722">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_eogonek" value="490">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_equal" value="61">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_eth" value="240">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_etilde" value="16785085">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_exclam" value="33">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_exclamdown" value="161">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_f" value="102">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_fabovedot" value="16784927">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_femalesymbol" value="2808">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ff" value="2531">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_figdash" value="2747">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_filledlefttribullet" value="2780">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_filledrectbullet" value="2779">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_filledrighttribullet" value="2781">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_filledtribulletdown" value="2793">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_filledtribulletup" value="2792">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_fiveeighths" value="2757">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_fivesixths" value="2743">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_fivesubscript" value="16785541">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_fivesuperior" value="16785525">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_fourfifths" value="2741">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_foursubscript" value="16785540">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_foursuperior" value="16785524">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_fourthroot" value="16785948">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_function" value="2294">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_g" value="103">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_gabovedot" value="757">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_gbreve" value="699">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_gcaron" value="16777703">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_gcedilla" value="955">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_gcircumflex" value="760">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_grave" value="96">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_greater" value="62">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_greaterthanequal" value="2238">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_guillemotleft" value="171">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_guillemotright" value="187">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_h" value="104">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hairspace" value="2728">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hcircumflex" value="694">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_heart" value="2798">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_aleph" value="3296">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_ayin" value="3314">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_bet" value="3297">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_beth" value="3297">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_chet" value="3303">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_dalet" value="3299">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_daleth" value="3299">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_doublelowline" value="3295">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_finalkaph" value="3306">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_finalmem" value="3309">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_finalnun" value="3311">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_finalpe" value="3315">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_finalzade" value="3317">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_finalzadi" value="3317">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_gimel" value="3298">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_gimmel" value="3298">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_he" value="3300">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_het" value="3303">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_kaph" value="3307">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_kuf" value="3319">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_lamed" value="3308">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_mem" value="3310">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_nun" value="3312">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_pe" value="3316">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_qoph" value="3319">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_resh" value="3320">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_samech" value="3313">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_samekh" value="3313">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_shin" value="3321">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_taf" value="3322">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_taw" value="3322">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_tet" value="3304">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_teth" value="3304">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_waw" value="3301">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_yod" value="3305">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_zade" value="3318">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_zadi" value="3318">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_zain" value="3302">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hebrew_zayin" value="3302">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hexagram" value="2778">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_horizconnector" value="2211">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_horizlinescan1" value="2543">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_horizlinescan3" value="2544">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_horizlinescan5" value="2545">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_horizlinescan7" value="2546">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_horizlinescan9" value="2547">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hstroke" value="689">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ht" value="2530">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_hyphen" value="173">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_i" value="105">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_iTouch" value="269025120">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_iacute" value="237">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ibelowdot" value="16785099">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ibreve" value="16777517">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_icircumflex" value="238">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_identical" value="2255">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_idiaeresis" value="239">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_idotless" value="697">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ifonlyif" value="2253">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_igrave" value="236">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ihook" value="16785097">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_imacron" value="1007">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_implies" value="2254">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_includedin" value="2266">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_includes" value="2267">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_infinity" value="2242">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_integral" value="2239">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_intersection" value="2268">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_iogonek" value="999">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_itilde" value="949">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Gabovedot" value="725">
- <type name="int"/>
+ <constant name="KEY_j" value="106">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Gbreve" value="683">
- <type name="int"/>
+ <constant name="KEY_jcircumflex" value="700">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Gcaron" value="16777702">
- <type name="int"/>
+ <constant name="KEY_jot" value="3018">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Gcedilla" value="939">
- <type name="int"/>
+ <constant name="KEY_k" value="107">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Gcircumflex" value="728">
- <type name="int"/>
+ <constant name="KEY_kana_A" value="1201">
+ <type name="gint" c:type="gint"/>
</constant>
- <record name="Geometry"
- c:type="ClutterGeometry"
- doc="The rectangle containing an actor's bounding box, measured in pixels."
- glib:type-name="ClutterGeometry"
- glib:get-type="clutter_geometry_get_type">
- <field name="x" writable="1">
- <type name="int" c:type="gint"/>
- </field>
- <field name="y" writable="1">
- <type name="int" c:type="gint"/>
- </field>
- <field name="width" writable="1">
- <type name="uint" c:type="guint"/>
- </field>
- <field name="height" writable="1">
- <type name="uint" c:type="guint"/>
- </field>
- </record>
- <constant name="Georgian_an" value="16781520">
- <type name="int"/>
+ <constant name="KEY_kana_CHI" value="1217">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_ban" value="16781521">
- <type name="int"/>
+ <constant name="KEY_kana_E" value="1204">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_can" value="16781546">
- <type name="int"/>
+ <constant name="KEY_kana_FU" value="1228">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_char" value="16781549">
- <type name="int"/>
+ <constant name="KEY_kana_HA" value="1226">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_chin" value="16781545">
- <type name="int"/>
+ <constant name="KEY_kana_HE" value="1229">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_cil" value="16781548">
- <type name="int"/>
+ <constant name="KEY_kana_HI" value="1227">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_don" value="16781523">
- <type name="int"/>
+ <constant name="KEY_kana_HO" value="1230">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_en" value="16781524">
- <type name="int"/>
+ <constant name="KEY_kana_HU" value="1228">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_fi" value="16781558">
- <type name="int"/>
+ <constant name="KEY_kana_I" value="1202">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_gan" value="16781522">
- <type name="int"/>
+ <constant name="KEY_kana_KA" value="1206">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_ghan" value="16781542">
- <type name="int"/>
+ <constant name="KEY_kana_KE" value="1209">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_hae" value="16781552">
- <type name="int"/>
+ <constant name="KEY_kana_KI" value="1207">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_har" value="16781556">
- <type name="int"/>
+ <constant name="KEY_kana_KO" value="1210">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_he" value="16781553">
- <type name="int"/>
+ <constant name="KEY_kana_KU" value="1208">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_hie" value="16781554">
- <type name="int"/>
+ <constant name="KEY_kana_MA" value="1231">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_hoe" value="16781557">
- <type name="int"/>
+ <constant name="KEY_kana_ME" value="1234">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_in" value="16781528">
- <type name="int"/>
+ <constant name="KEY_kana_MI" value="1232">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_jhan" value="16781551">
- <type name="int"/>
+ <constant name="KEY_kana_MO" value="1235">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_jil" value="16781547">
- <type name="int"/>
+ <constant name="KEY_kana_MU" value="1233">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_kan" value="16781529">
- <type name="int"/>
+ <constant name="KEY_kana_N" value="1245">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_khar" value="16781541">
- <type name="int"/>
+ <constant name="KEY_kana_NA" value="1221">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_las" value="16781530">
- <type name="int"/>
+ <constant name="KEY_kana_NE" value="1224">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_man" value="16781531">
- <type name="int"/>
+ <constant name="KEY_kana_NI" value="1222">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_nar" value="16781532">
- <type name="int"/>
+ <constant name="KEY_kana_NO" value="1225">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_on" value="16781533">
- <type name="int"/>
+ <constant name="KEY_kana_NU" value="1223">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_par" value="16781534">
- <type name="int"/>
+ <constant name="KEY_kana_O" value="1205">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_phar" value="16781540">
- <type name="int"/>
+ <constant name="KEY_kana_RA" value="1239">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_qar" value="16781543">
- <type name="int"/>
+ <constant name="KEY_kana_RE" value="1242">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_rae" value="16781536">
- <type name="int"/>
+ <constant name="KEY_kana_RI" value="1240">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_san" value="16781537">
- <type name="int"/>
+ <constant name="KEY_kana_RO" value="1243">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_shin" value="16781544">
- <type name="int"/>
+ <constant name="KEY_kana_RU" value="1241">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_tan" value="16781527">
- <type name="int"/>
+ <constant name="KEY_kana_SA" value="1211">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_tar" value="16781538">
- <type name="int"/>
+ <constant name="KEY_kana_SE" value="1214">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_un" value="16781539">
- <type name="int"/>
+ <constant name="KEY_kana_SHI" value="1212">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_vin" value="16781525">
- <type name="int"/>
+ <constant name="KEY_kana_SO" value="1215">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_we" value="16781555">
- <type name="int"/>
+ <constant name="KEY_kana_SU" value="1213">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_xan" value="16781550">
- <type name="int"/>
+ <constant name="KEY_kana_TA" value="1216">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_zen" value="16781526">
- <type name="int"/>
+ <constant name="KEY_kana_TE" value="1219">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Georgian_zhar" value="16781535">
- <type name="int"/>
+ <constant name="KEY_kana_TI" value="1217">
+ <type name="gint" c:type="gint"/>
</constant>
- <enumeration name="Gravity"
- doc="Gravity of the scaling operations. When a gravity different than
-%CLUTTER_GRAVITY_NONE is used, an actor is scaled keeping the position
-of the specified portion at the same coordinates."
- version="0.2"
- glib:type-name="ClutterGravity"
- glib:get-type="clutter_gravity_get_type"
- c:type="ClutterGravity">
- <member name="none"
- value="0"
- c:identifier="CLUTTER_GRAVITY_NONE"
- glib:nick="none"/>
- <member name="north"
- value="1"
- c:identifier="CLUTTER_GRAVITY_NORTH"
- glib:nick="north"/>
- <member name="north_east"
- value="2"
- c:identifier="CLUTTER_GRAVITY_NORTH_EAST"
- glib:nick="north-east"/>
- <member name="east"
- value="3"
- c:identifier="CLUTTER_GRAVITY_EAST"
- glib:nick="east"/>
- <member name="south_east"
- value="4"
- c:identifier="CLUTTER_GRAVITY_SOUTH_EAST"
- glib:nick="south-east"/>
- <member name="south"
- value="5"
- c:identifier="CLUTTER_GRAVITY_SOUTH"
- glib:nick="south"/>
- <member name="south_west"
- value="6"
- c:identifier="CLUTTER_GRAVITY_SOUTH_WEST"
- glib:nick="south-west"/>
- <member name="west"
- value="7"
- c:identifier="CLUTTER_GRAVITY_WEST"
- glib:nick="west"/>
- <member name="north_west"
- value="8"
- c:identifier="CLUTTER_GRAVITY_NORTH_WEST"
- glib:nick="north-west"/>
- <member name="center"
- value="9"
- c:identifier="CLUTTER_GRAVITY_CENTER"
- glib:nick="center"/>
- </enumeration>
- <constant name="Greek_ALPHA" value="1985">
- <type name="int"/>
+ <constant name="KEY_kana_TO" value="1220">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_ALPHAaccent" value="1953">
- <type name="int"/>
+ <constant name="KEY_kana_TSU" value="1218">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_BETA" value="1986">
- <type name="int"/>
+ <constant name="KEY_kana_TU" value="1218">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_CHI" value="2007">
- <type name="int"/>
+ <constant name="KEY_kana_U" value="1203">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_DELTA" value="1988">
- <type name="int"/>
+ <constant name="KEY_kana_WA" value="1244">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_EPSILON" value="1989">
- <type name="int"/>
+ <constant name="KEY_kana_WO" value="1190">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_EPSILONaccent" value="1954">
- <type name="int"/>
+ <constant name="KEY_kana_YA" value="1236">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_ETA" value="1991">
- <type name="int"/>
+ <constant name="KEY_kana_YO" value="1238">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_ETAaccent" value="1955">
- <type name="int"/>
+ <constant name="KEY_kana_YU" value="1237">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_GAMMA" value="1987">
- <type name="int"/>
+ <constant name="KEY_kana_a" value="1191">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_IOTA" value="1993">
- <type name="int"/>
+ <constant name="KEY_kana_closingbracket" value="1187">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_IOTAaccent" value="1956">
- <type name="int"/>
+ <constant name="KEY_kana_comma" value="1188">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_IOTAdiaeresis" value="1957">
- <type name="int"/>
+ <constant name="KEY_kana_conjunctive" value="1189">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_IOTAdieresis" value="1957">
- <type name="int"/>
+ <constant name="KEY_kana_e" value="1194">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_KAPPA" value="1994">
- <type name="int"/>
+ <constant name="KEY_kana_fullstop" value="1185">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_LAMBDA" value="1995">
- <type name="int"/>
+ <constant name="KEY_kana_i" value="1192">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_LAMDA" value="1995">
- <type name="int"/>
+ <constant name="KEY_kana_middledot" value="1189">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_MU" value="1996">
- <type name="int"/>
+ <constant name="KEY_kana_o" value="1195">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_NU" value="1997">
- <type name="int"/>
+ <constant name="KEY_kana_openingbracket" value="1186">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_OMEGA" value="2009">
- <type name="int"/>
+ <constant name="KEY_kana_switch" value="65406">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_OMEGAaccent" value="1963">
- <type name="int"/>
+ <constant name="KEY_kana_tsu" value="1199">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_OMICRON" value="1999">
- <type name="int"/>
+ <constant name="KEY_kana_tu" value="1199">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_OMICRONaccent" value="1959">
- <type name="int"/>
+ <constant name="KEY_kana_u" value="1193">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_PHI" value="2006">
- <type name="int"/>
+ <constant name="KEY_kana_ya" value="1196">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_PI" value="2000">
- <type name="int"/>
+ <constant name="KEY_kana_yo" value="1198">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_PSI" value="2008">
- <type name="int"/>
+ <constant name="KEY_kana_yu" value="1197">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_RHO" value="2001">
- <type name="int"/>
+ <constant name="KEY_kappa" value="930">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_SIGMA" value="2002">
- <type name="int"/>
+ <constant name="KEY_kcedilla" value="1011">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_TAU" value="2004">
- <type name="int"/>
+ <constant name="KEY_kra" value="930">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_THETA" value="1992">
- <type name="int"/>
+ <constant name="KEY_l" value="108">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_UPSILON" value="2005">
- <type name="int"/>
+ <constant name="KEY_lacute" value="485">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_UPSILONaccent" value="1960">
- <type name="int"/>
+ <constant name="KEY_latincross" value="2777">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_UPSILONdieresis" value="1961">
- <type name="int"/>
+ <constant name="KEY_lbelowdot" value="16784951">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_XI" value="1998">
- <type name="int"/>
+ <constant name="KEY_lcaron" value="437">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_ZETA" value="1990">
- <type name="int"/>
+ <constant name="KEY_lcedilla" value="950">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_leftanglebracket" value="2748">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_leftarrow" value="2299">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_leftcaret" value="2979">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_leftdoublequotemark" value="2770">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_leftmiddlecurlybrace" value="2223">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_leftopentriangle" value="2764">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_leftpointer" value="2794">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_leftradical" value="2209">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_leftshoe" value="3034">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_leftsinglequotemark" value="2768">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_leftt" value="2548">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_lefttack" value="3036">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_less" value="60">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_lessthanequal" value="2236">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_lf" value="2533">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_logicaland" value="2270">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_logicalor" value="2271">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_lowleftcorner" value="2541">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_lowrightcorner" value="2538">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_lstroke" value="435">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_m" value="109">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_mabovedot" value="16784961">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_macron" value="175">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_malesymbol" value="2807">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_maltesecross" value="2800">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_marker" value="2751">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_masculine" value="186">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_minus" value="45">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_minutes" value="2774">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_mu" value="181">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_multiply" value="215">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_musicalflat" value="2806">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_musicalsharp" value="2805">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_n" value="110">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_nabla" value="2245">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_nacute" value="497">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ncaron" value="498">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ncedilla" value="1009">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ninesubscript" value="16785545">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ninesuperior" value="16785529">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_nl" value="2536">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_nobreakspace" value="160">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_notapproxeq" value="16785991">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_notelementof" value="16785929">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_notequal" value="2237">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_notidentical" value="16786018">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_notsign" value="172">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ntilde" value="241">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_numbersign" value="35">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_numerosign" value="1712">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_o" value="111">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_oacute" value="243">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_obarred" value="16777845">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_obelowdot" value="16785101">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ocaron" value="16777682">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ocircumflex" value="244">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ocircumflexacute" value="16785105">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ocircumflexbelowdot" value="16785113">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ocircumflexgrave" value="16785107">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ocircumflexhook" value="16785109">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ocircumflextilde" value="16785111">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_odiaeresis" value="246">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_odoubleacute" value="501">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_oe" value="5053">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ogonek" value="434">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ograve" value="242">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ohook" value="16785103">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ohorn" value="16777633">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ohornacute" value="16785115">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ohornbelowdot" value="16785123">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ohorngrave" value="16785117">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ohornhook" value="16785119">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ohorntilde" value="16785121">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_omacron" value="1010">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_oneeighth" value="2755">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_onefifth" value="2738">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_onehalf" value="189">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_onequarter" value="188">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_onesixth" value="2742">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_onesubscript" value="16785537">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_onesuperior" value="185">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_onethird" value="2736">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ooblique" value="248">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_openrectbullet" value="2786">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_openstar" value="2789">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_opentribulletdown" value="2788">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_opentribulletup" value="2787">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_ordfeminine" value="170">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_oslash" value="248">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_otilde" value="245">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_overbar" value="3008">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_overline" value="1150">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_p" value="112">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_pabovedot" value="16784983">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_paragraph" value="182">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_parenleft" value="40">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_parenright" value="41">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_partdifferential" value="16785922">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_partialderivative" value="2287">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_percent" value="37">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_period" value="46">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_periodcentered" value="183">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_phonographcopyright" value="2811">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_plus" value="43">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_plusminus" value="177">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_prescription" value="2772">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_prolongedsound" value="1200">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_punctspace" value="2726">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_q" value="113">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_quad" value="3020">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_question" value="63">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_questiondown" value="191">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_quotedbl" value="34">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_quoteleft" value="96">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_quoteright" value="39">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_r" value="114">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_racute" value="480">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="KEY_radical" value="2262">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_accentdieresis" value="1966">
- <type name="int"/>
+ <constant name="KEY_rcaron" value="504">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_alpha" value="2017">
- <type name="int"/>
+ <constant name="KEY_rcedilla" value="947">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_alphaaccent" value="1969">
- <type name="int"/>
+ <constant name="KEY_registered" value="174">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_beta" value="2018">
- <type name="int"/>
+ <constant name="KEY_rightanglebracket" value="2750">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_chi" value="2039">
- <type name="int"/>
+ <constant name="KEY_rightarrow" value="2301">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_delta" value="2020">
- <type name="int"/>
+ <constant name="KEY_rightcaret" value="2982">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_epsilon" value="2021">
- <type name="int"/>
+ <constant name="KEY_rightdoublequotemark" value="2771">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_epsilonaccent" value="1970">
- <type name="int"/>
+ <constant name="KEY_rightmiddlecurlybrace" value="2224">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_eta" value="2023">
- <type name="int"/>
+ <constant name="KEY_rightmiddlesummation" value="2231">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_etaaccent" value="1971">
- <type name="int"/>
+ <constant name="KEY_rightopentriangle" value="2765">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_finalsmallsigma" value="2035">
- <type name="int"/>
+ <constant name="KEY_rightpointer" value="2795">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_gamma" value="2019">
- <type name="int"/>
+ <constant name="KEY_rightshoe" value="3032">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_horizbar" value="1967">
- <type name="int"/>
+ <constant name="KEY_rightsinglequotemark" value="2769">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_iota" value="2025">
- <type name="int"/>
+ <constant name="KEY_rightt" value="2549">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_iotaaccent" value="1972">
- <type name="int"/>
+ <constant name="KEY_righttack" value="3068">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_iotaaccentdieresis" value="1974">
- <type name="int"/>
+ <constant name="KEY_s" value="115">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_iotadieresis" value="1973">
- <type name="int"/>
+ <constant name="KEY_sabovedot" value="16784993">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_kappa" value="2026">
- <type name="int"/>
+ <constant name="KEY_sacute" value="438">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_lambda" value="2027">
- <type name="int"/>
+ <constant name="KEY_scaron" value="441">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_lamda" value="2027">
- <type name="int"/>
+ <constant name="KEY_scedilla" value="442">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_mu" value="2028">
- <type name="int"/>
+ <constant name="KEY_schwa" value="16777817">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_nu" value="2029">
- <type name="int"/>
+ <constant name="KEY_scircumflex" value="766">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_omega" value="2041">
- <type name="int"/>
+ <constant name="KEY_script_switch" value="65406">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_omegaaccent" value="1979">
- <type name="int"/>
+ <constant name="KEY_seconds" value="2775">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_omicron" value="2031">
- <type name="int"/>
+ <constant name="KEY_section" value="167">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_omicronaccent" value="1975">
- <type name="int"/>
+ <constant name="KEY_semicolon" value="59">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_phi" value="2038">
- <type name="int"/>
+ <constant name="KEY_semivoicedsound" value="1247">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_pi" value="2032">
- <type name="int"/>
+ <constant name="KEY_seveneighths" value="2758">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_psi" value="2040">
- <type name="int"/>
+ <constant name="KEY_sevensubscript" value="16785543">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_rho" value="2033">
- <type name="int"/>
+ <constant name="KEY_sevensuperior" value="16785527">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_sigma" value="2034">
- <type name="int"/>
+ <constant name="KEY_signaturemark" value="2762">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_switch" value="65406">
- <type name="int"/>
+ <constant name="KEY_signifblank" value="2732">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_tau" value="2036">
- <type name="int"/>
+ <constant name="KEY_similarequal" value="2249">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_theta" value="2024">
- <type name="int"/>
+ <constant name="KEY_singlelowquotemark" value="2813">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_upsilon" value="2037">
- <type name="int"/>
+ <constant name="KEY_sixsubscript" value="16785542">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_upsilonaccent" value="1976">
- <type name="int"/>
+ <constant name="KEY_sixsuperior" value="16785526">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_upsilonaccentdieresis" value="1978">
- <type name="int"/>
+ <constant name="KEY_slash" value="47">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_upsilondieresis" value="1977">
- <type name="int"/>
+ <constant name="KEY_soliddiamond" value="2528">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_xi" value="2030">
- <type name="int"/>
+ <constant name="KEY_space" value="32">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Greek_zeta" value="2022">
- <type name="int"/>
+ <constant name="KEY_squareroot" value="16785946">
+ <type name="gint" c:type="gint"/>
</constant>
- <class name="Group"
- c:type="ClutterGroup"
- doc="The #ClutterGroup structure contains only private data
-and should be accessed using the provided API"
- version="0.1"
- parent="Actor"
- glib:type-name="ClutterGroup"
- glib:get-type="clutter_group_get_type"
- glib:type-struct="GroupClass">
- <implements name="Container"/>
- <implements name="Scriptable"/>
- <constructor name="new"
- c:identifier="clutter_group_new"
- doc="Create a new #ClutterGroup.">
- <return-value transfer-ownership="full">
- <type name="Group" c:type="ClutterActor*"/>
- </return-value>
- </constructor>
- <method name="get_nth_child"
- c:identifier="clutter_group_get_nth_child"
- doc="Gets a groups child held at @index_ in stack."
- version="0.2">
- <return-value transfer-ownership="none"
- doc="A Clutter actor, or %NULL if">
- <type name="Actor" c:type="ClutterActor*"/>
- </return-value>
- <parameters>
- <parameter name="index_" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- </parameters>
- </method>
- <method name="get_n_children"
- c:identifier="clutter_group_get_n_children"
- doc="Gets the number of actors held in the group."
- version="0.2">
- <return-value transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </return-value>
- </method>
- <method name="remove_all"
- c:identifier="clutter_group_remove_all"
- doc="Removes all children actors from the #ClutterGroup.">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </method>
- <field name="parent_instance">
- <type name="Actor" c:type="ClutterActor"/>
- </field>
- <field name="priv">
- <type name="GroupPrivate" c:type="ClutterGroupPrivate*"/>
- </field>
- </class>
- <record name="GroupClass"
- c:type="ClutterGroupClass"
- glib:is-gtype-struct-for="Group"
- doc="The #ClutterGroupClass structure contains only private data"
- version="0.1">
- <field name="parent_class">
- <type name="ActorClass" c:type="ClutterActorClass"/>
- </field>
- <field name="clutter_reserved1">
- <callback name="clutter_reserved1" c:type="_clutter_reserved1">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_reserved2">
- <callback name="clutter_reserved2" c:type="_clutter_reserved2">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_reserved3">
- <callback name="clutter_reserved3" c:type="_clutter_reserved3">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_reserved4">
- <callback name="clutter_reserved4" c:type="_clutter_reserved4">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_reserved5">
- <callback name="clutter_reserved5" c:type="_clutter_reserved5">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_reserved6">
- <callback name="clutter_reserved6" c:type="_clutter_reserved6">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- </record>
- <record name="GroupPrivate" c:type="ClutterGroupPrivate">
- </record>
- <constant name="H" value="72">
- <type name="int"/>
+ <constant name="KEY_ssharp" value="223">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul" value="65329">
- <type name="int"/>
+ <constant name="KEY_sterling" value="163">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_A" value="3775">
- <type name="int"/>
+ <constant name="KEY_stricteq" value="16786019">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_AE" value="3776">
- <type name="int"/>
+ <constant name="KEY_t" value="116">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_AraeA" value="3830">
- <type name="int"/>
+ <constant name="KEY_tabovedot" value="16785003">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_AraeAE" value="3831">
- <type name="int"/>
+ <constant name="KEY_tcaron" value="443">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_Banja" value="65337">
- <type name="int"/>
+ <constant name="KEY_tcedilla" value="510">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_Cieuc" value="3770">
- <type name="int"/>
+ <constant name="KEY_telephone" value="2809">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_Codeinput" value="65335">
- <type name="int"/>
+ <constant name="KEY_telephonerecorder" value="2810">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_Dikeud" value="3751">
- <type name="int"/>
+ <constant name="KEY_therefore" value="2240">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_E" value="3780">
- <type name="int"/>
+ <constant name="KEY_thinspace" value="2727">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_EO" value="3779">
- <type name="int"/>
+ <constant name="KEY_thorn" value="254">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_EU" value="3793">
- <type name="int"/>
+ <constant name="KEY_threeeighths" value="2756">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_End" value="65331">
- <type name="int"/>
+ <constant name="KEY_threefifths" value="2740">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_Hanja" value="65332">
- <type name="int"/>
+ <constant name="KEY_threequarters" value="190">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_Hieuh" value="3774">
- <type name="int"/>
+ <constant name="KEY_threesubscript" value="16785539">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_I" value="3795">
- <type name="int"/>
+ <constant name="KEY_threesuperior" value="179">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_Ieung" value="3767">
- <type name="int"/>
+ <constant name="KEY_tintegral" value="16785965">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_J_Cieuc" value="3818">
- <type name="int"/>
+ <constant name="KEY_topintegral" value="2212">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_J_Dikeud" value="3802">
- <type name="int"/>
+ <constant name="KEY_topleftparens" value="2219">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_J_Hieuh" value="3822">
- <type name="int"/>
+ <constant name="KEY_topleftradical" value="2210">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_J_Ieung" value="3816">
- <type name="int"/>
+ <constant name="KEY_topleftsqbracket" value="2215">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_J_Jieuj" value="3817">
- <type name="int"/>
+ <constant name="KEY_topleftsummation" value="2225">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_J_Khieuq" value="3819">
- <type name="int"/>
+ <constant name="KEY_toprightparens" value="2221">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_J_Kiyeog" value="3796">
- <type name="int"/>
+ <constant name="KEY_toprightsqbracket" value="2217">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_J_KiyeogSios" value="3798">
- <type name="int"/>
+ <constant name="KEY_toprightsummation" value="2229">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_J_KkogjiDalrinIeung" value="3833">
- <type name="int"/>
+ <constant name="KEY_topt" value="2551">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_J_Mieum" value="3811">
- <type name="int"/>
+ <constant name="KEY_topvertsummationconnector" value="2227">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_J_Nieun" value="3799">
- <type name="int"/>
+ <constant name="KEY_trademark" value="2761">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_J_NieunHieuh" value="3801">
- <type name="int"/>
+ <constant name="KEY_trademarkincircle" value="2763">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_J_NieunJieuj" value="3800">
- <type name="int"/>
+ <constant name="KEY_tslash" value="956">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_J_PanSios" value="3832">
- <type name="int"/>
+ <constant name="KEY_twofifths" value="2739">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_J_Phieuf" value="3821">
- <type name="int"/>
+ <constant name="KEY_twosubscript" value="16785538">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_J_Pieub" value="3812">
- <type name="int"/>
+ <constant name="KEY_twosuperior" value="178">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_J_PieubSios" value="3813">
- <type name="int"/>
+ <constant name="KEY_twothirds" value="2737">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_J_Rieul" value="3803">
- <type name="int"/>
+ <constant name="KEY_u" value="117">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_J_RieulHieuh" value="3810">
- <type name="int"/>
+ <constant name="KEY_uacute" value="250">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_J_RieulKiyeog" value="3804">
- <type name="int"/>
+ <constant name="KEY_ubelowdot" value="16785125">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_J_RieulMieum" value="3805">
- <type name="int"/>
+ <constant name="KEY_ubreve" value="765">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_J_RieulPhieuf" value="3809">
- <type name="int"/>
+ <constant name="KEY_ucircumflex" value="251">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_J_RieulPieub" value="3806">
- <type name="int"/>
+ <constant name="KEY_udiaeresis" value="252">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_J_RieulSios" value="3807">
- <type name="int"/>
+ <constant name="KEY_udoubleacute" value="507">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_J_RieulTieut" value="3808">
- <type name="int"/>
+ <constant name="KEY_ugrave" value="249">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_J_Sios" value="3814">
- <type name="int"/>
+ <constant name="KEY_uhook" value="16785127">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_J_SsangKiyeog" value="3797">
- <type name="int"/>
+ <constant name="KEY_uhorn" value="16777648">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_J_SsangSios" value="3815">
- <type name="int"/>
+ <constant name="KEY_uhornacute" value="16785129">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_J_Tieut" value="3820">
- <type name="int"/>
+ <constant name="KEY_uhornbelowdot" value="16785137">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_J_YeorinHieuh" value="3834">
- <type name="int"/>
+ <constant name="KEY_uhorngrave" value="16785131">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_Jamo" value="65333">
- <type name="int"/>
+ <constant name="KEY_uhornhook" value="16785133">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_Jeonja" value="65336">
- <type name="int"/>
+ <constant name="KEY_uhorntilde" value="16785135">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_Jieuj" value="3768">
- <type name="int"/>
+ <constant name="KEY_umacron" value="1022">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_Khieuq" value="3771">
- <type name="int"/>
+ <constant name="KEY_underbar" value="3014">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_Kiyeog" value="3745">
- <type name="int"/>
+ <constant name="KEY_underscore" value="95">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_KiyeogSios" value="3747">
- <type name="int"/>
+ <constant name="KEY_union" value="2269">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_KkogjiDalrinIeung" value="3827">
- <type name="int"/>
+ <constant name="KEY_uogonek" value="1017">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_Mieum" value="3761">
- <type name="int"/>
+ <constant name="KEY_uparrow" value="2300">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_MultipleCandidate" value="65341">
- <type name="int"/>
+ <constant name="KEY_upcaret" value="2985">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_Nieun" value="3748">
- <type name="int"/>
+ <constant name="KEY_upleftcorner" value="2540">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_NieunHieuh" value="3750">
- <type name="int"/>
+ <constant name="KEY_uprightcorner" value="2539">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_NieunJieuj" value="3749">
- <type name="int"/>
+ <constant name="KEY_upshoe" value="3011">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_O" value="3783">
- <type name="int"/>
+ <constant name="KEY_upstile" value="3027">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_OE" value="3786">
- <type name="int"/>
+ <constant name="KEY_uptack" value="3022">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_PanSios" value="3826">
- <type name="int"/>
+ <constant name="KEY_uring" value="505">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_Phieuf" value="3773">
- <type name="int"/>
+ <constant name="KEY_utilde" value="1021">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_Pieub" value="3762">
- <type name="int"/>
+ <constant name="KEY_v" value="118">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_PieubSios" value="3764">
- <type name="int"/>
+ <constant name="KEY_variation" value="2241">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_PostHanja" value="65339">
- <type name="int"/>
+ <constant name="KEY_vertbar" value="2552">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_PreHanja" value="65338">
- <type name="int"/>
+ <constant name="KEY_vertconnector" value="2214">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_PreviousCandidate" value="65342">
- <type name="int"/>
+ <constant name="KEY_voicedsound" value="1246">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_Rieul" value="3753">
- <type name="int"/>
+ <constant name="KEY_vt" value="2537">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_RieulHieuh" value="3760">
- <type name="int"/>
+ <constant name="KEY_w" value="119">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_RieulKiyeog" value="3754">
- <type name="int"/>
+ <constant name="KEY_wacute" value="16785027">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_RieulMieum" value="3755">
- <type name="int"/>
+ <constant name="KEY_wcircumflex" value="16777589">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_RieulPhieuf" value="3759">
- <type name="int"/>
+ <constant name="KEY_wdiaeresis" value="16785029">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_RieulPieub" value="3756">
- <type name="int"/>
+ <constant name="KEY_wgrave" value="16785025">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_RieulSios" value="3757">
- <type name="int"/>
+ <constant name="KEY_x" value="120">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_RieulTieut" value="3758">
- <type name="int"/>
+ <constant name="KEY_xabovedot" value="16785035">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_RieulYeorinHieuh" value="3823">
- <type name="int"/>
+ <constant name="KEY_y" value="121">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_Romaja" value="65334">
- <type name="int"/>
+ <constant name="KEY_yacute" value="253">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_SingleCandidate" value="65340">
- <type name="int"/>
+ <constant name="KEY_ybelowdot" value="16785141">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_Sios" value="3765">
- <type name="int"/>
+ <constant name="KEY_ycircumflex" value="16777591">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_Special" value="65343">
- <type name="int"/>
+ <constant name="KEY_ydiaeresis" value="255">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_SsangDikeud" value="3752">
- <type name="int"/>
+ <constant name="KEY_yen" value="165">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_SsangJieuj" value="3769">
- <type name="int"/>
+ <constant name="KEY_ygrave" value="16785139">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_SsangKiyeog" value="3746">
- <type name="int"/>
+ <constant name="KEY_yhook" value="16785143">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_SsangPieub" value="3763">
- <type name="int"/>
+ <constant name="KEY_ytilde" value="16785145">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_SsangSios" value="3766">
- <type name="int"/>
+ <constant name="KEY_z" value="122">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_Start" value="65330">
- <type name="int"/>
+ <constant name="KEY_zabovedot" value="447">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_SunkyeongeumMieum" value="3824">
- <type name="int"/>
+ <constant name="KEY_zacute" value="444">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_SunkyeongeumPhieuf" value="3828">
- <type name="int"/>
+ <constant name="KEY_zcaron" value="446">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_SunkyeongeumPieub" value="3825">
- <type name="int"/>
+ <constant name="KEY_zerosubscript" value="16785536">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_Tieut" value="3772">
- <type name="int"/>
+ <constant name="KEY_zerosuperior" value="16785520">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_U" value="3788">
- <type name="int"/>
+ <constant name="KEY_zstroke" value="16777654">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_WA" value="3784">
- <type name="int"/>
+ <constant name="KP_0" value="65456">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_WAE" value="3785">
- <type name="int"/>
+ <constant name="KP_1" value="65457">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_WE" value="3790">
- <type name="int"/>
+ <constant name="KP_2" value="65458">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_WEO" value="3789">
- <type name="int"/>
+ <constant name="KP_3" value="65459">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_WI" value="3791">
- <type name="int"/>
+ <constant name="KP_4" value="65460">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_YA" value="3777">
- <type name="int"/>
+ <constant name="KP_5" value="65461">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_YAE" value="3778">
- <type name="int"/>
+ <constant name="KP_6" value="65462">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_YE" value="3782">
- <type name="int"/>
+ <constant name="KP_7" value="65463">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_YEO" value="3781">
- <type name="int"/>
+ <constant name="KP_8" value="65464">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_YI" value="3794">
- <type name="int"/>
+ <constant name="KP_9" value="65465">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_YO" value="3787">
- <type name="int"/>
+ <constant name="KP_Add" value="65451">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_YU" value="3792">
- <type name="int"/>
+ <constant name="KP_Begin" value="65437">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_YeorinHieuh" value="3829">
- <type name="int"/>
+ <constant name="KP_Decimal" value="65454">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hangul_switch" value="65406">
- <type name="int"/>
+ <constant name="KP_Delete" value="65439">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hankaku" value="65321">
- <type name="int"/>
+ <constant name="KP_Divide" value="65455">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hcircumflex" value="678">
- <type name="int"/>
+ <constant name="KP_Down" value="65433">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hebrew_switch" value="65406">
- <type name="int"/>
+ <constant name="KP_End" value="65436">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Help" value="65386">
- <type name="int"/>
+ <constant name="KP_Enter" value="65421">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Henkan" value="65315">
- <type name="int"/>
+ <constant name="KP_Equal" value="65469">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Henkan_Mode" value="65315">
- <type name="int"/>
+ <constant name="KP_F1" value="65425">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hiragana" value="65317">
- <type name="int"/>
+ <constant name="KP_F2" value="65426">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hiragana_Katakana" value="65319">
- <type name="int"/>
+ <constant name="KP_F3" value="65427">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Home" value="65360">
- <type name="int"/>
+ <constant name="KP_F4" value="65428">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hstroke" value="673">
- <type name="int"/>
+ <constant name="KP_Home" value="65429">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hyper_L" value="65517">
- <type name="int"/>
+ <constant name="KP_Insert" value="65438">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Hyper_R" value="65518">
- <type name="int"/>
+ <constant name="KP_Left" value="65430">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="I" value="73">
- <type name="int"/>
+ <constant name="KP_Multiply" value="65450">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Center_Object" value="65075">
- <type name="int"/>
+ <constant name="KP_Next" value="65435">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Continuous_Underline" value="65072">
- <type name="int"/>
+ <constant name="KP_Page_Down" value="65435">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Discontinuous_Underline" value="65073">
- <type name="int"/>
+ <constant name="KP_Page_Up" value="65434">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Emphasize" value="65074">
- <type name="int"/>
+ <constant name="KP_Prior" value="65434">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Enter" value="65076">
- <type name="int"/>
+ <constant name="KP_Right" value="65432">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Fast_Cursor_Down" value="65071">
- <type name="int"/>
+ <constant name="KP_Separator" value="65452">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Fast_Cursor_Left" value="65068">
- <type name="int"/>
+ <constant name="KP_Space" value="65408">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Fast_Cursor_Right" value="65069">
- <type name="int"/>
+ <constant name="KP_Subtract" value="65453">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Fast_Cursor_Up" value="65070">
- <type name="int"/>
+ <constant name="KP_Tab" value="65417">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_First_Group" value="65036">
- <type name="int"/>
+ <constant name="KP_Up" value="65431">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_First_Group_Lock" value="65037">
- <type name="int"/>
+ <constant name="Kana_Lock" value="65325">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Group_Latch" value="65030">
- <type name="int"/>
+ <constant name="Kana_Shift" value="65326">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Group_Lock" value="65031">
- <type name="int"/>
+ <constant name="Kanji" value="65313">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Group_Shift" value="65406">
- <type name="int"/>
+ <constant name="Kanji_Bangou" value="65335">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Last_Group" value="65038">
- <type name="int"/>
+ <constant name="Katakana" value="65318">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Last_Group_Lock" value="65039">
- <type name="int"/>
+ <constant name="KbdBrightnessDown" value="269025030">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Left_Tab" value="65056">
- <type name="int"/>
+ <constant name="KbdBrightnessUp" value="269025029">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Level2_Latch" value="65026">
- <type name="int"/>
+ <constant name="KbdLightOnOff" value="269025028">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Level3_Latch" value="65028">
- <type name="int"/>
+ <constant name="Kcedilla" value="979">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Level3_Lock" value="65029">
- <type name="int"/>
+ <record name="KeyEvent" c:type="ClutterKeyEvent" version="0.2">
+ <doc xml:whitespace="preserve">Key event</doc>
+ <field name="type" writable="1">
+ <type name="EventType" c:type="ClutterEventType"/>
+ </field>
+ <field name="time" writable="1">
+ <type name="guint32" c:type="guint32"/>
+ </field>
+ <field name="flags" writable="1">
+ <type name="EventFlags" c:type="ClutterEventFlags"/>
+ </field>
+ <field name="stage" writable="1">
+ <type name="Stage" c:type="ClutterStage*"/>
+ </field>
+ <field name="source" writable="1">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </field>
+ <field name="modifier_state" writable="1">
+ <type name="ModifierType" c:type="ClutterModifierType"/>
+ </field>
+ <field name="keyval" writable="1">
+ <type name="guint" c:type="guint"/>
+ </field>
+ <field name="hardware_keycode" writable="1">
+ <type name="guint16" c:type="guint16"/>
+ </field>
+ <field name="unicode_value" introspectable="0" writable="1">
+ <type name="gunichar" c:type="gunichar"/>
+ </field>
+ <field name="device" writable="1">
+ <type name="InputDevice" c:type="ClutterInputDevice*"/>
+ </field>
+ </record>
+ <record name="Knot"
+ c:type="ClutterKnot"
+ version="0.2"
+ glib:type-name="ClutterKnot"
+ glib:get-type="clutter_knot_get_type"
+ c:symbol-prefix="knot">
+ <doc xml:whitespace="preserve">Point in a path behaviour.</doc>
+ <field name="x" writable="1">
+ <type name="gint" c:type="gint"/>
+ </field>
+ <field name="y" writable="1">
+ <type name="gint" c:type="gint"/>
+ </field>
+ <method name="copy" c:identifier="clutter_knot_copy" version="0.2">
+ <doc xml:whitespace="preserve">Makes an allocated copy of a knot.</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">the copied knot.</doc>
+ <type name="Knot" c:type="ClutterKnot*"/>
+ </return-value>
+ </method>
+ <method name="equal" c:identifier="clutter_knot_equal" version="0.2">
+ <doc xml:whitespace="preserve">Compares to knot and checks if the point to the same location.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the knots point to the same location.</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="knot_b" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Second knot</doc>
+ <type name="Knot" c:type="ClutterKnot*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="free" c:identifier="clutter_knot_free" version="0.2">
+ <doc xml:whitespace="preserve">Frees the memory of an allocated knot.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </method>
+ </record>
+ <constant name="Korean_Won" value="3839">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Level3_Shift" value="65027">
- <type name="int"/>
+ <constant name="L" value="76">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Level5_Latch" value="65042">
- <type name="int"/>
+ <constant name="L1" value="65480">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Level5_Lock" value="65043">
- <type name="int"/>
+ <constant name="L10" value="65489">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Level5_Shift" value="65041">
- <type name="int"/>
+ <constant name="L2" value="65481">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Lock" value="65025">
- <type name="int"/>
+ <constant name="L3" value="65482">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Move_Line_Down" value="65058">
- <type name="int"/>
+ <constant name="L4" value="65483">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Move_Line_Up" value="65057">
- <type name="int"/>
+ <constant name="L5" value="65484">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Next_Group" value="65032">
- <type name="int"/>
+ <constant name="L6" value="65485">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Next_Group_Lock" value="65033">
- <type name="int"/>
+ <constant name="L7" value="65486">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Partial_Line_Down" value="65060">
- <type name="int"/>
+ <constant name="L8" value="65487">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Partial_Line_Up" value="65059">
- <type name="int"/>
+ <constant name="L9" value="65488">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Partial_Space_Left" value="65061">
- <type name="int"/>
+ <constant name="Lacute" value="453">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Partial_Space_Right" value="65062">
- <type name="int"/>
+ <constant name="Last_Virtual_Screen" value="65236">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Prev_Group" value="65034">
- <type name="int"/>
+ <constant name="Launch0" value="269025088">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Prev_Group_Lock" value="65035">
- <type name="int"/>
+ <constant name="Launch1" value="269025089">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Release_Both_Margins" value="65067">
- <type name="int"/>
+ <constant name="Launch2" value="269025090">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Release_Margin_Left" value="65065">
- <type name="int"/>
+ <constant name="Launch3" value="269025091">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Release_Margin_Right" value="65066">
- <type name="int"/>
+ <constant name="Launch4" value="269025092">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Set_Margin_Left" value="65063">
- <type name="int"/>
+ <constant name="Launch5" value="269025093">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="ISO_Set_Margin_Right" value="65064">
- <type name="int"/>
+ <constant name="Launch6" value="269025094">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Iabovedot" value="681">
- <type name="int"/>
+ <constant name="Launch7" value="269025095">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Iacute" value="205">
- <type name="int"/>
+ <constant name="Launch8" value="269025096">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Ibelowdot" value="16785098">
- <type name="int"/>
+ <constant name="Launch9" value="269025097">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Ibreve" value="16777516">
- <type name="int"/>
+ <constant name="LaunchA" value="269025098">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Icircumflex" value="206">
- <type name="int"/>
+ <constant name="LaunchB" value="269025099">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Idiaeresis" value="207">
- <type name="int"/>
+ <constant name="LaunchC" value="269025100">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Igrave" value="204">
- <type name="int"/>
+ <constant name="LaunchD" value="269025101">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Ihook" value="16785096">
- <type name="int"/>
+ <constant name="LaunchE" value="269025102">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Imacron" value="975">
- <type name="int"/>
+ <constant name="LaunchF" value="269025103">
+ <type name="gint" c:type="gint"/>
</constant>
- <enumeration name="InitError"
- doc="Error conditions returned by clutter_init() and clutter_init_with_args()."
- version="0.2"
- glib:type-name="ClutterInitError"
- glib:get-type="clutter_init_error_get_type"
- c:type="ClutterInitError"
- glib:error-quark="clutter_init_error_quark">
- <member name="success"
- value="1"
- c:identifier="CLUTTER_INIT_SUCCESS"
- glib:nick="success"/>
- <member name="error_unknown"
- value="0"
- c:identifier="CLUTTER_INIT_ERROR_UNKNOWN"
- glib:nick="error-unknown"/>
- <member name="error_threads"
- value="-1"
- c:identifier="CLUTTER_INIT_ERROR_THREADS"
- glib:nick="error-threads"/>
- <member name="error_backend"
- value="-2"
- c:identifier="CLUTTER_INIT_ERROR_BACKEND"
- glib:nick="error-backend"/>
- <member name="error_internal"
- value="-3"
- c:identifier="CLUTTER_INIT_ERROR_INTERNAL"
- glib:nick="error-internal"/>
- </enumeration>
- <class name="InputDevice"
- c:type="ClutterInputDevice"
- doc="Generic representation of an input device. The actual contents of this
-structure depend on the backend used."
- parent="GObject.Object"
- glib:type-name="ClutterInputDevice"
- glib:get-type="clutter_input_device_get_type"
- glib:type-struct="InputDeviceClass">
- <method name="get_device_type"
- c:identifier="clutter_input_device_get_device_type"
- doc="Retrieves the type of @device"
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="InputDeviceType" c:type="ClutterInputDeviceType"/>
- </return-value>
- </method>
- <method name="get_device_id"
- c:identifier="clutter_input_device_get_device_id"
- doc="Retrieves the unique identifier of @device"
- version="1.0">
+ <class name="LayoutManager"
+ c:symbol-prefix="layout_manager"
+ c:type="ClutterLayoutManager"
+ version="1.2"
+ parent="GObject.InitiallyUnowned"
+ abstract="1"
+ glib:type-name="ClutterLayoutManager"
+ glib:get-type="clutter_layout_manager_get_type"
+ glib:type-struct="LayoutManagerClass">
+ <doc xml:whitespace="preserve">The #ClutterLayoutManager structure contains only private data
+and should be accessed using the provided API</doc>
+ <virtual-method name="allocate" invoker="allocate" version="1.2">
+ <doc xml:whitespace="preserve">Allocates the children of @container given an area
+See also clutter_actor_allocate()</doc>
<return-value transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <type name="none" c:type="void"/>
</return-value>
- </method>
- <method name="get_device_coords"
- c:identifier="clutter_input_device_get_device_coords"
- doc="Retrieves the latest coordinates of the pointer of @device"
- version="1.2">
+ <parameters>
+ <parameter name="container" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterContainer using @manager</doc>
+ <type name="Container" c:type="ClutterContainer*"/>
+ </parameter>
+ <parameter name="allocation" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterActorBox containing the allocated area of @container</doc>
+ <type name="ActorBox" c:type="ClutterActorBox*"/>
+ </parameter>
+ <parameter name="flags" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the allocation flags</doc>
+ <type name="AllocationFlags" c:type="ClutterAllocationFlags"/>
+ </parameter>
+ </parameters>
+ </virtual-method>
+ <virtual-method name="begin_animation"
+ invoker="begin_animation"
+ version="1.2">
+ <doc xml:whitespace="preserve">Begins an animation of @duration milliseconds, using the provided
+easing @mode
+The easing mode can be specified either as a #ClutterAnimationMode
+or as a logical id returned by clutter_alpha_register_func()
+The result of this function depends on the @manager implementation
+layout manager; the returned instance is owned by the layout
+manager and should not be unreferenced</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">The #ClutterAlpha created by the</doc>
+ <type name="Alpha" c:type="ClutterAlpha*"/>
</return-value>
<parameters>
- <parameter name="x"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- doc="return location for the X coordinate">
- <type name="int" c:type="gint*"/>
+ <parameter name="duration" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the duration of the animation, in milliseconds</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
- <parameter name="y"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- doc="return location for the Y coordinate">
- <type name="int" c:type="gint*"/>
+ <parameter name="mode" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the easing mode of the animation</doc>
+ <type name="gulong" c:type="gulong"/>
</parameter>
</parameters>
- </method>
- <method name="get_pointer_actor"
- c:identifier="clutter_input_device_get_pointer_actor"
- doc="Retrieves the #ClutterActor underneath the pointer of @device"
- version="1.2">
- <return-value transfer-ownership="none"
- doc="a pointer to the #ClutterActor or %NULL">
- <type name="Actor" c:type="ClutterActor*"/>
+ </virtual-method>
+ <virtual-method name="create_child_meta" introspectable="0">
+ <return-value>
+ <type name="LayoutMeta" c:type="ClutterLayoutMeta*"/>
</return-value>
- </method>
- <method name="get_pointer_stage"
- c:identifier="clutter_input_device_get_pointer_stage"
- doc="Retrieves the #ClutterStage underneath the pointer of @device"
- version="1.2">
- <return-value transfer-ownership="none"
- doc="a pointer to the #ClutterStage or %NULL">
- <type name="Stage" c:type="ClutterStage*"/>
+ <parameters>
+ <parameter name="container" transfer-ownership="none">
+ <type name="Container" c:type="ClutterContainer*"/>
+ </parameter>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ </parameters>
+ </virtual-method>
+ <virtual-method name="end_animation"
+ invoker="end_animation"
+ version="1.2">
+ <doc xml:whitespace="preserve">Ends an animation started by clutter_layout_manager_begin_animation()
+The result of this call depends on the @manager implementation</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
- </method>
- <method name="get_device_name"
- c:identifier="clutter_input_device_get_device_name"
- doc="Retrieves the name of the @device
-is owned by the #ClutterInputDevice and should never be modified
-or freed"
- version="1.2">
+ </virtual-method>
+ <virtual-method name="get_animation_progress"
+ invoker="get_animation_progress"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the progress of the animation, if one has been started by
+clutter_layout_manager_begin_animation()
+The returned value has the same semantics of the #ClutterAlpha:alpha
+value</doc>
<return-value transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <doc xml:whitespace="preserve">the progress of the animation</doc>
+ <type name="gdouble" c:type="gdouble"/>
</return-value>
- </method>
- <method name="update_from_event"
- c:identifier="clutter_input_device_update_from_event"
- doc="Forcibly updates the state of the @device using a #ClutterEvent
-for integration with embedding toolkits, like clutter-gtk
-Embedding toolkits that disable the event collection inside Clutter
-need to use this function to update the state of input devices depending
-on a #ClutterEvent that they are going to submit to the event handling code
-in Clutter though clutter_do_event(). Since the input devices hold the state
-that is going to be used to fill in fields like the #ClutterButtonEvent
-click count, or to emit synthesized events like %CLUTTER_ENTER and
-%CLUTTER_LEAVE, it is necessary for embedding toolkits to also be
-responsible of updating the input device state.
-For instance, this might be the code to translate an embedding toolkit
-native motion notification into a Clutter #ClutterMotionEvent and ask
-Clutter to process it:
-|[
-ClutterEvent c_event;
-translate_native_event_to_clutter (native_event, &amp;c_event);
-clutter_do_event (&amp;c_event);
-]|
-Before letting clutter_do_event() process the event, it is necessary to call
-clutter_input_device_update_from_event():
-|[
-ClutterEvent c_event;
-ClutterDeviceManager *manager;
-ClutterInputDevice *device;
-translate_native_event_to_clutter (native_event, &amp;c_event);
-/&ast; get the device manager &ast;/
-manager = clutter_device_manager_get_default ();
-/&ast; use the default Core Pointer that Clutter
-&ast; backends register by default
-&ast;/
-device = clutter_device_manager_get_core_device (manager, %CLUTTER_POINTER_DEVICE);
-/&ast; update the state of the input device &ast;/
-clutter_input_device_update_from_event (device, &amp;c_event, FALSE);
-clutter_do_event (&amp;c_event);
-]|
-The @update_stage boolean argument should be used when the input device
-enters and leaves a #ClutterStage; it will use the #ClutterStage field
-of the passed @event to update the stage associated to the input device."
- version="1.2">
+ </virtual-method>
+ <virtual-method name="get_child_meta_type">
+ <return-value transfer-ownership="none">
+ <type name="GType" c:type="GType"/>
+ </return-value>
+ </virtual-method>
+ <virtual-method name="get_preferred_height"
+ invoker="get_preferred_height"
+ version="1.2">
+ <doc xml:whitespace="preserve">Computes the minimum and natural heights of the @container according
+to @manager.
+See also clutter_actor_get_preferred_height()</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="event" transfer-ownership="none">
- <type name="Event" c:type="ClutterEvent*"/>
+ <parameter name="container" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterContainer using @manager</doc>
+ <type name="Container" c:type="ClutterContainer*"/>
</parameter>
- <parameter name="update_stage"
- transfer-ownership="none"
- doc=" using the stage of the event">
- <type name="boolean" c:type="gboolean"/>
+ <parameter name="for_width" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the width for which the height should be computed, or -1</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ <parameter name="minimum_height_p" transfer-ownership="none">
+ <type name="gfloat" c:type="gfloat*"/>
+ </parameter>
+ <parameter name="natural_height_p" transfer-ownership="none">
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
</parameters>
- </method>
- <property name="device-type"
- version="1.2"
- writable="1"
- construct-only="1"
- doc="The type of the device">
- <type name="InputDeviceType" c:type="ClutterInputDeviceType"/>
- </property>
- <property name="id"
- version="1.2"
- writable="1"
- construct-only="1"
- doc="The unique identifier of the device">
- <type name="int" c:type="gint"/>
- </property>
- <property name="name"
- version="1.2"
- writable="1"
- construct-only="1"
- doc="The name of the device">
- <type name="utf8" c:type="gchararray"/>
- </property>
- </class>
- <record name="InputDeviceClass"
- c:type="ClutterInputDeviceClass"
- glib:is-gtype-struct-for="InputDevice"
- doc="The #ClutterInputDeviceClass structure contains only private
-data and should not be accessed directly"
- version="1.2">
- <field name="parent_class">
- <type name="GObject.ObjectClass" c:type="GObjectClass"/>
- </field>
- </record>
- <enumeration name="InputDeviceType"
- doc="The types of input devices available.
-The #ClutterInputDeviceType enumeration can be extended at later
-date; not every platform supports every input device type."
- version="1.0"
- glib:type-name="ClutterInputDeviceType"
- glib:get-type="clutter_input_device_type_get_type"
- c:type="ClutterInputDeviceType">
- <member name="pointer_device"
- value="0"
- c:identifier="CLUTTER_POINTER_DEVICE"
- glib:nick="pointer-device"/>
- <member name="keyboard_device"
- value="1"
- c:identifier="CLUTTER_KEYBOARD_DEVICE"
- glib:nick="keyboard-device"/>
- <member name="extension_device"
- value="2"
- c:identifier="CLUTTER_EXTENSION_DEVICE"
- glib:nick="extension-device"/>
- <member name="n_device_types"
- value="3"
- c:identifier="CLUTTER_N_DEVICE_TYPES"
- glib:nick="n-device-types"/>
- </enumeration>
- <constant name="Insert" value="65379">
- <type name="int"/>
- </constant>
- <enumeration name="Interpolation"
- doc="The mode of interpolation between key frames"
- version="1.2"
- glib:type-name="ClutterInterpolation"
- glib:get-type="clutter_interpolation_get_type"
- c:type="ClutterInterpolation">
- <member name="linear"
- value="0"
- c:identifier="CLUTTER_INTERPOLATION_LINEAR"
- glib:nick="linear"/>
- <member name="cubic"
- value="1"
- c:identifier="CLUTTER_INTERPOLATION_CUBIC"
- glib:nick="cubic"/>
- </enumeration>
- <class name="Interval"
- c:type="ClutterInterval"
- doc="The #ClutterInterval structure contains only private data and should
-be accessed using the provided functions."
- version="1.0"
- parent="GObject.InitiallyUnowned"
- glib:type-name="ClutterInterval"
- glib:get-type="clutter_interval_get_type"
- glib:type-struct="IntervalClass">
- <constructor name="new"
- c:identifier="clutter_interval_new"
- doc="Creates a new #ClutterInterval holding values of type @gtype.
-This function avoids using a #GValue for the initial and final values
-of the interval:
-|[
-interval = clutter_interval_new (G_TYPE_FLOAT, 0.0, 1.0);
-interval = clutter_interval_new (G_TYPE_BOOLEAN, FALSE, TRUE);
-interval = clutter_interval_new (G_TYPE_INT, 0, 360);
-]|"
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="Interval" c:type="ClutterInterval*"/>
+ </virtual-method>
+ <virtual-method name="get_preferred_width"
+ invoker="get_preferred_width"
+ version="1.2">
+ <doc xml:whitespace="preserve">Computes the minimum and natural widths of the @container according
+to @manager.
+See also clutter_actor_get_preferred_width()</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="gtype" transfer-ownership="none">
- <type name="GType" c:type="GType"/>
+ <parameter name="container" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterContainer using @manager</doc>
+ <type name="Container" c:type="ClutterContainer*"/>
</parameter>
- <parameter transfer-ownership="none">
- <varargs>
- </varargs>
+ <parameter name="for_height" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the height for which the width should be computed, or -1</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ <parameter name="minimum_width_p" transfer-ownership="none">
+ <type name="gfloat" c:type="gfloat*"/>
+ </parameter>
+ <parameter name="natural_width_p" transfer-ownership="none">
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
</parameters>
- </constructor>
- <constructor name="new_with_values"
- c:identifier="clutter_interval_new_with_values"
- doc="Creates a new #ClutterInterval of type @gtype, between @initial
-and @final.
-This function is useful for language bindings."
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="Interval" c:type="ClutterInterval*"/>
+ </virtual-method>
+ <virtual-method name="set_container"
+ invoker="set_container"
+ version="1.2">
+ <doc xml:whitespace="preserve">If the #ClutterLayoutManager sub-class allows it, allow
+adding a weak reference of the @container using @manager
+from within the layout manager
+The layout manager should not increase the reference
+count of the @container</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="gtype" transfer-ownership="none">
- <type name="GType" c:type="GType"/>
+ <parameter name="container" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">a #ClutterContainer using @manager</doc>
+ <type name="Container" c:type="ClutterContainer*"/>
</parameter>
- <parameter name="initial" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
+ </parameters>
+ </virtual-method>
+ <method name="allocate"
+ c:identifier="clutter_layout_manager_allocate"
+ version="1.2">
+ <doc xml:whitespace="preserve">Allocates the children of @container given an area
+See also clutter_actor_allocate()</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="container" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterContainer using @manager</doc>
+ <type name="Container" c:type="ClutterContainer*"/>
</parameter>
- <parameter name="final" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
+ <parameter name="allocation" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterActorBox containing the allocated area of @container</doc>
+ <type name="ActorBox" c:type="ClutterActorBox*"/>
+ </parameter>
+ <parameter name="flags" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the allocation flags</doc>
+ <type name="AllocationFlags" c:type="ClutterAllocationFlags"/>
</parameter>
</parameters>
- </constructor>
- <function name="register_progress_func"
- c:identifier="clutter_interval_register_progress_func"
- doc="Sets the progress function for a given @value_type, like:
-|[
-clutter_interval_register_progress_func (MY_TYPE_FOO,
-my_foo_progress);
-]|
-Whenever a #ClutterInterval instance using the default
-#ClutterInterval::compute_value implementation is set as an
-interval between two #GValue of type @value_type, it will call
-for instance:
-|[
-static gboolean
-my_int_progress (const GValue *a,
-const GValue *b,
-gdouble progress,
-GValue *retval)
-{
-gint ia = g_value_get_int (a);
-gint ib = g_value_get_int (b);
-gint res = factor * (ib - ia) + ia;
-g_value_set_int (retval, res);
-return TRUE;
-}
-clutter_interval_register_progress_func (G_TYPE_INT, my_int_progress);
-]|
-To unset a previously set progress function of a #GType, pass %NULL
-for @func."
- version="1.0">
+ </method>
+ <method name="begin_animation"
+ c:identifier="clutter_layout_manager_begin_animation"
+ version="1.2">
+ <doc xml:whitespace="preserve">Begins an animation of @duration milliseconds, using the provided
+easing @mode
+The easing mode can be specified either as a #ClutterAnimationMode
+or as a logical id returned by clutter_alpha_register_func()
+The result of this function depends on the @manager implementation
+layout manager; the returned instance is owned by the layout
+manager and should not be unreferenced</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">The #ClutterAlpha created by the</doc>
+ <type name="Alpha" c:type="ClutterAlpha*"/>
</return-value>
<parameters>
- <parameter name="value_type" transfer-ownership="none">
- <type name="GType" c:type="GType"/>
+ <parameter name="duration" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the duration of the animation, in milliseconds</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
- <parameter name="func"
- transfer-ownership="none"
- scope="call"
- doc=" set progress function">
- <type name="ProgressFunc" c:type="ClutterProgressFunc"/>
+ <parameter name="mode" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the easing mode of the animation</doc>
+ <type name="gulong" c:type="gulong"/>
</parameter>
</parameters>
- </function>
- <virtual-method name="validate" invoker="validate">
+ </method>
+ <method name="child_get"
+ c:identifier="clutter_layout_manager_child_get"
+ version="1.2"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Retrieves the values for a list of properties out of the
+#ClutterLayoutMeta created by @manager and attached to the
+child of a @container</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="pspec" transfer-ownership="none">
- <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
+ <parameter name="container" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterContainer using @manager</doc>
+ <type name="Container" c:type="ClutterContainer*"/>
+ </parameter>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor child of @container</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="first_property" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the first property</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter transfer-ownership="none">
+ <varargs>
+ </varargs>
</parameter>
</parameters>
- </virtual-method>
- <virtual-method name="compute_value" invoker="compute_value">
+ </method>
+ <method name="child_get_property"
+ c:identifier="clutter_layout_manager_child_get_property"
+ version="1.2">
+ <doc xml:whitespace="preserve">Gets a property on the #ClutterLayoutMeta created by @manager and
+attached to a child of @container
+The #GValue must already be initialized to the type of the property
+and has to be unset with g_value_unset() after extracting the real
+value out of it</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="factor" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
+ <parameter name="container" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterContainer using @manager</doc>
+ <type name="Container" c:type="ClutterContainer*"/>
+ </parameter>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor child of @container</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the property to get</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GValue with the value of the property to get</doc>
<type name="GObject.Value" c:type="GValue*"/>
</parameter>
</parameters>
- </virtual-method>
- <method name="clone"
- c:identifier="clutter_interval_clone"
- doc="Creates a copy of @interval."
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="Interval" c:type="ClutterInterval*"/>
- </return-value>
- </method>
- <method name="get_value_type"
- c:identifier="clutter_interval_get_value_type"
- doc="Retrieves the #GType of the values inside @interval."
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="GType" c:type="GType"/>
- </return-value>
</method>
- <method name="set_initial_value"
- c:identifier="clutter_interval_set_initial_value"
- doc="Sets the initial value of @interval to @value. The value is copied
-inside the #ClutterInterval."
- version="1.0">
+ <method name="child_set"
+ c:identifier="clutter_layout_manager_child_set"
+ version="1.2"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Sets a list of properties and their values on the #ClutterLayoutMeta
+associated by @manager to a child of @container
+Languages bindings should use clutter_layout_manager_child_set_property()
+instead</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="value" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
+ <parameter name="container" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterContainer using @manager</doc>
+ <type name="Container" c:type="ClutterContainer*"/>
+ </parameter>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor child of @container</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="first_property" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the first property name</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter transfer-ownership="none">
+ <varargs>
+ </varargs>
</parameter>
</parameters>
</method>
- <method name="get_initial_value"
- c:identifier="clutter_interval_get_initial_value"
- doc="Retrieves the initial value of @interval and copies
-it into @value.
-The passed #GValue must be initialized to the value held by
-the #ClutterInterval."
- version="1.0">
+ <method name="child_set_property"
+ c:identifier="clutter_layout_manager_child_set_property"
+ version="1.2">
+ <doc xml:whitespace="preserve">Sets a property on the #ClutterLayoutMeta created by @manager and
+attached to a child of @container</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
+ <parameter name="container" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterContainer using @manager</doc>
+ <type name="Container" c:type="ClutterContainer*"/>
+ </parameter>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor child of @container</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the property to set</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
<parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GValue with the value of the property to set</doc>
<type name="GObject.Value" c:type="GValue*"/>
</parameter>
</parameters>
</method>
- <method name="peek_initial_value"
- c:identifier="clutter_interval_peek_initial_value"
- doc="Gets the pointer to the initial value of @interval
-The value is owned by the #ClutterInterval and it should not be
-modified or freed"
- version="1.0">
- <return-value transfer-ownership="none"
- doc="the initial value of the interval.">
- <type name="GObject.Value" c:type="GValue*"/>
+ <method name="end_animation"
+ c:identifier="clutter_layout_manager_end_animation"
+ version="1.2">
+ <doc xml:whitespace="preserve">Ends an animation started by clutter_layout_manager_begin_animation()
+The result of this call depends on the @manager implementation</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
</method>
- <method name="set_final_value"
- c:identifier="clutter_interval_set_final_value"
- doc="Sets the final value of @interval to @value. The value is
-copied inside the #ClutterInterval."
- version="1.0">
+ <method name="find_child_property"
+ c:identifier="clutter_layout_manager_find_child_property"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the #GParamSpec for the layout property @name inside
+the #ClutterLayoutMeta sub-class used by @manager
+or %NULL if no property with that name exists. The returned
+#GParamSpec is owned by the layout manager and should not be
+modified or freed</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">a #GParamSpec describing the property,</doc>
+ <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
</return-value>
<parameters>
- <parameter name="value" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
+ <parameter name="name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the property</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
- <method name="get_final_value"
- c:identifier="clutter_interval_get_final_value"
- doc="Retrieves the final value of @interval and copies
-it into @value.
-The passed #GValue must be initialized to the value held by
-the #ClutterInterval."
+ <method name="get_animation_progress"
+ c:identifier="clutter_layout_manager_get_animation_progress"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the progress of the animation, if one has been started by
+clutter_layout_manager_begin_animation()
+The returned value has the same semantics of the #ClutterAlpha:alpha
+value</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the progress of the animation</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </return-value>
+ </method>
+ <method name="get_child_meta"
+ c:identifier="clutter_layout_manager_get_child_meta"
version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the #ClutterLayoutMeta that the layout @manager associated
+to the @actor child of @container, eventually by creating one if the
+#ClutterLayoutManager supports layout properties
+#ClutterLayoutManager does not have layout properties. The returned
+layout meta instance is owned by the #ClutterLayoutManager and it
+should not be unreferenced</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">a #ClutterLayoutMeta, or %NULL if the</doc>
+ <type name="LayoutMeta" c:type="ClutterLayoutMeta*"/>
</return-value>
<parameters>
- <parameter name="value" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
+ <parameter name="container" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterContainer using @manager</doc>
+ <type name="Container" c:type="ClutterContainer*"/>
+ </parameter>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor child of @container</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</parameter>
</parameters>
</method>
- <method name="peek_final_value"
- c:identifier="clutter_interval_peek_final_value"
- doc="Gets the pointer to the final value of @interval
-The value is owned by the #ClutterInterval and it should not be
-modified or freed"
- version="1.0">
- <return-value transfer-ownership="none"
- doc="the final value of the interval.">
- <type name="GObject.Value" c:type="GValue*"/>
- </return-value>
- </method>
- <method name="set_interval"
- c:identifier="clutter_interval_set_interval"
- doc="Variable arguments wrapper for clutter_interval_set_initial_value()
-and clutter_interval_set_final_value() that avoids using the
-#GValue arguments:
-|[
-clutter_interval_set_interval (interval, 0, 50);
-clutter_interval_set_interval (interval, 1.0, 0.0);
-clutter_interval_set_interval (interval, FALSE, TRUE);
-]|
-This function is meant for the convenience of the C API; bindings
-should reimplement this function using the #GValue-based API."
- version="1.0">
+ <method name="get_preferred_height"
+ c:identifier="clutter_layout_manager_get_preferred_height"
+ version="1.2">
+ <doc xml:whitespace="preserve">Computes the minimum and natural heights of the @container according
+to @manager.
+See also clutter_actor_get_preferred_height()</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter transfer-ownership="none">
- <varargs>
- </varargs>
+ <parameter name="container" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterContainer using @manager</doc>
+ <type name="Container" c:type="ClutterContainer*"/>
+ </parameter>
+ <parameter name="for_width" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the width for which the height should be computed, or -1</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ <parameter name="min_height_p"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full"
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for the minimum height of the layout, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
+ </parameter>
+ <parameter name="nat_height_p"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full"
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for the natural height of the layout, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
</parameters>
</method>
- <method name="get_interval"
- c:identifier="clutter_interval_get_interval"
- doc="Variable arguments wrapper for clutter_interval_get_initial_value()
-and clutter_interval_get_final_value() that avoids using the
-#GValue arguments:
-|[
-gint a = 0, b = 0;
-clutter_interval_get_interval (interval, &a, &b);
-]|
-This function is meant for the convenience of the C API; bindings
-should reimplement this function using the #GValue-based API."
- version="1.0">
+ <method name="get_preferred_width"
+ c:identifier="clutter_layout_manager_get_preferred_width"
+ version="1.2">
+ <doc xml:whitespace="preserve">Computes the minimum and natural widths of the @container according
+to @manager.
+See also clutter_actor_get_preferred_width()</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter transfer-ownership="none">
- <varargs>
- </varargs>
+ <parameter name="container" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterContainer using @manager</doc>
+ <type name="Container" c:type="ClutterContainer*"/>
+ </parameter>
+ <parameter name="for_height" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the height for which the width should be computed, or -1</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ <parameter name="min_width_p"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full"
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for the minimum width of the layout, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
+ </parameter>
+ <parameter name="nat_width_p"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full"
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for the natural width of the layout, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
</parameters>
</method>
- <method name="validate"
- c:identifier="clutter_interval_validate"
- doc="Validates the initial and final values of @interval against
-a #GParamSpec."
- version="1.0">
+ <method name="layout_changed"
+ c:identifier="clutter_layout_manager_layout_changed"
+ version="1.2">
+ <doc xml:whitespace="preserve">Emits the #ClutterLayoutManager::layout-changed signal on @manager
+This function should only be called by implementations of the
+#ClutterLayoutManager class</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
+ </return-value>
+ </method>
+ <method name="list_child_properties"
+ c:identifier="clutter_layout_manager_list_child_properties"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves all the #GParamSpec<!-- -->s for the layout properties
+stored inside the #ClutterLayoutMeta sub-class used by @manager
+%NULL-terminated array of #GParamSpec<!-- -->s. Use g_free() to free the
+resources allocated for the array</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">the newly-allocated,</doc>
+ <array length="0" c:type="GParamSpec**">
+ <type name="GObject.ParamSpec"/>
+ </array>
</return-value>
<parameters>
- <parameter name="pspec" transfer-ownership="none">
- <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
+ <parameter name="n_pspecs"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the number of returned #GParamSpec<!-- -->s</doc>
+ <type name="guint" c:type="guint*"/>
</parameter>
</parameters>
</method>
- <method name="compute_value"
- c:identifier="clutter_interval_compute_value"
- doc="Computes the value between the @interval boundaries given the
-progress @factor and puts it into @value."
- version="1.0">
+ <method name="set_container"
+ c:identifier="clutter_layout_manager_set_container"
+ version="1.2">
+ <doc xml:whitespace="preserve">If the #ClutterLayoutManager sub-class allows it, allow
+adding a weak reference of the @container using @manager
+from within the layout manager
+The layout manager should not increase the reference
+count of the @container</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="factor" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </parameter>
- <parameter name="value" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
+ <parameter name="container" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">a #ClutterContainer using @manager</doc>
+ <type name="Container" c:type="ClutterContainer*"/>
</parameter>
</parameters>
</method>
- <property name="value-type"
- version="1.0"
- writable="1"
- construct-only="1"
- doc="The type of the values in the interval.">
- <type name="GType" c:type="GType"/>
- </property>
<field name="parent_instance">
<type name="GObject.InitiallyUnowned" c:type="GInitiallyUnowned"/>
</field>
- <field name="priv">
- <type name="IntervalPrivate" c:type="ClutterIntervalPrivate*"/>
+ <field name="dummy">
+ <type name="gpointer" c:type="gpointer"/>
</field>
+ <glib:signal name="layout-changed" version="1.2">
+ <doc xml:whitespace="preserve">The ::layout-changed signal is emitted each time a layout manager
+has been changed. Every #ClutterActor using the @manager instance
+as a layout manager should connect a handler to the ::layout-changed
+signal and queue a relayout on themselves:
+|[
+static void layout_changed (ClutterLayoutManager *manager,
+ClutterActor *self)
+{
+clutter_actor_queue_relayout (self);
+}
+...
+self->manager = g_object_ref_sink (manager);
+g_signal_connect (self->manager, "layout-changed",
+G_CALLBACK (layout_changed),
+self);
+]|
+Sub-classes of #ClutterLayoutManager that implement a layout that
+can be controlled or changed using parameters should emit the
+::layout-changed signal whenever one of the parameters changes,
+by using clutter_layout_manager_layout_changed().</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ </glib:signal>
</class>
- <record name="IntervalClass"
- c:type="ClutterIntervalClass"
- glib:is-gtype-struct-for="Interval"
- doc="The #ClutterIntervalClass contains only private data."
- version="1.0">
+ <record name="LayoutManagerClass"
+ c:type="ClutterLayoutManagerClass"
+ glib:is-gtype-struct-for="LayoutManager"
+ version="1.2">
+ <doc xml:whitespace="preserve">The #ClutterLayoutManagerClass structure contains only private
+data and should be accessed using the provided API</doc>
<field name="parent_class">
<type name="GObject.InitiallyUnownedClass"
c:type="GInitiallyUnownedClass"/>
</field>
- <field name="validate">
- <callback name="validate" c:type="validate">
+ <field name="get_preferred_width">
+ <callback name="get_preferred_width">
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="interval" transfer-ownership="none">
- <type name="Interval" c:type="ClutterInterval*"/>
+ <parameter name="manager" transfer-ownership="none">
+ <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
</parameter>
- <parameter name="pspec" transfer-ownership="none">
- <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
+ <parameter name="container" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterContainer using @manager</doc>
+ <type name="Container" c:type="ClutterContainer*"/>
+ </parameter>
+ <parameter name="for_height" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the height for which the width should be computed, or -1</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ <parameter name="minimum_width_p" transfer-ownership="none">
+ <type name="gfloat" c:type="gfloat*"/>
+ </parameter>
+ <parameter name="natural_width_p" transfer-ownership="none">
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
</parameters>
</callback>
</field>
- <field name="compute_value">
- <callback name="compute_value" c:type="compute_value">
+ <field name="get_preferred_height">
+ <callback name="get_preferred_height">
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="interval" transfer-ownership="none">
- <type name="Interval" c:type="ClutterInterval*"/>
+ <parameter name="manager" transfer-ownership="none">
+ <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
</parameter>
- <parameter name="factor" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
+ <parameter name="container" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterContainer using @manager</doc>
+ <type name="Container" c:type="ClutterContainer*"/>
</parameter>
- <parameter name="value" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
+ <parameter name="for_width" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the width for which the height should be computed, or -1</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ <parameter name="minimum_height_p" transfer-ownership="none">
+ <type name="gfloat" c:type="gfloat*"/>
+ </parameter>
+ <parameter name="natural_height_p" transfer-ownership="none">
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
</parameters>
</callback>
</field>
- <field name="clutter_reserved1">
- <callback name="clutter_reserved1" c:type="_clutter_reserved1">
+ <field name="allocate">
+ <callback name="allocate">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="manager" transfer-ownership="none">
+ <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
+ </parameter>
+ <parameter name="container" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterContainer using @manager</doc>
+ <type name="Container" c:type="ClutterContainer*"/>
+ </parameter>
+ <parameter name="allocation" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterActorBox containing the allocated area of @container</doc>
+ <type name="ActorBox" c:type="ClutterActorBox*"/>
+ </parameter>
+ <parameter name="flags" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the allocation flags</doc>
+ <type name="AllocationFlags" c:type="ClutterAllocationFlags"/>
+ </parameter>
+ </parameters>
</callback>
</field>
- <field name="clutter_reserved2">
- <callback name="clutter_reserved2" c:type="_clutter_reserved2">
+ <field name="set_container">
+ <callback name="set_container">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="manager" transfer-ownership="none">
+ <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
+ </parameter>
+ <parameter name="container"
+ transfer-ownership="none"
+ allow-none="1">
+ <doc xml:whitespace="preserve">a #ClutterContainer using @manager</doc>
+ <type name="Container" c:type="ClutterContainer*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="get_child_meta_type">
+ <callback name="get_child_meta_type">
+ <return-value transfer-ownership="none">
+ <type name="GType" c:type="GType"/>
+ </return-value>
+ <parameters>
+ <parameter name="manager" transfer-ownership="none">
+ <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="create_child_meta" introspectable="0">
+ <callback name="create_child_meta" introspectable="0">
+ <return-value>
+ <type name="LayoutMeta" c:type="ClutterLayoutMeta*"/>
+ </return-value>
+ <parameters>
+ <parameter name="manager" transfer-ownership="none">
+ <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
+ </parameter>
+ <parameter name="container" transfer-ownership="none">
+ <type name="Container" c:type="ClutterContainer*"/>
+ </parameter>
+ <parameter name="actor" transfer-ownership="none">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="begin_animation">
+ <callback name="begin_animation">
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">The #ClutterAlpha created by the</doc>
+ <type name="Alpha" c:type="ClutterAlpha*"/>
+ </return-value>
+ <parameters>
+ <parameter name="manager" transfer-ownership="none">
+ <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
+ </parameter>
+ <parameter name="duration" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the duration of the animation, in milliseconds</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ <parameter name="mode" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the easing mode of the animation</doc>
+ <type name="gulong" c:type="gulong"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="get_animation_progress">
+ <callback name="get_animation_progress">
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the progress of the animation</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </return-value>
+ <parameters>
+ <parameter name="manager" transfer-ownership="none">
+ <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
+ </parameter>
+ </parameters>
</callback>
</field>
- <field name="clutter_reserved3">
- <callback name="clutter_reserved3" c:type="_clutter_reserved3">
+ <field name="end_animation">
+ <callback name="end_animation">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="manager" transfer-ownership="none">
+ <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
+ </parameter>
+ </parameters>
</callback>
</field>
- <field name="clutter_reserved4">
- <callback name="clutter_reserved4" c:type="_clutter_reserved4">
+ <field name="layout_changed">
+ <callback name="layout_changed">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="manager" transfer-ownership="none">
+ <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
+ </parameter>
+ </parameters>
</callback>
</field>
- <field name="clutter_reserved5">
- <callback name="clutter_reserved5" c:type="_clutter_reserved5">
+ <field name="_clutter_padding_1" introspectable="0">
+ <callback name="_clutter_padding_1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_reserved6">
- <callback name="clutter_reserved6" c:type="_clutter_reserved6">
+ <field name="_clutter_padding_2" introspectable="0">
+ <callback name="_clutter_padding_2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- </record>
- <record name="IntervalPrivate" c:type="ClutterIntervalPrivate">
- </record>
- <constant name="Iogonek" value="967">
- <type name="int"/>
- </constant>
- <constant name="Itilde" value="933">
- <type name="int"/>
- </constant>
- <constant name="J" value="74">
- <type name="int"/>
- </constant>
- <constant name="Jcircumflex" value="684">
- <type name="int"/>
- </constant>
- <constant name="K" value="75">
- <type name="int"/>
- </constant>
- <constant name="KP_0" value="65456">
- <type name="int"/>
- </constant>
- <constant name="KP_1" value="65457">
- <type name="int"/>
- </constant>
- <constant name="KP_2" value="65458">
- <type name="int"/>
- </constant>
- <constant name="KP_3" value="65459">
- <type name="int"/>
- </constant>
- <constant name="KP_4" value="65460">
- <type name="int"/>
- </constant>
- <constant name="KP_5" value="65461">
- <type name="int"/>
- </constant>
- <constant name="KP_6" value="65462">
- <type name="int"/>
- </constant>
- <constant name="KP_7" value="65463">
- <type name="int"/>
- </constant>
- <constant name="KP_8" value="65464">
- <type name="int"/>
- </constant>
- <constant name="KP_9" value="65465">
- <type name="int"/>
- </constant>
- <constant name="KP_Add" value="65451">
- <type name="int"/>
- </constant>
- <constant name="KP_Begin" value="65437">
- <type name="int"/>
- </constant>
- <constant name="KP_Decimal" value="65454">
- <type name="int"/>
- </constant>
- <constant name="KP_Delete" value="65439">
- <type name="int"/>
- </constant>
- <constant name="KP_Divide" value="65455">
- <type name="int"/>
- </constant>
- <constant name="KP_Down" value="65433">
- <type name="int"/>
- </constant>
- <constant name="KP_End" value="65436">
- <type name="int"/>
- </constant>
- <constant name="KP_Enter" value="65421">
- <type name="int"/>
- </constant>
- <constant name="KP_Equal" value="65469">
- <type name="int"/>
- </constant>
- <constant name="KP_F1" value="65425">
- <type name="int"/>
- </constant>
- <constant name="KP_F2" value="65426">
- <type name="int"/>
- </constant>
- <constant name="KP_F3" value="65427">
- <type name="int"/>
- </constant>
- <constant name="KP_F4" value="65428">
- <type name="int"/>
- </constant>
- <constant name="KP_Home" value="65429">
- <type name="int"/>
- </constant>
- <constant name="KP_Insert" value="65438">
- <type name="int"/>
- </constant>
- <constant name="KP_Left" value="65430">
- <type name="int"/>
- </constant>
- <constant name="KP_Multiply" value="65450">
- <type name="int"/>
- </constant>
- <constant name="KP_Next" value="65435">
- <type name="int"/>
- </constant>
- <constant name="KP_Page_Down" value="65435">
- <type name="int"/>
- </constant>
- <constant name="KP_Page_Up" value="65434">
- <type name="int"/>
- </constant>
- <constant name="KP_Prior" value="65434">
- <type name="int"/>
- </constant>
- <constant name="KP_Right" value="65432">
- <type name="int"/>
- </constant>
- <constant name="KP_Separator" value="65452">
- <type name="int"/>
- </constant>
- <constant name="KP_Space" value="65408">
- <type name="int"/>
- </constant>
- <constant name="KP_Subtract" value="65453">
- <type name="int"/>
- </constant>
- <constant name="KP_Tab" value="65417">
- <type name="int"/>
- </constant>
- <constant name="KP_Up" value="65431">
- <type name="int"/>
- </constant>
- <constant name="Kana_Lock" value="65325">
- <type name="int"/>
- </constant>
- <constant name="Kana_Shift" value="65326">
- <type name="int"/>
- </constant>
- <constant name="Kanji" value="65313">
- <type name="int"/>
- </constant>
- <constant name="Kanji_Bangou" value="65335">
- <type name="int"/>
- </constant>
- <constant name="Katakana" value="65318">
- <type name="int"/>
- </constant>
- <constant name="Kcedilla" value="979">
- <type name="int"/>
- </constant>
- <record name="KeyEvent"
- c:type="ClutterKeyEvent"
- doc="Key event"
- version="0.2">
- <field name="type" writable="1">
- <type name="EventType" c:type="ClutterEventType"/>
+ <field name="_clutter_padding_3" introspectable="0">
+ <callback name="_clutter_padding_3">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
</field>
- <field name="time" writable="1">
- <type name="uint32" c:type="guint32"/>
+ <field name="_clutter_padding_4" introspectable="0">
+ <callback name="_clutter_padding_4">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
</field>
- <field name="flags" writable="1">
- <type name="EventFlags" c:type="ClutterEventFlags"/>
+ <field name="_clutter_padding_5" introspectable="0">
+ <callback name="_clutter_padding_5">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_padding_6" introspectable="0">
+ <callback name="_clutter_padding_6">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_padding_7" introspectable="0">
+ <callback name="_clutter_padding_7">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_padding_8" introspectable="0">
+ <callback name="_clutter_padding_8">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
</field>
- <field name="stage" writable="1">
- <type name="Stage" c:type="ClutterStage*"/>
+ </record>
+ <class name="LayoutMeta"
+ c:symbol-prefix="layout_meta"
+ c:type="ClutterLayoutMeta"
+ parent="ChildMeta"
+ abstract="1"
+ glib:type-name="ClutterLayoutMeta"
+ glib:get-type="clutter_layout_meta_get_type"
+ glib:type-struct="LayoutMetaClass">
+ <method name="get_manager"
+ c:identifier="clutter_layout_meta_get_manager"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the actor wrapped by @data</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterLayoutManager</doc>
+ <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
+ </return-value>
+ </method>
+ <property name="manager"
+ version="1.2"
+ writable="1"
+ construct-only="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The #ClutterLayoutManager that created this #ClutterLayoutMeta.</doc>
+ <type name="LayoutManager"/>
+ </property>
+ <field name="parent_instance">
+ <type name="ChildMeta" c:type="ClutterChildMeta"/>
</field>
- <field name="source" writable="1">
- <type name="Actor" c:type="ClutterActor*"/>
+ <field name="manager">
+ <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
</field>
- <field name="modifier_state" writable="1">
- <type name="ModifierType" c:type="ClutterModifierType"/>
+ <field name="dummy0">
+ <type name="gint32" c:type="gint32"/>
</field>
- <field name="keyval" writable="1">
- <type name="uint" c:type="guint"/>
+ <field name="dummy1">
+ <type name="gpointer" c:type="gpointer"/>
</field>
- <field name="hardware_keycode" writable="1">
- <type name="uint16" c:type="guint16"/>
+ </class>
+ <record name="LayoutMetaClass"
+ c:type="ClutterLayoutMetaClass"
+ glib:is-gtype-struct-for="LayoutMeta"
+ version="1.2">
+ <doc xml:whitespace="preserve">The #ClutterLayoutMetaClass contains only private data and
+should never be accessed directly</doc>
+ <field name="parent_class">
+ <type name="ChildMetaClass" c:type="ClutterChildMetaClass"/>
</field>
- <field name="unicode_value" writable="1">
- <type name="GLib.unichar" c:type="gunichar"/>
+ <field name="_clutter_padding1" introspectable="0">
+ <callback name="_clutter_padding1">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
</field>
- <field name="device" writable="1">
- <type name="InputDevice" c:type="ClutterInputDevice*"/>
+ <field name="_clutter_padding2" introspectable="0">
+ <callback name="_clutter_padding2">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
</field>
- </record>
- <record name="Knot"
- c:type="ClutterKnot"
- doc="Point in a path behaviour."
- version="0.2"
- glib:type-name="ClutterKnot"
- glib:get-type="clutter_knot_get_type">
- <field name="x" writable="1">
- <type name="int" c:type="gint"/>
+ <field name="_clutter_padding3" introspectable="0">
+ <callback name="_clutter_padding3">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
</field>
- <field name="y" writable="1">
- <type name="int" c:type="gint"/>
+ <field name="_clutter_padding4" introspectable="0">
+ <callback name="_clutter_padding4">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
</field>
- <method name="copy"
- c:identifier="clutter_knot_copy"
- doc="Makes an allocated copy of a knot."
- version="0.2">
- <return-value transfer-ownership="full">
- <type name="Knot" c:type="ClutterKnot*"/>
- </return-value>
- </method>
- <method name="free"
- c:identifier="clutter_knot_free"
- doc="Frees the memory of an allocated knot."
- version="0.2">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </method>
- <method name="equal"
- c:identifier="clutter_knot_equal"
- doc="Compares to knot and checks if the point to the same location."
- version="0.2">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- <parameters>
- <parameter name="knot_b" transfer-ownership="none">
- <type name="Knot" c:type="ClutterKnot*"/>
- </parameter>
- </parameters>
- </method>
</record>
- <constant name="Korean_Won" value="3839">
- <type name="int"/>
- </constant>
- <constant name="L" value="76">
- <type name="int"/>
- </constant>
- <constant name="L1" value="65480">
- <type name="int"/>
- </constant>
- <constant name="L10" value="65489">
- <type name="int"/>
- </constant>
- <constant name="L2" value="65481">
- <type name="int"/>
- </constant>
- <constant name="L3" value="65482">
- <type name="int"/>
- </constant>
- <constant name="L4" value="65483">
- <type name="int"/>
- </constant>
- <constant name="L5" value="65484">
- <type name="int"/>
+ <constant name="Lbelowdot" value="16784950">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="L6" value="65485">
- <type name="int"/>
+ <constant name="Lcaron" value="421">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="L7" value="65486">
- <type name="int"/>
+ <constant name="Lcedilla" value="934">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="L8" value="65487">
- <type name="int"/>
+ <constant name="Left" value="65361">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="L9" value="65488">
- <type name="int"/>
+ <constant name="LightBulb" value="269025077">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Lacute" value="453">
- <type name="int"/>
+ <constant name="Linefeed" value="65290">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Last_Virtual_Screen" value="65236">
- <type name="int"/>
+ <constant name="LiraSign" value="16785572">
+ <type name="gint" c:type="gint"/>
</constant>
- <class name="LayoutManager"
- c:type="ClutterLayoutManager"
- doc="The #ClutterLayoutManager structure contains only private data
-and should be accessed using the provided API"
- version="1.2"
- parent="GObject.InitiallyUnowned"
- abstract="1"
- glib:type-name="ClutterLayoutManager"
- glib:get-type="clutter_layout_manager_get_type"
- glib:type-struct="LayoutManagerClass">
- <virtual-method name="get_preferred_width">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="container" transfer-ownership="none">
- <type name="Container" c:type="ClutterContainer*"/>
- </parameter>
- <parameter name="for_height" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </parameter>
- <parameter name="minimum_width_p"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full">
- <type name="float" c:type="gfloat*"/>
- </parameter>
- <parameter name="natural_width_p"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full">
- <type name="float" c:type="gfloat*"/>
- </parameter>
- </parameters>
- </virtual-method>
- <virtual-method name="get_preferred_height">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="container" transfer-ownership="none">
- <type name="Container" c:type="ClutterContainer*"/>
- </parameter>
- <parameter name="for_width" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </parameter>
- <parameter name="minimum_height_p"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full">
- <type name="float" c:type="gfloat*"/>
- </parameter>
- <parameter name="natural_height_p"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full">
- <type name="float" c:type="gfloat*"/>
- </parameter>
- </parameters>
- </virtual-method>
- <virtual-method name="allocate" invoker="allocate">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="container" transfer-ownership="none">
- <type name="Container" c:type="ClutterContainer*"/>
- </parameter>
- <parameter name="allocation" transfer-ownership="none">
- <type name="ActorBox" c:type="ClutterActorBox*"/>
- </parameter>
- <parameter name="flags" transfer-ownership="none">
- <type name="AllocationFlags" c:type="ClutterAllocationFlags"/>
- </parameter>
- </parameters>
- </virtual-method>
- <virtual-method name="set_container" invoker="set_container">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="container" transfer-ownership="none">
- <type name="Container" c:type="ClutterContainer*"/>
- </parameter>
- </parameters>
- </virtual-method>
- <virtual-method name="get_child_meta_type">
- <return-value transfer-ownership="none">
- <type name="GType" c:type="GType"/>
- </return-value>
- </virtual-method>
- <virtual-method name="create_child_meta">
- <return-value transfer-ownership="full">
- <type name="LayoutMeta" c:type="ClutterLayoutMeta*"/>
- </return-value>
- <parameters>
- <parameter name="container" transfer-ownership="none">
- <type name="Container" c:type="ClutterContainer*"/>
- </parameter>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- </parameters>
- </virtual-method>
- <virtual-method name="begin_animation" invoker="begin_animation">
- <return-value transfer-ownership="full">
- <type name="Alpha" c:type="ClutterAlpha*"/>
- </return-value>
- <parameters>
- <parameter name="duration" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- <parameter name="mode" transfer-ownership="none">
- <type name="ulong" c:type="gulong"/>
- </parameter>
- </parameters>
- </virtual-method>
- <virtual-method name="get_animation_progress"
- invoker="get_animation_progress">
- <return-value transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </return-value>
- </virtual-method>
- <virtual-method name="end_animation" invoker="end_animation">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </virtual-method>
- <method name="get_preferred_width"
- c:identifier="clutter_layout_manager_get_preferred_width"
- doc="Computes the minimum and natural widths of the @container according
-to @manager.
-See also clutter_actor_get_preferred_width()"
- version="1.2">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="container" transfer-ownership="none">
- <type name="Container" c:type="ClutterContainer*"/>
- </parameter>
- <parameter name="for_height" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </parameter>
- <parameter name="min_width_p"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- allow-none="1"
- doc="return location for the minimum width of the layout, or %NULL">
- <type name="float" c:type="gfloat*"/>
+ <class name="ListModel"
+ c:symbol-prefix="list_model"
+ c:type="ClutterListModel"
+ version="0.6"
+ parent="Model"
+ glib:type-name="ClutterListModel"
+ glib:get-type="clutter_list_model_get_type"
+ glib:type-struct="ListModelClass">
+ <doc xml:whitespace="preserve">The #ClutterListModel struct contains only private data.</doc>
+ <implements name="Scriptable"/>
+ <constructor name="new"
+ c:identifier="clutter_list_model_new"
+ version="0.6"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Creates a new default model with @n_columns columns with the types
+and names passed in.
+For example:
+<informalexample><programlisting>
+model = clutter_list_model_new (3,
+G_TYPE_INT, "Score",
+G_TYPE_STRING, "Team",
+GDK_TYPE_PIXBUF, "Logo");
+</programlisting></informalexample>
+will create a new #ClutterModel with three columns of type int,
+string and #GdkPixbuf respectively.
+Note that the name of the column can be set to %NULL, in which case
+the canonical name of the type held by the column will be used as
+the title.</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">a new #ClutterListModel</doc>
+ <type name="Model" c:type="ClutterModel*"/>
+ </return-value>
+ <parameters>
+ <parameter name="n_columns" transfer-ownership="none">
+ <doc xml:whitespace="preserve">number of columns in the model</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
- <parameter name="nat_width_p"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- allow-none="1"
- doc="return location for the natural width of the layout, or %NULL">
- <type name="float" c:type="gfloat*"/>
+ <parameter transfer-ownership="none">
+ <varargs>
+ </varargs>
</parameter>
</parameters>
- </method>
- <method name="get_preferred_height"
- c:identifier="clutter_layout_manager_get_preferred_height"
- doc="Computes the minimum and natural heights of the @container according
-to @manager.
-See also clutter_actor_get_preferred_height()"
- version="1.2">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ </constructor>
+ <function name="newv"
+ c:identifier="clutter_list_model_newv"
+ version="0.6">
+ <doc xml:whitespace="preserve">Non-vararg version of clutter_list_model_new(). This function is
+useful for language bindings.</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">a new default #ClutterModel</doc>
+ <type name="Model" c:type="ClutterModel*"/>
</return-value>
<parameters>
- <parameter name="container" transfer-ownership="none">
- <type name="Container" c:type="ClutterContainer*"/>
- </parameter>
- <parameter name="for_width" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <parameter name="n_columns" transfer-ownership="none">
+ <doc xml:whitespace="preserve">number of columns in the model</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
- <parameter name="min_height_p"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- allow-none="1"
- doc="return location for the minimum height of the layout, or %NULL">
- <type name="float" c:type="gfloat*"/>
+ <parameter name="types" transfer-ownership="none">
+ <doc xml:whitespace="preserve">an array of #GType types for the columns, from first to last</doc>
+ <type name="GType" c:type="GType*"/>
</parameter>
- <parameter name="nat_height_p"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- allow-none="1"
- doc="return location for the natural height of the layout, or %NULL">
- <type name="float" c:type="gfloat*"/>
+ <parameter name="names" transfer-ownership="none">
+ <doc xml:whitespace="preserve">an array of names for the columns, from first to last</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
+ </function>
+ <field name="parent_instance">
+ <type name="Model" c:type="ClutterModel"/>
+ </field>
+ <field name="priv">
+ <type name="ListModelPrivate" c:type="ClutterListModelPrivate*"/>
+ </field>
+ </class>
+ <record name="ListModelClass"
+ c:type="ClutterListModelClass"
+ glib:is-gtype-struct-for="ListModel"
+ version="0.6">
+ <doc xml:whitespace="preserve">The #ClutterListModelClass struct contains only private data.</doc>
+ <field name="parent_class">
+ <type name="ModelClass" c:type="ClutterModelClass"/>
+ </field>
+ </record>
+ <record name="ListModelPrivate"
+ c:type="ClutterListModelPrivate"
+ disguised="1">
+ </record>
+ <constant name="LogOff" value="269025121">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Lstroke" value="419">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="M" value="77">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="MAJOR_VERSION" value="1">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="MICRO_VERSION" value="0">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="MINOR_VERSION" value="4">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Mabovedot" value="16784960">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Macedonia_DSE" value="1717">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Macedonia_GJE" value="1714">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Macedonia_KJE" value="1724">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Macedonia_dse" value="1701">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Macedonia_gje" value="1698">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Macedonia_kje" value="1708">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Mae_Koho" value="65342">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Mail" value="269025049">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="MailForward" value="269025168">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Market" value="269025122">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Massyo" value="65324">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <interface name="Media"
+ c:symbol-prefix="media"
+ c:type="ClutterMedia"
+ version="0.2"
+ glib:type-name="ClutterMedia"
+ glib:get-type="clutter_media_get_type"
+ glib:type-struct="MediaIface">
+ <doc xml:whitespace="preserve">#ClutterMedia is an opaque structure whose members cannot be directly
+accessed</doc>
+ <method name="get_audio_volume"
+ c:identifier="clutter_media_get_audio_volume"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the playback volume of @media.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">The playback volume between 0.0 and 1.0</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </return-value>
</method>
- <method name="allocate"
- c:identifier="clutter_layout_manager_allocate"
- doc="Allocates the children of @container given an area
-See also clutter_actor_allocate()"
- version="1.2">
+ <method name="get_buffer_fill"
+ c:identifier="clutter_media_get_buffer_fill"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the amount of the stream that is buffered.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the fill level, between 0.0 and 1.0</doc>
+ <type name="gdouble" c:type="gdouble"/>
</return-value>
- <parameters>
- <parameter name="container" transfer-ownership="none">
- <type name="Container" c:type="ClutterContainer*"/>
- </parameter>
- <parameter name="allocation"
- transfer-ownership="none"
- doc=" of @container">
- <type name="ActorBox" c:type="ClutterActorBox*"/>
- </parameter>
- <parameter name="flags" transfer-ownership="none">
- <type name="AllocationFlags" c:type="ClutterAllocationFlags"/>
- </parameter>
- </parameters>
</method>
- <method name="set_container"
- c:identifier="clutter_layout_manager_set_container"
- doc="If the #ClutterLayoutManager sub-class allows it, allow
-adding a weak reference of the @container using @manager
-from within the layout manager
-The layout manager should not increase the reference
-count of the @container"
- version="1.2">
+ <method name="get_can_seek"
+ c:identifier="clutter_media_get_can_seek"
+ version="0.2">
+ <doc xml:whitespace="preserve">Retrieves whether @media is seekable or not.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">%TRUE if @media can seek, %FALSE otherwise.</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
- <parameters>
- <parameter name="container"
- transfer-ownership="none"
- allow-none="1"
- doc="a #ClutterContainer using @manager">
- <type name="Container" c:type="ClutterContainer*"/>
- </parameter>
- </parameters>
</method>
- <method name="layout_changed"
- c:identifier="clutter_layout_manager_layout_changed"
- doc="Emits the #ClutterLayoutManager::layout-changed signal on @manager
-This function should only be called by implementations of the
-#ClutterLayoutManager class"
- version="1.2">
+ <method name="get_duration"
+ c:identifier="clutter_media_get_duration"
+ version="0.2">
+ <doc xml:whitespace="preserve">Retrieves the duration of the media stream that @media represents.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the duration of the media stream, in seconds</doc>
+ <type name="gdouble" c:type="gdouble"/>
</return-value>
</method>
- <method name="find_child_property"
- c:identifier="clutter_layout_manager_find_child_property"
- doc="Retrieves the #GParamSpec for the layout property @name inside
-the #ClutterLayoutMeta sub-class used by @manager
-or %NULL if no property with that name exists. The returned
-#GParamSpec is owned by the layout manager and should not be
-modified or freed"
+ <method name="get_playing"
+ c:identifier="clutter_media_get_playing"
+ version="0.2">
+ <doc xml:whitespace="preserve">Retrieves the playing status of @media.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if playing, %FALSE if stopped.</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ </method>
+ <method name="get_progress"
+ c:identifier="clutter_media_get_progress"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the playback progress of @media.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the playback progress, between 0.0 and 1.0</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </return-value>
+ </method>
+ <method name="get_subtitle_font_name"
+ c:identifier="clutter_media_get_subtitle_font_name"
version="1.2">
- <return-value transfer-ownership="none"
- doc="a #GParamSpec describing the property,">
- <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
+ <doc xml:whitespace="preserve">Retrieves the font name currently used.
+to free the returned string</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">a string containing the font name. Use g_free()</doc>
+ <type name="utf8" c:type="gchar*"/>
</return-value>
- <parameters>
- <parameter name="name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- </parameters>
</method>
- <method name="list_child_properties"
- c:identifier="clutter_layout_manager_list_child_properties"
- doc="Retrieves all the #GParamSpec<!-- -->s for the layout properties
-stored inside the #ClutterLayoutMeta sub-class used by @manager
-array of #GParamSpec<!-- -->s. Use g_free() to free the resources
-allocated for the array"
+ <method name="get_subtitle_uri"
+ c:identifier="clutter_media_get_subtitle_uri"
version="1.2">
- <return-value transfer-ownership="full"
- doc="the newly-allocated, %NULL-terminated">
- <type name="GObject.ParamSpec" c:type="GParamSpec**"/>
+ <doc xml:whitespace="preserve">Retrieves the URI of the subtitle file in use.
+to free the returned string</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">the URI of the subtitle file. Use g_free()</doc>
+ <type name="utf8" c:type="gchar*"/>
</return-value>
- <parameters>
- <parameter name="n_pspecs"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- doc="return location for the number of returned #GParamSpec<!-- -->s">
- <type name="uint" c:type="guint*"/>
- </parameter>
- </parameters>
</method>
- <method name="get_child_meta"
- c:identifier="clutter_layout_manager_get_child_meta"
- doc="Retrieves the #ClutterLayoutMeta that the layout @manager associated
-to the @actor child of @container, eventually by creating one if the
-#ClutterLayoutManager supports layout properties
-does not have layout properties"
- version="1.0">
+ <method name="get_uri"
+ c:identifier="clutter_media_get_uri"
+ version="0.2">
+ <doc xml:whitespace="preserve">Retrieves the URI from @media.
+to free the returned string</doc>
<return-value transfer-ownership="full">
- <type name="LayoutMeta" c:type="ClutterLayoutMeta*"/>
+ <doc xml:whitespace="preserve">the URI of the media stream. Use g_free()</doc>
+ <type name="utf8" c:type="gchar*"/>
</return-value>
- <parameters>
- <parameter name="container" transfer-ownership="none">
- <type name="Container" c:type="ClutterContainer*"/>
- </parameter>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- </parameters>
</method>
- <method name="child_set"
- c:identifier="clutter_layout_manager_child_set"
- doc="Sets a list of properties and their values on the #ClutterLayoutMeta
-associated by @manager to a child of @container
-Languages bindings should use clutter_layout_manager_child_set_property()
-instead"
- version="1.2">
+ <method name="set_audio_volume"
+ c:identifier="clutter_media_set_audio_volume"
+ version="1.0">
+ <doc xml:whitespace="preserve">Sets the playback volume of @media to @volume.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="container" transfer-ownership="none">
- <type name="Container" c:type="ClutterContainer*"/>
- </parameter>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- <parameter name="first_property" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- <parameter transfer-ownership="none">
- <varargs>
- </varargs>
+ <parameter name="volume" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the volume as a double between 0.0 and 1.0</doc>
+ <type name="gdouble" c:type="gdouble"/>
</parameter>
</parameters>
</method>
- <method name="child_get"
- c:identifier="clutter_layout_manager_child_get"
- doc="Retrieves the values for a list of properties out of the
-#ClutterLayoutMeta created by @manager and attached to the
-child of a @container"
- version="1.2">
+ <method name="set_filename"
+ c:identifier="clutter_media_set_filename"
+ version="0.2">
+ <doc xml:whitespace="preserve">Sets the source of @media using a file path.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="container" transfer-ownership="none">
- <type name="Container" c:type="ClutterContainer*"/>
- </parameter>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- <parameter name="first_property" transfer-ownership="none">
+ <parameter name="filename" transfer-ownership="none">
+ <doc xml:whitespace="preserve">A filename</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
- <parameter transfer-ownership="none">
- <varargs>
- </varargs>
- </parameter>
</parameters>
</method>
- <method name="child_set_property"
- c:identifier="clutter_layout_manager_child_set_property"
- doc="Sets a property on the #ClutterLayoutMeta created by @manager and
-attached to a child of @container"
- version="1.2">
+ <method name="set_playing"
+ c:identifier="clutter_media_set_playing"
+ version="0.2">
+ <doc xml:whitespace="preserve">Starts or stops playing of @media.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="container" transfer-ownership="none">
- <type name="Container" c:type="ClutterContainer*"/>
- </parameter>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- <parameter name="property_name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- <parameter name="value" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
+ </return-value>
+ <parameters>
+ <parameter name="playing" transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE to start playing</doc>
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
- <method name="child_get_property"
- c:identifier="clutter_layout_manager_child_get_property"
- doc="Gets a property on the #ClutterLayoutMeta created by @manager and
-attached to a child of @container
-The #GValue must already be initialized to the type of the property
-and has to be unset with g_value_unset() after extracting the real
-value out of it"
- version="1.2">
+ <method name="set_progress"
+ c:identifier="clutter_media_set_progress"
+ version="1.0">
+ <doc xml:whitespace="preserve">Sets the playback progress of @media. The @progress is
+a normalized value between 0.0 (begin) and 1.0 (end).</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="container" transfer-ownership="none">
- <type name="Container" c:type="ClutterContainer*"/>
- </parameter>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- <parameter name="property_name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- <parameter name="value" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
+ <parameter name="progress" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the progress of the playback, between 0.0 and 1.0</doc>
+ <type name="gdouble" c:type="gdouble"/>
</parameter>
</parameters>
</method>
- <method name="begin_animation"
- c:identifier="clutter_layout_manager_begin_animation"
- doc="Begins an animation of @duration milliseconds, using the provided
-easing @mode
-The easing mode can be specified either as a #ClutterAnimationMode
-or as a logical id returned by clutter_alpha_register_func()
-The result of this function depends on the @manager implementation
-layout manager; the returned instance is owned by the layout
-manager and should not be unreferenced"
+ <method name="set_subtitle_font_name"
+ c:identifier="clutter_media_set_subtitle_font_name"
version="1.2">
- <return-value transfer-ownership="none"
- doc="The #ClutterAlpha created by the">
- <type name="Alpha" c:type="ClutterAlpha*"/>
+ <doc xml:whitespace="preserve">Sets the font used by the subtitle renderer. The @font_name string must be
+either %NULL, which means that the default font name of the underlying
+implementation will be used; or must follow the grammar recognized by
+pango_font_description_from_string() like:
+|[
+clutter_media_set_subtitle_font_name (media, "Sans 24pt");
+]|</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="duration" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- <parameter name="mode" transfer-ownership="none">
- <type name="ulong" c:type="gulong"/>
+ <parameter name="font_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a font name, or %NULL to set the default font name</doc>
+ <type name="utf8" c:type="char*"/>
</parameter>
</parameters>
</method>
- <method name="end_animation"
- c:identifier="clutter_layout_manager_end_animation"
- doc="Ends an animation started by clutter_layout_manager_begin_animation()
-The result of this call depends on the @manager implementation"
+ <method name="set_subtitle_uri"
+ c:identifier="clutter_media_set_subtitle_uri"
version="1.2">
+ <doc xml:whitespace="preserve">Sets the location of a subtitle file to display while playing @media.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="uri" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the URI of a subtitle file</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ </parameters>
</method>
- <method name="get_animation_progress"
- c:identifier="clutter_layout_manager_get_animation_progress"
- doc="Retrieves the progress of the animation, if one has been started by
-clutter_layout_manager_begin_animation()
-The returned value has the same semantics of the #ClutterAlpha:alpha
-value"
- version="1.2">
+ <method name="set_uri"
+ c:identifier="clutter_media_set_uri"
+ version="0.2">
+ <doc xml:whitespace="preserve">Sets the URI of @media to @uri.</doc>
<return-value transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </return-value>
- </method>
- <field name="parent_instance">
- <type name="GObject.InitiallyUnowned" c:type="GInitiallyUnowned"/>
- </field>
- <field name="dummy">
- <type name="any" c:type="gpointer"/>
- </field>
- <glib:signal name="layout-changed"
- doc="The ::layout-changed signal is emitted each time a layout manager
-has been changed. Every #ClutterActor using the @manager instance
-as a layout manager should connect a handler to the ::layout-changed
-signal and queue a relayout on themselves:
-|[
-static void layout_changed (ClutterLayoutManager *manager,
-ClutterActor *self)
-{
-clutter_actor_queue_relayout (self);
-}
-...
-self->manager = g_object_ref_sink (manager);
-g_signal_connect (self->manager, "layout-changed",
-G_CALLBACK (layout_changed),
-self);
-]|
-Sub-classes of #ClutterLayoutManager that implement a layout that
-can be controlled or changed using parameters should emit the
-::layout-changed signal whenever one of the parameters changes,
-by using clutter_layout_manager_layout_changed()."
- version="1.2">
- <return-value transfer-ownership="full">
<type name="none" c:type="void"/>
</return-value>
- </glib:signal>
- </class>
- <record name="LayoutManagerClass"
- c:type="ClutterLayoutManagerClass"
- glib:is-gtype-struct-for="LayoutManager"
- doc="The #ClutterLayoutManagerClass structure contains only private
-data and should be accessed using the provided API"
- version="1.2">
- <field name="parent_class">
- <type name="GObject.InitiallyUnownedClass"
- c:type="GInitiallyUnownedClass"/>
- </field>
- <field name="get_preferred_width">
- <callback name="get_preferred_width" c:type="get_preferred_width">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="manager" transfer-ownership="none">
- <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
- </parameter>
- <parameter name="container" transfer-ownership="none">
- <type name="Container" c:type="ClutterContainer*"/>
- </parameter>
- <parameter name="for_height" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </parameter>
- <parameter name="minimum_width_p"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full">
- <type name="float" c:type="gfloat*"/>
- </parameter>
- <parameter name="natural_width_p"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full">
- <type name="float" c:type="gfloat*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="get_preferred_height">
- <callback name="get_preferred_height" c:type="get_preferred_height">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="manager" transfer-ownership="none">
- <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
- </parameter>
- <parameter name="container" transfer-ownership="none">
- <type name="Container" c:type="ClutterContainer*"/>
- </parameter>
- <parameter name="for_width" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </parameter>
- <parameter name="minimum_height_p"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full">
- <type name="float" c:type="gfloat*"/>
- </parameter>
- <parameter name="natural_height_p"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full">
- <type name="float" c:type="gfloat*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="allocate">
- <callback name="allocate" c:type="allocate">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="manager" transfer-ownership="none">
- <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
- </parameter>
- <parameter name="container" transfer-ownership="none">
- <type name="Container" c:type="ClutterContainer*"/>
- </parameter>
- <parameter name="allocation" transfer-ownership="none">
- <type name="ActorBox" c:type="ClutterActorBox*"/>
- </parameter>
- <parameter name="flags" transfer-ownership="none">
- <type name="AllocationFlags" c:type="ClutterAllocationFlags"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="set_container">
- <callback name="set_container" c:type="set_container">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="manager" transfer-ownership="none">
- <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
- </parameter>
- <parameter name="container" transfer-ownership="none">
- <type name="Container" c:type="ClutterContainer*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="get_child_meta_type">
- <callback name="get_child_meta_type" c:type="get_child_meta_type">
- <return-value transfer-ownership="none">
- <type name="GType" c:type="GType"/>
- </return-value>
- <parameters>
- <parameter name="manager" transfer-ownership="none">
- <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="create_child_meta">
- <callback name="create_child_meta" c:type="create_child_meta">
- <return-value transfer-ownership="full">
- <type name="LayoutMeta" c:type="ClutterLayoutMeta*"/>
- </return-value>
- <parameters>
- <parameter name="manager" transfer-ownership="none">
- <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
- </parameter>
- <parameter name="container" transfer-ownership="none">
- <type name="Container" c:type="ClutterContainer*"/>
- </parameter>
- <parameter name="actor" transfer-ownership="none">
- <type name="Actor" c:type="ClutterActor*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="begin_animation">
- <callback name="begin_animation" c:type="begin_animation">
- <return-value transfer-ownership="full">
- <type name="Alpha" c:type="ClutterAlpha*"/>
- </return-value>
- <parameters>
- <parameter name="manager" transfer-ownership="none">
- <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
- </parameter>
- <parameter name="duration" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- <parameter name="mode" transfer-ownership="none">
- <type name="ulong" c:type="gulong"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="get_animation_progress">
- <callback name="get_animation_progress"
- c:type="get_animation_progress">
- <return-value transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </return-value>
- <parameters>
- <parameter name="manager" transfer-ownership="none">
- <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
- </parameter>
- </parameters>
- </callback>
+ <parameters>
+ <parameter name="uri" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the URI of the media stream</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <property name="audio-volume"
+ version="1.0"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The volume of the audio, as a normalized value between
+0.0 and 1.0.</doc>
+ <type name="gdouble"/>
+ </property>
+ <property name="buffer-fill" version="1.0" transfer-ownership="none">
+ <doc xml:whitespace="preserve">The fill level of the buffer for the current stream,
+as a value between 0.0 and 1.0.</doc>
+ <type name="gdouble"/>
+ </property>
+ <property name="can-seek" version="0.2" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the current stream is seekable.</doc>
+ <type name="gboolean"/>
+ </property>
+ <property name="duration" version="0.2" transfer-ownership="none">
+ <doc xml:whitespace="preserve">The duration of the current stream, in seconds</doc>
+ <type name="gdouble"/>
+ </property>
+ <property name="playing"
+ version="0.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the #ClutterMedia actor is playing.</doc>
+ <type name="gboolean"/>
+ </property>
+ <property name="progress"
+ version="1.0"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The current progress of the playback, as a normalized
+value between 0.0 and 1.0.</doc>
+ <type name="gdouble"/>
+ </property>
+ <property name="subtitle-font-name"
+ version="1.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The font used to display subtitles. The font description has to
+follow the same grammar as the one recognized by
+pango_font_description_from_string().</doc>
+ <type name="utf8"/>
+ </property>
+ <property name="subtitle-uri"
+ version="1.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The location of a subtitle file, expressed as a valid URI.</doc>
+ <type name="utf8"/>
+ </property>
+ <property name="uri"
+ version="0.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The location of a media file, expressed as a valid URI.</doc>
+ <type name="utf8"/>
+ </property>
+ <glib:signal name="eos" version="0.2">
+ <doc xml:whitespace="preserve">The ::eos signal is emitted each time the media stream ends.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ </glib:signal>
+ <glib:signal name="error" version="0.2">
+ <doc xml:whitespace="preserve">The ::error signal is emitted each time an error occurred.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #GError</doc>
+ <type name="gpointer"/>
+ </parameter>
+ </parameters>
+ </glib:signal>
+ </interface>
+ <record name="MediaIface"
+ c:type="ClutterMediaIface"
+ glib:is-gtype-struct-for="Media"
+ version="0.2">
+ <doc xml:whitespace="preserve">Interface vtable for #ClutterMedia implementations</doc>
+ <field name="base_iface">
+ <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
</field>
- <field name="end_animation">
- <callback name="end_animation" c:type="end_animation">
+ <field name="eos">
+ <callback name="eos">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="manager" transfer-ownership="none">
- <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
+ <parameter name="media" transfer-ownership="none">
+ <type name="Media" c:type="ClutterMedia*"/>
</parameter>
</parameters>
</callback>
</field>
- <field name="layout_changed">
- <callback name="layout_changed" c:type="layout_changed">
+ <field name="error">
+ <callback name="error">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="manager" transfer-ownership="none">
- <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
+ <parameter name="media" transfer-ownership="none">
+ <type name="Media" c:type="ClutterMedia*"/>
+ </parameter>
+ <parameter name="error" transfer-ownership="none">
+ <type name="GLib.Error" c:type="GError*"/>
</parameter>
</parameters>
</callback>
</field>
- <field name="clutter_padding_1">
- <callback name="clutter_padding_1" c:type="_clutter_padding_1">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_padding_2">
- <callback name="clutter_padding_2" c:type="_clutter_padding_2">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_padding_3">
- <callback name="clutter_padding_3" c:type="_clutter_padding_3">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_padding_4">
- <callback name="clutter_padding_4" c:type="_clutter_padding_4">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_padding_5">
- <callback name="clutter_padding_5" c:type="_clutter_padding_5">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_padding_6">
- <callback name="clutter_padding_6" c:type="_clutter_padding_6">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_padding_7">
- <callback name="clutter_padding_7" c:type="_clutter_padding_7">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_padding_8">
- <callback name="clutter_padding_8" c:type="_clutter_padding_8">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
</record>
- <class name="LayoutMeta"
- c:type="ClutterLayoutMeta"
- parent="ChildMeta"
+ <constant name="Meeting" value="269025123">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Memo" value="269025054">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Menu" value="65383">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="MenuKB" value="269025125">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="MenuPB" value="269025126">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Messenger" value="269025166">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Meta_L" value="65511">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Meta_R" value="65512">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="MillSign" value="16785573">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ModeLock" value="269025025">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Mode_switch" value="65406">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <class name="Model"
+ c:symbol-prefix="model"
+ c:type="ClutterModel"
+ version="0.6"
+ parent="GObject.Object"
abstract="1"
- glib:type-name="ClutterLayoutMeta"
- glib:get-type="clutter_layout_meta_get_type"
- glib:type-struct="LayoutMetaClass">
- <method name="get_manager"
- c:identifier="clutter_layout_meta_get_manager"
- doc="Retrieves the actor wrapped by @data"
- version="1.2">
- <return-value transfer-ownership="none" doc="a #ClutterLayoutManager">
- <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
+ glib:type-name="ClutterModel"
+ glib:get-type="clutter_model_get_type"
+ glib:type-struct="ModelClass">
+ <doc xml:whitespace="preserve">Base class for list models. The #ClutterModel structure contains
+only private data and should be manipulated using the provided
+API.</doc>
+ <implements name="Scriptable"/>
+ <virtual-method name="get_column_name"
+ invoker="get_column_name"
+ version="0.6">
+ <doc xml:whitespace="preserve">Retrieves the name of the @column
+string, and it should not be modified or freed</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the column. The model holds the returned</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </return-value>
+ <parameters>
+ <parameter name="column" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the column number</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ </parameters>
+ </virtual-method>
+ <virtual-method name="get_column_type"
+ invoker="get_column_type"
+ version="0.6">
+ <doc xml:whitespace="preserve">Retrieves the type of the @column.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the type of the column.</doc>
+ <type name="GType" c:type="GType"/>
+ </return-value>
+ <parameters>
+ <parameter name="column" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the column number</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ </parameters>
+ </virtual-method>
+ <virtual-method name="get_iter_at_row"
+ invoker="get_iter_at_row"
+ version="0.6">
+ <doc xml:whitespace="preserve">Retrieves a #ClutterModelIter representing the row at the given index.
+If a filter function has been set using clutter_model_set_filter()
+then the @model implementation will return the first non filtered
+row.
+out of bounds. When done using the iterator object, call g_object_unref()
+to deallocate its resources</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">A new #ClutterModelIter, or %NULL if @row was</doc>
+ <type name="ModelIter" c:type="ClutterModelIter*"/>
+ </return-value>
+ <parameters>
+ <parameter name="row" transfer-ownership="none">
+ <doc xml:whitespace="preserve">position of the row to retrieve</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ </parameters>
+ </virtual-method>
+ <virtual-method name="get_n_columns"
+ invoker="get_n_columns"
+ version="0.6">
+ <doc xml:whitespace="preserve">Retrieves the number of columns inside @model.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the number of columns</doc>
+ <type name="guint" c:type="guint"/>
+ </return-value>
+ </virtual-method>
+ <virtual-method name="get_n_rows" invoker="get_n_rows" version="0.6">
+ <doc xml:whitespace="preserve">Retrieves the number of rows inside @model, eventually taking
+into account any filtering function set using clutter_model_set_filter().
+the length of the filtered @model is returned.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">The length of the @model. If there is a filter set, then</doc>
+ <type name="guint" c:type="guint"/>
+ </return-value>
+ </virtual-method>
+ <virtual-method name="insert_row" introspectable="0">
+ <return-value>
+ <type name="ModelIter" c:type="ClutterModelIter*"/>
+ </return-value>
+ <parameters>
+ <parameter name="index_" transfer-ownership="none">
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ </parameters>
+ </virtual-method>
+ <virtual-method name="remove_row">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="row" transfer-ownership="none">
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ </parameters>
+ </virtual-method>
+ <virtual-method name="resort" introspectable="0">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="func" transfer-ownership="none" closure="1">
+ <type name="ModelSortFunc" c:type="ClutterModelSortFunc"/>
+ </parameter>
+ <parameter name="data" transfer-ownership="none">
+ <type name="gpointer" c:type="gpointer"/>
+ </parameter>
+ </parameters>
+ </virtual-method>
+ <method name="append"
+ c:identifier="clutter_model_append"
+ version="0.6"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Creates and appends a new row to the #ClutterModel, setting the
+row values upon creation. For example, to append a new row where
+column 0 is type %G_TYPE_INT and column 1 is of type %G_TYPE_STRING:
+<informalexample><programlisting>
+ClutterModel *model;
+model = clutter_model_default_new (2,
+G_TYPE_INT, "Score",
+G_TYPE_STRING, "Team");
+clutter_model_append (model, 0, 42, 1, "Team #1", -1);
+</programlisting></informalexample></doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter transfer-ownership="none">
+ <varargs>
+ </varargs>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="appendv"
+ c:identifier="clutter_model_appendv"
+ version="0.6">
+ <doc xml:whitespace="preserve">Creates and appends a new row to the #ClutterModel, setting the row
+values for the given @columns upon creation.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="n_columns" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the number of columns and values</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ <parameter name="columns" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a vector with the columns to set</doc>
+ <array length="0" c:type="guint*">
+ <type name="guint"/>
+ </array>
+ </parameter>
+ <parameter name="values" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a vector with the values</doc>
+ <array length="0" c:type="GValue*">
+ <type name="GObject.Value"/>
+ </array>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="filter_iter"
+ c:identifier="clutter_model_filter_iter"
+ version="0.6">
+ <doc xml:whitespace="preserve">Checks whether the row pointer by @iter should be filtered or not using
+the filtering function set on @model.
+This function should be used only by subclasses of #ClutterModel.
+%FALSE otherwise</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the row should be displayed,</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="iter" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the row to filter</doc>
+ <type name="ModelIter" c:type="ClutterModelIter*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="filter_row"
+ c:identifier="clutter_model_filter_row"
+ version="0.6">
+ <doc xml:whitespace="preserve">Checks whether @row should be filtered or not using the
+filtering function set on @model.
+This function should be used only by subclasses of #ClutterModel.
+%FALSE otherwise</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the row should be displayed,</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="row" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the row to filter</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="foreach"
+ c:identifier="clutter_model_foreach"
+ version="0.6">
+ <doc xml:whitespace="preserve">Calls @func for each row in the model.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="func"
+ transfer-ownership="none"
+ scope="call"
+ closure="1">
+ <doc xml:whitespace="preserve">a #ClutterModelForeachFunc</doc>
+ <type name="ModelForeachFunc" c:type="ClutterModelForeachFunc"/>
+ </parameter>
+ <parameter name="user_data" transfer-ownership="none">
+ <doc xml:whitespace="preserve">user data to pass to @func</doc>
+ <type name="gpointer" c:type="gpointer"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="get_column_name"
+ c:identifier="clutter_model_get_column_name"
+ version="0.6">
+ <doc xml:whitespace="preserve">Retrieves the name of the @column
+string, and it should not be modified or freed</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the column. The model holds the returned</doc>
+ <type name="utf8" c:type="gchar*"/>
</return-value>
+ <parameters>
+ <parameter name="column" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the column number</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ </parameters>
</method>
- <property name="manager"
- version="1.2"
- writable="1"
- construct-only="1"
- doc="The #ClutterLayoutManager that created this #ClutterLayoutMeta.">
- <type name="LayoutManager" c:type="ClutterLayoutManager"/>
- </property>
- <field name="parent_instance">
- <type name="ChildMeta" c:type="ClutterChildMeta"/>
- </field>
- <field name="manager">
- <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
- </field>
- <field name="dummy0">
- <type name="int32" c:type="gint32"/>
- </field>
- <field name="dummy1">
- <type name="any" c:type="gpointer"/>
- </field>
- </class>
- <record name="LayoutMetaClass"
- c:type="ClutterLayoutMetaClass"
- glib:is-gtype-struct-for="LayoutMeta"
- doc="The #ClutterLayoutMetaClass contains only private data and
-should never be accessed directly"
- version="1.2">
- <field name="parent_class">
- <type name="ChildMetaClass" c:type="ClutterChildMetaClass"/>
- </field>
- <field name="clutter_padding1">
- <callback name="clutter_padding1" c:type="_clutter_padding1">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_padding2">
- <callback name="clutter_padding2" c:type="_clutter_padding2">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_padding3">
- <callback name="clutter_padding3" c:type="_clutter_padding3">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_padding4">
- <callback name="clutter_padding4" c:type="_clutter_padding4">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- </record>
- <constant name="Lbelowdot" value="16784950">
- <type name="int"/>
- </constant>
- <constant name="Lcaron" value="421">
- <type name="int"/>
- </constant>
- <constant name="Lcedilla" value="934">
- <type name="int"/>
- </constant>
- <constant name="Left" value="65361">
- <type name="int"/>
- </constant>
- <constant name="Linefeed" value="65290">
- <type name="int"/>
- </constant>
- <constant name="LiraSign" value="16785572">
- <type name="int"/>
- </constant>
- <class name="ListModel"
- c:type="ClutterListModel"
- doc="The #ClutterListModel struct contains only private data."
- version="0.6"
- parent="Model"
- glib:type-name="ClutterListModel"
- glib:get-type="clutter_list_model_get_type"
- glib:type-struct="ListModelClass">
- <implements name="Scriptable"/>
- <constructor name="new"
- c:identifier="clutter_list_model_new"
- doc="Creates a new default model with @n_columns columns with the types
-and names passed in.
-For example:
-<informalexample><programlisting>
-model = clutter_list_model_new (3,
-G_TYPE_INT, "Score",
-G_TYPE_STRING, "Team",
-GDK_TYPE_PIXBUF, "Logo");
-</programlisting></informalexample>
-will create a new #ClutterModel with three columns of type int,
-string and #GdkPixbuf respectively.
-Note that the name of the column can be set to %NULL, in which case
-the canonical name of the type held by the column will be used as
-the title."
- version="0.6">
+ <method name="get_column_type"
+ c:identifier="clutter_model_get_column_type"
+ version="0.6">
+ <doc xml:whitespace="preserve">Retrieves the type of the @column.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the type of the column.</doc>
+ <type name="GType" c:type="GType"/>
+ </return-value>
+ <parameters>
+ <parameter name="column" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the column number</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="get_filter_set"
+ c:identifier="clutter_model_get_filter_set"
+ version="1.0">
+ <doc xml:whitespace="preserve">Returns whether the @model has a filter in place, set
+using clutter_model_set_filter()</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if a filter is set</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ </method>
+ <method name="get_first_iter"
+ c:identifier="clutter_model_get_first_iter"
+ version="0.6">
+ <doc xml:whitespace="preserve">Retrieves a #ClutterModelIter representing the first non-filtered
+row in @model.
+Call g_object_unref() when done using it</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">A new #ClutterModelIter.</doc>
+ <type name="ModelIter" c:type="ClutterModelIter*"/>
+ </return-value>
+ </method>
+ <method name="get_iter_at_row"
+ c:identifier="clutter_model_get_iter_at_row"
+ version="0.6">
+ <doc xml:whitespace="preserve">Retrieves a #ClutterModelIter representing the row at the given index.
+If a filter function has been set using clutter_model_set_filter()
+then the @model implementation will return the first non filtered
+row.
+out of bounds. When done using the iterator object, call g_object_unref()
+to deallocate its resources</doc>
<return-value transfer-ownership="full">
- <type name="ListModel" c:type="ClutterModel*"/>
+ <doc xml:whitespace="preserve">A new #ClutterModelIter, or %NULL if @row was</doc>
+ <type name="ModelIter" c:type="ClutterModelIter*"/>
</return-value>
<parameters>
- <parameter name="n_columns" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <parameter name="row" transfer-ownership="none">
+ <doc xml:whitespace="preserve">position of the row to retrieve</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="get_last_iter"
+ c:identifier="clutter_model_get_last_iter"
+ version="0.6">
+ <doc xml:whitespace="preserve">Retrieves a #ClutterModelIter representing the last non-filtered
+row in @model.
+Call g_object_unref() when done using it</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">A new #ClutterModelIter.</doc>
+ <type name="ModelIter" c:type="ClutterModelIter*"/>
+ </return-value>
+ </method>
+ <method name="get_n_columns"
+ c:identifier="clutter_model_get_n_columns"
+ version="0.6">
+ <doc xml:whitespace="preserve">Retrieves the number of columns inside @model.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the number of columns</doc>
+ <type name="guint" c:type="guint"/>
+ </return-value>
+ </method>
+ <method name="get_n_rows"
+ c:identifier="clutter_model_get_n_rows"
+ version="0.6">
+ <doc xml:whitespace="preserve">Retrieves the number of rows inside @model, eventually taking
+into account any filtering function set using clutter_model_set_filter().
+the length of the filtered @model is returned.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">The length of the @model. If there is a filter set, then</doc>
+ <type name="guint" c:type="guint"/>
+ </return-value>
+ </method>
+ <method name="get_sorting_column"
+ c:identifier="clutter_model_get_sorting_column"
+ version="0.6">
+ <doc xml:whitespace="preserve">Retrieves the number of column used for sorting the @model.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a column number, or -1 if the model is not sorted</doc>
+ <type name="gint" c:type="gint"/>
+ </return-value>
+ </method>
+ <method name="insert"
+ c:identifier="clutter_model_insert"
+ version="0.6"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Inserts a new row to the #ClutterModel at @row, setting the row
+values upon creation. For example, to insert a new row at index 100,
+where column 0 is type %G_TYPE_INT and column 1 is of type
+%G_TYPE_STRING:
+<informalexample><programlisting>
+ClutterModel *model;
+model = clutter_model_default_new (2,
+G_TYPE_INT, "Score",
+G_TYPE_STRING, "Team");
+clutter_model_insert (model, 3, 0, 42, 1, "Team #1", -1);
+</programlisting></informalexample></doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="row" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the position to insert the new row</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
<parameter transfer-ownership="none">
<varargs>
</varargs>
</parameter>
</parameters>
- </constructor>
- <constructor name="newv"
- c:identifier="clutter_list_model_newv"
- doc="Non-vararg version of clutter_list_model_new(). This function is
-useful for language bindings."
- version="0.6">
- <return-value transfer-ownership="full">
- <type name="ListModel" c:type="ClutterModel*"/>
+ </method>
+ <method name="insert_value"
+ c:identifier="clutter_model_insert_value"
+ version="0.6">
+ <doc xml:whitespace="preserve">Sets the data in the cell specified by @iter and @column. The type of
+not exist then it is created.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="n_columns" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <parameter name="row" transfer-ownership="none">
+ <doc xml:whitespace="preserve">position of the row to modify</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
- <parameter name="types"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full">
- <type name="GType" c:type="GType*"/>
+ <parameter name="column" transfer-ownership="none">
+ <doc xml:whitespace="preserve">column to modify</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
- <parameter name="names" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">new value for the cell</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
</parameter>
</parameters>
- </constructor>
- <field name="parent_instance">
- <type name="Model" c:type="ClutterModel"/>
- </field>
- <field name="priv">
- <type name="ListModelPrivate" c:type="ClutterListModelPrivate*"/>
- </field>
- </class>
- <record name="ListModelClass"
- c:type="ClutterListModelClass"
- glib:is-gtype-struct-for="ListModel"
- doc="The #ClutterListModelClass struct contains only private data."
- version="0.6">
- <field name="parent_class">
- <type name="ModelClass" c:type="ClutterModelClass"/>
- </field>
- </record>
- <record name="ListModelPrivate" c:type="ClutterListModelPrivate">
- </record>
- <constant name="Lstroke" value="419">
- <type name="int"/>
- </constant>
- <constant name="M" value="77">
- <type name="int"/>
- </constant>
- <constant name="MAJOR_VERSION" value="1">
- <type name="int"/>
- </constant>
- <constant name="MICRO_VERSION" value="10">
- <type name="int"/>
- </constant>
- <constant name="MINOR_VERSION" value="2">
- <type name="int"/>
- </constant>
- <constant name="Mabovedot" value="16784960">
- <type name="int"/>
- </constant>
- <constant name="Macedonia_DSE" value="1717">
- <type name="int"/>
- </constant>
- <constant name="Macedonia_GJE" value="1714">
- <type name="int"/>
- </constant>
- <constant name="Macedonia_KJE" value="1724">
- <type name="int"/>
- </constant>
- <constant name="Macedonia_dse" value="1701">
- <type name="int"/>
- </constant>
- <constant name="Macedonia_gje" value="1698">
- <type name="int"/>
- </constant>
- <constant name="Macedonia_kje" value="1708">
- <type name="int"/>
- </constant>
- <constant name="Mae_Koho" value="65342">
- <type name="int"/>
- </constant>
- <constant name="Massyo" value="65324">
- <type name="int"/>
- </constant>
- <interface name="Media"
- c:type="ClutterMedia"
- doc="#ClutterMedia is an opaque structure whose members cannot be directly
-accessed"
- version="0.2"
- glib:type-name="ClutterMedia"
- glib:get-type="clutter_media_get_type"
- glib:type-struct="MediaIface">
- <method name="set_uri"
- c:identifier="clutter_media_set_uri"
- doc="Sets the URI of @media to @uri."
- version="0.2">
+ </method>
+ <method name="insertv"
+ c:identifier="clutter_model_insertv"
+ version="0.6">
+ <doc xml:whitespace="preserve">Inserts data at @row into the #ClutterModel, setting the row
+values for the given @columns upon creation.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="row" transfer-ownership="none">
+ <doc xml:whitespace="preserve">row index</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ <parameter name="n_columns" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the number of columns and values to set</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ <parameter name="columns" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a vector containing the columns to set</doc>
+ <array length="1" c:type="guint*">
+ <type name="guint"/>
+ </array>
+ </parameter>
+ <parameter name="values" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a vector containing the values for the cells</doc>
+ <array length="1" c:type="GValue*">
+ <type name="GObject.Value"/>
+ </array>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="prepend"
+ c:identifier="clutter_model_prepend"
+ version="0.6"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Creates and prepends a new row to the #ClutterModel, setting the row
+values upon creation. For example, to prepend a new row where column 0
+is type %G_TYPE_INT and column 1 is of type %G_TYPE_STRING:
+<informalexample><programlisting>
+ClutterModel *model;
+model = clutter_model_default_new (2,
+G_TYPE_INT, "Score",
+G_TYPE_STRING, "Team");
+clutter_model_prepend (model, 0, 42, 1, "Team #1", -1);
+</programlisting></informalexample></doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="uri" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter transfer-ownership="none">
+ <varargs>
+ </varargs>
</parameter>
</parameters>
</method>
- <method name="get_uri"
- c:identifier="clutter_media_get_uri"
- doc="Retrieves the URI from @media.
-to free the returned string"
- version="0.2">
- <return-value transfer-ownership="full">
- <type name="utf8" c:type="gchar*"/>
- </return-value>
- </method>
- <method name="set_filename"
- c:identifier="clutter_media_set_filename"
- doc="Sets the source of @media using a file path."
- version="0.2">
+ <method name="prependv"
+ c:identifier="clutter_model_prependv"
+ version="0.6">
+ <doc xml:whitespace="preserve">Creates and prepends a new row to the #ClutterModel, setting the row
+values for the given @columns upon creation.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="filename" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="n_columns" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the number of columns and values to set</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ <parameter name="columns" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a vector containing the columns to set</doc>
+ <array length="0" c:type="guint*">
+ <type name="guint"/>
+ </array>
+ </parameter>
+ <parameter name="values" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a vector containing the values for the cells</doc>
+ <array length="0" c:type="GValue*">
+ <type name="GObject.Value"/>
+ </array>
</parameter>
</parameters>
</method>
- <method name="set_playing"
- c:identifier="clutter_media_set_playing"
- doc="Starts or stops playing of @media."
- version="0.2">
+ <method name="remove" c:identifier="clutter_model_remove" version="0.6">
+ <doc xml:whitespace="preserve">Removes the row at the given position from the model.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="playing" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <parameter name="row" transfer-ownership="none">
+ <doc xml:whitespace="preserve">position of row to remove</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
- <method name="get_playing"
- c:identifier="clutter_media_get_playing"
- doc="Retrieves the playing status of @media."
- version="0.2">
+ <method name="resort" c:identifier="clutter_model_resort" version="0.6">
+ <doc xml:whitespace="preserve">Force a resort on the @model. This function should only be
+used by subclasses of #ClutterModel.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
</method>
- <method name="set_progress"
- c:identifier="clutter_media_set_progress"
- doc="Sets the playback progress of @media. The @progress is
-a normalized value between 0.0 (begin) and 1.0 (end)."
- version="1.0">
+ <method name="set_filter"
+ c:identifier="clutter_model_set_filter"
+ version="0.6">
+ <doc xml:whitespace="preserve">Filters the @model using the given filtering function.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="progress" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
+ <parameter name="func"
+ transfer-ownership="none"
+ scope="notified"
+ closure="1"
+ destroy="2">
+ <doc xml:whitespace="preserve">a #ClutterModelFilterFunc, or #NULL</doc>
+ <type name="ModelFilterFunc" c:type="ClutterModelFilterFunc"/>
+ </parameter>
+ <parameter name="user_data" transfer-ownership="none">
+ <doc xml:whitespace="preserve">user data to pass to @func, or #NULL</doc>
+ <type name="gpointer" c:type="gpointer"/>
+ </parameter>
+ <parameter name="notify" transfer-ownership="none" scope="async">
+ <doc xml:whitespace="preserve">destroy notifier of @user_data, or #NULL</doc>
+ <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
</method>
- <method name="get_progress"
- c:identifier="clutter_media_get_progress"
- doc="Retrieves the playback progress of @media."
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </return-value>
- </method>
- <method name="set_subtitle_uri"
- c:identifier="clutter_media_set_subtitle_uri"
- doc="Sets the location of a subtitle file to display while playing @media."
- version="1.2">
+ <method name="set_names"
+ c:identifier="clutter_model_set_names"
+ version="0.6">
+ <doc xml:whitespace="preserve">Assigns a name to the columns of a #ClutterModel.
+This function is meant primarily for #GObjects that inherit from
+#ClutterModel, and should only be used when contructing a #ClutterModel.
+It will not work after the initial creation of the #ClutterModel.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="uri" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="n_columns" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the number of column names</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ <parameter name="names" transfer-ownership="none">
+ <doc xml:whitespace="preserve">an array of strings</doc>
+ <array length="0" c:type="gchar*">
+ <type name="utf8"/>
+ </array>
</parameter>
</parameters>
</method>
- <method name="get_subtitle_uri"
- c:identifier="clutter_media_get_subtitle_uri"
- doc="Retrieves the URI of the subtitle file in use.
-to free the returned string"
- version="1.2">
- <return-value transfer-ownership="full">
- <type name="utf8" c:type="gchar*"/>
- </return-value>
- </method>
- <method name="set_subtitle_font_name"
- c:identifier="clutter_media_set_subtitle_font_name"
- doc="Sets the font used by the subtitle renderer. The @font_name string must be
-either %NULL, which means that the default font name of the underlying
-implementation will be used; or must follow the grammar recognized by
-pango_font_description_from_string() like:
-|[
-clutter_media_set_subtitle_font_name (media, "Sans 24pt");
-]|"
- version="1.2">
+ <method name="set_sort"
+ c:identifier="clutter_model_set_sort"
+ version="0.6">
+ <doc xml:whitespace="preserve">Sorts @model using the given sorting function.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="font_name" transfer-ownership="none">
- <type name="utf8" c:type="char*"/>
+ <parameter name="column" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the column to sort on</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ <parameter name="func"
+ transfer-ownership="none"
+ scope="notified"
+ closure="2"
+ destroy="3">
+ <doc xml:whitespace="preserve">a #ClutterModelSortFunc, or #NULL</doc>
+ <type name="ModelSortFunc" c:type="ClutterModelSortFunc"/>
+ </parameter>
+ <parameter name="user_data" transfer-ownership="none">
+ <doc xml:whitespace="preserve">user data to pass to @func, or #NULL</doc>
+ <type name="gpointer" c:type="gpointer"/>
+ </parameter>
+ <parameter name="notify" transfer-ownership="none" scope="async">
+ <doc xml:whitespace="preserve">destroy notifier of @user_data, or #NULL</doc>
+ <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
</method>
- <method name="get_subtitle_font_name"
- c:identifier="clutter_media_get_subtitle_font_name"
- doc="Retrieves the font name currently used.
-to free the returned string"
- version="1.2">
- <return-value transfer-ownership="full">
- <type name="utf8" c:type="gchar*"/>
- </return-value>
- </method>
- <method name="set_audio_volume"
- c:identifier="clutter_media_set_audio_volume"
- doc="Sets the playback volume of @media to @volume."
- version="1.0">
+ <method name="set_sorting_column"
+ c:identifier="clutter_model_set_sorting_column"
+ version="0.6">
+ <doc xml:whitespace="preserve">Sets the model to sort by @column. If @column is a negative value
+the sorting column will be unset.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="volume" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
+ <parameter name="column" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the column of the @model to sort, or -1</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
- <method name="get_audio_volume"
- c:identifier="clutter_media_get_audio_volume"
- doc="Retrieves the playback volume of @media."
- version="1.0">
+ <method name="set_types"
+ c:identifier="clutter_model_set_types"
+ version="0.6">
+ <doc xml:whitespace="preserve">Sets the types of the columns inside a #ClutterModel.
+This function is meant primarily for #GObjects that inherit from
+#ClutterModel, and should only be used when contructing a #ClutterModel.
+It will not work after the initial creation of the #ClutterModel.</doc>
<return-value transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
+ <type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="n_columns" transfer-ownership="none">
+ <doc xml:whitespace="preserve">number of columns for the model</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ <parameter name="types" transfer-ownership="none">
+ <doc xml:whitespace="preserve">an array of #GType types</doc>
+ <array length="0" c:type="GType*">
+ <type name="GType"/>
+ </array>
+ </parameter>
+ </parameters>
</method>
- <method name="get_can_seek"
- c:identifier="clutter_media_get_can_seek"
- doc="Retrieves whether @media is seekable or not."
- version="0.2">
+ <property name="filter-set" version="1.0" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the #ClutterModel has a filter set
+This property is set to %TRUE if a filter function has been
+set using clutter_model_set_filter()</doc>
+ <type name="gboolean"/>
+ </property>
+ <field name="parent_instance">
+ <type name="GObject.Object" c:type="GObject"/>
+ </field>
+ <field name="priv">
+ <type name="ModelPrivate" c:type="ClutterModelPrivate*"/>
+ </field>
+ <glib:signal name="filter-changed" version="0.6">
+ <doc xml:whitespace="preserve">The ::filter-changed signal is emitted when a new filter has been applied</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none"/>
</return-value>
- </method>
- <method name="get_buffer_fill"
- c:identifier="clutter_media_get_buffer_fill"
- doc="Retrieves the amount of the stream that is buffered."
- version="1.0">
+ </glib:signal>
+ <glib:signal name="row-added" version="0.6">
+ <doc xml:whitespace="preserve">The ::row-added signal is emitted when a new row has been added.
+The data on the row has already been set when the ::row-added signal
+has been emitted.</doc>
<return-value transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
+ <type name="none"/>
</return-value>
- </method>
- <method name="get_duration"
- c:identifier="clutter_media_get_duration"
- doc="Retrieves the duration of the media stream that @media represents."
- version="0.2">
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterModelIter pointing to the new row</doc>
+ <type name="ModelIter"/>
+ </parameter>
+ </parameters>
+ </glib:signal>
+ <glib:signal name="row-changed" version="0.6">
+ <doc xml:whitespace="preserve">The ::row-removed signal is emitted when a row has been changed.
+The data on the row has already been updated when the ::row-changed
+signal has been emitted.</doc>
<return-value transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </return-value>
- </method>
- <property name="audio-volume"
- version="1.0"
- writable="1"
- doc="The volume of the audio, as a normalized value between
-0.0 and 1.0.">
- <type name="double" c:type="gdouble"/>
- </property>
- <property name="buffer-fill"
- version="1.0"
- doc="The fill level of the buffer for the current stream,
-as a value between 0.0 and 1.0.">
- <type name="double" c:type="gdouble"/>
- </property>
- <property name="can-seek"
- version="0.2"
- doc="Whether the current stream is seekable.">
- <type name="boolean" c:type="gboolean"/>
- </property>
- <property name="duration"
- version="0.2"
- doc="The duration of the current stream, in seconds">
- <type name="double" c:type="gdouble"/>
- </property>
- <property name="playing"
- version="0.2"
- writable="1"
- doc="Whether the #ClutterMedia actor is playing.">
- <type name="boolean" c:type="gboolean"/>
- </property>
- <property name="progress"
- version="1.0"
- writable="1"
- doc="The current progress of the playback, as a normalized
-value between 0.0 and 1.0.">
- <type name="double" c:type="gdouble"/>
- </property>
- <property name="subtitle-font-name"
- version="1.2"
- writable="1"
- doc="The font used to display subtitles. The font description has to
-follow the same grammar as the one recognized by
-pango_font_description_from_string().">
- <type name="utf8" c:type="gchararray"/>
- </property>
- <property name="subtitle-uri"
- version="1.2"
- writable="1"
- doc="The location of a subtitle file, expressed as a valid URI.">
- <type name="utf8" c:type="gchararray"/>
- </property>
- <property name="uri"
- version="0.2"
- writable="1"
- doc="The location of a media file, expressed as a valid URI.">
- <type name="utf8" c:type="gchararray"/>
- </property>
- <glib:signal name="eos"
- doc="The ::eos signal is emitted each time the media stream ends."
- version="0.2">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
+ <type name="none"/>
</return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterModelIter pointing to the changed row</doc>
+ <type name="ModelIter"/>
+ </parameter>
+ </parameters>
</glib:signal>
- <glib:signal name="error"
- doc="The ::error signal is emitted each time an error occurred."
- version="0.2">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
+ <glib:signal name="row-removed" version="0.6">
+ <doc xml:whitespace="preserve">The ::row-removed signal is emitted when a row has been removed.
+The data on the row pointed by the passed iterator is still valid
+when the ::row-removed signal has been emitted.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
</return-value>
<parameters>
- <parameter name="error" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterModelIter pointing to the removed row</doc>
+ <type name="ModelIter"/>
</parameter>
</parameters>
</glib:signal>
- </interface>
- <record name="MediaIface"
- c:type="ClutterMediaIface"
- glib:is-gtype-struct-for="Media"
- doc="Interface vtable for #ClutterMedia implementations"
- version="0.2">
- <field name="base_iface">
- <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
+ <glib:signal name="sort-changed" version="0.6">
+ <doc xml:whitespace="preserve">The ::sort-changed signal is emitted after the model has been sorted</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ </glib:signal>
+ </class>
+ <record name="ModelClass"
+ c:type="ClutterModelClass"
+ glib:is-gtype-struct-for="Model"
+ version="0.6">
+ <doc xml:whitespace="preserve">Class for #ClutterModel instances.</doc>
+ <field name="parent_class">
+ <type name="GObject.ObjectClass" c:type="GObjectClass"/>
+ </field>
+ <field name="get_n_rows">
+ <callback name="get_n_rows">
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">The length of the @model. If there is a filter set, then</doc>
+ <type name="guint" c:type="guint"/>
+ </return-value>
+ <parameters>
+ <parameter name="model" transfer-ownership="none">
+ <type name="Model" c:type="ClutterModel*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="get_n_columns">
+ <callback name="get_n_columns">
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the number of columns</doc>
+ <type name="guint" c:type="guint"/>
+ </return-value>
+ <parameters>
+ <parameter name="model" transfer-ownership="none">
+ <type name="Model" c:type="ClutterModel*"/>
+ </parameter>
+ </parameters>
+ </callback>
</field>
- <field name="eos">
- <callback name="eos" c:type="eos">
+ <field name="get_column_name">
+ <callback name="get_column_name">
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the column. The model holds the returned</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </return-value>
+ <parameters>
+ <parameter name="model" transfer-ownership="none">
+ <type name="Model" c:type="ClutterModel*"/>
+ </parameter>
+ <parameter name="column" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the column number</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="get_column_type">
+ <callback name="get_column_type">
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the type of the column.</doc>
+ <type name="GType" c:type="GType"/>
+ </return-value>
+ <parameters>
+ <parameter name="model" transfer-ownership="none">
+ <type name="Model" c:type="ClutterModel*"/>
+ </parameter>
+ <parameter name="column" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the column number</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="insert_row" introspectable="0">
+ <callback name="insert_row" introspectable="0">
+ <return-value>
+ <type name="ModelIter" c:type="ClutterModelIter*"/>
+ </return-value>
+ <parameters>
+ <parameter name="model" transfer-ownership="none">
+ <type name="Model" c:type="ClutterModel*"/>
+ </parameter>
+ <parameter name="index_" transfer-ownership="none">
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="remove_row">
+ <callback name="remove_row">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="media" transfer-ownership="none">
- <type name="Media" c:type="ClutterMedia*"/>
+ <parameter name="model" transfer-ownership="none">
+ <type name="Model" c:type="ClutterModel*"/>
+ </parameter>
+ <parameter name="row" transfer-ownership="none">
+ <type name="guint" c:type="guint"/>
</parameter>
</parameters>
</callback>
</field>
- <field name="error">
- <callback name="error" c:type="error">
+ <field name="get_iter_at_row">
+ <callback name="get_iter_at_row">
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">A new #ClutterModelIter, or %NULL if @row was</doc>
+ <type name="ModelIter" c:type="ClutterModelIter*"/>
+ </return-value>
+ <parameters>
+ <parameter name="model" transfer-ownership="none">
+ <type name="Model" c:type="ClutterModel*"/>
+ </parameter>
+ <parameter name="row" transfer-ownership="none">
+ <doc xml:whitespace="preserve">position of the row to retrieve</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="resort" introspectable="0">
+ <callback name="resort" introspectable="0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="media" transfer-ownership="none">
- <type name="Media" c:type="ClutterMedia*"/>
+ <parameter name="model" transfer-ownership="none">
+ <type name="Model" c:type="ClutterModel*"/>
</parameter>
- <parameter name="error" transfer-ownership="none">
- <type name="GLib.Error" c:type="GError*"/>
+ <parameter name="func" transfer-ownership="none" closure="2">
+ <type name="ModelSortFunc" c:type="ClutterModelSortFunc"/>
+ </parameter>
+ <parameter name="data" transfer-ownership="none">
+ <type name="gpointer" c:type="gpointer"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="row_added">
+ <callback name="row_added">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="model" transfer-ownership="none">
+ <type name="Model" c:type="ClutterModel*"/>
+ </parameter>
+ <parameter name="iter" transfer-ownership="none">
+ <type name="ModelIter" c:type="ClutterModelIter*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="row_removed">
+ <callback name="row_removed">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="model" transfer-ownership="none">
+ <type name="Model" c:type="ClutterModel*"/>
+ </parameter>
+ <parameter name="iter" transfer-ownership="none">
+ <type name="ModelIter" c:type="ClutterModelIter*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="row_changed">
+ <callback name="row_changed">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="model" transfer-ownership="none">
+ <type name="Model" c:type="ClutterModel*"/>
+ </parameter>
+ <parameter name="iter" transfer-ownership="none">
+ <type name="ModelIter" c:type="ClutterModelIter*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="sort_changed">
+ <callback name="sort_changed">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="model" transfer-ownership="none">
+ <type name="Model" c:type="ClutterModel*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="filter_changed">
+ <callback name="filter_changed">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="model" transfer-ownership="none">
+ <type name="Model" c:type="ClutterModel*"/>
</parameter>
</parameters>
</callback>
</field>
+ <field name="_clutter_model_1" introspectable="0">
+ <callback name="_clutter_model_1">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_model_2" introspectable="0">
+ <callback name="_clutter_model_2">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_model_3" introspectable="0">
+ <callback name="_clutter_model_3">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_model_4" introspectable="0">
+ <callback name="_clutter_model_4">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_model_5" introspectable="0">
+ <callback name="_clutter_model_5">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_model_6" introspectable="0">
+ <callback name="_clutter_model_6">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_model_7" introspectable="0">
+ <callback name="_clutter_model_7">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_model_8" introspectable="0">
+ <callback name="_clutter_model_8">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
</record>
- <constant name="Menu" value="65383">
- <type name="int"/>
- </constant>
- <constant name="Meta_L" value="65511">
- <type name="int"/>
- </constant>
- <constant name="Meta_R" value="65512">
- <type name="int"/>
- </constant>
- <constant name="MillSign" value="16785573">
- <type name="int"/>
- </constant>
- <constant name="Mode_switch" value="65406">
- <type name="int"/>
- </constant>
- <class name="Model"
- c:type="ClutterModel"
- doc="Base class for list models. The #ClutterModel structure contains
-only private data and should be manipulated using the provided
-API."
- version="0.6"
- parent="GObject.Object"
- abstract="1"
- glib:type-name="ClutterModel"
- glib:get-type="clutter_model_get_type"
- glib:type-struct="ModelClass">
- <implements name="Scriptable"/>
- <virtual-method name="get_n_rows" invoker="get_n_rows">
- <return-value transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </return-value>
- </virtual-method>
- <virtual-method name="get_n_columns" invoker="get_n_columns">
- <return-value transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </return-value>
- </virtual-method>
- <virtual-method name="get_column_name" invoker="get_column_name">
- <return-value transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </return-value>
- <parameters>
- <parameter name="column" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- </parameters>
- </virtual-method>
- <virtual-method name="get_column_type" invoker="get_column_type">
- <return-value transfer-ownership="none">
- <type name="GType" c:type="GType"/>
- </return-value>
- <parameters>
- <parameter name="column" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- </parameters>
- </virtual-method>
- <virtual-method name="insert_row">
- <return-value transfer-ownership="full">
+ <callback name="ModelFilterFunc"
+ c:type="ClutterModelFilterFunc"
+ version="0.6">
+ <doc xml:whitespace="preserve">Filters the content of a row in the model.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">If the row should be displayed, return %TRUE</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="model" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterModel</doc>
+ <type name="Model" c:type="ClutterModel*"/>
+ </parameter>
+ <parameter name="iter" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the iterator for the row</doc>
<type name="ModelIter" c:type="ClutterModelIter*"/>
- </return-value>
- <parameters>
- <parameter name="index_" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- </parameters>
- </virtual-method>
- <virtual-method name="remove_row">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="row" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- </parameters>
- </virtual-method>
- <virtual-method name="get_iter_at_row" invoker="get_iter_at_row">
+ </parameter>
+ <parameter name="user_data" transfer-ownership="none" closure="2">
+ <doc xml:whitespace="preserve">data passed to clutter_model_set_filter()</doc>
+ <type name="gpointer" c:type="gpointer"/>
+ </parameter>
+ </parameters>
+ </callback>
+ <callback name="ModelForeachFunc"
+ c:type="ClutterModelForeachFunc"
+ version="0.6">
+ <doc xml:whitespace="preserve">Iterates on the content of a row in the model</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the iteration should continue, %FALSE otherwise</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="model" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterModel</doc>
+ <type name="Model" c:type="ClutterModel*"/>
+ </parameter>
+ <parameter name="iter" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the iterator for the row</doc>
+ <type name="ModelIter" c:type="ClutterModelIter*"/>
+ </parameter>
+ <parameter name="user_data" transfer-ownership="none" closure="2">
+ <doc xml:whitespace="preserve">data passed to clutter_model_foreach()</doc>
+ <type name="gpointer" c:type="gpointer"/>
+ </parameter>
+ </parameters>
+ </callback>
+ <class name="ModelIter"
+ c:symbol-prefix="model_iter"
+ c:type="ClutterModelIter"
+ version="0.6"
+ parent="GObject.Object"
+ abstract="1"
+ glib:type-name="ClutterModelIter"
+ glib:get-type="clutter_model_iter_get_type"
+ glib:type-struct="ModelIterClass">
+ <doc xml:whitespace="preserve">Base class for list models iters. The #ClutterModelIter structure
+contains only private data and should be manipulated using the
+provided API.</doc>
+ <virtual-method name="copy" invoker="copy" version="0.8">
+ <doc xml:whitespace="preserve">Copies the passed iterator.</doc>
<return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">a copy of the iterator, or %NULL</doc>
<type name="ModelIter" c:type="ClutterModelIter*"/>
</return-value>
- <parameters>
- <parameter name="row" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- </parameters>
</virtual-method>
- <virtual-method name="resort">
+ <virtual-method name="get_model" invoker="get_model" version="0.6">
+ <doc xml:whitespace="preserve">Retrieves a pointer to the #ClutterModel that this iter is part of.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">a pointer to a #ClutterModel.</doc>
+ <type name="Model" c:type="ClutterModel*"/>
</return-value>
- <parameters>
- <parameter name="func" transfer-ownership="none">
- <type name="ModelSortFunc" c:type="ClutterModelSortFunc"/>
- </parameter>
- <parameter name="data" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
- </parameter>
- </parameters>
</virtual-method>
- <method name="set_types"
- c:identifier="clutter_model_set_types"
- doc="Sets the types of the columns inside a #ClutterModel.
-This function is meant primarily for #GObjects that inherit from
-#ClutterModel, and should only be used when contructing a #ClutterModel.
-It will not work after the initial creation of the #ClutterModel."
- version="0.6">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="n_columns" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- <parameter name="types"
- transfer-ownership="none"
- doc="an array of #GType types">
- <array length="1" c:type="GType*">
- <type name="GType"/>
- </array>
- </parameter>
- </parameters>
- </method>
- <method name="set_names"
- c:identifier="clutter_model_set_names"
- doc="Assigns a name to the columns of a #ClutterModel.
-This function is meant primarily for #GObjects that inherit from
-#ClutterModel, and should only be used when contructing a #ClutterModel.
-It will not work after the initial creation of the #ClutterModel."
- version="0.6">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="n_columns" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- <parameter name="names"
- transfer-ownership="none"
- doc="an array of strings">
- <array length="1" c:type="gchar*">
- <type name="int8"/>
- </array>
- </parameter>
- </parameters>
- </method>
- <method name="append"
- c:identifier="clutter_model_append"
- doc="Creates and appends a new row to the #ClutterModel, setting the
-row values upon creation. For example, to append a new row where
-column 0 is type %G_TYPE_INT and column 1 is of type %G_TYPE_STRING:
-<informalexample><programlisting>
-ClutterModel *model;
-model = clutter_model_default_new (2,
-G_TYPE_INT, "Score",
-G_TYPE_STRING, "Team");
-clutter_model_append (model, 0, 42, 1, "Team #1", -1);
-</programlisting></informalexample>"
- version="0.6">
+ <virtual-method name="get_row" invoker="get_row" version="0.6">
+ <doc xml:whitespace="preserve">Retrieves the position of the row that the @iter points to.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the position of the @iter in the model</doc>
+ <type name="guint" c:type="guint"/>
</return-value>
- <parameters>
- <parameter transfer-ownership="none">
- <varargs>
- </varargs>
- </parameter>
- </parameters>
- </method>
- <method name="appendv"
- c:identifier="clutter_model_appendv"
- doc="Creates and appends a new row to the #ClutterModel, setting the row
-values for the given @columns upon creation."
- version="0.6">
+ </virtual-method>
+ <virtual-method name="get_value" invoker="get_value" version="0.6">
+ <doc xml:whitespace="preserve">Sets an initializes @value to that at @column. When done with @value,
+g_value_unset() needs to be called to free any allocated memory.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="n_columns" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- <parameter name="columns"
- transfer-ownership="none"
- doc="a vector with the columns to set">
- <array length="1" c:type="guint*">
- <type name="uint"/>
- </array>
+ <parameter name="column" transfer-ownership="none">
+ <doc xml:whitespace="preserve">column number to retrieve the value from</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
- <parameter name="values"
- transfer-ownership="none"
- doc="a vector with the values">
- <array length="1" c:type="GValue*">
- <type name="GObject.Value"/>
- </array>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">an empty #GValue to set</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
</parameter>
</parameters>
- </method>
- <method name="prepend"
- c:identifier="clutter_model_prepend"
- doc="Creates and prepends a new row to the #ClutterModel, setting the row
-values upon creation. For example, to prepend a new row where column 0
-is type %G_TYPE_INT and column 1 is of type %G_TYPE_STRING:
-<informalexample><programlisting>
-ClutterModel *model;
-model = clutter_model_default_new (2,
-G_TYPE_INT, "Score",
-G_TYPE_STRING, "Team");
-clutter_model_prepend (model, 0, 42, 1, "Team #1", -1);
-</programlisting></informalexample>"
- version="0.6">
+ </virtual-method>
+ <virtual-method name="is_first" invoker="is_first" version="0.6">
+ <doc xml:whitespace="preserve">Gets whether the current iterator is at the beginning of the model
+to which it belongs.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">#TRUE if @iter is the first iter in the filtered model</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
- <parameters>
- <parameter transfer-ownership="none">
- <varargs>
- </varargs>
- </parameter>
- </parameters>
- </method>
- <method name="prependv"
- c:identifier="clutter_model_prependv"
- doc="Creates and prepends a new row to the #ClutterModel, setting the row
-values for the given @columns upon creation."
- version="0.6">
+ </virtual-method>
+ <virtual-method name="is_last" invoker="is_last" version="0.6">
+ <doc xml:whitespace="preserve">Gets whether the iterator is at the end of the model to which it
+belongs.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">#TRUE if @iter is the last iter in the filtered model.</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
- <parameters>
- <parameter name="n_columns" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- <parameter name="columns"
- transfer-ownership="none"
- doc="a vector containing the columns to set">
- <array length="1" c:type="guint*">
- <type name="uint"/>
- </array>
- </parameter>
- <parameter name="values"
- transfer-ownership="none"
- doc="a vector containing the values for the cells">
- <array length="1" c:type="GValue*">
- <type name="GObject.Value"/>
- </array>
- </parameter>
- </parameters>
- </method>
- <method name="insert"
- c:identifier="clutter_model_insert"
- doc="Inserts a new row to the #ClutterModel at @row, setting the row
-values upon creation. For example, to insert a new row at index 100,
-where column 0 is type %G_TYPE_INT and column 1 is of type
-%G_TYPE_STRING:
-<informalexample><programlisting>
-ClutterModel *model;
-model = clutter_model_default_new (2,
-G_TYPE_INT, "Score",
-G_TYPE_STRING, "Team");
-clutter_model_insert (model, 3, 0, 42, 1, "Team #1", -1);
-</programlisting></informalexample>"
- version="0.6">
+ </virtual-method>
+ <virtual-method name="next" invoker="next" version="0.6">
+ <doc xml:whitespace="preserve">Updates the @iter to point at the next position in the model.
+The model implementation should take into account the presence of
+a filter function.
+row in the model.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">The passed iterator, updated to point at the next</doc>
+ <type name="ModelIter" c:type="ClutterModelIter*"/>
</return-value>
- <parameters>
- <parameter name="row" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- <parameter transfer-ownership="none">
- <varargs>
- </varargs>
- </parameter>
- </parameters>
- </method>
- <method name="insertv"
- c:identifier="clutter_model_insertv"
- doc="Inserts data at @row into the #ClutterModel, setting the row
-values for the given @columns upon creation."
- version="0.6">
+ </virtual-method>
+ <virtual-method name="prev" invoker="prev" version="0.6">
+ <doc xml:whitespace="preserve">Sets the @iter to point at the previous position in the model.
+The model implementation should take into account the presence of
+a filter function.
+row in the model.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">The passed iterator, updated to point at the previous</doc>
+ <type name="ModelIter" c:type="ClutterModelIter*"/>
</return-value>
- <parameters>
- <parameter name="row" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- <parameter name="n_columns" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- <parameter name="columns"
- transfer-ownership="none"
- doc="a vector containing the columns to set">
- <array length="2" c:type="guint*">
- <type name="uint"/>
- </array>
- </parameter>
- <parameter name="values"
- transfer-ownership="none"
- doc="a vector containing the values for the cells">
- <array length="2" c:type="GValue*">
- <type name="GObject.Value"/>
- </array>
- </parameter>
- </parameters>
- </method>
- <method name="insert_value"
- c:identifier="clutter_model_insert_value"
- doc="Sets the data in the cell specified by @iter and @column. The type of
-not exist then it is created."
- version="0.6">
+ </virtual-method>
+ <virtual-method name="set_value" invoker="set_value" version="0.6">
+ <doc xml:whitespace="preserve">Sets the data in the cell specified by @iter and @column. The type of</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="row" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
<parameter name="column" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <doc xml:whitespace="preserve">column number to retrieve the value from</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
<parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">new value for the cell</doc>
<type name="GObject.Value" c:type="GValue*"/>
</parameter>
</parameters>
- </method>
- <method name="remove"
- c:identifier="clutter_model_remove"
- doc="Removes the row at the given position from the model."
- version="0.6">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="row" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- </parameters>
- </method>
- <method name="get_n_rows"
- c:identifier="clutter_model_get_n_rows"
- doc="Retrieves the number of rows inside @model, eventually taking
-into account any filtering function set using clutter_model_set_filter().
-the length of the filtered @model is returned."
- version="0.6">
- <return-value transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </return-value>
- </method>
- <method name="get_n_columns"
- c:identifier="clutter_model_get_n_columns"
- doc="Retrieves the number of columns inside @model."
- version="0.6">
- <return-value transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </return-value>
- </method>
- <method name="get_column_name"
- c:identifier="clutter_model_get_column_name"
- doc="Retrieves the name of the @column
-string, and it should not be modified or freed"
- version="0.6">
- <return-value transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </return-value>
- <parameters>
- <parameter name="column" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- </parameters>
- </method>
- <method name="get_column_type"
- c:identifier="clutter_model_get_column_type"
- doc="Retrieves the type of the @column."
- version="0.6">
- <return-value transfer-ownership="none">
- <type name="GType" c:type="GType"/>
- </return-value>
- <parameters>
- <parameter name="column" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- </parameters>
- </method>
- <method name="get_first_iter"
- c:identifier="clutter_model_get_first_iter"
- doc="Retrieves a #ClutterModelIter representing the first non-filtered
-row in @model.
-Call g_object_unref() when done using it"
- version="0.6">
- <return-value transfer-ownership="full" doc="A new #ClutterModelIter.">
- <type name="ModelIter" c:type="ClutterModelIter*"/>
- </return-value>
- </method>
- <method name="get_last_iter"
- c:identifier="clutter_model_get_last_iter"
- doc="Retrieves a #ClutterModelIter representing the last non-filtered
-row in @model.
-Call g_object_unref() when done using it"
- version="0.6">
- <return-value transfer-ownership="full" doc="A new #ClutterModelIter.">
+ </virtual-method>
+ <method name="copy" c:identifier="clutter_model_iter_copy" version="0.8">
+ <doc xml:whitespace="preserve">Copies the passed iterator.</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">a copy of the iterator, or %NULL</doc>
<type name="ModelIter" c:type="ClutterModelIter*"/>
</return-value>
</method>
- <method name="get_iter_at_row"
- c:identifier="clutter_model_get_iter_at_row"
- doc="Retrieves a #ClutterModelIter representing the row at the given index.
-If a filter function has been set using clutter_model_set_filter()
-then the @model implementation will return the first non filtered
-row.
-out of bounds. When done using the iterator object, call g_object_unref()
-to deallocate its resources"
- version="0.6">
- <return-value transfer-ownership="full"
- doc="A new #ClutterModelIter, or %NULL if @row was">
- <type name="ModelIter" c:type="ClutterModelIter*"/>
+ <method name="get"
+ c:identifier="clutter_model_iter_get"
+ version="0.6"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Gets the value of one or more cells in the row referenced by @iter. The
+variable argument list should contain integer column numbers, each column
+column number followed by a place to store the value being retrieved. The
+list is terminated by a -1.
+For example, to get a value from column 0 with type %G_TYPE_STRING use:
+<informalexample><programlisting>
+clutter_model_iter_get (iter, 0, &place_string_here, -1);
+</programlisting></informalexample>
+where place_string_here is a gchar* to be filled with the string. If
+appropriate, the returned values have to be freed or unreferenced.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="row" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <parameter transfer-ownership="none">
+ <varargs>
+ </varargs>
</parameter>
</parameters>
</method>
- <method name="set_sorting_column"
- c:identifier="clutter_model_set_sorting_column"
- doc="Sets the model to sort by @column. If @column is a negative value
-the sorting column will be unset."
+ <method name="get_model"
+ c:identifier="clutter_model_iter_get_model"
version="0.6">
+ <doc xml:whitespace="preserve">Retrieves a pointer to the #ClutterModel that this iter is part of.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">a pointer to a #ClutterModel.</doc>
+ <type name="Model" c:type="ClutterModel*"/>
</return-value>
- <parameters>
- <parameter name="column" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- </parameters>
</method>
- <method name="get_sorting_column"
- c:identifier="clutter_model_get_sorting_column"
- doc="Retrieves the number of column used for sorting the @model."
+ <method name="get_row"
+ c:identifier="clutter_model_iter_get_row"
version="0.6">
+ <doc xml:whitespace="preserve">Retrieves the position of the row that the @iter points to.</doc>
<return-value transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <doc xml:whitespace="preserve">the position of the @iter in the model</doc>
+ <type name="guint" c:type="guint"/>
</return-value>
</method>
- <method name="foreach"
- c:identifier="clutter_model_foreach"
- doc="Calls @func for each row in the model."
- version="0.6">
+ <method name="get_valist"
+ c:identifier="clutter_model_iter_get_valist"
+ version="0.6"
+ introspectable="0">
+ <doc xml:whitespace="preserve">See clutter_model_iter_get(). This version takes a va_list for language
+bindings.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="func"
- transfer-ownership="none"
- scope="call"
- closure="2">
- <type name="ModelForeachFunc" c:type="ClutterModelForeachFunc"/>
- </parameter>
- <parameter name="user_data" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
+ <parameter name="args" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a list of column/return location pairs, terminated by -1</doc>
+ <type name="va_list" c:type="va_list"/>
</parameter>
</parameters>
</method>
- <method name="set_sort"
- c:identifier="clutter_model_set_sort"
- doc="Sorts @model using the given sorting function."
+ <method name="get_value"
+ c:identifier="clutter_model_iter_get_value"
version="0.6">
+ <doc xml:whitespace="preserve">Sets an initializes @value to that at @column. When done with @value,
+g_value_unset() needs to be called to free any allocated memory.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="column" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- <parameter name="func"
- transfer-ownership="none"
- scope="notified"
- closure="3"
- destroy="4">
- <type name="ModelSortFunc" c:type="ClutterModelSortFunc"/>
- </parameter>
- <parameter name="user_data" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
+ <doc xml:whitespace="preserve">column number to retrieve the value from</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
- <parameter name="notify" transfer-ownership="none" scope="call">
- <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">an empty #GValue to set</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
</parameter>
</parameters>
</method>
- <method name="set_filter"
- c:identifier="clutter_model_set_filter"
- doc="Filters the @model using the given filtering function."
+ <method name="is_first"
+ c:identifier="clutter_model_iter_is_first"
version="0.6">
+ <doc xml:whitespace="preserve">Gets whether the current iterator is at the beginning of the model
+to which it belongs.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">#TRUE if @iter is the first iter in the filtered model</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
- <parameters>
- <parameter name="func"
- transfer-ownership="none"
- scope="notified"
- closure="2"
- destroy="3">
- <type name="ModelFilterFunc" c:type="ClutterModelFilterFunc"/>
- </parameter>
- <parameter name="user_data" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
- </parameter>
- <parameter name="notify" transfer-ownership="none" scope="call">
- <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
- </parameter>
- </parameters>
</method>
- <method name="get_filter_set"
- c:identifier="clutter_model_get_filter_set"
- doc="Returns whether the @model has a filter in place, set
-using clutter_model_set_filter()"
- version="1.0">
+ <method name="is_last"
+ c:identifier="clutter_model_iter_is_last"
+ version="0.6">
+ <doc xml:whitespace="preserve">Gets whether the iterator is at the end of the model to which it
+belongs.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">#TRUE if @iter is the last iter in the filtered model.</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
- <method name="resort"
- c:identifier="clutter_model_resort"
- doc="Force a resort on the @model. This function should only be
-used by subclasses of #ClutterModel."
- version="0.6">
+ <method name="next" c:identifier="clutter_model_iter_next" version="0.6">
+ <doc xml:whitespace="preserve">Updates the @iter to point at the next position in the model.
+The model implementation should take into account the presence of
+a filter function.
+row in the model.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">The passed iterator, updated to point at the next</doc>
+ <type name="ModelIter" c:type="ClutterModelIter*"/>
+ </return-value>
+ </method>
+ <method name="prev" c:identifier="clutter_model_iter_prev" version="0.6">
+ <doc xml:whitespace="preserve">Sets the @iter to point at the previous position in the model.
+The model implementation should take into account the presence of
+a filter function.
+row in the model.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">The passed iterator, updated to point at the previous</doc>
+ <type name="ModelIter" c:type="ClutterModelIter*"/>
+ </return-value>
+ </method>
+ <method name="set"
+ c:identifier="clutter_model_iter_set"
+ version="0.6"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Sets the value of one or more cells in the row referenced by @iter. The
+variable argument list should contain integer column numbers, each column
+column number followed by the value to be set. The list is terminated by a
+-1.
+For example, to set column 0 with type %G_TYPE_STRING, use:
+<informalexample><programlisting>
+clutter_model_iter_set (iter, 0, "foo", -1);
+</programlisting></informalexample></doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter transfer-ownership="none">
+ <varargs>
+ </varargs>
+ </parameter>
+ </parameters>
</method>
- <method name="filter_row"
- c:identifier="clutter_model_filter_row"
- doc="Checks whether @row should be filtered or not using the
-filtering function set on @model.
-This function should be used only by subclasses of #ClutterModel.
-%FALSE otherwise"
- version="0.6">
+ <method name="set_valist"
+ c:identifier="clutter_model_iter_set_valist"
+ version="0.6"
+ introspectable="0">
+ <doc xml:whitespace="preserve">See clutter_model_iter_set(); this version takes a va_list for language
+bindings.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="row" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <parameter name="args" transfer-ownership="none">
+ <doc xml:whitespace="preserve">va_list of column/value pairs, terminiated by -1</doc>
+ <type name="va_list" c:type="va_list"/>
</parameter>
</parameters>
</method>
- <method name="filter_iter"
- c:identifier="clutter_model_filter_iter"
- doc="Checks whether the row pointer by @iter should be filtered or not using
-the filtering function set on @model.
-This function should be used only by subclasses of #ClutterModel.
-%FALSE otherwise"
+ <method name="set_value"
+ c:identifier="clutter_model_iter_set_value"
version="0.6">
+ <doc xml:whitespace="preserve">Sets the data in the cell specified by @iter and @column. The type of</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="iter" transfer-ownership="none">
- <type name="ModelIter" c:type="ClutterModelIter*"/>
+ <parameter name="column" transfer-ownership="none">
+ <doc xml:whitespace="preserve">column number to retrieve the value from</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">new value for the cell</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
</parameter>
</parameters>
</method>
- <property name="filter-set"
- version="1.0"
- doc="Whether the #ClutterModel has a filter set
-This property is set to %TRUE if a filter function has been
-set using clutter_model_set_filter()">
- <type name="boolean" c:type="gboolean"/>
+ <property name="model"
+ version="0.6"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">A reference to the #ClutterModel that this iter belongs to.</doc>
+ <type name="Model"/>
+ </property>
+ <property name="row"
+ version="0.6"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The row number to which this iter points to.</doc>
+ <type name="guint"/>
</property>
<field name="parent_instance">
<type name="GObject.Object" c:type="GObject"/>
</field>
- <field name="priv">
- <type name="ModelPrivate" c:type="ClutterModelPrivate*"/>
+ <field name="priv">
+ <type name="ModelIterPrivate" c:type="ClutterModelIterPrivate*"/>
+ </field>
+ </class>
+ <record name="ModelIterClass"
+ c:type="ClutterModelIterClass"
+ glib:is-gtype-struct-for="ModelIter"
+ version="0.6">
+ <doc xml:whitespace="preserve">Class for #ClutterModelIter instances.</doc>
+ <field name="parent_class">
+ <type name="GObject.ObjectClass" c:type="GObjectClass"/>
+ </field>
+ <field name="get_value">
+ <callback name="get_value">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="iter" transfer-ownership="none">
+ <type name="ModelIter" c:type="ClutterModelIter*"/>
+ </parameter>
+ <parameter name="column" transfer-ownership="none">
+ <doc xml:whitespace="preserve">column number to retrieve the value from</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">an empty #GValue to set</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="set_value">
+ <callback name="set_value">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="iter" transfer-ownership="none">
+ <type name="ModelIter" c:type="ClutterModelIter*"/>
+ </parameter>
+ <parameter name="column" transfer-ownership="none">
+ <doc xml:whitespace="preserve">column number to retrieve the value from</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">new value for the cell</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="is_first">
+ <callback name="is_first">
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">#TRUE if @iter is the first iter in the filtered model</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="iter" transfer-ownership="none">
+ <type name="ModelIter" c:type="ClutterModelIter*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="is_last">
+ <callback name="is_last">
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">#TRUE if @iter is the last iter in the filtered model.</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="iter" transfer-ownership="none">
+ <type name="ModelIter" c:type="ClutterModelIter*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="next">
+ <callback name="next">
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">The passed iterator, updated to point at the next</doc>
+ <type name="ModelIter" c:type="ClutterModelIter*"/>
+ </return-value>
+ <parameters>
+ <parameter name="iter" transfer-ownership="none">
+ <type name="ModelIter" c:type="ClutterModelIter*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="prev">
+ <callback name="prev">
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">The passed iterator, updated to point at the previous</doc>
+ <type name="ModelIter" c:type="ClutterModelIter*"/>
+ </return-value>
+ <parameters>
+ <parameter name="iter" transfer-ownership="none">
+ <type name="ModelIter" c:type="ClutterModelIter*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="get_model">
+ <callback name="get_model">
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a pointer to a #ClutterModel.</doc>
+ <type name="Model" c:type="ClutterModel*"/>
+ </return-value>
+ <parameters>
+ <parameter name="iter" transfer-ownership="none">
+ <type name="ModelIter" c:type="ClutterModelIter*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="get_row">
+ <callback name="get_row">
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the position of the @iter in the model</doc>
+ <type name="guint" c:type="guint"/>
+ </return-value>
+ <parameters>
+ <parameter name="iter" transfer-ownership="none">
+ <type name="ModelIter" c:type="ClutterModelIter*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="copy">
+ <callback name="copy">
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">a copy of the iterator, or %NULL</doc>
+ <type name="ModelIter" c:type="ClutterModelIter*"/>
+ </return-value>
+ <parameters>
+ <parameter name="iter" transfer-ownership="none">
+ <type name="ModelIter" c:type="ClutterModelIter*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="_clutter_model_iter_1" introspectable="0">
+ <callback name="_clutter_model_iter_1">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_model_iter_2" introspectable="0">
+ <callback name="_clutter_model_iter_2">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_model_iter_3" introspectable="0">
+ <callback name="_clutter_model_iter_3">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
</field>
- <glib:signal name="filter-changed"
- doc="The ::filter-changed signal is emitted when a new filter has been applied"
- version="0.6">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
- </return-value>
- </glib:signal>
- <glib:signal name="row-added"
- doc="The ::row-added signal is emitted when a new row has been added.
-The data on the row has already been set when the ::row-added signal
-has been emitted."
- version="0.6">
+ <field name="_clutter_model_iter_4" introspectable="0">
+ <callback name="_clutter_model_iter_4">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_model_iter_5" introspectable="0">
+ <callback name="_clutter_model_iter_5">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_model_iter_6" introspectable="0">
+ <callback name="_clutter_model_iter_6">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_model_iter_7" introspectable="0">
+ <callback name="_clutter_model_iter_7">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_model_iter_8" introspectable="0">
+ <callback name="_clutter_model_iter_8">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ </record>
+ <record name="ModelIterPrivate"
+ c:type="ClutterModelIterPrivate"
+ disguised="1">
+ </record>
+ <record name="ModelPrivate" c:type="ClutterModelPrivate" disguised="1">
+ </record>
+ <callback name="ModelSortFunc" c:type="ClutterModelSortFunc" version="0.6">
+ <doc xml:whitespace="preserve">Compares the content of two rows in the model.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a positive integer if @a is after @b, a negative integer if</doc>
+ <type name="gint" c:type="gint"/>
+ </return-value>
+ <parameters>
+ <parameter name="model" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterModel</doc>
+ <type name="Model" c:type="ClutterModel*"/>
+ </parameter>
+ <parameter name="a" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GValue representing the contents of the row</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
+ <parameter name="b" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GValue representing the contents of the second row</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
+ <parameter name="user_data" transfer-ownership="none" closure="3">
+ <doc xml:whitespace="preserve">data passed to clutter_model_set_sort()</doc>
+ <type name="gpointer" c:type="gpointer"/>
+ </parameter>
+ </parameters>
+ </callback>
+ <bitfield name="ModifierType"
+ version="0.4"
+ glib:type-name="ClutterModifierType"
+ glib:get-type="clutter_modifier_type_get_type"
+ c:type="ClutterModifierType">
+ <doc xml:whitespace="preserve">Masks applied to a #ClutterEvent by modifiers.</doc>
+ <member name="shift_mask"
+ value="1"
+ c:identifier="CLUTTER_SHIFT_MASK"
+ glib:nick="shift-mask"/>
+ <member name="lock_mask"
+ value="2"
+ c:identifier="CLUTTER_LOCK_MASK"
+ glib:nick="lock-mask"/>
+ <member name="control_mask"
+ value="4"
+ c:identifier="CLUTTER_CONTROL_MASK"
+ glib:nick="control-mask"/>
+ <member name="mod1_mask"
+ value="8"
+ c:identifier="CLUTTER_MOD1_MASK"
+ glib:nick="mod1-mask"/>
+ <member name="mod2_mask"
+ value="16"
+ c:identifier="CLUTTER_MOD2_MASK"
+ glib:nick="mod2-mask"/>
+ <member name="mod3_mask"
+ value="32"
+ c:identifier="CLUTTER_MOD3_MASK"
+ glib:nick="mod3-mask"/>
+ <member name="mod4_mask"
+ value="64"
+ c:identifier="CLUTTER_MOD4_MASK"
+ glib:nick="mod4-mask"/>
+ <member name="mod5_mask"
+ value="128"
+ c:identifier="CLUTTER_MOD5_MASK"
+ glib:nick="mod5-mask"/>
+ <member name="button1_mask"
+ value="256"
+ c:identifier="CLUTTER_BUTTON1_MASK"
+ glib:nick="button1-mask"/>
+ <member name="button2_mask"
+ value="512"
+ c:identifier="CLUTTER_BUTTON2_MASK"
+ glib:nick="button2-mask"/>
+ <member name="button3_mask"
+ value="1024"
+ c:identifier="CLUTTER_BUTTON3_MASK"
+ glib:nick="button3-mask"/>
+ <member name="button4_mask"
+ value="2048"
+ c:identifier="CLUTTER_BUTTON4_MASK"
+ glib:nick="button4-mask"/>
+ <member name="button5_mask"
+ value="4096"
+ c:identifier="CLUTTER_BUTTON5_MASK"
+ glib:nick="button5-mask"/>
+ <member name="super_mask"
+ value="67108864"
+ c:identifier="CLUTTER_SUPER_MASK"
+ glib:nick="super-mask"/>
+ <member name="hyper_mask"
+ value="134217728"
+ c:identifier="CLUTTER_HYPER_MASK"
+ glib:nick="hyper-mask"/>
+ <member name="meta_mask"
+ value="268435456"
+ c:identifier="CLUTTER_META_MASK"
+ glib:nick="meta-mask"/>
+ <member name="release_mask"
+ value="1073741824"
+ c:identifier="CLUTTER_RELEASE_MASK"
+ glib:nick="release-mask"/>
+ <member name="modifier_mask"
+ value="1543512063"
+ c:identifier="CLUTTER_MODIFIER_MASK"
+ glib:nick="modifier-mask"/>
+ </bitfield>
+ <constant name="MonBrightnessDown" value="269025027">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="MonBrightnessUp" value="269025026">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <record name="MotionEvent" c:type="ClutterMotionEvent" version="0.2">
+ <doc xml:whitespace="preserve">Event for the pointer motion</doc>
+ <field name="type" writable="1">
+ <type name="EventType" c:type="ClutterEventType"/>
+ </field>
+ <field name="time" writable="1">
+ <type name="guint32" c:type="guint32"/>
+ </field>
+ <field name="flags" writable="1">
+ <type name="EventFlags" c:type="ClutterEventFlags"/>
+ </field>
+ <field name="stage" writable="1">
+ <type name="Stage" c:type="ClutterStage*"/>
+ </field>
+ <field name="source" writable="1">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </field>
+ <field name="x" writable="1">
+ <type name="gfloat" c:type="gfloat"/>
+ </field>
+ <field name="y" writable="1">
+ <type name="gfloat" c:type="gfloat"/>
+ </field>
+ <field name="modifier_state" writable="1">
+ <type name="ModifierType" c:type="ClutterModifierType"/>
+ </field>
+ <field name="axes" writable="1">
+ <type name="gdouble" c:type="gdouble*"/>
+ </field>
+ <field name="device" writable="1">
+ <type name="InputDevice" c:type="ClutterInputDevice*"/>
+ </field>
+ </record>
+ <constant name="MouseKeys_Accel_Enable" value="65143">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="MouseKeys_Enable" value="65142">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Muhenkan" value="65314">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Multi_key" value="65312">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="MultipleCandidate" value="65341">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Music" value="269025170">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="MyComputer" value="269025075">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="MySites" value="269025127">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="N" value="78">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Nacute" value="465">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="NairaSign" value="16785574">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Ncaron" value="466">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Ncedilla" value="977">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="New" value="269025128">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="NewSheqelSign" value="16785578">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="News" value="269025129">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Next" value="65366">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Next_VMode" value="269024802">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Next_Virtual_Screen" value="65234">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Ntilde" value="209">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Num_Lock" value="65407">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="O" value="79">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="OE" value="5052">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Oacute" value="211">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Obarred" value="16777631">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Obelowdot" value="16785100">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Ocaron" value="16777681">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Ocircumflex" value="212">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Ocircumflexacute" value="16785104">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Ocircumflexbelowdot" value="16785112">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Ocircumflexgrave" value="16785106">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Ocircumflexhook" value="16785108">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Ocircumflextilde" value="16785110">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Odiaeresis" value="214">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Odoubleacute" value="469">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="OfficeHome" value="269025130">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <class name="OffscreenEffect"
+ c:symbol-prefix="offscreen_effect"
+ c:type="ClutterOffscreenEffect"
+ version="1.4"
+ parent="Effect"
+ abstract="1"
+ glib:type-name="ClutterOffscreenEffect"
+ glib:get-type="clutter_offscreen_effect_get_type"
+ glib:type-struct="OffscreenEffectClass">
+ <doc xml:whitespace="preserve">The #ClutterOffscreenEffect structure contains only private data
+and should be accessed using the provided API</doc>
+ <virtual-method name="create_texture"
+ invoker="create_texture"
+ version="1.4">
+ <doc xml:whitespace="preserve">Calls the create_texture() virtual function of the @effect
+%COGL_INVALID_HANDLE. The returned handle has its reference
+count increased.</doc>
<return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">a handle to a Cogl texture, or</doc>
+ <type name="Cogl.Handle" c:type="CoglHandle"/>
</return-value>
<parameters>
- <parameter name="iter" transfer-ownership="none">
- <type name="ModelIter" c:type="ClutterModelIter"/>
+ <parameter name="min_width" transfer-ownership="none">
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ <parameter name="min_height" transfer-ownership="none">
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
</parameters>
- </glib:signal>
- <glib:signal name="row-changed"
- doc="The ::row-removed signal is emitted when a row has been changed.
-The data on the row has already been updated when the ::row-changed
-signal has been emitted."
- version="0.6">
- <return-value transfer-ownership="full">
+ </virtual-method>
+ <virtual-method name="paint_target" invoker="paint_target" version="1.4">
+ <doc xml:whitespace="preserve">Calls the paint_target() virtual function of the @effect</doc>
+ <return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- <parameters>
- <parameter name="iter" transfer-ownership="none">
- <type name="ModelIter" c:type="ClutterModelIter"/>
- </parameter>
- </parameters>
- </glib:signal>
- <glib:signal name="row-removed"
- doc="The ::row-removed signal is emitted when a row has been removed.
-The data on the row pointed by the passed iterator is still valid
-when the ::row-removed signal has been emitted."
- version="0.6">
+ </virtual-method>
+ <method name="create_texture"
+ c:identifier="clutter_offscreen_effect_create_texture"
+ version="1.4">
+ <doc xml:whitespace="preserve">Calls the create_texture() virtual function of the @effect
+%COGL_INVALID_HANDLE. The returned handle has its reference
+count increased.</doc>
<return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">a handle to a Cogl texture, or</doc>
+ <type name="Cogl.Handle" c:type="CoglHandle"/>
</return-value>
<parameters>
- <parameter name="iter" transfer-ownership="none">
- <type name="ModelIter" c:type="ClutterModelIter"/>
+ <parameter name="width" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the minimum width of the target texture</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ <parameter name="height" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the minimum height of the target texture</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
</parameters>
- </glib:signal>
- <glib:signal name="sort-changed"
- doc="The ::sort-changed signal is emitted after the model has been sorted"
- version="0.6">
- <return-value transfer-ownership="full">
+ </method>
+ <method name="get_target"
+ c:identifier="clutter_offscreen_effect_get_target"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the material used as a render target for the offscreen
+buffer created by @effect
+You should only use the returned #CoglMaterial when painting. The
+returned material might change between different frames.
+returned material is owned by Clutter and it should not be
+modified or freed</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #CoglMaterial or %NULL. The</doc>
+ <type name="Cogl.Material" c:type="CoglMaterial*"/>
+ </return-value>
+ </method>
+ <method name="paint_target"
+ c:identifier="clutter_offscreen_effect_paint_target"
+ version="1.4">
+ <doc xml:whitespace="preserve">Calls the paint_target() virtual function of the @effect</doc>
+ <return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- </glib:signal>
- </class>
- <record name="ModelClass"
- c:type="ClutterModelClass"
- glib:is-gtype-struct-for="Model"
- doc="Class for #ClutterModel instances."
- version="0.6">
- <field name="parent_class">
- <type name="GObject.ObjectClass" c:type="GObjectClass"/>
- </field>
- <field name="get_n_rows">
- <callback name="get_n_rows" c:type="get_n_rows">
- <return-value transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </return-value>
- <parameters>
- <parameter name="model" transfer-ownership="none">
- <type name="Model" c:type="ClutterModel*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="get_n_columns">
- <callback name="get_n_columns" c:type="get_n_columns">
- <return-value transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </return-value>
- <parameters>
- <parameter name="model" transfer-ownership="none">
- <type name="Model" c:type="ClutterModel*"/>
- </parameter>
- </parameters>
- </callback>
+ </method>
+ <field name="parent_instance">
+ <type name="Effect" c:type="ClutterEffect"/>
</field>
- <field name="get_column_name">
- <callback name="get_column_name" c:type="get_column_name">
- <return-value transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </return-value>
- <parameters>
- <parameter name="model" transfer-ownership="none">
- <type name="Model" c:type="ClutterModel*"/>
- </parameter>
- <parameter name="column" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- </parameters>
- </callback>
+ <field name="priv">
+ <type name="OffscreenEffectPrivate"
+ c:type="ClutterOffscreenEffectPrivate*"/>
</field>
- <field name="get_column_type">
- <callback name="get_column_type" c:type="get_column_type">
- <return-value transfer-ownership="none">
- <type name="GType" c:type="GType"/>
- </return-value>
- <parameters>
- <parameter name="model" transfer-ownership="none">
- <type name="Model" c:type="ClutterModel*"/>
- </parameter>
- <parameter name="column" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- </parameters>
- </callback>
+ </class>
+ <record name="OffscreenEffectClass"
+ c:type="ClutterOffscreenEffectClass"
+ glib:is-gtype-struct-for="OffscreenEffect"
+ version="1.4">
+ <doc xml:whitespace="preserve">The #ClutterOffscreenEffectClass structure contains only private data</doc>
+ <field name="parent_class">
+ <type name="EffectClass" c:type="ClutterEffectClass"/>
</field>
- <field name="insert_row">
- <callback name="insert_row" c:type="insert_row">
+ <field name="create_texture">
+ <callback name="create_texture">
<return-value transfer-ownership="full">
- <type name="ModelIter" c:type="ClutterModelIter*"/>
- </return-value>
- <parameters>
- <parameter name="model" transfer-ownership="none">
- <type name="Model" c:type="ClutterModel*"/>
- </parameter>
- <parameter name="index_" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="remove_row">
- <callback name="remove_row" c:type="remove_row">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">a handle to a Cogl texture, or</doc>
+ <type name="Cogl.Handle" c:type="CoglHandle"/>
</return-value>
<parameters>
- <parameter name="model" transfer-ownership="none">
- <type name="Model" c:type="ClutterModel*"/>
+ <parameter name="effect" transfer-ownership="none">
+ <type name="OffscreenEffect" c:type="ClutterOffscreenEffect*"/>
</parameter>
- <parameter name="row" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="get_iter_at_row">
- <callback name="get_iter_at_row" c:type="get_iter_at_row">
- <return-value transfer-ownership="full">
- <type name="ModelIter" c:type="ClutterModelIter*"/>
- </return-value>
- <parameters>
- <parameter name="model" transfer-ownership="none">
- <type name="Model" c:type="ClutterModel*"/>
+ <parameter name="min_width" transfer-ownership="none">
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
- <parameter name="row" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <parameter name="min_height" transfer-ownership="none">
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
</parameters>
</callback>
</field>
- <field name="resort">
- <callback name="resort" c:type="resort">
+ <field name="paint_target">
+ <callback name="paint_target">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="model" transfer-ownership="none">
- <type name="Model" c:type="ClutterModel*"/>
- </parameter>
- <parameter name="func" transfer-ownership="none">
- <type name="ModelSortFunc" c:type="ClutterModelSortFunc"/>
- </parameter>
- <parameter name="data" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
+ <parameter name="effect" transfer-ownership="none">
+ <type name="OffscreenEffect" c:type="ClutterOffscreenEffect*"/>
</parameter>
</parameters>
</callback>
</field>
- <field name="row_added">
- <callback name="row_added" c:type="row_added">
+ <field name="_clutter_offscreen1" introspectable="0">
+ <callback name="_clutter_offscreen1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- <parameters>
- <parameter name="model" transfer-ownership="none">
- <type name="Model" c:type="ClutterModel*"/>
- </parameter>
- <parameter name="iter" transfer-ownership="none">
- <type name="ModelIter" c:type="ClutterModelIter*"/>
- </parameter>
- </parameters>
</callback>
</field>
- <field name="row_removed">
- <callback name="row_removed" c:type="row_removed">
+ <field name="_clutter_offscreen2" introspectable="0">
+ <callback name="_clutter_offscreen2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- <parameters>
- <parameter name="model" transfer-ownership="none">
- <type name="Model" c:type="ClutterModel*"/>
- </parameter>
- <parameter name="iter" transfer-ownership="none">
- <type name="ModelIter" c:type="ClutterModelIter*"/>
- </parameter>
- </parameters>
</callback>
</field>
- <field name="row_changed">
- <callback name="row_changed" c:type="row_changed">
+ <field name="_clutter_offscreen3" introspectable="0">
+ <callback name="_clutter_offscreen3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- <parameters>
- <parameter name="model" transfer-ownership="none">
- <type name="Model" c:type="ClutterModel*"/>
- </parameter>
- <parameter name="iter" transfer-ownership="none">
- <type name="ModelIter" c:type="ClutterModelIter*"/>
- </parameter>
- </parameters>
</callback>
</field>
- <field name="sort_changed">
- <callback name="sort_changed" c:type="sort_changed">
+ <field name="_clutter_offscreen4" introspectable="0">
+ <callback name="_clutter_offscreen4">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- <parameters>
- <parameter name="model" transfer-ownership="none">
- <type name="Model" c:type="ClutterModel*"/>
- </parameter>
- </parameters>
</callback>
</field>
- <field name="filter_changed">
- <callback name="filter_changed" c:type="filter_changed">
+ <field name="_clutter_offscreen5" introspectable="0">
+ <callback name="_clutter_offscreen5">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- <parameters>
- <parameter name="model" transfer-ownership="none">
- <type name="Model" c:type="ClutterModel*"/>
- </parameter>
- </parameters>
</callback>
</field>
- <field name="clutter_model_1">
- <callback name="clutter_model_1" c:type="_clutter_model_1">
+ <field name="_clutter_offscreen6" introspectable="0">
+ <callback name="_clutter_offscreen6">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_model_2">
- <callback name="clutter_model_2" c:type="_clutter_model_2">
+ <field name="_clutter_offscreen7" introspectable="0">
+ <callback name="_clutter_offscreen7">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_model_3">
- <callback name="clutter_model_3" c:type="_clutter_model_3">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
+ </record>
+ <record name="OffscreenEffectPrivate"
+ c:type="ClutterOffscreenEffectPrivate"
+ disguised="1">
+ </record>
+ <constant name="Ograve" value="210">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Ohook" value="16785102">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Ohorn" value="16777632">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Ohornacute" value="16785114">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Ohornbelowdot" value="16785122">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Ohorngrave" value="16785116">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Ohornhook" value="16785118">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Ohorntilde" value="16785120">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Omacron" value="978">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Ooblique" value="216">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Open" value="269025131">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="OpenURL" value="269025080">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Option" value="269025132">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Oslash" value="216">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Otilde" value="213">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Overlay1_Enable" value="65144">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Overlay2_Enable" value="65145">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="P" value="80">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="PATH_RELATIVE" value="32">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="PRIORITY_REDRAW" value="50">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Pabovedot" value="16784982">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <class name="PageTurnEffect"
+ c:symbol-prefix="page_turn_effect"
+ c:type="ClutterPageTurnEffect"
+ version="1.4"
+ parent="DeformEffect"
+ glib:type-name="ClutterPageTurnEffect"
+ glib:get-type="clutter_page_turn_effect_get_type">
+ <doc xml:whitespace="preserve"><structname>ClutterPageTurnEffect</structname> is an opaque structure
+whose members can only be accessed using the provided API</doc>
+ <constructor name="new"
+ c:identifier="clutter_page_turn_effect_new"
+ version="1.4">
+ <doc xml:whitespace="preserve">Creates a new #ClutterPageTurnEffect instance with the given parameters</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the newly created #ClutterPageTurnEffect</doc>
+ <type name="Effect" c:type="ClutterEffect*"/>
+ </return-value>
+ <parameters>
+ <parameter name="period" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the period of the page curl, between 0.0 and 1.0</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="angle" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the angle of the page curl, between 0.0 and 360.0</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="radius" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the radius of the page curl, in pixels</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ </parameters>
+ </constructor>
+ <method name="get_angle"
+ c:identifier="clutter_page_turn_effect_get_angle"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the value set using clutter_page_turn_effect_get_angle()</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the angle of the page curling</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </return-value>
+ </method>
+ <method name="get_period"
+ c:identifier="clutter_page_turn_effect_get_period"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the value set using clutter_page_turn_effect_get_period()</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the period of the page curling</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </return-value>
+ </method>
+ <method name="get_radius"
+ c:identifier="clutter_page_turn_effect_get_radius"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the value set using clutter_page_turn_effect_set_radius()</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the radius of the page curling</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </return-value>
+ </method>
+ <method name="set_angle"
+ c:identifier="clutter_page_turn_effect_set_angle"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets the angle of the page curling, in degrees</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="angle" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the angle of the page curl, in degrees</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_period"
+ c:identifier="clutter_page_turn_effect_set_period"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets the period of the page curling, between 0.0 (no curling)
+and 1.0 (fully curled)</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="period" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the period of the page curl, between 0.0 and 1.0</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_radius"
+ c:identifier="clutter_page_turn_effect_set_radius"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets the radius of the page curling</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="radius" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the radius of the page curling, in pixels</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </parameter>
+ </parameters>
+ </method>
+ <property name="angle"
+ version="1.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The angle of the page rotation, in degrees, between 0.0 and 360.0</doc>
+ <type name="gdouble"/>
+ </property>
+ <property name="period"
+ version="1.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The period of the page turn, between 0.0 (no curling) and
+1.0 (fully curled)</doc>
+ <type name="gdouble"/>
+ </property>
+ <property name="radius"
+ version="1.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The radius of the page curl, in pixels</doc>
+ <type name="gfloat"/>
+ </property>
+ </class>
+ <constant name="Page_Down" value="65366">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Page_Up" value="65365">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <class name="ParamSpecColor"
+ c:symbol-prefix="param_color"
+ c:type="ClutterParamSpecColor"
+ version="1.0"
+ glib:type-name="ClutterParamSpecColor"
+ glib:get-type="clutter_param_color_get_type"
+ glib:fundamental="1">
+ <doc xml:whitespace="preserve">A #GParamSpec subclass for defining properties holding
+a #ClutterColor.</doc>
+ <field name="parent_instance">
+ <type name="GObject.ParamSpec" c:type="GParamSpec"/>
</field>
- <field name="clutter_model_4">
- <callback name="clutter_model_4" c:type="_clutter_model_4">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
+ <field name="default_value">
+ <type name="Color" c:type="ClutterColor*"/>
+ </field>
+ </class>
+ <class name="ParamSpecFixed"
+ c:symbol-prefix="param_fixed"
+ c:type="ClutterParamSpecFixed"
+ glib:type-name="ClutterParamSpecFixed"
+ glib:get-type="clutter_param_fixed_get_type"
+ glib:fundamental="1">
+ <field name="parent_instance">
+ <type name="GObject.ParamSpec" c:type="GParamSpec"/>
+ </field>
+ <field name="minimum">
+ <type name="Cogl.Fixed" c:type="CoglFixed"/>
+ </field>
+ <field name="maximum">
+ <type name="Cogl.Fixed" c:type="CoglFixed"/>
+ </field>
+ <field name="default_value">
+ <type name="Cogl.Fixed" c:type="CoglFixed"/>
</field>
- <field name="clutter_model_5">
- <callback name="clutter_model_5" c:type="_clutter_model_5">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
+ </class>
+ <class name="ParamSpecUnit"
+ c:symbol-prefix="param_units"
+ glib:type-name="ClutterParamSpecUnit"
+ glib:get-type="clutter_param_units_get_type"
+ glib:fundamental="1">
+ </class>
+ <record name="ParamSpecUnits" c:type="ClutterParamSpecUnits" version="1.0">
+ <doc xml:whitespace="preserve">#GParamSpec subclass for unit based properties.</doc>
+ <field name="parent_instance" writable="1">
+ <type name="GObject.ParamSpec" c:type="GParamSpec"/>
</field>
- <field name="clutter_model_6">
- <callback name="clutter_model_6" c:type="_clutter_model_6">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
+ <field name="default_type" writable="1">
+ <type name="UnitType" c:type="ClutterUnitType"/>
</field>
- <field name="clutter_model_7">
- <callback name="clutter_model_7" c:type="_clutter_model_7">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
+ <field name="default_value" writable="1">
+ <type name="gfloat" c:type="gfloat"/>
</field>
- <field name="clutter_model_8">
- <callback name="clutter_model_8" c:type="_clutter_model_8">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
+ <field name="minimum" writable="1">
+ <type name="gfloat" c:type="gfloat"/>
+ </field>
+ <field name="maximum" writable="1">
+ <type name="gfloat" c:type="gfloat"/>
</field>
</record>
- <callback name="ModelFilterFunc"
- c:type="ClutterModelFilterFunc"
- doc="Filters the content of a row in the model."
- version="0.6">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- <parameters>
- <parameter name="model" transfer-ownership="none">
- <type name="Model" c:type="ClutterModel*"/>
- </parameter>
- <parameter name="iter" transfer-ownership="none">
- <type name="ModelIter" c:type="ClutterModelIter*"/>
- </parameter>
- <parameter name="user_data" transfer-ownership="none" closure="2">
- <type name="any" c:type="gpointer"/>
- </parameter>
- </parameters>
- </callback>
- <callback name="ModelForeachFunc"
- c:type="ClutterModelForeachFunc"
- doc="Iterates on the content of a row in the model"
- version="0.6">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- <parameters>
- <parameter name="model" transfer-ownership="none">
- <type name="Model" c:type="ClutterModel*"/>
- </parameter>
- <parameter name="iter" transfer-ownership="none">
- <type name="ModelIter" c:type="ClutterModelIter*"/>
- </parameter>
- <parameter name="user_data" transfer-ownership="none" closure="2">
- <type name="any" c:type="gpointer"/>
- </parameter>
- </parameters>
- </callback>
- <class name="ModelIter"
- c:type="ClutterModelIter"
- doc="Base class for list models iters. The #ClutterModelIter structure
-contains only private data and should be manipulated using the
-provided API."
- version="0.6"
- parent="GObject.Object"
- abstract="1"
- glib:type-name="ClutterModelIter"
- glib:get-type="clutter_model_iter_get_type"
- glib:type-struct="ModelIterClass">
- <virtual-method name="get_value" invoker="get_value">
+ <constant name="Paste" value="269025133">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <class name="Path"
+ c:symbol-prefix="path"
+ c:type="ClutterPath"
+ version="1.0"
+ parent="GObject.InitiallyUnowned"
+ glib:type-name="ClutterPath"
+ glib:get-type="clutter_path_get_type"
+ glib:type-struct="PathClass">
+ <doc xml:whitespace="preserve">The #ClutterPath struct contains only private data and should
+be accessed with the functions below.</doc>
+ <constructor name="new" c:identifier="clutter_path_new" version="1.0">
+ <doc xml:whitespace="preserve">Creates a new #ClutterPath instance with no nodes.
+The object has a floating reference so if you add it to a
+#ClutterBehaviourPath then you do not need to unref it.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the newly created #ClutterPath</doc>
+ <type name="Path" c:type="ClutterPath*"/>
+ </return-value>
+ </constructor>
+ <constructor name="new_with_description"
+ c:identifier="clutter_path_new_with_description"
+ version="1.0">
+ <doc xml:whitespace="preserve">Creates a new #ClutterPath instance with the nodes described in
+the string.
+The object has a floating reference so if you add it to a
+#ClutterBehaviourPath then you do not need to unref it.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the newly created #ClutterPath</doc>
+ <type name="Path" c:type="ClutterPath*"/>
</return-value>
<parameters>
- <parameter name="column" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- <parameter name="value" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
+ <parameter name="desc" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a string describing the path</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
- </virtual-method>
- <virtual-method name="set_value" invoker="set_value">
+ </constructor>
+ <method name="add_cairo_path"
+ c:identifier="clutter_path_add_cairo_path"
+ version="1.0">
+ <doc xml:whitespace="preserve">Add the nodes of the Cairo path to the end of @path.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="column" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- <parameter name="value" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
+ <parameter name="cpath" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a Cairo path</doc>
+ <type name="cairo.Path" c:type="cairo_path_t*"/>
</parameter>
</parameters>
- </virtual-method>
- <virtual-method name="is_first" invoker="is_first">
+ </method>
+ <method name="add_close"
+ c:identifier="clutter_path_add_close"
+ version="1.0">
+ <doc xml:whitespace="preserve">Adds a %CLUTTER_PATH_CLOSE type node to the path. This creates a
+straight line from the last node to the last %CLUTTER_PATH_MOVE_TO
+type node.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
- </virtual-method>
- <virtual-method name="is_last" invoker="is_last">
+ </method>
+ <method name="add_curve_to"
+ c:identifier="clutter_path_add_curve_to"
+ version="1.0">
+ <doc xml:whitespace="preserve">Adds a %CLUTTER_PATH_CURVE_TO type node to the path. This causes
+the actor to follow a bezier from the last node to (@x_3, @y_3) using
+(@x_1, @y_1) and (@x_2,@y_2) as control points.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
- </virtual-method>
- <virtual-method name="next" invoker="next">
- <return-value transfer-ownership="full">
- <type name="ModelIter" c:type="ClutterModelIter*"/>
+ <parameters>
+ <parameter name="x_1" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the x coordinate of the first control point</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="y_1" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the y coordinate of the first control point</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="x_2" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the x coordinate of the second control point</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="y_2" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the y coordinate of the second control point</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="x_3" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the x coordinate of the third control point</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="y_3" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the y coordinate of the third control point</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="add_line_to"
+ c:identifier="clutter_path_add_line_to"
+ version="1.0">
+ <doc xml:whitespace="preserve">Adds a %CLUTTER_PATH_LINE_TO type node to the path. This causes the
+actor to move to the new coordinates in a straight line.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
- </virtual-method>
- <virtual-method name="prev" invoker="prev">
- <return-value transfer-ownership="full">
- <type name="ModelIter" c:type="ClutterModelIter*"/>
+ <parameters>
+ <parameter name="x" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the x coordinate</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="y" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the y coordinate</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="add_move_to"
+ c:identifier="clutter_path_add_move_to"
+ version="1.0">
+ <doc xml:whitespace="preserve">Adds a %CLUTTER_PATH_MOVE_TO type node to the path. This is usually
+used as the first node in a path. It can also be used in the middle
+of the path to cause the actor to jump to the new coordinate.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
- </virtual-method>
- <virtual-method name="get_model" invoker="get_model">
- <return-value transfer-ownership="full">
- <type name="Model" c:type="ClutterModel*"/>
+ <parameters>
+ <parameter name="x" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the x coordinate</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="y" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the y coordinate</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="add_node"
+ c:identifier="clutter_path_add_node"
+ version="1.0">
+ <doc xml:whitespace="preserve">Adds @node to the end of the path.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
- </virtual-method>
- <virtual-method name="get_row" invoker="get_row">
+ <parameters>
+ <parameter name="node" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterPathNode</doc>
+ <type name="PathNode" c:type="ClutterPathNode*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="add_rel_curve_to"
+ c:identifier="clutter_path_add_rel_curve_to"
+ version="1.0">
+ <doc xml:whitespace="preserve">Same as clutter_path_add_curve_to() except the coordinates are
+relative to the previous node.</doc>
<return-value transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <type name="none" c:type="void"/>
</return-value>
- </virtual-method>
- <virtual-method name="copy" invoker="copy">
- <return-value transfer-ownership="full">
- <type name="ModelIter" c:type="ClutterModelIter*"/>
+ <parameters>
+ <parameter name="x_1" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the x coordinate of the first control point</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="y_1" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the y coordinate of the first control point</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="x_2" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the x coordinate of the second control point</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="y_2" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the y coordinate of the second control point</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="x_3" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the x coordinate of the third control point</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="y_3" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the y coordinate of the third control point</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="add_rel_line_to"
+ c:identifier="clutter_path_add_rel_line_to"
+ version="1.0">
+ <doc xml:whitespace="preserve">Same as clutter_path_add_line_to() except the coordinates are
+relative to the previous node.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
- </virtual-method>
- <method name="get"
- c:identifier="clutter_model_iter_get"
- doc="Gets the value of one or more cells in the row referenced by @iter. The
-variable argument list should contain integer column numbers, each column
-column number followed by a place to store the value being retrieved. The
-list is terminated by a -1.
-For example, to get a value from column 0 with type %G_TYPE_STRING use:
-<informalexample><programlisting>
-clutter_model_iter_get (iter, 0, &place_string_here, -1);
-</programlisting></informalexample>
-where place_string_here is a gchar* to be filled with the string. If
-appropriate, the returned values have to be freed or unreferenced."
- version="0.6">
+ <parameters>
+ <parameter name="x" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the x coordinate</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="y" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the y coordinate</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="add_rel_move_to"
+ c:identifier="clutter_path_add_rel_move_to"
+ version="1.0">
+ <doc xml:whitespace="preserve">Same as clutter_path_add_move_to() except the coordinates are
+relative to the previous node.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter transfer-ownership="none">
- <varargs>
- </varargs>
+ <parameter name="x" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the x coordinate</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="y" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the y coordinate</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
- <method name="get_value"
- c:identifier="clutter_model_iter_get_value"
- doc="Sets an initializes @value to that at @column. When done with @value,
-g_value_unset() needs to be called to free any allocated memory."
- version="0.6">
+ <method name="add_string"
+ c:identifier="clutter_path_add_string"
+ version="1.0">
+ <doc xml:whitespace="preserve">Adds new nodes to the end of the path as described in @str. The
+format is a subset of the SVG path format. Each node is represented
+by a letter and is followed by zero, one or three pairs of
+coordinates. The coordinates can be separated by spaces or a
+comma. The types are:
+<variablelist>
+<varlistentry><term>M</term>
+<listitem><para>
+Adds a %CLUTTER_PATH_MOVE_TO node. Takes one pair of coordinates.
+</para></listitem></varlistentry>
+<varlistentry><term>L</term>
+<listitem><para>
+Adds a %CLUTTER_PATH_LINE_TO node. Takes one pair of coordinates.
+</para></listitem></varlistentry>
+<varlistentry><term>C</term>
+<listitem><para>
+Adds a %CLUTTER_PATH_CURVE_TO node. Takes three pairs of coordinates.
+</para></listitem></varlistentry>
+<varlistentry><term>z</term>
+<listitem><para>
+Adds a %CLUTTER_PATH_CLOSE node. No coordinates are needed.
+</para></listitem></varlistentry>
+</variablelist>
+The M, L and C commands can also be specified in lower case which
+means the coordinates are relative to the previous node.
+For example, to move an actor in a 100 by 100 pixel square centered
+on the point 300,300 you could use the following path:
+<informalexample>
+<programlisting>
+M 250,350 l 0 -100 L 350,250 l 0 100 z
+</programlisting>
+</informalexample>
+If the path description isn't valid %FALSE will be returned and no
+nodes will be added.
+otherwise.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">%TRUE is the path description was valid or %FALSE</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
- <parameter name="column" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- <parameter name="value" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
+ <parameter name="str" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a string describing the new nodes</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
- <method name="set"
- c:identifier="clutter_model_iter_set"
- doc="Sets the value of one or more cells in the row referenced by @iter. The
-variable argument list should contain integer column numbers, each column
-column number followed by the value to be set. The list is terminated by a
--1.
-For example, to set column 0 with type %G_TYPE_STRING, use:
-<informalexample><programlisting>
-clutter_model_iter_set (iter, 0, "foo", -1);
-</programlisting></informalexample>"
- version="0.6">
+ <method name="clear" c:identifier="clutter_path_clear" version="1.0">
+ <doc xml:whitespace="preserve">Removes all nodes from the path.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- <parameters>
- <parameter transfer-ownership="none">
- <varargs>
- </varargs>
- </parameter>
- </parameters>
</method>
- <method name="set_value"
- c:identifier="clutter_model_iter_set_value"
- doc="Sets the data in the cell specified by @iter and @column. The type of"
- version="0.6">
+ <method name="foreach" c:identifier="clutter_path_foreach" version="1.0">
+ <doc xml:whitespace="preserve">Calls a function for each node of the path.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="column" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <parameter name="callback"
+ transfer-ownership="none"
+ scope="call"
+ closure="1">
+ <doc xml:whitespace="preserve">the function to call with each node</doc>
+ <type name="PathCallback" c:type="ClutterPathCallback"/>
</parameter>
- <parameter name="value" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
+ <parameter name="user_data" transfer-ownership="none">
+ <doc xml:whitespace="preserve">user data to pass to the function</doc>
+ <type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
- <method name="is_first"
- c:identifier="clutter_model_iter_is_first"
- doc="Gets whether the current iterator is at the beginning of the model
-to which it belongs."
- version="0.6">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <method name="get_description"
+ c:identifier="clutter_path_get_description"
+ version="1.0">
+ <doc xml:whitespace="preserve">Returns a newly allocated string describing the path in the same
+format as used by clutter_path_add_string().</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">a string description of the path. Free with g_free().</doc>
+ <type name="utf8" c:type="gchar*"/>
</return-value>
</method>
- <method name="is_last"
- c:identifier="clutter_model_iter_is_last"
- doc="Gets whether the iterator is at the end of the model to which it
-belongs."
- version="0.6">
+ <method name="get_length"
+ c:identifier="clutter_path_get_length"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves an approximation of the total length of the path.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">the length of the path.</doc>
+ <type name="guint" c:type="guint"/>
</return-value>
</method>
- <method name="next"
- c:identifier="clutter_model_iter_next"
- doc="Updates the @iter to point at the next position in the model.
-The model implementation should take into account the presence of
-a filter function.
-row in the model."
- version="0.6">
- <return-value transfer-ownership="none"
- doc="The passed iterator, updated to point at the next">
- <type name="ModelIter" c:type="ClutterModelIter*"/>
+ <method name="get_n_nodes"
+ c:identifier="clutter_path_get_n_nodes"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the number of nodes in the path.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the number of nodes.</doc>
+ <type name="guint" c:type="guint"/>
</return-value>
</method>
- <method name="prev"
- c:identifier="clutter_model_iter_prev"
- doc="Sets the @iter to point at the previous position in the model.
-The model implementation should take into account the presence of
-a filter function.
-row in the model."
- version="0.6">
- <return-value transfer-ownership="none"
- doc="The passed iterator, updated to point at the previous">
- <type name="ModelIter" c:type="ClutterModelIter*"/>
+ <method name="get_node"
+ c:identifier="clutter_path_get_node"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the node of the path indexed by @index.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="index_" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the node number to retrieve</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ <parameter name="node" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a location to store a copy of the node</doc>
+ <type name="PathNode" c:type="ClutterPathNode*"/>
+ </parameter>
+ </parameters>
</method>
- <method name="get_model"
- c:identifier="clutter_model_iter_get_model"
- doc="Retrieves a pointer to the #ClutterModel that this iter is part of."
- version="0.6">
- <return-value transfer-ownership="none"
- doc="a pointer to a #ClutterModel.">
- <type name="Model" c:type="ClutterModel*"/>
+ <method name="get_nodes"
+ c:identifier="clutter_path_get_nodes"
+ version="1.0">
+ <doc xml:whitespace="preserve">Returns a #GSList of #ClutterPathNode<!-- -->s. The list should be
+freed with g_slist_free(). The nodes are owned by the path and
+should not be freed. Altering the path may cause the nodes in the
+list to become invalid so you should copy them if you want to keep
+the list.
+list of nodes in the path.</doc>
+ <return-value transfer-ownership="container">
+ <doc xml:whitespace="preserve">a</doc>
+ <type name="GLib.SList" c:type="GSList*">
+ <type name="PathNode"/>
+ </type>
</return-value>
</method>
- <method name="get_row"
- c:identifier="clutter_model_iter_get_row"
- doc="Retrieves the position of the row that the @iter points to."
- version="0.6">
+ <method name="get_position"
+ c:identifier="clutter_path_get_position"
+ version="1.0">
+ <doc xml:whitespace="preserve">The value in @progress represents a position along the path where
+0.0 is the beginning and 1.0 is the end of the path. An
+interpolated position is then stored in @position.</doc>
<return-value transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <doc xml:whitespace="preserve">index of the node used to calculate the position.</doc>
+ <type name="guint" c:type="guint"/>
</return-value>
+ <parameters>
+ <parameter name="progress" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a position along the path as a fraction of its length</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="position" transfer-ownership="none">
+ <doc xml:whitespace="preserve">location to store the position</doc>
+ <type name="Knot" c:type="ClutterKnot*"/>
+ </parameter>
+ </parameters>
</method>
- <method name="copy"
- c:identifier="clutter_model_iter_copy"
- doc="Copies the passed iterator."
- version="0.8">
- <return-value transfer-ownership="full">
- <type name="ModelIter" c:type="ClutterModelIter*"/>
+ <method name="insert_node"
+ c:identifier="clutter_path_insert_node"
+ version="1.0">
+ <doc xml:whitespace="preserve">Inserts @node into the path before the node at the given offset. If</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
- </method>
- <property name="model"
- version="0.6"
- writable="1"
- doc="A reference to the #ClutterModel that this iter belongs to.">
- <type name="Model" c:type="ClutterModel"/>
- </property>
- <property name="row"
- version="0.6"
- writable="1"
- doc="The row number to which this iter points to.">
- <type name="uint" c:type="guint"/>
- </property>
- <field name="parent_instance">
- <type name="GObject.Object" c:type="GObject"/>
- </field>
- <field name="priv">
- <type name="ModelIterPrivate" c:type="ClutterModelIterPrivate*"/>
- </field>
- </class>
- <record name="ModelIterClass"
- c:type="ClutterModelIterClass"
- glib:is-gtype-struct-for="ModelIter"
- doc="Class for #ClutterModelIter instances."
- version="0.6">
- <field name="parent_class">
- <type name="GObject.ObjectClass" c:type="GObjectClass"/>
- </field>
- <field name="get_value">
- <callback name="get_value" c:type="get_value">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="iter" transfer-ownership="none">
- <type name="ModelIter" c:type="ClutterModelIter*"/>
- </parameter>
- <parameter name="column" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- <parameter name="value" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="set_value">
- <callback name="set_value" c:type="set_value">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="iter" transfer-ownership="none">
- <type name="ModelIter" c:type="ClutterModelIter*"/>
- </parameter>
- <parameter name="column" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- <parameter name="value" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="is_first">
- <callback name="is_first" c:type="is_first">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- <parameters>
- <parameter name="iter" transfer-ownership="none">
- <type name="ModelIter" c:type="ClutterModelIter*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="is_last">
- <callback name="is_last" c:type="is_last">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- <parameters>
- <parameter name="iter" transfer-ownership="none">
- <type name="ModelIter" c:type="ClutterModelIter*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="next">
- <callback name="next" c:type="next">
- <return-value transfer-ownership="full">
- <type name="ModelIter" c:type="ClutterModelIter*"/>
- </return-value>
- <parameters>
- <parameter name="iter" transfer-ownership="none">
- <type name="ModelIter" c:type="ClutterModelIter*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="prev">
- <callback name="prev" c:type="prev">
- <return-value transfer-ownership="full">
- <type name="ModelIter" c:type="ClutterModelIter*"/>
- </return-value>
- <parameters>
- <parameter name="iter" transfer-ownership="none">
- <type name="ModelIter" c:type="ClutterModelIter*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="get_model">
- <callback name="get_model" c:type="get_model">
- <return-value transfer-ownership="full">
- <type name="Model" c:type="ClutterModel*"/>
- </return-value>
- <parameters>
- <parameter name="iter" transfer-ownership="none">
- <type name="ModelIter" c:type="ClutterModelIter*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="get_row">
- <callback name="get_row" c:type="get_row">
- <return-value transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </return-value>
- <parameters>
- <parameter name="iter" transfer-ownership="none">
- <type name="ModelIter" c:type="ClutterModelIter*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="copy">
- <callback name="copy" c:type="copy">
- <return-value transfer-ownership="full">
- <type name="ModelIter" c:type="ClutterModelIter*"/>
- </return-value>
- <parameters>
- <parameter name="iter" transfer-ownership="none">
- <type name="ModelIter" c:type="ClutterModelIter*"/>
- </parameter>
- </parameters>
- </callback>
+ <parameters>
+ <parameter name="index_" transfer-ownership="none">
+ <doc xml:whitespace="preserve">offset of where to insert the node</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="node" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the node to insert</doc>
+ <type name="PathNode" c:type="ClutterPathNode*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="remove_node"
+ c:identifier="clutter_path_remove_node"
+ version="1.0">
+ <doc xml:whitespace="preserve">Removes the node at the given offset from the path.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="index_" transfer-ownership="none">
+ <doc xml:whitespace="preserve">index of the node to remove</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="replace_node"
+ c:identifier="clutter_path_replace_node"
+ version="1.0">
+ <doc xml:whitespace="preserve">Replaces the node at offset @index_ with @node.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="index_" transfer-ownership="none">
+ <doc xml:whitespace="preserve">index to the existing node</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ <parameter name="node" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the replacement node</doc>
+ <type name="PathNode" c:type="ClutterPathNode*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_description"
+ c:identifier="clutter_path_set_description"
+ version="1.0">
+ <doc xml:whitespace="preserve">Replaces all of the nodes in the path with nodes described by
+If the string is invalid then %FALSE is returned and the path is
+unaltered.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE is the path was valid, %FALSE otherwise.</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="str" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a string describing the path</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="to_cairo_path"
+ c:identifier="clutter_path_to_cairo_path"
+ version="1.0">
+ <doc xml:whitespace="preserve">Add the nodes of the ClutterPath to the path in the Cairo context.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="cr" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a Cairo context</doc>
+ <type name="cairo.Context" c:type="cairo_t*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <property name="description" writable="1" transfer-ownership="none">
+ <type name="utf8"/>
+ </property>
+ <property name="length" transfer-ownership="none">
+ <type name="guint"/>
+ </property>
+ <field name="parent">
+ <type name="GObject.InitiallyUnowned" c:type="GInitiallyUnowned"/>
</field>
- <field name="clutter_model_iter_1">
- <callback name="clutter_model_iter_1" c:type="_clutter_model_iter_1">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
+ <field name="priv">
+ <type name="PathPrivate" c:type="ClutterPathPrivate*"/>
</field>
- <field name="clutter_model_iter_2">
- <callback name="clutter_model_iter_2" c:type="_clutter_model_iter_2">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
+ </class>
+ <callback name="PathCallback" c:type="ClutterPathCallback" version="1.0">
+ <doc xml:whitespace="preserve">This function is passed to clutter_path_foreach() and will be
+called for each node contained in the path.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="node" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the node</doc>
+ <type name="PathNode" c:type="ClutterPathNode*"/>
+ </parameter>
+ <parameter name="data" transfer-ownership="none">
+ <doc xml:whitespace="preserve">optional data passed to the function</doc>
+ <type name="gpointer" c:type="gpointer"/>
+ </parameter>
+ </parameters>
+ </callback>
+ <record name="PathClass"
+ c:type="ClutterPathClass"
+ glib:is-gtype-struct-for="Path"
+ version="1.0">
+ <doc xml:whitespace="preserve">The #ClutterPathClass struct contains only private data.</doc>
+ <field name="parent_class">
+ <type name="GObject.InitiallyUnownedClass"
+ c:type="GInitiallyUnownedClass"/>
</field>
- <field name="clutter_model_iter_3">
- <callback name="clutter_model_iter_3" c:type="_clutter_model_iter_3">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
+ </record>
+ <record name="PathNode"
+ c:type="ClutterPathNode"
+ version="1.0"
+ glib:type-name="ClutterPathNode"
+ glib:get-type="clutter_path_node_get_type"
+ c:symbol-prefix="path_node">
+ <doc xml:whitespace="preserve">Represents a single node of a #ClutterPath.
+Some of the coordinates in @points may be unused for some node
+types. %CLUTTER_PATH_MOVE_TO and %CLUTTER_PATH_LINE_TO use only one
+pair of coordinates, %CLUTTER_PATH_CURVE_TO uses all three and
+%CLUTTER_PATH_CLOSE uses none.</doc>
+ <field name="type" writable="1">
+ <type name="PathNodeType" c:type="ClutterPathNodeType"/>
</field>
- <field name="clutter_model_iter_4">
- <callback name="clutter_model_iter_4" c:type="_clutter_model_iter_4">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
+ <field name="points" writable="1">
+ <array zero-terminated="0" c:type="ClutterKnot" fixed-size="3">
+ <type name="Knot" c:type="ClutterKnot"/>
+ </array>
</field>
- <field name="clutter_model_iter_5">
- <callback name="clutter_model_iter_5" c:type="_clutter_model_iter_5">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
+ <method name="copy" c:identifier="clutter_path_node_copy" version="1.0">
+ <doc xml:whitespace="preserve">Makes an allocated copy of a node.</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">the copied node.</doc>
+ <type name="PathNode" c:type="ClutterPathNode*"/>
+ </return-value>
+ </method>
+ <method name="equal"
+ c:identifier="clutter_path_node_equal"
+ version="1.0">
+ <doc xml:whitespace="preserve">Compares two nodes and checks if they are the same type with the
+same coordinates.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the nodes are the same.</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="node_b" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Second node</doc>
+ <type name="PathNode" c:type="ClutterPathNode*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="free" c:identifier="clutter_path_node_free" version="1.0">
+ <doc xml:whitespace="preserve">Frees the memory of an allocated node.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </method>
+ </record>
+ <enumeration name="PathNodeType"
+ version="1.0"
+ glib:type-name="ClutterPathNodeType"
+ glib:get-type="clutter_path_node_type_get_type"
+ c:type="ClutterPathNodeType">
+ <doc xml:whitespace="preserve">Types of nodes in a #ClutterPath.</doc>
+ <member name="move_to"
+ value="0"
+ c:identifier="CLUTTER_PATH_MOVE_TO"
+ glib:nick="move-to"/>
+ <member name="line_to"
+ value="1"
+ c:identifier="CLUTTER_PATH_LINE_TO"
+ glib:nick="line-to"/>
+ <member name="curve_to"
+ value="2"
+ c:identifier="CLUTTER_PATH_CURVE_TO"
+ glib:nick="curve-to"/>
+ <member name="close"
+ value="3"
+ c:identifier="CLUTTER_PATH_CLOSE"
+ glib:nick="close"/>
+ <member name="rel_move_to"
+ value="32"
+ c:identifier="CLUTTER_PATH_REL_MOVE_TO"
+ glib:nick="rel-move-to"/>
+ <member name="rel_line_to"
+ value="33"
+ c:identifier="CLUTTER_PATH_REL_LINE_TO"
+ glib:nick="rel-line-to"/>
+ <member name="rel_curve_to"
+ value="34"
+ c:identifier="CLUTTER_PATH_REL_CURVE_TO"
+ glib:nick="rel-curve-to"/>
+ </enumeration>
+ <record name="PathPrivate" c:type="ClutterPathPrivate" disguised="1">
+ </record>
+ <constant name="Pause" value="65299">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <record name="Perspective"
+ c:type="ClutterPerspective"
+ version="0.4"
+ glib:type-name="ClutterPerspective"
+ glib:get-type="clutter_perspective_get_type"
+ c:symbol-prefix="perspective">
+ <doc xml:whitespace="preserve">Stage perspective definition. #ClutterPerspective is only used by
+the fixed point version of clutter_stage_set_perspective().</doc>
+ <field name="fovy" writable="1">
+ <type name="gfloat" c:type="gfloat"/>
</field>
- <field name="clutter_model_iter_6">
- <callback name="clutter_model_iter_6" c:type="_clutter_model_iter_6">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
+ <field name="aspect" writable="1">
+ <type name="gfloat" c:type="gfloat"/>
</field>
- <field name="clutter_model_iter_7">
- <callback name="clutter_model_iter_7" c:type="_clutter_model_iter_7">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
+ <field name="z_near" writable="1">
+ <type name="gfloat" c:type="gfloat"/>
</field>
- <field name="clutter_model_iter_8">
- <callback name="clutter_model_iter_8" c:type="_clutter_model_iter_8">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
+ <field name="z_far" writable="1">
+ <type name="gfloat" c:type="gfloat"/>
</field>
</record>
- <record name="ModelIterPrivate" c:type="ClutterModelIterPrivate">
- </record>
- <record name="ModelPrivate" c:type="ClutterModelPrivate">
- </record>
- <callback name="ModelSortFunc"
- c:type="ClutterModelSortFunc"
- doc="Compares the content of two rows in the model."
- version="0.6">
+ <constant name="PesetaSign" value="16785575">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Phone" value="269025134">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <enumeration name="PickMode"
+ version="1.0"
+ glib:type-name="ClutterPickMode"
+ glib:get-type="clutter_pick_mode_get_type"
+ c:type="ClutterPickMode">
+ <doc xml:whitespace="preserve">Controls the paint cycle of the scene graph when in pick mode</doc>
+ <member name="none"
+ value="0"
+ c:identifier="CLUTTER_PICK_NONE"
+ glib:nick="none"/>
+ <member name="reactive"
+ value="1"
+ c:identifier="CLUTTER_PICK_REACTIVE"
+ glib:nick="reactive"/>
+ <member name="all"
+ value="2"
+ c:identifier="CLUTTER_PICK_ALL"
+ glib:nick="all"/>
+ </enumeration>
+ <constant name="Pictures" value="269025169">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Pointer_Accelerate" value="65274">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Pointer_Button1" value="65257">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Pointer_Button2" value="65258">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Pointer_Button3" value="65259">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Pointer_Button4" value="65260">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Pointer_Button5" value="65261">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Pointer_Button_Dflt" value="65256">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Pointer_DblClick1" value="65263">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Pointer_DblClick2" value="65264">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Pointer_DblClick3" value="65265">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Pointer_DblClick4" value="65266">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Pointer_DblClick5" value="65267">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Pointer_DblClick_Dflt" value="65262">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Pointer_DfltBtnNext" value="65275">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Pointer_DfltBtnPrev" value="65276">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Pointer_Down" value="65251">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Pointer_DownLeft" value="65254">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Pointer_DownRight" value="65255">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Pointer_Drag1" value="65269">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Pointer_Drag2" value="65270">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Pointer_Drag3" value="65271">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Pointer_Drag4" value="65272">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Pointer_Drag5" value="65277">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Pointer_Drag_Dflt" value="65268">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Pointer_EnableKeys" value="65273">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Pointer_Left" value="65248">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Pointer_Right" value="65249">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Pointer_Up" value="65250">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Pointer_UpLeft" value="65252">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Pointer_UpRight" value="65253">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="PowerDown" value="269025057">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="PowerOff" value="269025066">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Prev_VMode" value="269024803">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Prev_Virtual_Screen" value="65233">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="PreviousCandidate" value="65342">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Print" value="65377">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Prior" value="65365">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <callback name="ProgressFunc" c:type="ClutterProgressFunc" version="1.0">
+ <doc xml:whitespace="preserve">Prototype of the progress function used to compute the value
+between the two ends @a and @b of an interval depending on
+the value of @progress.
+The #GValue in @retval is already initialized with the same
+type as @a and @b.
+This function will be called by #ClutterInterval if the
+type of the values of the interval was registered using
+clutter_interval_register_progress_func().
+the value and stored it inside @retval</doc>
<return-value transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <doc xml:whitespace="preserve">%TRUE if the function successfully computed</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
- <parameter name="model" transfer-ownership="none">
- <type name="Model" c:type="ClutterModel*"/>
- </parameter>
<parameter name="a" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the initial value of an interval</doc>
<type name="GObject.Value" c:type="GValue*"/>
</parameter>
<parameter name="b" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the final value of an interval</doc>
<type name="GObject.Value" c:type="GValue*"/>
</parameter>
- <parameter name="user_data" transfer-ownership="none" closure="3">
- <type name="any" c:type="gpointer"/>
+ <parameter name="progress" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the progress factor, between 0 and 1</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="retval" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the value used to store the progress</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
</parameter>
</parameters>
</callback>
- <bitfield name="ModifierType"
- doc="Masks applied to a #ClutterEvent by modifiers."
- version="0.4"
- glib:type-name="ClutterModifierType"
- glib:get-type="clutter_modifier_type_get_type"
- c:type="ClutterModifierType">
- <member name="shift_mask"
- value="1"
- c:identifier="CLUTTER_SHIFT_MASK"
- glib:nick="shift-mask"/>
- <member name="lock_mask"
- value="2"
- c:identifier="CLUTTER_LOCK_MASK"
- glib:nick="lock-mask"/>
- <member name="control_mask"
- value="4"
- c:identifier="CLUTTER_CONTROL_MASK"
- glib:nick="control-mask"/>
- <member name="mod1_mask"
- value="8"
- c:identifier="CLUTTER_MOD1_MASK"
- glib:nick="mod1-mask"/>
- <member name="mod2_mask"
- value="16"
- c:identifier="CLUTTER_MOD2_MASK"
- glib:nick="mod2-mask"/>
- <member name="mod3_mask"
- value="32"
- c:identifier="CLUTTER_MOD3_MASK"
- glib:nick="mod3-mask"/>
- <member name="mod4_mask"
- value="64"
- c:identifier="CLUTTER_MOD4_MASK"
- glib:nick="mod4-mask"/>
- <member name="mod5_mask"
- value="128"
- c:identifier="CLUTTER_MOD5_MASK"
- glib:nick="mod5-mask"/>
- <member name="button1_mask"
- value="256"
- c:identifier="CLUTTER_BUTTON1_MASK"
- glib:nick="button1-mask"/>
- <member name="button2_mask"
- value="512"
- c:identifier="CLUTTER_BUTTON2_MASK"
- glib:nick="button2-mask"/>
- <member name="button3_mask"
- value="1024"
- c:identifier="CLUTTER_BUTTON3_MASK"
- glib:nick="button3-mask"/>
- <member name="button4_mask"
- value="2048"
- c:identifier="CLUTTER_BUTTON4_MASK"
- glib:nick="button4-mask"/>
- <member name="button5_mask"
- value="4096"
- c:identifier="CLUTTER_BUTTON5_MASK"
- glib:nick="button5-mask"/>
- <member name="super_mask"
- value="67108864"
- c:identifier="CLUTTER_SUPER_MASK"
- glib:nick="super-mask"/>
- <member name="hyper_mask"
- value="134217728"
- c:identifier="CLUTTER_HYPER_MASK"
- glib:nick="hyper-mask"/>
- <member name="meta_mask"
- value="268435456"
- c:identifier="CLUTTER_META_MASK"
- glib:nick="meta-mask"/>
- <member name="release_mask"
- value="1073741824"
- c:identifier="CLUTTER_RELEASE_MASK"
- glib:nick="release-mask"/>
- <member name="modifier_mask"
- value="1543512063"
- c:identifier="CLUTTER_MODIFIER_MASK"
- glib:nick="modifier-mask"/>
- </bitfield>
- <record name="MotionEvent"
- c:type="ClutterMotionEvent"
- doc="Event for the pointer motion"
- version="0.2">
- <field name="type" writable="1">
- <type name="EventType" c:type="ClutterEventType"/>
- </field>
- <field name="time" writable="1">
- <type name="uint32" c:type="guint32"/>
- </field>
- <field name="flags" writable="1">
- <type name="EventFlags" c:type="ClutterEventFlags"/>
- </field>
- <field name="stage" writable="1">
- <type name="Stage" c:type="ClutterStage*"/>
+ <constant name="Q" value="81">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="R" value="82">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="R1" value="65490">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="R10" value="65499">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="R11" value="65500">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="R12" value="65501">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="R13" value="65502">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="R14" value="65503">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="R15" value="65504">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="R2" value="65491">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="R3" value="65492">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="R4" value="65493">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="R5" value="65494">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="R6" value="65495">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="R7" value="65496">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="R8" value="65497">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="R9" value="65498">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Racute" value="448">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Rcaron" value="472">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Rcedilla" value="931">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <class name="Rectangle"
+ c:symbol-prefix="rectangle"
+ c:type="ClutterRectangle"
+ version="0.1"
+ parent="Actor"
+ glib:type-name="ClutterRectangle"
+ glib:get-type="clutter_rectangle_get_type"
+ glib:type-struct="RectangleClass">
+ <doc xml:whitespace="preserve">The #ClutterRectangle structure contains only private data
+and should be accessed using the provided API</doc>
+ <implements name="Atk.ImplementorIface"/>
+ <implements name="Animatable"/>
+ <implements name="Scriptable"/>
+ <constructor name="new" c:identifier="clutter_rectangle_new">
+ <doc xml:whitespace="preserve">Creates a new #ClutterActor with a rectangular shape.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a new #ClutterActor</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </return-value>
+ </constructor>
+ <constructor name="new_with_color"
+ c:identifier="clutter_rectangle_new_with_color">
+ <doc xml:whitespace="preserve">Creates a new #ClutterActor with a rectangular shape
+and of the given @color.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a new #ClutterActor</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </return-value>
+ <parameters>
+ <parameter name="color" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterColor</doc>
+ <type name="Color" c:type="ClutterColor*"/>
+ </parameter>
+ </parameters>
+ </constructor>
+ <method name="get_border_color"
+ c:identifier="clutter_rectangle_get_border_color"
+ version="0.2">
+ <doc xml:whitespace="preserve">Gets the color of the border used by @rectangle and places
+it into @color.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="color" transfer-ownership="none">
+ <doc xml:whitespace="preserve">return location for a #ClutterColor</doc>
+ <type name="Color" c:type="ClutterColor*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="get_border_width"
+ c:identifier="clutter_rectangle_get_border_width"
+ version="0.2">
+ <doc xml:whitespace="preserve">Gets the width (in pixels) of the border used by @rectangle</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the border's width</doc>
+ <type name="guint" c:type="guint"/>
+ </return-value>
+ </method>
+ <method name="get_color" c:identifier="clutter_rectangle_get_color">
+ <doc xml:whitespace="preserve">Retrieves the color of @rectangle.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="color" transfer-ownership="none">
+ <doc xml:whitespace="preserve">return location for a #ClutterColor</doc>
+ <type name="Color" c:type="ClutterColor*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_border_color"
+ c:identifier="clutter_rectangle_set_border_color">
+ <doc xml:whitespace="preserve">Sets the color of the border used by @rectangle using @color</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="color" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the color of the border</doc>
+ <type name="Color" c:type="ClutterColor*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_border_width"
+ c:identifier="clutter_rectangle_set_border_width"
+ version="0.2">
+ <doc xml:whitespace="preserve">Sets the width (in pixel) of the border used by @rectangle.
+A @width of 0 will unset the border.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="width" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the width of the border</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_color" c:identifier="clutter_rectangle_set_color">
+ <doc xml:whitespace="preserve">Sets the color of @rectangle.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="color" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterColor</doc>
+ <type name="Color" c:type="ClutterColor*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <property name="border-color"
+ version="0.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The color of the border of the rectangle.</doc>
+ <type name="Color"/>
+ </property>
+ <property name="border-width"
+ version="0.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The width of the border of the rectangle, in pixels.</doc>
+ <type name="guint"/>
+ </property>
+ <property name="color" writable="1" transfer-ownership="none">
+ <doc xml:whitespace="preserve">The color of the rectangle.</doc>
+ <type name="Color"/>
+ </property>
+ <property name="has-border"
+ version="0.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the #ClutterRectangle should be displayed with a border.</doc>
+ <type name="gboolean"/>
+ </property>
+ <field name="parent">
+ <type name="Actor" c:type="ClutterActor"/>
</field>
- <field name="source" writable="1">
- <type name="Actor" c:type="ClutterActor*"/>
+ <field name="priv">
+ <type name="RectanglePrivate" c:type="ClutterRectanglePrivate*"/>
</field>
- <field name="x" writable="1">
- <type name="float" c:type="gfloat"/>
+ </class>
+ <record name="RectangleClass"
+ c:type="ClutterRectangleClass"
+ glib:is-gtype-struct-for="Rectangle"
+ version="0.1">
+ <doc xml:whitespace="preserve">The #ClutterRectangleClass structure contains only private data</doc>
+ <field name="parent_class">
+ <type name="ActorClass" c:type="ClutterActorClass"/>
</field>
- <field name="y" writable="1">
- <type name="float" c:type="gfloat"/>
+ <field name="_clutter_rectangle1" introspectable="0">
+ <callback name="_clutter_rectangle1">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
</field>
- <field name="modifier_state" writable="1">
- <type name="ModifierType" c:type="ClutterModifierType"/>
+ <field name="_clutter_rectangle2" introspectable="0">
+ <callback name="_clutter_rectangle2">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
</field>
- <field name="axes" writable="1">
- <type name="any" c:type="gdouble*"/>
+ <field name="_clutter_rectangle3" introspectable="0">
+ <callback name="_clutter_rectangle3">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
</field>
- <field name="device" writable="1">
- <type name="InputDevice" c:type="ClutterInputDevice*"/>
+ <field name="_clutter_rectangle4" introspectable="0">
+ <callback name="_clutter_rectangle4">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
</field>
</record>
- <constant name="MouseKeys_Accel_Enable" value="65143">
- <type name="int"/>
- </constant>
- <constant name="MouseKeys_Enable" value="65142">
- <type name="int"/>
- </constant>
- <constant name="Muhenkan" value="65314">
- <type name="int"/>
- </constant>
- <constant name="Multi_key" value="65312">
- <type name="int"/>
- </constant>
- <constant name="MultipleCandidate" value="65341">
- <type name="int"/>
- </constant>
- <constant name="N" value="78">
- <type name="int"/>
- </constant>
- <constant name="Nacute" value="465">
- <type name="int"/>
- </constant>
- <constant name="NairaSign" value="16785574">
- <type name="int"/>
- </constant>
- <constant name="Ncaron" value="466">
- <type name="int"/>
- </constant>
- <constant name="Ncedilla" value="977">
- <type name="int"/>
- </constant>
- <constant name="NewSheqelSign" value="16785578">
- <type name="int"/>
- </constant>
- <constant name="Next" value="65366">
- <type name="int"/>
- </constant>
- <constant name="Next_Virtual_Screen" value="65234">
- <type name="int"/>
- </constant>
- <constant name="Ntilde" value="209">
- <type name="int"/>
- </constant>
- <constant name="Num_Lock" value="65407">
- <type name="int"/>
- </constant>
- <constant name="O" value="79">
- <type name="int"/>
- </constant>
- <constant name="OE" value="5052">
- <type name="int"/>
- </constant>
- <constant name="Oacute" value="211">
- <type name="int"/>
- </constant>
- <constant name="Obarred" value="16777631">
- <type name="int"/>
- </constant>
- <constant name="Obelowdot" value="16785100">
- <type name="int"/>
- </constant>
- <constant name="Ocaron" value="16777681">
- <type name="int"/>
- </constant>
- <constant name="Ocircumflex" value="212">
- <type name="int"/>
- </constant>
- <constant name="Ocircumflexacute" value="16785104">
- <type name="int"/>
- </constant>
- <constant name="Ocircumflexbelowdot" value="16785112">
- <type name="int"/>
- </constant>
- <constant name="Ocircumflexgrave" value="16785106">
- <type name="int"/>
- </constant>
- <constant name="Ocircumflexhook" value="16785108">
- <type name="int"/>
+ <record name="RectanglePrivate"
+ c:type="ClutterRectanglePrivate"
+ disguised="1">
+ </record>
+ <constant name="Red" value="269025187">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Ocircumflextilde" value="16785110">
- <type name="int"/>
+ <constant name="Redo" value="65382">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Odiaeresis" value="214">
- <type name="int"/>
+ <bitfield name="RedrawFlags"
+ version="1.2"
+ glib:type-name="ClutterRedrawFlags"
+ glib:get-type="clutter_redraw_flags_get_type"
+ c:type="ClutterRedrawFlags">
+ <doc xml:whitespace="preserve">Flags passed to the clutter_actor_queue_redraw_with_clip ()
+function</doc>
+ <member name="box"
+ value="0"
+ c:identifier="CLUTTER_REDRAW_CLIPPED_TO_BOX"
+ glib:nick="box"/>
+ <member name="allocation"
+ value="2"
+ c:identifier="CLUTTER_REDRAW_CLIPPED_TO_ALLOCATION"
+ glib:nick="allocation"/>
+ </bitfield>
+ <constant name="Refresh" value="269025065">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Odoubleacute" value="469">
- <type name="int"/>
+ <constant name="Reload" value="269025139">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Ograve" value="210">
- <type name="int"/>
+ <constant name="RepeatKeys_Enable" value="65138">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Ohook" value="16785102">
- <type name="int"/>
+ <constant name="Reply" value="269025138">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Ohorn" value="16777632">
- <type name="int"/>
+ <enumeration name="RequestMode"
+ version="0.8"
+ glib:type-name="ClutterRequestMode"
+ glib:get-type="clutter_request_mode_get_type"
+ c:type="ClutterRequestMode">
+ <doc xml:whitespace="preserve">Specifies the type of requests for a #ClutterActor.</doc>
+ <member name="height_for_width"
+ value="0"
+ c:identifier="CLUTTER_REQUEST_HEIGHT_FOR_WIDTH"
+ glib:nick="height-for-width"/>
+ <member name="width_for_height"
+ value="1"
+ c:identifier="CLUTTER_REQUEST_WIDTH_FOR_HEIGHT"
+ glib:nick="width-for-height"/>
+ </enumeration>
+ <constant name="Return" value="65293">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Ohornacute" value="16785114">
- <type name="int"/>
+ <constant name="Right" value="65363">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Ohornbelowdot" value="16785122">
- <type name="int"/>
+ <constant name="RockerDown" value="269025060">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Ohorngrave" value="16785116">
- <type name="int"/>
+ <constant name="RockerEnter" value="269025061">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Ohornhook" value="16785118">
- <type name="int"/>
+ <constant name="RockerUp" value="269025059">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Ohorntilde" value="16785120">
- <type name="int"/>
+ <constant name="Romaji" value="65316">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Omacron" value="978">
- <type name="int"/>
+ <enumeration name="RotateAxis"
+ version="0.4"
+ glib:type-name="ClutterRotateAxis"
+ glib:get-type="clutter_rotate_axis_get_type"
+ c:type="ClutterRotateAxis">
+ <doc xml:whitespace="preserve">Axis of a rotation.</doc>
+ <member name="x_axis"
+ value="0"
+ c:identifier="CLUTTER_X_AXIS"
+ glib:nick="x-axis"/>
+ <member name="y_axis"
+ value="1"
+ c:identifier="CLUTTER_Y_AXIS"
+ glib:nick="y-axis"/>
+ <member name="z_axis"
+ value="2"
+ c:identifier="CLUTTER_Z_AXIS"
+ glib:nick="z-axis"/>
+ </enumeration>
+ <enumeration name="RotateDirection"
+ version="0.4"
+ glib:type-name="ClutterRotateDirection"
+ glib:get-type="clutter_rotate_direction_get_type"
+ c:type="ClutterRotateDirection">
+ <doc xml:whitespace="preserve">Direction of a rotation.</doc>
+ <member name="cw"
+ value="0"
+ c:identifier="CLUTTER_ROTATE_CW"
+ glib:nick="cw"/>
+ <member name="ccw"
+ value="1"
+ c:identifier="CLUTTER_ROTATE_CCW"
+ glib:nick="ccw"/>
+ </enumeration>
+ <constant name="RotateWindows" value="269025140">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Ooblique" value="216">
- <type name="int"/>
+ <constant name="RotationKB" value="269025142">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Oslash" value="216">
- <type name="int"/>
+ <constant name="RotationPB" value="269025141">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Otilde" value="213">
- <type name="int"/>
+ <constant name="RupeeSign" value="16785576">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Overlay1_Enable" value="65144">
- <type name="int"/>
+ <constant name="S" value="83">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Overlay2_Enable" value="65145">
- <type name="int"/>
+ <constant name="SCHWA" value="16777615">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="P" value="80">
- <type name="int"/>
+ <constant name="Sabovedot" value="16784992">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="PATH_RELATIVE" value="32">
- <type name="int"/>
+ <constant name="Sacute" value="422">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="PRIORITY_REDRAW" value="50">
- <type name="int"/>
+ <constant name="Save" value="269025143">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Pabovedot" value="16784982">
- <type name="int"/>
+ <constant name="Scaron" value="425">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Page_Down" value="65366">
- <type name="int"/>
+ <constant name="Scedilla" value="426">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Page_Up" value="65365">
- <type name="int"/>
+ <constant name="Scircumflex" value="734">
+ <type name="gint" c:type="gint"/>
</constant>
- <record name="ParamSpecColor"
- c:type="ClutterParamSpecColor"
- doc="A #GParamSpec subclass for defining properties holding
-a #ClutterColor."
- version="1.0">
- <field name="parent_instance" writable="1">
- <type name="GObject.ParamSpec" c:type="GParamSpec"/>
- </field>
- <field name="default_value" writable="1">
- <type name="Color" c:type="ClutterColor*"/>
- </field>
- </record>
- <record name="ParamSpecFixed" c:type="ClutterParamSpecFixed">
- <field name="parent_instance" writable="1">
- <type name="GObject.ParamSpec" c:type="GParamSpec"/>
- </field>
- <field name="minimum" writable="1">
- <type name="Cogl.Fixed" c:type="CoglFixed"/>
- </field>
- <field name="maximum" writable="1">
- <type name="Cogl.Fixed" c:type="CoglFixed"/>
- </field>
- <field name="default_value" writable="1">
- <type name="Cogl.Fixed" c:type="CoglFixed"/>
- </field>
- </record>
- <record name="ParamSpecUnits"
- c:type="ClutterParamSpecUnits"
- doc="#GParamSpec subclass for unit based properties."
- version="1.0">
- <field name="parent_instance" writable="1">
- <type name="GObject.ParamSpec" c:type="GParamSpec"/>
- </field>
- <field name="default_type" writable="1">
- <type name="UnitType" c:type="ClutterUnitType"/>
- </field>
- <field name="default_value" writable="1">
- <type name="float" c:type="gfloat"/>
- </field>
- <field name="minimum" writable="1">
- <type name="float" c:type="gfloat"/>
- </field>
- <field name="maximum" writable="1">
- <type name="float" c:type="gfloat"/>
- </field>
- </record>
- <class name="Path"
- c:type="ClutterPath"
- doc="The #ClutterPath struct contains only private data and should
-be accessed with the functions below."
- version="1.0"
- parent="GObject.InitiallyUnowned"
- glib:type-name="ClutterPath"
- glib:get-type="clutter_path_get_type"
- glib:type-struct="PathClass">
- <constructor name="new"
- c:identifier="clutter_path_new"
- doc="Creates a new #ClutterPath instance with no nodes.
-The object has a floating reference so if you add it to a
-#ClutterBehaviourPath then you do not need to unref it."
- version="1.0">
+ <class name="Score"
+ c:symbol-prefix="score"
+ c:type="ClutterScore"
+ version="0.6"
+ parent="GObject.Object"
+ glib:type-name="ClutterScore"
+ glib:get-type="clutter_score_get_type"
+ glib:type-struct="ScoreClass">
+ <doc xml:whitespace="preserve">The #ClutterScore structure contains only private data
+and should be accessed using the provided API</doc>
+ <constructor name="new" c:identifier="clutter_score_new" version="0.6">
+ <doc xml:whitespace="preserve">Creates a new #ClutterScore. A #ClutterScore is an object that can
+hold multiple #ClutterTimeline<!-- -->s in a sequential order.
+when done.</doc>
<return-value transfer-ownership="full">
- <type name="Path" c:type="ClutterPath*"/>
+ <doc xml:whitespace="preserve">the newly created #ClutterScore. Use g_object_unref()</doc>
+ <type name="Score" c:type="ClutterScore*"/>
</return-value>
</constructor>
- <constructor name="new_with_description"
- c:identifier="clutter_path_new_with_description"
- doc="Creates a new #ClutterPath instance with the nodes described in
-the string.
-The object has a floating reference so if you add it to a
-#ClutterBehaviourPath then you do not need to unref it."
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="Path" c:type="ClutterPath*"/>
+ <method name="append" c:identifier="clutter_score_append" version="0.6">
+ <doc xml:whitespace="preserve">Appends a timeline to another one existing in the score; the newly
+appended timeline will be started when @parent is complete.
+If @parent is %NULL, the new #ClutterTimeline will be started when
+clutter_score_start() is called.
+#ClutterScore will take a reference on @timeline.
+0 on failure. The returned id can be used with clutter_score_remove()
+or clutter_score_get_timeline().</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the id of the #ClutterTimeline inside the score, or</doc>
+ <type name="gulong" c:type="gulong"/>
</return-value>
<parameters>
- <parameter name="desc" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="parent" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">a #ClutterTimeline in the score, or %NULL</doc>
+ <type name="Timeline" c:type="ClutterTimeline*"/>
+ </parameter>
+ <parameter name="timeline" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterTimeline</doc>
+ <type name="Timeline" c:type="ClutterTimeline*"/>
</parameter>
</parameters>
- </constructor>
- <method name="add_move_to"
- c:identifier="clutter_path_add_move_to"
- doc="Adds a %CLUTTER_PATH_MOVE_TO type node to the path. This is usually
-used as the first node in a path. It can also be used in the middle
-of the path to cause the actor to jump to the new coordinate."
- version="1.0">
+ </method>
+ <method name="append_at_marker"
+ c:identifier="clutter_score_append_at_marker"
+ version="0.8">
+ <doc xml:whitespace="preserve">Appends @timeline at the given @marker_name on the @parent
+#ClutterTimeline.
+If you want to append @timeline at the end of @parent, use
+clutter_score_append().
+The #ClutterScore will take a reference on @timeline.
+0 on failure. The returned id can be used with clutter_score_remove()
+or clutter_score_get_timeline().</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the id of the #ClutterTimeline inside the score, or</doc>
+ <type name="gulong" c:type="gulong"/>
</return-value>
<parameters>
- <parameter name="x" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="parent" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the parent #ClutterTimeline</doc>
+ <type name="Timeline" c:type="ClutterTimeline*"/>
</parameter>
- <parameter name="y" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="marker_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the marker to use</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="timeline" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterTimeline to append</doc>
+ <type name="Timeline" c:type="ClutterTimeline*"/>
</parameter>
</parameters>
</method>
- <method name="add_rel_move_to"
- c:identifier="clutter_path_add_rel_move_to"
- doc="Same as clutter_path_add_move_to() except the coordinates are
-relative to the previous node."
- version="1.0">
+ <method name="get_loop"
+ c:identifier="clutter_score_get_loop"
+ version="0.6">
+ <doc xml:whitespace="preserve">Gets whether @score is looping</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">%TRUE if the score is looping</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ </method>
+ <method name="get_timeline"
+ c:identifier="clutter_score_get_timeline"
+ version="0.6">
+ <doc xml:whitespace="preserve">Retrieves the #ClutterTimeline for @id inside @score.
+function does not increase the reference count on the returned
+#ClutterTimeline</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the requested timeline, or %NULL. This</doc>
+ <type name="Timeline" c:type="ClutterTimeline*"/>
</return-value>
<parameters>
- <parameter name="x" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="y" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="id" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the id of the timeline</doc>
+ <type name="gulong" c:type="gulong"/>
</parameter>
</parameters>
</method>
- <method name="add_line_to"
- c:identifier="clutter_path_add_line_to"
- doc="Adds a %CLUTTER_PATH_LINE_TO type node to the path. This causes the
-actor to move to the new coordinates in a straight line."
- version="1.0">
+ <method name="is_playing"
+ c:identifier="clutter_score_is_playing"
+ version="0.6">
+ <doc xml:whitespace="preserve">Query state of a #ClutterScore instance.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if score is currently playing</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ </method>
+ <method name="list_timelines"
+ c:identifier="clutter_score_list_timelines"
+ version="0.6">
+ <doc xml:whitespace="preserve">Retrieves a list of all the #ClutterTimelines managed by @score.
+#GSList containing all the timelines in the score. This function does
+not increase the reference count of the returned timelines. Use
+g_slist_free() on the returned list to deallocate its resources.</doc>
+ <return-value transfer-ownership="container">
+ <doc xml:whitespace="preserve">a</doc>
+ <type name="GLib.SList" c:type="GSList*">
+ <type name="Timeline"/>
+ </type>
+ </return-value>
+ </method>
+ <method name="pause" c:identifier="clutter_score_pause" version="0.6">
+ <doc xml:whitespace="preserve">Pauses a playing score @score.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </method>
+ <method name="remove" c:identifier="clutter_score_remove" version="0.6">
+ <doc xml:whitespace="preserve">Removes the #ClutterTimeline with the given id inside @score. If
+the timeline has other timelines attached to it, those are removed
+as well.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="x" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="y" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="id" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the id of the timeline to remove</doc>
+ <type name="gulong" c:type="gulong"/>
</parameter>
</parameters>
</method>
- <method name="add_rel_line_to"
- c:identifier="clutter_path_add_rel_line_to"
- doc="Same as clutter_path_add_line_to() except the coordinates are
-relative to the previous node."
- version="1.0">
+ <method name="remove_all"
+ c:identifier="clutter_score_remove_all"
+ version="0.6">
+ <doc xml:whitespace="preserve">Removes all the timelines inside @score.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </method>
+ <method name="rewind" c:identifier="clutter_score_rewind" version="0.6">
+ <doc xml:whitespace="preserve">Rewinds a #ClutterScore to its initial state.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </method>
+ <method name="set_loop"
+ c:identifier="clutter_score_set_loop"
+ version="0.6">
+ <doc xml:whitespace="preserve">Sets whether @score should loop. A looping #ClutterScore will start
+from its initial state after the ::complete signal has been fired.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="x" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="y" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="loop" transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE for enable looping</doc>
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
- <method name="add_curve_to"
- c:identifier="clutter_path_add_curve_to"
- doc="Adds a %CLUTTER_PATH_CURVE_TO type node to the path. This causes
-the actor to follow a bezier from the last node to (@x_3, @y_3) using
-(@x_1, @y_1) and (@x_2,@y_2) as control points."
- version="1.0">
+ <method name="start" c:identifier="clutter_score_start" version="0.6">
+ <doc xml:whitespace="preserve">Starts the score.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </method>
+ <method name="stop" c:identifier="clutter_score_stop" version="0.6">
+ <doc xml:whitespace="preserve">Stops and rewinds a playing #ClutterScore instance.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- <parameters>
- <parameter name="x_1" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="y_1" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="x_2" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="y_2" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="x_3" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="y_3" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- </parameters>
- </method>
- <method name="add_rel_curve_to"
- c:identifier="clutter_path_add_rel_curve_to"
- doc="Same as clutter_path_add_curve_to() except the coordinates are
-relative to the previous node."
- version="1.0">
+ </method>
+ <property name="loop"
+ version="0.6"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the #ClutterScore should restart once finished.</doc>
+ <type name="gboolean"/>
+ </property>
+ <field name="parent">
+ <type name="GObject.Object" c:type="GObject"/>
+ </field>
+ <field name="priv">
+ <type name="ScorePrivate" c:type="ClutterScorePrivate*"/>
+ </field>
+ <glib:signal name="completed" version="0.6">
+ <doc xml:whitespace="preserve">The ::completed signal is emitted each time a #ClutterScore terminates.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ </glib:signal>
+ <glib:signal name="paused" version="0.6">
+ <doc xml:whitespace="preserve">The ::paused signal is emitted each time a #ClutterScore
+is paused.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ </glib:signal>
+ <glib:signal name="started" version="0.6">
+ <doc xml:whitespace="preserve">The ::started signal is emitted each time a #ClutterScore starts playing.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ </glib:signal>
+ <glib:signal name="timeline-completed" version="0.6">
+ <doc xml:whitespace="preserve">The ::timeline-completed signal is emitted each time a timeline
+inside a #ClutterScore terminates.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the completed timeline</doc>
+ <type name="Timeline"/>
+ </parameter>
+ </parameters>
+ </glib:signal>
+ <glib:signal name="timeline-started" version="0.6">
+ <doc xml:whitespace="preserve">The ::timeline-started signal is emitted each time a new timeline
+inside a #ClutterScore starts playing.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the current timeline</doc>
+ <type name="Timeline"/>
+ </parameter>
+ </parameters>
+ </glib:signal>
+ </class>
+ <record name="ScoreClass"
+ c:type="ClutterScoreClass"
+ glib:is-gtype-struct-for="Score"
+ version="0.6">
+ <doc xml:whitespace="preserve">The #ClutterScoreClass structure contains only private data</doc>
+ <field name="parent_class">
+ <type name="GObject.ObjectClass" c:type="GObjectClass"/>
+ </field>
+ <field name="timeline_started">
+ <callback name="timeline_started">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="score" transfer-ownership="none">
+ <type name="Score" c:type="ClutterScore*"/>
+ </parameter>
+ <parameter name="timeline" transfer-ownership="none">
+ <type name="Timeline" c:type="ClutterTimeline*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="timeline_completed">
+ <callback name="timeline_completed">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="score" transfer-ownership="none">
+ <type name="Score" c:type="ClutterScore*"/>
+ </parameter>
+ <parameter name="timeline" transfer-ownership="none">
+ <type name="Timeline" c:type="ClutterTimeline*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="started">
+ <callback name="started">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="score" transfer-ownership="none">
+ <type name="Score" c:type="ClutterScore*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="completed">
+ <callback name="completed">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="score" transfer-ownership="none">
+ <type name="Score" c:type="ClutterScore*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="paused">
+ <callback name="paused">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="score" transfer-ownership="none">
+ <type name="Score" c:type="ClutterScore*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="_clutter_score_1" introspectable="0">
+ <callback name="_clutter_score_1">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_score_2" introspectable="0">
+ <callback name="_clutter_score_2">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_score_3" introspectable="0">
+ <callback name="_clutter_score_3">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_score_4" introspectable="0">
+ <callback name="_clutter_score_4">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_score_5" introspectable="0">
+ <callback name="_clutter_score_5">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ </record>
+ <record name="ScorePrivate" c:type="ClutterScorePrivate" disguised="1">
+ </record>
+ <constant name="ScreenSaver" value="269025069">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <class name="Script"
+ c:symbol-prefix="script"
+ c:type="ClutterScript"
+ version="0.6"
+ parent="GObject.Object"
+ glib:type-name="ClutterScript"
+ glib:get-type="clutter_script_get_type"
+ glib:type-struct="ScriptClass">
+ <doc xml:whitespace="preserve">The #ClutterScript structure contains only private data
+and should be accessed using the provided API</doc>
+ <constructor name="new" c:identifier="clutter_script_new" version="0.6">
+ <doc xml:whitespace="preserve">Creates a new #ClutterScript instance. #ClutterScript can be used
+to load objects definitions for scenegraph elements, like actors,
+or behavioural elements, like behaviours and timelines. The
+definitions must be encoded using the JavaScript Object Notation (JSON)
+language.
+g_object_unref() when done.</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">the newly created #ClutterScript instance. Use</doc>
+ <type name="Script" c:type="ClutterScript*"/>
+ </return-value>
+ </constructor>
+ <virtual-method name="get_type_from_name"
+ invoker="get_type_from_name"
+ version="0.6">
+ <doc xml:whitespace="preserve">Looks up a type by name, using the virtual function that
+#ClutterScript has for that purpose. This function should
+rarely be used.
+%G_TYPE_INVALID if not corresponding type was found.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the type for the requested type name, or</doc>
+ <type name="GType" c:type="GType"/>
</return-value>
<parameters>
- <parameter name="x_1" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="y_1" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="x_2" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="y_2" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="x_3" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="y_3" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="type_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">name of the type to look up</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
- </method>
- <method name="add_close"
- c:identifier="clutter_path_add_close"
- doc="Adds a %CLUTTER_PATH_CLOSE type node to the path. This creates a
-straight line from the last node to the last %CLUTTER_PATH_MOVE_TO
-type node."
- version="1.0">
+ </virtual-method>
+ <method name="add_search_paths"
+ c:identifier="clutter_script_add_search_paths"
+ version="0.8">
+ <doc xml:whitespace="preserve">Adds @paths to the list of search paths held by @script.
+The search paths are used by clutter_script_lookup_filename(), which
+can be used to define search paths for the textures source file name
+or other custom, file-based properties.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- </method>
- <method name="add_string"
- c:identifier="clutter_path_add_string"
- doc="Adds new nodes to the end of the path as described in @str. The
-format is a subset of the SVG path format. Each node is represented
-by a letter and is followed by zero, one or three pairs of
-coordinates. The coordinates can be separated by spaces or a
-comma. The types are:
-<variablelist>
-<varlistentry><term>M</term>
-<listitem><para>
-Adds a %CLUTTER_PATH_MOVE_TO node. Takes one pair of coordinates.
-</para></listitem></varlistentry>
-<varlistentry><term>L</term>
-<listitem><para>
-Adds a %CLUTTER_PATH_LINE_TO node. Takes one pair of coordinates.
-</para></listitem></varlistentry>
-<varlistentry><term>C</term>
-<listitem><para>
-Adds a %CLUTTER_PATH_CURVE_TO node. Takes three pairs of coordinates.
-</para></listitem></varlistentry>
-<varlistentry><term>z</term>
-<listitem><para>
-Adds a %CLUTTER_PATH_CLOSE node. No coordinates are needed.
-</para></listitem></varlistentry>
-</variablelist>
-The M, L and C commands can also be specified in lower case which
-means the coordinates are relative to the previous node.
-For example, to move an actor in a 100 by 100 pixel square centered
-on the point 300,300 you could use the following path:
-<informalexample>
-<programlisting>
-M 250,350 l 0 -100 L 350,250 l 0 100 z
-</programlisting>
-</informalexample>
-If the path description isn't valid %FALSE will be returned and no
-nodes will be added.
-otherwise."
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
<parameters>
- <parameter name="str" transfer-ownership="none">
+ <parameter name="paths" transfer-ownership="none">
+ <doc xml:whitespace="preserve">an array of strings containing different search paths</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
+ <parameter name="n_paths" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the length of the passed array</doc>
+ <type name="gulong" c:type="gsize"/>
+ </parameter>
</parameters>
</method>
- <method name="add_node"
- c:identifier="clutter_path_add_node"
- doc="Adds @node to the end of the path."
- version="1.0">
+ <method name="connect_signals"
+ c:identifier="clutter_script_connect_signals"
+ version="0.6">
+ <doc xml:whitespace="preserve">Connects all the signals defined into a UI definition file to their
+handlers.
+This method invokes clutter_script_connect_signals_full() internally
+and uses #GModule's introspective features (by opening the current
+module's scope) to look at the application's symbol table.
+Note that this function will not work if #GModule is not supported by
+the platform Clutter is running on.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="node" transfer-ownership="none">
- <type name="PathNode" c:type="ClutterPathNode*"/>
+ <parameter name="user_data" transfer-ownership="none">
+ <doc xml:whitespace="preserve">data to be passed to the signal handlers, or %NULL</doc>
+ <type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
- <method name="add_cairo_path"
- c:identifier="clutter_path_add_cairo_path"
- doc="Add the nodes of the Cairo path to the end of @path."
- version="1.0">
+ <method name="connect_signals_full"
+ c:identifier="clutter_script_connect_signals_full"
+ version="0.6"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Connects all the signals defined into a UI definition file to their
+handlers.
+This function allows to control how the signal handlers are
+going to be connected to their respective signals. It is meant
+primarily for language bindings to allow resolving the function
+names using the native API, but it can also be used on platforms
+that do not support GModule.
+Applications should use clutter_script_connect_signals().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="cpath" transfer-ownership="none">
- <type name="cairo.Path" c:type="cairo_path_t*"/>
+ <parameter name="func" transfer-ownership="none" closure="1">
+ <doc xml:whitespace="preserve">signal connection function</doc>
+ <type name="ScriptConnectFunc" c:type="ClutterScriptConnectFunc"/>
+ </parameter>
+ <parameter name="user_data" transfer-ownership="none">
+ <doc xml:whitespace="preserve">data to be passed to the signal handlers, or %NULL</doc>
+ <type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
- <method name="get_n_nodes"
- c:identifier="clutter_path_get_n_nodes"
- doc="Retrieves the number of nodes in the path."
- version="1.0">
+ <method name="ensure_objects"
+ c:identifier="clutter_script_ensure_objects"
+ version="0.6">
+ <doc xml:whitespace="preserve">Ensure that every object defined inside @script is correctly
+constructed. You should rarely need to use this function.</doc>
<return-value transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <type name="none" c:type="void"/>
</return-value>
</method>
- <method name="get_node"
- c:identifier="clutter_path_get_node"
- doc="Retrieves the node of the path indexed by @index."
- version="1.0">
+ <method name="get_object"
+ c:identifier="clutter_script_get_object"
+ version="0.6">
+ <doc xml:whitespace="preserve">Retrieves the object bound to @name. This function does not increment
+the reference count of the returned object.
+with the given name was available</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the named object, or %NULL if no object</doc>
+ <type name="GObject.Object" c:type="GObject*"/>
</return-value>
<parameters>
- <parameter name="index_" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- <parameter name="node" transfer-ownership="none">
- <type name="PathNode" c:type="ClutterPathNode*"/>
+ <parameter name="name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the object to retrieve</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
- <method name="get_nodes"
- c:identifier="clutter_path_get_nodes"
- doc="Returns a #GSList of #ClutterPathNode<!-- -->s. The list should be
-freed with g_slist_free(). The nodes are owned by the path and
-should not be freed. Altering the path may cause the nodes in the
-list to become invalid so you should copy them if you want to keep
-the list."
- version="1.0">
- <return-value transfer-ownership="container"
- doc="a list of nodes in the path.">
- <type name="GLib.SList" c:type="GSList*">
- <type name="PathNode"/>
- </type>
- </return-value>
- </method>
- <method name="foreach"
- c:identifier="clutter_path_foreach"
- doc="Calls a function for each node of the path."
- version="1.0">
+ <method name="get_objects"
+ c:identifier="clutter_script_get_objects"
+ version="0.6"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Retrieves a list of objects for the given names. After @script, object
+names/return location pairs should be listed, with a %NULL pointer
+ending the list, like:
+<informalexample><programlisting>
+GObject *my_label, *a_button, *main_timeline;
+clutter_script_get_objects (script,
+"my-label", &amp;my_label,
+"a-button", &amp;a_button,
+"main-timeline", &amp;main_timeline,
+NULL);
+</programlisting></informalexample>
+returned objects.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the number of objects returned.</doc>
+ <type name="gint" c:type="gint"/>
</return-value>
<parameters>
- <parameter name="callback"
- transfer-ownership="none"
- scope="call"
- closure="2">
- <type name="PathCallback" c:type="ClutterPathCallback"/>
+ <parameter name="first_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the first object to retrieve</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
- <parameter name="user_data" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
+ <parameter transfer-ownership="none">
+ <varargs>
+ </varargs>
</parameter>
</parameters>
</method>
- <method name="insert_node"
- c:identifier="clutter_path_insert_node"
- doc="Inserts @node into the path before the node at the given offset. If"
- version="1.0">
+ <method name="get_type_from_name"
+ c:identifier="clutter_script_get_type_from_name"
+ version="0.6">
+ <doc xml:whitespace="preserve">Looks up a type by name, using the virtual function that
+#ClutterScript has for that purpose. This function should
+rarely be used.
+%G_TYPE_INVALID if not corresponding type was found.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the type for the requested type name, or</doc>
+ <type name="GType" c:type="GType"/>
</return-value>
<parameters>
- <parameter name="index_" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="node" transfer-ownership="none">
- <type name="PathNode" c:type="ClutterPathNode*"/>
+ <parameter name="type_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">name of the type to look up</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
- <method name="remove_node"
- c:identifier="clutter_path_remove_node"
- doc="Removes the node at the given offset from the path."
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <method name="list_objects"
+ c:identifier="clutter_script_list_objects"
+ version="0.8.2">
+ <doc xml:whitespace="preserve">Retrieves all the objects created by @script.
+objects it returns.
+of #GObject<!-- -->s, or %NULL. The objects are owned by the
+#ClutterScript instance. Use g_list_free() on the returned list when
+done.</doc>
+ <return-value transfer-ownership="container">
+ <doc xml:whitespace="preserve">a list</doc>
+ <type name="GLib.List" c:type="GList*">
+ <type name="GObject.Object"/>
+ </type>
</return-value>
- <parameters>
- <parameter name="index_" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- </parameters>
</method>
- <method name="replace_node"
- c:identifier="clutter_path_replace_node"
- doc="Replaces the node at offset @index_ with @node."
- version="1.0">
+ <method name="load_from_data"
+ c:identifier="clutter_script_load_from_data"
+ version="0.6"
+ throws="1">
+ <doc xml:whitespace="preserve">Loads the definitions from @data into @script and merges with
+the currently loaded ones, if any.
+accordingly. On success, the merge id for the UI definitions is
+returned. You can use the merge id with clutter_script_unmerge().</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">on error, zero is returned and @error is set</doc>
+ <type name="guint" c:type="guint"/>
</return-value>
<parameters>
- <parameter name="index_" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <parameter name="data" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a buffer containing the definitions</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
- <parameter name="node" transfer-ownership="none">
- <type name="PathNode" c:type="ClutterPathNode*"/>
+ <parameter name="length" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the length of the buffer, or -1 if @data is a NUL-terminated buffer</doc>
+ <type name="glong" c:type="gssize"/>
</parameter>
</parameters>
</method>
- <method name="get_description"
- c:identifier="clutter_path_get_description"
- doc="Returns a newly allocated string describing the path in the same
-format as used by clutter_path_add_string()."
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="utf8" c:type="gchar*"/>
- </return-value>
- </method>
- <method name="set_description"
- c:identifier="clutter_path_set_description"
- doc="Replaces all of the nodes in the path with nodes described by
-If the string is invalid then %FALSE is returned and the path is
-unaltered."
- version="1.0">
+ <method name="load_from_file"
+ c:identifier="clutter_script_load_from_file"
+ version="0.6"
+ throws="1">
+ <doc xml:whitespace="preserve">Loads the definitions from @filename into @script and merges with
+the currently loaded ones, if any.
+accordingly. On success, the merge id for the UI definitions is
+returned. You can use the merge id with clutter_script_unmerge_objects().</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">on error, zero is returned and @error is set</doc>
+ <type name="guint" c:type="guint"/>
</return-value>
<parameters>
- <parameter name="str" transfer-ownership="none">
+ <parameter name="filename" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the full path to the definition file</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
- <method name="clear"
- c:identifier="clutter_path_clear"
- doc="Removes all nodes from the path."
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </method>
- <method name="to_cairo_path"
- c:identifier="clutter_path_to_cairo_path"
- doc="Add the nodes of the ClutterPath to the path in the Cairo context."
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <method name="lookup_filename"
+ c:identifier="clutter_script_lookup_filename"
+ version="0.8">
+ <doc xml:whitespace="preserve">Looks up @filename inside the search paths of @script. If @filename
+is found, its full path will be returned .
+found.</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">the full path of @filename or %NULL if no path was</doc>
+ <type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
- <parameter name="cr" transfer-ownership="none">
- <type name="cairo.Context" c:type="cairo_t*"/>
+ <parameter name="filename" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the file to lookup</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
- <method name="get_position"
- c:identifier="clutter_path_get_position"
- doc="The value in @progress represents a position along the path where
-0.0 is the beginning and 1.0 is the end of the path. An
-interpolated position is then stored in @position."
- version="1.0">
+ <method name="unmerge_objects"
+ c:identifier="clutter_script_unmerge_objects"
+ version="0.6">
+ <doc xml:whitespace="preserve">Unmerges the objects identified by @merge_id.</doc>
<return-value transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="progress" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
- </parameter>
- <parameter name="position" transfer-ownership="none">
- <type name="Knot" c:type="ClutterKnot*"/>
+ <parameter name="merge_id" transfer-ownership="none">
+ <doc xml:whitespace="preserve">merge id returned when loading a UI definition</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
- <method name="get_length"
- c:identifier="clutter_path_get_length"
- doc="Retrieves an approximation of the total length of the path."
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </return-value>
- </method>
- <property name="description" writable="1">
- <type name="utf8" c:type="gchararray"/>
+ <property name="filename" version="0.6" transfer-ownership="none">
+ <doc xml:whitespace="preserve">The path of the currently parsed file. If #ClutterScript:filename-set
+is %FALSE then the value of this property is undefined.</doc>
+ <type name="utf8"/>
</property>
- <property name="length">
- <type name="uint" c:type="guint"/>
+ <property name="filename-set" version="0.6" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the #ClutterScript:filename property is set. If this property
+is %TRUE then the currently parsed data comes from a file, and the
+file name is stored inside the #ClutterScript:filename property.</doc>
+ <type name="gboolean"/>
</property>
- <field name="parent">
- <type name="GObject.InitiallyUnowned" c:type="GInitiallyUnowned"/>
+ <field name="parent_instance">
+ <type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv">
- <type name="PathPrivate" c:type="ClutterPathPrivate*"/>
+ <type name="ScriptPrivate" c:type="ClutterScriptPrivate*"/>
</field>
</class>
- <callback name="PathCallback"
- c:type="ClutterPathCallback"
- doc="This function is passed to clutter_path_foreach() and will be
-called for each node contained in the path."
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="node" transfer-ownership="none">
- <type name="PathNode" c:type="ClutterPathNode*"/>
- </parameter>
- <parameter name="data" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
- </parameter>
- </parameters>
- </callback>
- <record name="PathClass"
- c:type="ClutterPathClass"
- glib:is-gtype-struct-for="Path"
- doc="The #ClutterPathClass struct contains only private data."
- version="1.0">
+ <record name="ScriptClass"
+ c:type="ClutterScriptClass"
+ glib:is-gtype-struct-for="Script"
+ version="0.6">
+ <doc xml:whitespace="preserve">The #ClutterScriptClass structure contains only private data</doc>
<field name="parent_class">
- <type name="GObject.InitiallyUnownedClass"
- c:type="GInitiallyUnownedClass"/>
- </field>
- </record>
- <record name="PathNode"
- c:type="ClutterPathNode"
- doc="Represents a single node of a #ClutterPath.
-Some of the coordinates in @points may be unused for some node
-types. %CLUTTER_PATH_MOVE_TO and %CLUTTER_PATH_LINE_TO use only one
-pair of coordinates, %CLUTTER_PATH_CURVE_TO uses all three and
-%CLUTTER_PATH_CLOSE uses none."
- version="1.0"
- glib:type-name="ClutterPathNode"
- glib:get-type="clutter_path_node_get_type">
- <field name="type" writable="1">
- <type name="PathNodeType" c:type="ClutterPathNodeType"/>
- </field>
- <field name="points" writable="1">
- <array zero-terminated="0" c:type="ClutterKnot" fixed-size="3">
- <type name="Knot"/>
- </array>
- </field>
- <method name="copy"
- c:identifier="clutter_path_node_copy"
- doc="Makes an allocated copy of a node."
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="PathNode" c:type="ClutterPathNode*"/>
- </return-value>
- </method>
- <method name="free"
- c:identifier="clutter_path_node_free"
- doc="Frees the memory of an allocated node."
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </method>
- <method name="equal"
- c:identifier="clutter_path_node_equal"
- doc="Compares two nodes and checks if they are the same type with the
-same coordinates."
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- <parameters>
- <parameter name="node_b" transfer-ownership="none">
- <type name="PathNode" c:type="ClutterPathNode*"/>
- </parameter>
- </parameters>
- </method>
- </record>
- <enumeration name="PathNodeType"
- doc="Types of nodes in a #ClutterPath."
- version="1.0"
- glib:type-name="ClutterPathNodeType"
- glib:get-type="clutter_path_node_type_get_type"
- c:type="ClutterPathNodeType">
- <member name="move_to"
- value="0"
- c:identifier="CLUTTER_PATH_MOVE_TO"
- glib:nick="move-to"/>
- <member name="line_to"
- value="1"
- c:identifier="CLUTTER_PATH_LINE_TO"
- glib:nick="line-to"/>
- <member name="curve_to"
- value="2"
- c:identifier="CLUTTER_PATH_CURVE_TO"
- glib:nick="curve-to"/>
- <member name="close"
- value="3"
- c:identifier="CLUTTER_PATH_CLOSE"
- glib:nick="close"/>
- <member name="rel_move_to"
- value="32"
- c:identifier="CLUTTER_PATH_REL_MOVE_TO"
- glib:nick="rel-move-to"/>
- <member name="rel_line_to"
- value="33"
- c:identifier="CLUTTER_PATH_REL_LINE_TO"
- glib:nick="rel-line-to"/>
- <member name="rel_curve_to"
- value="34"
- c:identifier="CLUTTER_PATH_REL_CURVE_TO"
- glib:nick="rel-curve-to"/>
- </enumeration>
- <record name="PathPrivate" c:type="ClutterPathPrivate">
- </record>
- <constant name="Pause" value="65299">
- <type name="int"/>
- </constant>
- <record name="Perspective"
- c:type="ClutterPerspective"
- doc="Stage perspective definition. #ClutterPerspective is only used by
-the fixed point version of clutter_stage_set_perspective()."
- version="0.4"
- glib:type-name="ClutterPerspective"
- glib:get-type="clutter_perspective_get_type">
- <field name="fovy" writable="1">
- <type name="float" c:type="gfloat"/>
+ <type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
- <field name="aspect" writable="1">
- <type name="float" c:type="gfloat"/>
+ <field name="get_type_from_name">
+ <callback name="get_type_from_name">
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the type for the requested type name, or</doc>
+ <type name="GType" c:type="GType"/>
+ </return-value>
+ <parameters>
+ <parameter name="script" transfer-ownership="none">
+ <type name="Script" c:type="ClutterScript*"/>
+ </parameter>
+ <parameter name="type_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">name of the type to look up</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ </parameters>
+ </callback>
</field>
- <field name="z_near" writable="1">
- <type name="float" c:type="gfloat"/>
+ <field name="_clutter_reserved1" introspectable="0">
+ <callback name="_clutter_reserved1">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
</field>
- <field name="z_far" writable="1">
- <type name="float" c:type="gfloat"/>
+ <field name="_clutter_reserved2" introspectable="0">
+ <callback name="_clutter_reserved2">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
</field>
- </record>
- <constant name="PesetaSign" value="16785575">
- <type name="int"/>
- </constant>
- <enumeration name="PickMode"
- doc="Controls the paint cycle of the scene graph when in pick mode"
- version="1.0"
- glib:type-name="ClutterPickMode"
- glib:get-type="clutter_pick_mode_get_type"
- c:type="ClutterPickMode">
- <member name="none"
- value="0"
- c:identifier="CLUTTER_PICK_NONE"
- glib:nick="none"/>
- <member name="reactive"
- value="1"
- c:identifier="CLUTTER_PICK_REACTIVE"
- glib:nick="reactive"/>
- <member name="all"
- value="2"
- c:identifier="CLUTTER_PICK_ALL"
- glib:nick="all"/>
- </enumeration>
- <constant name="Pointer_Accelerate" value="65274">
- <type name="int"/>
- </constant>
- <constant name="Pointer_Button1" value="65257">
- <type name="int"/>
- </constant>
- <constant name="Pointer_Button2" value="65258">
- <type name="int"/>
- </constant>
- <constant name="Pointer_Button3" value="65259">
- <type name="int"/>
- </constant>
- <constant name="Pointer_Button4" value="65260">
- <type name="int"/>
- </constant>
- <constant name="Pointer_Button5" value="65261">
- <type name="int"/>
- </constant>
- <constant name="Pointer_Button_Dflt" value="65256">
- <type name="int"/>
- </constant>
- <constant name="Pointer_DblClick1" value="65263">
- <type name="int"/>
- </constant>
- <constant name="Pointer_DblClick2" value="65264">
- <type name="int"/>
- </constant>
- <constant name="Pointer_DblClick3" value="65265">
- <type name="int"/>
- </constant>
- <constant name="Pointer_DblClick4" value="65266">
- <type name="int"/>
- </constant>
- <constant name="Pointer_DblClick5" value="65267">
- <type name="int"/>
- </constant>
- <constant name="Pointer_DblClick_Dflt" value="65262">
- <type name="int"/>
- </constant>
- <constant name="Pointer_DfltBtnNext" value="65275">
- <type name="int"/>
- </constant>
- <constant name="Pointer_DfltBtnPrev" value="65276">
- <type name="int"/>
- </constant>
- <constant name="Pointer_Down" value="65251">
- <type name="int"/>
- </constant>
- <constant name="Pointer_DownLeft" value="65254">
- <type name="int"/>
- </constant>
- <constant name="Pointer_DownRight" value="65255">
- <type name="int"/>
- </constant>
- <constant name="Pointer_Drag1" value="65269">
- <type name="int"/>
- </constant>
- <constant name="Pointer_Drag2" value="65270">
- <type name="int"/>
- </constant>
- <constant name="Pointer_Drag3" value="65271">
- <type name="int"/>
- </constant>
- <constant name="Pointer_Drag4" value="65272">
- <type name="int"/>
- </constant>
- <constant name="Pointer_Drag5" value="65277">
- <type name="int"/>
- </constant>
- <constant name="Pointer_Drag_Dflt" value="65268">
- <type name="int"/>
- </constant>
- <constant name="Pointer_EnableKeys" value="65273">
- <type name="int"/>
- </constant>
- <constant name="Pointer_Left" value="65248">
- <type name="int"/>
- </constant>
- <constant name="Pointer_Right" value="65249">
- <type name="int"/>
- </constant>
- <constant name="Pointer_Up" value="65250">
- <type name="int"/>
- </constant>
- <constant name="Pointer_UpLeft" value="65252">
- <type name="int"/>
- </constant>
- <constant name="Pointer_UpRight" value="65253">
- <type name="int"/>
- </constant>
- <constant name="Prev_Virtual_Screen" value="65233">
- <type name="int"/>
- </constant>
- <constant name="PreviousCandidate" value="65342">
- <type name="int"/>
- </constant>
- <constant name="Print" value="65377">
- <type name="int"/>
- </constant>
- <constant name="Prior" value="65365">
- <type name="int"/>
- </constant>
- <callback name="ProgressFunc"
- c:type="ClutterProgressFunc"
- doc="Prototype of the progress function used to compute the value
-between the two ends @a and @b of an interval depending on
-the value of @progress.
-The #GValue in @retval is already initialized with the same
-type as @a and @b.
-This function will be called by #ClutterInterval if the
-type of the values of the interval was registered using
-clutter_interval_register_progress_func().
-the value and stored it inside @retval"
- version="1.0">
+ <field name="_clutter_reserved3" introspectable="0">
+ <callback name="_clutter_reserved3">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_reserved4" introspectable="0">
+ <callback name="_clutter_reserved4">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_reserved5" introspectable="0">
+ <callback name="_clutter_reserved5">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_reserved6" introspectable="0">
+ <callback name="_clutter_reserved6">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_reserved7" introspectable="0">
+ <callback name="_clutter_reserved7">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ <field name="_clutter_reserved8" introspectable="0">
+ <callback name="_clutter_reserved8">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </callback>
+ </field>
+ </record>
+ <callback name="ScriptConnectFunc"
+ c:type="ClutterScriptConnectFunc"
+ version="0.6">
+ <doc xml:whitespace="preserve">This is the signature of a function used to connect signals. It is used
+by the clutter_script_connect_signals_full() function. It is mainly
+intended for interpreted language bindings, but could be useful where the
+programmer wants more control over the signal connection process.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="a" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
+ <parameter name="script" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterScript</doc>
+ <type name="Script" c:type="ClutterScript*"/>
</parameter>
- <parameter name="b" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the object to connect</doc>
+ <type name="GObject.Object" c:type="GObject*"/>
</parameter>
- <parameter name="progress" transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
+ <parameter name="signal_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the signal</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
- <parameter name="retval" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
+ <parameter name="handler_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the signal handler</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="connect_object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the object to connect the signal to, or %NULL</doc>
+ <type name="GObject.Object" c:type="GObject*"/>
+ </parameter>
+ <parameter name="flags" transfer-ownership="none">
+ <doc xml:whitespace="preserve">signal connection flags</doc>
+ <type name="GObject.ConnectFlags" c:type="GConnectFlags"/>
+ </parameter>
+ <parameter name="user_data" transfer-ownership="none" closure="6">
+ <doc xml:whitespace="preserve">user data to pass to the signal handler</doc>
+ <type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</callback>
- <constant name="Q" value="81">
- <type name="int"/>
- </constant>
- <constant name="R" value="82">
- <type name="int"/>
- </constant>
- <constant name="R1" value="65490">
- <type name="int"/>
- </constant>
- <constant name="R10" value="65499">
- <type name="int"/>
- </constant>
- <constant name="R11" value="65500">
- <type name="int"/>
- </constant>
- <constant name="R12" value="65501">
- <type name="int"/>
- </constant>
- <constant name="R13" value="65502">
- <type name="int"/>
- </constant>
- <constant name="R14" value="65503">
- <type name="int"/>
- </constant>
- <constant name="R15" value="65504">
- <type name="int"/>
- </constant>
- <constant name="R2" value="65491">
- <type name="int"/>
- </constant>
- <constant name="R3" value="65492">
- <type name="int"/>
- </constant>
- <constant name="R4" value="65493">
- <type name="int"/>
- </constant>
- <constant name="R5" value="65494">
- <type name="int"/>
- </constant>
- <constant name="R6" value="65495">
- <type name="int"/>
- </constant>
- <constant name="R7" value="65496">
- <type name="int"/>
- </constant>
- <constant name="R8" value="65497">
- <type name="int"/>
- </constant>
- <constant name="R9" value="65498">
- <type name="int"/>
- </constant>
- <constant name="Racute" value="448">
- <type name="int"/>
- </constant>
- <constant name="Rcaron" value="472">
- <type name="int"/>
- </constant>
- <constant name="Rcedilla" value="931">
- <type name="int"/>
- </constant>
- <class name="Rectangle"
- c:type="ClutterRectangle"
- doc="The #ClutterRectangle structure contains only private data
-and should be accessed using the provided API"
- version="0.1"
- parent="Actor"
- glib:type-name="ClutterRectangle"
- glib:get-type="clutter_rectangle_get_type"
- glib:type-struct="RectangleClass">
- <implements name="Scriptable"/>
- <constructor name="new"
- c:identifier="clutter_rectangle_new"
- doc="Creates a new #ClutterActor with a rectangular shape.">
- <return-value transfer-ownership="full">
- <type name="Rectangle" c:type="ClutterActor*"/>
+ <enumeration name="ScriptError"
+ version="0.6"
+ glib:type-name="ClutterScriptError"
+ glib:get-type="clutter_script_error_get_type"
+ c:type="ClutterScriptError"
+ glib:error-quark="clutter_script_error_quark">
+ <doc xml:whitespace="preserve">#ClutterScript error enumeration.</doc>
+ <member name="type_function"
+ value="0"
+ c:identifier="CLUTTER_SCRIPT_ERROR_INVALID_TYPE_FUNCTION"
+ glib:nick="type-function"/>
+ <member name="property"
+ value="1"
+ c:identifier="CLUTTER_SCRIPT_ERROR_INVALID_PROPERTY"
+ glib:nick="property"/>
+ <member name="value"
+ value="2"
+ c:identifier="CLUTTER_SCRIPT_ERROR_INVALID_VALUE"
+ glib:nick="value"/>
+ </enumeration>
+ <record name="ScriptPrivate" c:type="ClutterScriptPrivate" disguised="1">
+ </record>
+ <interface name="Scriptable"
+ c:symbol-prefix="scriptable"
+ c:type="ClutterScriptable"
+ version="0.6"
+ glib:type-name="ClutterScriptable"
+ glib:get-type="clutter_scriptable_get_type"
+ glib:type-struct="ScriptableIface">
+ <doc xml:whitespace="preserve">#ClutterScriptable is an opaque structure whose members cannot be directly
+accessed</doc>
+ <virtual-method name="get_id" invoker="get_id" version="0.6">
+ <doc xml:whitespace="preserve">Retrieves the id of @scriptable set using clutter_scriptable_set_id().
+the scriptable object and should never be modified of freed</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the id of the object. The returned string is owned by</doc>
+ <type name="utf8" c:type="gchar*"/>
</return-value>
- </constructor>
- <constructor name="new_with_color"
- c:identifier="clutter_rectangle_new_with_color"
- doc="Creates a new #ClutterActor with a rectangular shape
-and of the given @color.">
- <return-value transfer-ownership="full">
- <type name="Rectangle" c:type="ClutterActor*"/>
+ </virtual-method>
+ <virtual-method name="parse_custom_node"
+ invoker="parse_custom_node"
+ version="0.6">
+ <doc xml:whitespace="preserve">Parses the passed JSON node. The implementation must set the type
+of the passed #GValue pointer using g_value_init().</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the node was successfully parsed, %FALSE otherwise.</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
- <parameter name="color" transfer-ownership="none">
- <type name="Color" c:type="ClutterColor*"/>
+ <parameter name="script" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterScript creating the scriptable instance</doc>
+ <type name="Script" c:type="ClutterScript*"/>
+ </parameter>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the generic value to be set</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
+ <parameter name="name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the node</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="node" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the JSON node to be parsed</doc>
+ <type name="Json.Node" c:type="JsonNode*"/>
</parameter>
</parameters>
- </constructor>
- <method name="get_color"
- c:identifier="clutter_rectangle_get_color"
- doc="Retrieves the color of @rectangle.">
+ </virtual-method>
+ <virtual-method name="set_custom_property"
+ invoker="set_custom_property"
+ version="0.6">
+ <doc xml:whitespace="preserve">Overrides the common properties setting. The underlying virtual
+function should be used when implementing custom properties.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="color" transfer-ownership="none">
- <type name="Color" c:type="ClutterColor*"/>
+ <parameter name="script" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterScript creating the scriptable instance</doc>
+ <type name="Script" c:type="ClutterScript*"/>
+ </parameter>
+ <parameter name="name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the property</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the value of the property</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
</parameter>
</parameters>
- </method>
- <method name="set_color"
- c:identifier="clutter_rectangle_set_color"
- doc="Sets the color of @rectangle.">
+ </virtual-method>
+ <virtual-method name="set_id" invoker="set_id" version="0.6">
+ <doc xml:whitespace="preserve">Sets @id as the unique Clutter script it for this instance of
+#ClutterScriptableIface.
+This name can be used by user interface designer applications to
+define a unique name for an object constructable using the UI
+definition language parsed by #ClutterScript.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="color" transfer-ownership="none">
- <type name="Color" c:type="ClutterColor*"/>
+ <parameter name="name" transfer-ownership="none">
+ <type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
- </method>
- <method name="get_border_width"
- c:identifier="clutter_rectangle_get_border_width"
- doc="Gets the width (in pixels) of the border used by @rectangle"
- version="0.2">
+ </virtual-method>
+ <method name="get_id"
+ c:identifier="clutter_scriptable_get_id"
+ version="0.6">
+ <doc xml:whitespace="preserve">Retrieves the id of @scriptable set using clutter_scriptable_set_id().
+the scriptable object and should never be modified of freed</doc>
<return-value transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <doc xml:whitespace="preserve">the id of the object. The returned string is owned by</doc>
+ <type name="utf8" c:type="gchar*"/>
</return-value>
</method>
- <method name="set_border_width"
- c:identifier="clutter_rectangle_set_border_width"
- doc="Sets the width (in pixel) of the border used by @rectangle.
-A @width of 0 will unset the border."
- version="0.2">
+ <method name="parse_custom_node"
+ c:identifier="clutter_scriptable_parse_custom_node"
+ version="0.6">
+ <doc xml:whitespace="preserve">Parses the passed JSON node. The implementation must set the type
+of the passed #GValue pointer using g_value_init().</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">%TRUE if the node was successfully parsed, %FALSE otherwise.</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
- <parameter name="width" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <parameter name="script" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterScript creating the scriptable instance</doc>
+ <type name="Script" c:type="ClutterScript*"/>
</parameter>
- </parameters>
- </method>
- <method name="get_border_color"
- c:identifier="clutter_rectangle_get_border_color"
- doc="Gets the color of the border used by @rectangle and places
-it into @color."
- version="0.2">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="color" transfer-ownership="none">
- <type name="Color" c:type="ClutterColor*"/>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the generic value to be set</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
+ <parameter name="name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the node</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="node" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the JSON node to be parsed</doc>
+ <type name="Json.Node" c:type="JsonNode*"/>
</parameter>
</parameters>
</method>
- <method name="set_border_color"
- c:identifier="clutter_rectangle_set_border_color"
- doc="Sets the color of the border used by @rectangle using @color">
+ <method name="set_custom_property"
+ c:identifier="clutter_scriptable_set_custom_property"
+ version="0.6">
+ <doc xml:whitespace="preserve">Overrides the common properties setting. The underlying virtual
+function should be used when implementing custom properties.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="color" transfer-ownership="none">
- <type name="Color" c:type="ClutterColor*"/>
+ <parameter name="script" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterScript creating the scriptable instance</doc>
+ <type name="Script" c:type="ClutterScript*"/>
</parameter>
- </parameters>
- </method>
- <property name="border-color"
- version="0.2"
- writable="1"
- doc="The color of the border of the rectangle.">
- <type name="Color" c:type="ClutterColor"/>
- </property>
- <property name="border-width"
- version="0.2"
- writable="1"
- doc="The width of the border of the rectangle, in pixels.">
- <type name="uint" c:type="guint"/>
- </property>
- <property name="color" writable="1" doc="The color of the rectangle.">
- <type name="Color" c:type="ClutterColor"/>
- </property>
- <property name="has-border"
- version="0.2"
- writable="1"
- doc="Whether the #ClutterRectangle should be displayed with a border.">
- <type name="boolean" c:type="gboolean"/>
- </property>
- <field name="parent">
- <type name="Actor" c:type="ClutterActor"/>
- </field>
- <field name="priv">
- <type name="RectanglePrivate" c:type="ClutterRectanglePrivate*"/>
- </field>
- </class>
- <record name="RectangleClass"
- c:type="ClutterRectangleClass"
- glib:is-gtype-struct-for="Rectangle"
- doc="The #ClutterRectangleClass structure contains only private data"
- version="0.1">
- <field name="parent_class">
- <type name="ActorClass" c:type="ClutterActorClass"/>
+ <parameter name="name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the property</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the value of the property</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_id"
+ c:identifier="clutter_scriptable_set_id"
+ version="0.6">
+ <doc xml:whitespace="preserve">Sets @id as the unique Clutter script it for this instance of
+#ClutterScriptableIface.
+This name can be used by user interface designer applications to
+define a unique name for an object constructable using the UI
+definition language parsed by #ClutterScript.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="id" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterScript id of the object</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ </parameters>
+ </method>
+ </interface>
+ <record name="ScriptableIface"
+ c:type="ClutterScriptableIface"
+ glib:is-gtype-struct-for="Scriptable"
+ version="0.6">
+ <doc xml:whitespace="preserve">Interface for implementing "scriptable" objects. An object implementing
+this interface can override the parsing and properties setting sequence
+when loading a UI definition data with #ClutterScript</doc>
+ <field name="g_iface">
+ <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
</field>
- <field name="clutter_rectangle1">
- <callback name="clutter_rectangle1" c:type="_clutter_rectangle1">
+ <field name="set_id">
+ <callback name="set_id">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="scriptable" transfer-ownership="none">
+ <type name="Scriptable" c:type="ClutterScriptable*"/>
+ </parameter>
+ <parameter name="name" transfer-ownership="none">
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ </parameters>
</callback>
</field>
- <field name="clutter_rectangle2">
- <callback name="clutter_rectangle2" c:type="_clutter_rectangle2">
+ <field name="get_id">
+ <callback name="get_id">
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the id of the object. The returned string is owned by</doc>
+ <type name="utf8" c:type="gchar*"/>
</return-value>
+ <parameters>
+ <parameter name="scriptable" transfer-ownership="none">
+ <type name="Scriptable" c:type="ClutterScriptable*"/>
+ </parameter>
+ </parameters>
</callback>
</field>
- <field name="clutter_rectangle3">
- <callback name="clutter_rectangle3" c:type="_clutter_rectangle3">
+ <field name="parse_custom_node">
+ <callback name="parse_custom_node">
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">%TRUE if the node was successfully parsed, %FALSE otherwise.</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
+ <parameters>
+ <parameter name="scriptable" transfer-ownership="none">
+ <type name="Scriptable" c:type="ClutterScriptable*"/>
+ </parameter>
+ <parameter name="script" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterScript creating the scriptable instance</doc>
+ <type name="Script" c:type="ClutterScript*"/>
+ </parameter>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the generic value to be set</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
+ <parameter name="name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the node</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="node" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the JSON node to be parsed</doc>
+ <type name="Json.Node" c:type="JsonNode*"/>
+ </parameter>
+ </parameters>
</callback>
</field>
- <field name="clutter_rectangle4">
- <callback name="clutter_rectangle4" c:type="_clutter_rectangle4">
+ <field name="set_custom_property">
+ <callback name="set_custom_property">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="scriptable" transfer-ownership="none">
+ <type name="Scriptable" c:type="ClutterScriptable*"/>
+ </parameter>
+ <parameter name="script" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #ClutterScript creating the scriptable instance</doc>
+ <type name="Script" c:type="ClutterScript*"/>
+ </parameter>
+ <parameter name="name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the property</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the value of the property</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
+ </parameters>
</callback>
</field>
</record>
- <record name="RectanglePrivate" c:type="ClutterRectanglePrivate">
- </record>
- <constant name="Redo" value="65382">
- <type name="int"/>
- </constant>
- <bitfield name="RedrawFlags"
- doc="Flags passed to the clutter_actor_queue_redraw_with_clip ()
-function"
- version="1.2"
- glib:type-name="ClutterRedrawFlags"
- glib:get-type="clutter_redraw_flags_get_type"
- c:type="ClutterRedrawFlags">
- <member name="box"
- value="0"
- c:identifier="CLUTTER_REDRAW_CLIPPED_TO_BOX"
- glib:nick="box"/>
- <member name="allocation"
- value="2"
- c:identifier="CLUTTER_REDRAW_CLIPPED_TO_ALLOCATION"
- glib:nick="allocation"/>
- </bitfield>
- <constant name="RepeatKeys_Enable" value="65138">
- <type name="int"/>
+ <constant name="ScrollClick" value="269025146">
+ <type name="gint" c:type="gint"/>
</constant>
- <enumeration name="RequestMode"
- doc="Specifies the type of requests for a #ClutterActor."
- version="0.8"
- glib:type-name="ClutterRequestMode"
- glib:get-type="clutter_request_mode_get_type"
- c:type="ClutterRequestMode">
- <member name="height_for_width"
+ <enumeration name="ScrollDirection"
+ version="0.4"
+ glib:type-name="ClutterScrollDirection"
+ glib:get-type="clutter_scroll_direction_get_type"
+ c:type="ClutterScrollDirection">
+ <doc xml:whitespace="preserve">Direction of a pointer scroll event.</doc>
+ <member name="up"
value="0"
- c:identifier="CLUTTER_REQUEST_HEIGHT_FOR_WIDTH"
- glib:nick="height-for-width"/>
- <member name="width_for_height"
+ c:identifier="CLUTTER_SCROLL_UP"
+ glib:nick="up"/>
+ <member name="down"
value="1"
- c:identifier="CLUTTER_REQUEST_WIDTH_FOR_HEIGHT"
- glib:nick="width-for-height"/>
+ c:identifier="CLUTTER_SCROLL_DOWN"
+ glib:nick="down"/>
+ <member name="left"
+ value="2"
+ c:identifier="CLUTTER_SCROLL_LEFT"
+ glib:nick="left"/>
+ <member name="right"
+ value="3"
+ c:identifier="CLUTTER_SCROLL_RIGHT"
+ glib:nick="right"/>
</enumeration>
- <constant name="Return" value="65293">
- <type name="int"/>
+ <constant name="ScrollDown" value="269025145">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Right" value="65363">
- <type name="int"/>
+ <record name="ScrollEvent" c:type="ClutterScrollEvent" version="0.2">
+ <doc xml:whitespace="preserve">Scroll wheel (or similar device) event</doc>
+ <field name="type" writable="1">
+ <type name="EventType" c:type="ClutterEventType"/>
+ </field>
+ <field name="time" writable="1">
+ <type name="guint32" c:type="guint32"/>
+ </field>
+ <field name="flags" writable="1">
+ <type name="EventFlags" c:type="ClutterEventFlags"/>
+ </field>
+ <field name="stage" writable="1">
+ <type name="Stage" c:type="ClutterStage*"/>
+ </field>
+ <field name="source" writable="1">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </field>
+ <field name="x" writable="1">
+ <type name="gfloat" c:type="gfloat"/>
+ </field>
+ <field name="y" writable="1">
+ <type name="gfloat" c:type="gfloat"/>
+ </field>
+ <field name="direction" writable="1">
+ <type name="ScrollDirection" c:type="ClutterScrollDirection"/>
+ </field>
+ <field name="modifier_state" writable="1">
+ <type name="ModifierType" c:type="ClutterModifierType"/>
+ </field>
+ <field name="axes" writable="1">
+ <type name="gdouble" c:type="gdouble*"/>
+ </field>
+ <field name="device" writable="1">
+ <type name="InputDevice" c:type="ClutterInputDevice*"/>
+ </field>
+ </record>
+ <constant name="ScrollUp" value="269025144">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Romaji" value="65316">
- <type name="int"/>
+ <constant name="Scroll_Lock" value="65300">
+ <type name="gint" c:type="gint"/>
</constant>
- <enumeration name="RotateAxis"
- doc="Axis of a rotation."
- version="0.4"
- glib:type-name="ClutterRotateAxis"
- glib:get-type="clutter_rotate_axis_get_type"
- c:type="ClutterRotateAxis">
- <member name="x_axis"
- value="0"
- c:identifier="CLUTTER_X_AXIS"
- glib:nick="x-axis"/>
- <member name="y_axis"
- value="1"
- c:identifier="CLUTTER_Y_AXIS"
- glib:nick="y-axis"/>
- <member name="z_axis"
- value="2"
- c:identifier="CLUTTER_Z_AXIS"
- glib:nick="z-axis"/>
- </enumeration>
- <enumeration name="RotateDirection"
- doc="Direction of a rotation."
- version="0.4"
- glib:type-name="ClutterRotateDirection"
- glib:get-type="clutter_rotate_direction_get_type"
- c:type="ClutterRotateDirection">
- <member name="cw"
- value="0"
- c:identifier="CLUTTER_ROTATE_CW"
- glib:nick="cw"/>
- <member name="ccw"
- value="1"
- c:identifier="CLUTTER_ROTATE_CCW"
- glib:nick="ccw"/>
- </enumeration>
- <constant name="RupeeSign" value="16785576">
- <type name="int"/>
+ <constant name="Search" value="269025051">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="S" value="83">
- <type name="int"/>
+ <constant name="Select" value="65376">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="SCHWA" value="16777615">
- <type name="int"/>
+ <constant name="SelectButton" value="269025184">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Sabovedot" value="16784992">
- <type name="int"/>
+ <constant name="Send" value="269025147">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Sacute" value="422">
- <type name="int"/>
+ <constant name="Serbian_DJE" value="1713">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Scaron" value="425">
- <type name="int"/>
+ <constant name="Serbian_DZE" value="1727">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Scedilla" value="426">
- <type name="int"/>
+ <constant name="Serbian_JE" value="1720">
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="Scircumflex" value="734">
- <type name="int"/>
+ <constant name="Serbian_LJE" value="1721">
+ <type name="gint" c:type="gint"/>
</constant>
- <class name="Score"
- c:type="ClutterScore"
- doc="The #ClutterScore structure contains only private data
-and should be accessed using the provided API"
- version="0.6"
+ <constant name="Serbian_NJE" value="1722">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Serbian_TSHE" value="1723">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Serbian_dje" value="1697">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Serbian_dze" value="1711">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Serbian_je" value="1704">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Serbian_lje" value="1705">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Serbian_nje" value="1706">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Serbian_tshe" value="1707">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <class name="Settings"
+ c:symbol-prefix="settings"
+ c:type="ClutterSettings"
+ version="1.4"
parent="GObject.Object"
- glib:type-name="ClutterScore"
- glib:get-type="clutter_score_get_type"
- glib:type-struct="ScoreClass">
- <constructor name="new"
- c:identifier="clutter_score_new"
- doc="Creates a new #ClutterScore. A #ClutterScore is an object that can
-hold multiple #ClutterTimeline<!-- -->s in a sequential order.
-when done."
- version="0.6">
+ glib:type-name="ClutterSettings"
+ glib:get-type="clutter_settings_get_type">
+ <doc xml:whitespace="preserve"><structname>ClutterSettings</structname> is an opaque structure whose
+members cannot be directly accessed.</doc>
+ <function name="get_default"
+ c:identifier="clutter_settings_get_default"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the singleton instance of #ClutterSettings
+returned object is owned by Clutter and it should not be unreferenced
+directly</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the instance of #ClutterSettings. The</doc>
+ <type name="Settings" c:type="ClutterSettings*"/>
+ </return-value>
+ </function>
+ <property name="backend"
+ version="1.4"
+ readable="0"
+ writable="1"
+ construct-only="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">A back pointer to the #ClutterBackend</doc>
+ <type name="Backend"/>
+ </property>
+ <property name="double-click-distance"
+ version="1.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The maximum distance, in pixels, between button-press events that
+determines whether or not to increase the click count by 1.</doc>
+ <type name="gint"/>
+ </property>
+ <property name="double-click-time"
+ version="1.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The time, in milliseconds, that should elapse between button-press
+events in order to increase the click count by 1.</doc>
+ <type name="gint"/>
+ </property>
+ <property name="font-antialias"
+ version="1.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether or not to use antialiasing when rendering text; a value
+of 1 enables it unconditionally; a value of 0 disables it
+unconditionally; and -1 will use the system's default.</doc>
+ <type name="gint"/>
+ </property>
+ <property name="font-dpi"
+ version="1.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The DPI used when rendering text, as a value of 1024 * dots/inch.
+If set to -1, the system's default will be used instead</doc>
+ <type name="gint"/>
+ </property>
+ <property name="font-hint-style"
+ version="1.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The style of the hinting used when rendering text. Valid values
+are:
+<itemizedlist>
+<listitem><simpara>hintnone</simpara></listitem>
+<listitem><simpara>hintslight</simpara></listitem>
+<listitem><simpara>hintmedium</simpara></listitem>
+<listitem><simpara>hintfull</simpara></listitem>
+</itemizedlist></doc>
+ <type name="utf8"/>
+ </property>
+ <property name="font-hinting"
+ version="1.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether or not to use hinting when rendering text; a value of 1
+unconditionally enables it; a value of 0 unconditionally disables
+it; and a value of -1 will use the system's default.</doc>
+ <type name="gint"/>
+ </property>
+ <property name="font-name"
+ version="1.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The default font name that should be used by text actors, as
+a string that can be passed to pango_font_description_from_string().</doc>
+ <type name="utf8"/>
+ </property>
+ <property name="font-subpixel-order"
+ version="1.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The type of sub-pixel antialiasing used when rendering text. Valid
+values are:
+<itemizedlist>
+<listitem><simpara>none</simpara></listitem>
+<listitem><simpara>rgb</simpara></listitem>
+<listitem><simpara>bgr</simpara></listitem>
+<listitem><simpara>vrgb</simpara></listitem>
+<listitem><simpara>vbgr</simpara></listitem>
+</itemizedlist></doc>
+ <type name="utf8"/>
+ </property>
+ </class>
+ <class name="Shader"
+ c:symbol-prefix="shader"
+ c:type="ClutterShader"
+ version="0.6"
+ parent="GObject.Object"
+ glib:type-name="ClutterShader"
+ glib:get-type="clutter_shader_get_type"
+ glib:type-struct="ShaderClass">
+ <doc xml:whitespace="preserve">The #ClutterShader structure contains only private data
+and should be accessed using the provided API</doc>
+ <constructor name="new" c:identifier="clutter_shader_new" version="0.6">
+ <doc xml:whitespace="preserve">Create a new #ClutterShader instance.</doc>
<return-value transfer-ownership="full">
- <type name="Score" c:type="ClutterScore*"/>
+ <doc xml:whitespace="preserve">a new #ClutterShader.</doc>
+ <type name="Shader" c:type="ClutterShader*"/>
</return-value>
</constructor>
- <method name="set_loop"
- c:identifier="clutter_score_set_loop"
- doc="Sets whether @score should loop. A looping #ClutterScore will start
-from its initial state after the ::complete signal has been fired."
- version="0.6">
+ <method name="compile"
+ c:identifier="clutter_shader_compile"
+ version="0.8"
+ throws="1">
+ <doc xml:whitespace="preserve">Compiles and links GLSL sources set for vertex and fragment shaders for
+a #ClutterShader. If the compilation fails and a #GError return location is
+provided the error will contain the errors from the compiler, if any.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">returns TRUE if the shader was succesfully compiled.</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
- <parameters>
- <parameter name="loop" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </parameter>
- </parameters>
</method>
- <method name="get_loop"
- c:identifier="clutter_score_get_loop"
- doc="Gets whether @score is looping"
- version="0.6">
+ <method name="get_cogl_fragment_shader"
+ c:identifier="clutter_shader_get_cogl_fragment_shader"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the underlying #CoglHandle for the fragment shader.
+shader, or %NULL. The handle is owned by the #ClutterShader
+and it should not be unreferenced</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">A #CoglHandle for the fragment</doc>
+ <type name="Cogl.Handle" c:type="CoglHandle"/>
</return-value>
</method>
- <method name="append"
- c:identifier="clutter_score_append"
- doc="Appends a timeline to another one existing in the score; the newly
-appended timeline will be started when @parent is complete.
-If @parent is %NULL, the new #ClutterTimeline will be started when
-clutter_score_start() is called.
-#ClutterScore will take a reference on @timeline.
-0 on failure. The returned id can be used with clutter_score_remove()
-or clutter_score_get_timeline()."
- version="0.6">
+ <method name="get_cogl_program"
+ c:identifier="clutter_shader_get_cogl_program"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the underlying #CoglHandle for the shader program.
+or %NULL. The handle is owned by the #ClutterShader and it should
+not be unreferenced</doc>
<return-value transfer-ownership="none">
- <type name="ulong" c:type="gulong"/>
+ <doc xml:whitespace="preserve">A #CoglHandle for the shader program,</doc>
+ <type name="Cogl.Handle" c:type="CoglHandle"/>
</return-value>
- <parameters>
- <parameter name="parent" transfer-ownership="none">
- <type name="Timeline" c:type="ClutterTimeline*"/>
- </parameter>
- <parameter name="timeline" transfer-ownership="none">
- <type name="Timeline" c:type="ClutterTimeline*"/>
- </parameter>
- </parameters>
</method>
- <method name="append_at_marker"
- c:identifier="clutter_score_append_at_marker"
- doc="Appends @timeline at the given @marker_name on the @parent
-#ClutterTimeline.
-If you want to append @timeline at the end of @parent, use
-clutter_score_append().
-The #ClutterScore will take a reference on @timeline.
-0 on failure. The returned id can be used with clutter_score_remove()
-or clutter_score_get_timeline()."
- version="0.8">
+ <method name="get_cogl_vertex_shader"
+ c:identifier="clutter_shader_get_cogl_vertex_shader"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the underlying #CoglHandle for the vertex shader.
+shader, or %NULL. The handle is owned by the #ClutterShader
+and it should not be unreferenced</doc>
<return-value transfer-ownership="none">
- <type name="ulong" c:type="gulong"/>
+ <doc xml:whitespace="preserve">A #CoglHandle for the vertex</doc>
+ <type name="Cogl.Handle" c:type="CoglHandle"/>
</return-value>
- <parameters>
- <parameter name="parent" transfer-ownership="none">
- <type name="Timeline" c:type="ClutterTimeline*"/>
- </parameter>
- <parameter name="marker_name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- <parameter name="timeline" transfer-ownership="none">
- <type name="Timeline" c:type="ClutterTimeline*"/>
- </parameter>
- </parameters>
</method>
- <method name="remove"
- c:identifier="clutter_score_remove"
- doc="Removes the #ClutterTimeline with the given id inside @score. If
-the timeline has other timelines attached to it, those are removed
-as well."
+ <method name="get_fragment_source"
+ c:identifier="clutter_shader_get_fragment_source"
version="0.6">
+ <doc xml:whitespace="preserve">Query the current GLSL fragment source set on @shader.
+ClutterShader object or %NULL. The returned string is owned by the
+shader object and should never be modified or freed</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the source of the fragment shader for this</doc>
+ <type name="utf8" c:type="gchar*"/>
</return-value>
- <parameters>
- <parameter name="id" transfer-ownership="none">
- <type name="ulong" c:type="gulong"/>
- </parameter>
- </parameters>
</method>
- <method name="remove_all"
- c:identifier="clutter_score_remove_all"
- doc="Removes all the timelines inside @score."
+ <method name="get_is_enabled"
+ c:identifier="clutter_shader_get_is_enabled"
version="0.6">
+ <doc xml:whitespace="preserve">Checks whether @shader is enabled.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">%TRUE if the shader is enabled.</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
- <method name="get_timeline"
- c:identifier="clutter_score_get_timeline"
- doc="Retrieves the #ClutterTimeline for @id inside @score.
-function does not increase the reference count on the returned
-#ClutterTimeline"
+ <method name="get_vertex_source"
+ c:identifier="clutter_shader_get_vertex_source"
version="0.6">
- <return-value transfer-ownership="none"
- doc="the requested timeline, or %NULL. This">
- <type name="Timeline" c:type="ClutterTimeline*"/>
+ <doc xml:whitespace="preserve">Query the current GLSL vertex source set on @shader.
+ClutterShader object or %NULL. The returned string is owned by the
+shader object and should never be modified or freed</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the source of the vertex shader for this</doc>
+ <type name="utf8" c:type="gchar*"/>
</return-value>
- <parameters>
- <parameter name="id" transfer-ownership="none">
- <type name="ulong" c:type="gulong"/>
- </parameter>
- </parameters>
</method>
- <method name="list_timelines"
- c:identifier="clutter_score_list_timelines"
- doc="Retrieves a list of all the #ClutterTimelines managed by @score.
-containing all the timelines in the score. This function does not increase
-the reference count of the returned timelines. Use g_slist_free() on the
-returned list to deallocate its resources."
- version="0.6">
- <return-value transfer-ownership="container" doc="a #GSList">
- <type name="GLib.SList" c:type="GSList*">
- <type name="Timeline"/>
- </type>
+ <method name="is_compiled"
+ c:identifier="clutter_shader_is_compiled"
+ version="0.8">
+ <doc xml:whitespace="preserve">Checks whether @shader is is currently compiled, linked and bound
+to the GL context.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the shader is compiled, linked and ready for use.</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
- <method name="start"
- c:identifier="clutter_score_start"
- doc="Starts the score."
+ <method name="release"
+ c:identifier="clutter_shader_release"
version="0.6">
+ <doc xml:whitespace="preserve">Frees up any GL context resources held by the shader.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</method>
- <method name="stop"
- c:identifier="clutter_score_stop"
- doc="Stops and rewinds a playing #ClutterScore instance."
+ <method name="set_fragment_source"
+ c:identifier="clutter_shader_set_fragment_source"
version="0.6">
+ <doc xml:whitespace="preserve">Sets the GLSL source code to be used by a #ClutterShader for the fragment
+program.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="data" transfer-ownership="none">
+ <doc xml:whitespace="preserve">GLSL source code.</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="length" transfer-ownership="none">
+ <doc xml:whitespace="preserve">length of source buffer (currently ignored)</doc>
+ <type name="glong" c:type="gssize"/>
+ </parameter>
+ </parameters>
</method>
- <method name="pause"
- c:identifier="clutter_score_pause"
- doc="Pauses a playing score @score."
+ <method name="set_is_enabled"
+ c:identifier="clutter_shader_set_is_enabled"
version="0.6">
+ <doc xml:whitespace="preserve">Enables a shader. This function will attempt to compile and link
+the shader, if it isn't already.
+When @enabled is %FALSE the default state of the GL pipeline will be
+used instead.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="enabled" transfer-ownership="none">
+ <doc xml:whitespace="preserve">The new state of the shader.</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </parameter>
+ </parameters>
</method>
- <method name="rewind"
- c:identifier="clutter_score_rewind"
- doc="Rewinds a #ClutterScore to its initial state."
- version="0.6">
+ <method name="set_uniform"
+ c:identifier="clutter_shader_set_uniform"
+ version="1.0">
+ <doc xml:whitespace="preserve">Sets a user configurable variable in the GLSL shader programs attached to
+a #ClutterShader.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">name of uniform in GLSL shader program to set.</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterShaderFloat, #ClutterShaderInt or #ClutterShaderMatrix #GValue.</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
+ </parameters>
</method>
- <method name="is_playing"
- c:identifier="clutter_score_is_playing"
- doc="Query state of a #ClutterScore instance."
+ <method name="set_vertex_source"
+ c:identifier="clutter_shader_set_vertex_source"
version="0.6">
+ <doc xml:whitespace="preserve">Sets the GLSL source code to be used by a #ClutterShader for the vertex
+program.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="data" transfer-ownership="none">
+ <doc xml:whitespace="preserve">GLSL source code.</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="length" transfer-ownership="none">
+ <doc xml:whitespace="preserve">length of source buffer (currently ignored)</doc>
+ <type name="glong" c:type="gssize"/>
+ </parameter>
+ </parameters>
</method>
- <property name="loop"
+ <property name="compiled" version="0.8" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the shader is compiled and linked, ready for use
+in the GL context.</doc>
+ <type name="gboolean"/>
+ </property>
+ <property name="enabled"
+ version="0.6"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the shader is currently used in the GL rendering pipeline.</doc>
+ <type name="gboolean"/>
+ </property>
+ <property name="fragment-source"
+ version="0.6"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">GLSL source code for the fragment shader part of the shader program.</doc>
+ <type name="utf8"/>
+ </property>
+ <property name="vertex-source"
version="0.6"
writable="1"
- doc="Whether the #ClutterScore should restart once finished.">
- <type name="boolean" c:type="gboolean"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">GLSL source code for the vertex shader part of the shader
+program, if any</doc>
+ <type name="utf8"/>
</property>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv">
- <type name="ScorePrivate" c:type="ClutterScorePrivate*"/>
+ <type name="ShaderPrivate" c:type="ClutterShaderPrivate*"/>
</field>
- <glib:signal name="completed"
- doc="The ::completed signal is emitted each time a #ClutterScore terminates."
- version="0.6">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
- </return-value>
- </glib:signal>
- <glib:signal name="paused"
- doc="The ::paused signal is emitted each time a #ClutterScore
-is paused."
- version="0.6">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
+ </class>
+ <record name="ShaderClass"
+ c:type="ClutterShaderClass"
+ glib:is-gtype-struct-for="Shader"
+ version="0.6">
+ <doc xml:whitespace="preserve">The #ClutterShaderClass structure contains only private data</doc>
+ <field name="parent_class">
+ <type name="GObject.ObjectClass" c:type="GObjectClass"/>
+ </field>
+ </record>
+ <class name="ShaderEffect"
+ c:symbol-prefix="shader_effect"
+ c:type="ClutterShaderEffect"
+ version="1.4"
+ parent="OffscreenEffect"
+ abstract="1"
+ glib:type-name="ClutterShaderEffect"
+ glib:get-type="clutter_shader_effect_get_type"
+ glib:type-struct="ShaderEffectClass">
+ <doc xml:whitespace="preserve">The <structname>ClutterShaderEffect</structname> structure contains
+only private data and should be accessed using the provided API</doc>
+ <method name="get_program"
+ c:identifier="clutter_shader_effect_get_program"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves a pointer to the program's handle
+or %COGL_INVALID_HANDLE</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a pointer to the program's handle,</doc>
+ <type name="Cogl.Handle" c:type="CoglHandle"/>
</return-value>
- </glib:signal>
- <glib:signal name="started"
- doc="The ::started signal is emitted each time a #ClutterScore starts playing."
- version="0.6">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
+ </method>
+ <method name="get_shader"
+ c:identifier="clutter_shader_effect_get_shader"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves a pointer to the shader's handle
+or %COGL_INVALID_HANDLE</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a pointer to the shader's handle,</doc>
+ <type name="Cogl.Handle" c:type="CoglHandle"/>
</return-value>
- </glib:signal>
- <glib:signal name="timeline-completed"
- doc="The ::timeline-completed signal is emitted each time a timeline
-inside a #ClutterScore terminates."
- version="0.6">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
+ </method>
+ <method name="set_shader_source"
+ c:identifier="clutter_shader_effect_set_shader_source"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets the source of the GLSL shader used by @effect
+This function should only be called by implementations of
+the #ClutterShaderEffect class, and not by application code.
+This function can only be called once; subsequent calls will
+yield no result.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the source was set</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
- <parameter name="timeline" transfer-ownership="none">
- <type name="Timeline" c:type="ClutterTimeline"/>
+ <parameter name="source" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the source of a GLSL shader</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
- </glib:signal>
- <glib:signal name="timeline-started"
- doc="The ::timeline-started signal is emitted each time a new timeline
-inside a #ClutterScore starts playing."
- version="0.6">
- <return-value transfer-ownership="full">
+ </method>
+ <method name="set_uniform"
+ c:identifier="clutter_shader_effect_set_uniform"
+ version="1.4"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Sets a list of values as the payload for the uniform @name inside
+the shader effect
+%G_TYPE_FLOAT, for 1 or more floating point values;
+%CLUTTER_TYPE_SHADER_INT, for a pointer to an array of integer values;
+%CLUTTER_TYPE_SHADER_FLOAT, for a pointer to an array of floating point
+values; and %CLUTTER_TYPE_SHADER_MATRIX, for a pointer to an array of
+floating point values mapping a matrix
+The number of values interepreted is defined by the @n_value
+argument, and by the @gtype argument. For instance, a uniform named
+"sampler0" and containing a single integer value is set using:
+|[
+clutter_shader_effect_set_uniform (effect, "sampler0",
+G_TYPE_INT, 1,
+0);
+]|
+While a uniform named "components" and containing a 3-elements vector
+of floating point values (a "vec3") can be set using:
+|[
+gfloat component_r, component_g, component_b;
+clutter_shader_effect_set_uniform (effect, "components",
+G_TYPE_FLOAT, 3,
+component_r,
+component_g,
+component_b);
+]|
+or can be set using:
+|[
+gfloat component_vec[3];
+clutter_shader_effect_set_uniform (effect, "components",
+CLUTTER_TYPE_SHADER_FLOAT, 3,
+component_vec);
+]|
+Finally, a uniform named "map" and containing a matrix can be set using:
+|[
+clutter_shader_effect_set_uniform (effect, "map",
+CLUTTER_TYPE_SHADER_MATRIX, 1,
+cogl_matrix_get_array (&matrix));
+]|</doc>
+ <return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="timeline" transfer-ownership="none">
- <type name="Timeline" c:type="ClutterTimeline"/>
+ <parameter name="name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the uniform to set</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
- </parameters>
- </glib:signal>
- </class>
- <record name="ScoreClass"
- c:type="ClutterScoreClass"
- glib:is-gtype-struct-for="Score"
- doc="The #ClutterScoreClass structure contains only private data"
- version="0.6">
- <field name="parent_class">
- <type name="GObject.ObjectClass" c:type="GObjectClass"/>
- </field>
- <field name="timeline_started">
- <callback name="timeline_started" c:type="timeline_started">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="score" transfer-ownership="none">
- <type name="Score" c:type="ClutterScore*"/>
- </parameter>
- <parameter name="timeline" transfer-ownership="none">
- <type name="Timeline" c:type="ClutterTimeline*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="timeline_completed">
- <callback name="timeline_completed" c:type="timeline_completed">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="score" transfer-ownership="none">
- <type name="Score" c:type="ClutterScore*"/>
- </parameter>
- <parameter name="timeline" transfer-ownership="none">
- <type name="Timeline" c:type="ClutterTimeline*"/>
- </parameter>
- </parameters>
- </callback>
+ <parameter name="gtype" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the type of the uniform to set</doc>
+ <type name="GType" c:type="GType"/>
+ </parameter>
+ <parameter name="n_values" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the number of values</doc>
+ <type name="gulong" c:type="gsize"/>
+ </parameter>
+ <parameter transfer-ownership="none">
+ <varargs>
+ </varargs>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_uniform_value"
+ c:identifier="clutter_shader_effect_set_uniform_value"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets @value as the payload for the uniform @name inside the shader
+effect
+integer value; %G_TYPE_FLOAT, for a single floating point value;
+%CLUTTER_TYPE_SHADER_INT, for an array of integer values;
+%CLUTTER_TYPE_SHADER_FLOAT, for an array of floating point values;
+and %CLUTTER_TYPE_SHADER_MATRIX, for a matrix of floating point
+values</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the uniform to set</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GValue with the value of the uniform to set</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <property name="shader-type"
+ version="1.4"
+ readable="0"
+ writable="1"
+ construct-only="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The type of shader that is used by the effect. This property
+should be set by the constructor of #ClutterShaderEffect
+sub-classes.</doc>
+ <type name="ShaderType"/>
+ </property>
+ <field name="parent_instance">
+ <type name="OffscreenEffect" c:type="ClutterOffscreenEffect"/>
</field>
- <field name="started">
- <callback name="started" c:type="started">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="score" transfer-ownership="none">
- <type name="Score" c:type="ClutterScore*"/>
- </parameter>
- </parameters>
- </callback>
+ <field name="priv">
+ <type name="ShaderEffectPrivate" c:type="ClutterShaderEffectPrivate*"/>
</field>
- <field name="completed">
- <callback name="completed" c:type="completed">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="score" transfer-ownership="none">
- <type name="Score" c:type="ClutterScore*"/>
- </parameter>
- </parameters>
- </callback>
+ </class>
+ <record name="ShaderEffectClass"
+ c:type="ClutterShaderEffectClass"
+ glib:is-gtype-struct-for="ShaderEffect"
+ version="1.4">
+ <doc xml:whitespace="preserve">The <structname>ClutterShaderEffectClass</structname> structure contains
+only private data</doc>
+ <field name="parent_class">
+ <type name="OffscreenEffectClass"
+ c:type="ClutterOffscreenEffectClass"/>
</field>
- <field name="paused">
- <callback name="paused" c:type="paused">
+ <field name="_clutter_shader1" introspectable="0">
+ <callback name="_clutter_shader1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- <parameters>
- <parameter name="score" transfer-ownership="none">
- <type name="Score" c:type="ClutterScore*"/>
- </parameter>
- </parameters>
</callback>
</field>
- <field name="clutter_score_1">
- <callback name="clutter_score_1" c:type="_clutter_score_1">
+ <field name="_clutter_shader2" introspectable="0">
+ <callback name="_clutter_shader2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_score_2">
- <callback name="clutter_score_2" c:type="_clutter_score_2">
+ <field name="_clutter_shader3" introspectable="0">
+ <callback name="_clutter_shader3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_score_3">
- <callback name="clutter_score_3" c:type="_clutter_score_3">
+ <field name="_clutter_shader4" introspectable="0">
+ <callback name="_clutter_shader4">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_score_4">
- <callback name="clutter_score_4" c:type="_clutter_score_4">
+ <field name="_clutter_shader5" introspectable="0">
+ <callback name="_clutter_shader5">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_score_5">
- <callback name="clutter_score_5" c:type="_clutter_score_5">
+ <field name="_clutter_shader6" introspectable="0">
+ <callback name="_clutter_shader6">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
- <record name="ScorePrivate" c:type="ClutterScorePrivate">
+ <record name="ShaderEffectPrivate"
+ c:type="ClutterShaderEffectPrivate"
+ disguised="1">
</record>
- <class name="Script"
- c:type="ClutterScript"
- doc="The #ClutterScript structure contains only private data
-and should be accessed using the provided API"
- version="0.6"
- parent="GObject.Object"
- glib:type-name="ClutterScript"
- glib:get-type="clutter_script_get_type"
- glib:type-struct="ScriptClass">
- <constructor name="new"
- c:identifier="clutter_script_new"
- doc="Creates a new #ClutterScript instance. #ClutterScript can be used
-to load objects definitions for scenegraph elements, like actors,
-or behavioural elements, like behaviours and timelines. The
-definitions must be encoded using the JavaScript Object Notation (JSON)
-language.
-g_object_unref() when done."
- version="0.6">
- <return-value transfer-ownership="full">
- <type name="Script" c:type="ClutterScript*"/>
+ <enumeration name="ShaderError"
+ version="0.6"
+ glib:type-name="ClutterShaderError"
+ glib:get-type="clutter_shader_error_get_type"
+ c:type="ClutterShaderError"
+ glib:error-quark="clutter_shader_error_quark">
+ <doc xml:whitespace="preserve">#ClutterShader error enumeration</doc>
+ <member name="no_asm"
+ value="0"
+ c:identifier="CLUTTER_SHADER_ERROR_NO_ASM"
+ glib:nick="no-asm"/>
+ <member name="no_glsl"
+ value="1"
+ c:identifier="CLUTTER_SHADER_ERROR_NO_GLSL"
+ glib:nick="no-glsl"/>
+ <member name="compile"
+ value="2"
+ c:identifier="CLUTTER_SHADER_ERROR_COMPILE"
+ glib:nick="compile"/>
+ </enumeration>
+ <record name="ShaderFloat" c:type="ClutterShaderFloat" disguised="1">
+ </record>
+ <record name="ShaderInt" c:type="ClutterShaderInt" disguised="1">
+ </record>
+ <record name="ShaderMatrix" c:type="ClutterShaderMatrix" disguised="1">
+ </record>
+ <record name="ShaderPrivate" c:type="ClutterShaderPrivate" disguised="1">
+ </record>
+ <enumeration name="ShaderType"
+ version="1.4"
+ glib:type-name="ClutterShaderType"
+ glib:get-type="clutter_shader_type_get_type"
+ c:type="ClutterShaderType">
+ <doc xml:whitespace="preserve">The type of GLSL shader program</doc>
+ <member name="vertex_shader"
+ value="0"
+ c:identifier="CLUTTER_VERTEX_SHADER"
+ glib:nick="vertex-shader"/>
+ <member name="fragment_shader"
+ value="1"
+ c:identifier="CLUTTER_FRAGMENT_SHADER"
+ glib:nick="fragment-shader"/>
+ </enumeration>
+ <constant name="Shift_L" value="65505">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Shift_Lock" value="65510">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Shift_R" value="65506">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Shop" value="269025078">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="SingleCandidate" value="65340">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Sleep" value="269025071">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="SlowKeys_Enable" value="65139">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Spell" value="269025148">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="SplitScreen" value="269025149">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <class name="Stage"
+ c:symbol-prefix="stage"
+ c:type="ClutterStage"
+ version="0.1"
+ parent="Group"
+ glib:type-name="ClutterStage"
+ glib:get-type="clutter_stage_get_type"
+ glib:type-struct="StageClass">
+ <doc xml:whitespace="preserve">The #ClutterStage structure contains only private data
+and should be accessed using the provided API</doc>
+ <implements name="Atk.ImplementorIface"/>
+ <implements name="Animatable"/>
+ <implements name="Container"/>
+ <implements name="Scriptable"/>
+ <constructor name="new" c:identifier="clutter_stage_new" version="0.8">
+ <doc xml:whitespace="preserve">Creates a new, non-default stage. A non-default stage is a new
+top-level actor which can be used as another container. It works
+exactly like the default stage, but while clutter_stage_get_default()
+will always return the same instance, you will have to keep a pointer
+to any #ClutterStage returned by clutter_stage_create().
+The ability to support multiple stages depends on the current
+backend. Use clutter_feature_available() and
+%CLUTTER_FEATURE_STAGE_MULTIPLE to check at runtime whether a
+backend supports multiple stages.
+not support multiple stages. Use clutter_actor_destroy() to
+programmatically close the returned stage.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a new stage, or %NULL if the default backend does</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</return-value>
</constructor>
- <virtual-method name="get_type_from_name" invoker="get_type_from_name">
+ <function name="get_default" c:identifier="clutter_stage_get_default">
+ <doc xml:whitespace="preserve">Returns the main stage. The default #ClutterStage is a singleton,
+so the stage will be created the first time this function is
+called (typically, inside clutter_init()); all the subsequent
+calls to clutter_stage_get_default() will return the same instance.
+Clutter guarantess the existence of the default stage.
+destroy or unref the returned actor.</doc>
<return-value transfer-ownership="none">
- <type name="GType" c:type="GType"/>
+ <doc xml:whitespace="preserve">the main #ClutterStage. You should never</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </return-value>
+ </function>
+ <method name="ensure_current"
+ c:identifier="clutter_stage_ensure_current"
+ version="0.8">
+ <doc xml:whitespace="preserve">This function essentially makes sure the right GL context is
+current for the passed stage. It is not intended to
+be used by applications.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </method>
+ <method name="ensure_redraw"
+ c:identifier="clutter_stage_ensure_redraw"
+ version="1.0">
+ <doc xml:whitespace="preserve">Ensures that @stage is redrawn
+used when embedding a #ClutterStage into a toolkit with
+another windowing system, like GTK+.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </method>
+ <method name="ensure_viewport"
+ c:identifier="clutter_stage_ensure_viewport"
+ version="1.0">
+ <doc xml:whitespace="preserve">Ensures that the GL viewport is updated with the current
+stage window size.
+This function will queue a redraw of @stage.
+This function should not be called by applications; it is used
+when embedding a #ClutterStage into a toolkit with another
+windowing system, like GTK+.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </method>
+ <method name="event" c:identifier="clutter_stage_event" version="0.4">
+ <doc xml:whitespace="preserve">This function is used to emit an event on the main stage.
+You should rarely need to use this function, except for
+synthetised events.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the return value from the signal emission</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
- <parameter name="type_name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="event" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterEvent</doc>
+ <type name="Event" c:type="ClutterEvent*"/>
</parameter>
</parameters>
- </virtual-method>
- <method name="load_from_file"
- c:identifier="clutter_script_load_from_file"
- doc="Loads the definitions from @filename into @script and merges with
-the currently loaded ones, if any.
-accordingly. On success, the merge id for the UI definitions is
-returned. You can use the merge id with clutter_script_unmerge()."
- version="0.6"
- throws="1">
+ </method>
+ <method name="get_actor_at_pos"
+ c:identifier="clutter_stage_get_actor_at_pos">
+ <doc xml:whitespace="preserve">Checks the scene at the coordinates @x and @y and returns a pointer
+to the #ClutterActor at those coordinates.
+By using @pick_mode it is possible to control which actors will be
+painted and thus available.
+if any</doc>
<return-value transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <doc xml:whitespace="preserve">the actor at the specified coordinates,</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</return-value>
<parameters>
- <parameter name="filename" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="pick_mode" transfer-ownership="none">
+ <doc xml:whitespace="preserve">how the scene graph should be painted</doc>
+ <type name="PickMode" c:type="ClutterPickMode"/>
+ </parameter>
+ <parameter name="x" transfer-ownership="none">
+ <doc xml:whitespace="preserve">X coordinate to check</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="y" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Y coordinate to check</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
- <method name="load_from_data"
- c:identifier="clutter_script_load_from_data"
- doc="Loads the definitions from @data into @script and merges with
-the currently loaded ones, if any.
-accordingly. On success, the merge id for the UI definitions is
-returned. You can use the merge id with clutter_script_unmerge()."
- version="0.6"
- throws="1">
+ <method name="get_color" c:identifier="clutter_stage_get_color">
+ <doc xml:whitespace="preserve">Retrieves the stage color.</doc>
<return-value transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="data" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- <parameter name="length" transfer-ownership="none" doc=" buffer">
- <type name="ssize_t" c:type="gssize"/>
+ <parameter name="color" transfer-ownership="none">
+ <doc xml:whitespace="preserve">return location for a #ClutterColor</doc>
+ <type name="Color" c:type="ClutterColor*"/>
</parameter>
</parameters>
</method>
- <method name="get_object"
- c:identifier="clutter_script_get_object"
- doc="Retrieves the object bound to @name. This function does not increment
-the reference count of the returned object.
-with the given name was available"
+ <method name="get_fog"
+ c:identifier="clutter_stage_get_fog"
version="0.6">
- <return-value transfer-ownership="none"
- doc="the named object, or %NULL if no object">
- <type name="GObject.Object" c:type="GObject*"/>
+ <doc xml:whitespace="preserve">Retrieves the current depth cueing settings from the stage.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="fog" transfer-ownership="none">
+ <doc xml:whitespace="preserve">return location for a #ClutterFog structure</doc>
+ <type name="Fog" c:type="ClutterFog*"/>
</parameter>
</parameters>
</method>
- <method name="get_objects"
- c:identifier="clutter_script_get_objects"
- doc="Retrieves a list of objects for the given names. After @script, object
-names/return location pairs should be listed, with a %NULL pointer
-ending the list, like:
-<informalexample><programlisting>
-GObject *my_label, *a_button, *main_timeline;
-clutter_script_get_objects (script,
-"my-label", &amp;my_label,
-"a-button", &amp;a_button,
-"main-timeline", &amp;main_timeline,
-NULL);
-</programlisting></informalexample>
-returned objects."
+ <method name="get_fullscreen"
+ c:identifier="clutter_stage_get_fullscreen"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves whether the stage is full screen or not</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the stage is full screen</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ </method>
+ <method name="get_key_focus"
+ c:identifier="clutter_stage_get_key_focus"
version="0.6">
+ <doc xml:whitespace="preserve">Retrieves the actor that is currently under key focus.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the actor with key focus, or the stage</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </return-value>
+ </method>
+ <method name="get_minimum_size"
+ c:identifier="clutter_stage_get_minimum_size"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the minimum size for a stage window as set using
+clutter_stage_set_minimum_size().
+The returned size may not correspond to the actual minimum size and
+it is specific to the #ClutterStage implementation inside the
+Clutter backend</doc>
<return-value transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="first_name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="width"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the minimum width, in pixels, or %NULL</doc>
+ <type name="guint" c:type="guint*"/>
</parameter>
- <parameter transfer-ownership="none">
- <varargs>
- </varargs>
+ <parameter name="height"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the minimum height, in pixels, or %NULL</doc>
+ <type name="guint" c:type="guint*"/>
</parameter>
</parameters>
</method>
- <method name="list_objects"
- c:identifier="clutter_script_list_objects"
- doc="Retrieves all the objects created by @script.
-objects it returns.
-or %NULL. The objects are owned by the #ClutterScript instance. Use g_list_free() on the
-returned value when done."
- version="0.8.2">
- <return-value transfer-ownership="container"
- doc="a list of #GObject<!-- -->s,">
- <type name="GLib.List" c:type="GList*">
- <type name="GObject.Object"/>
- </type>
+ <method name="get_no_clear_hint"
+ c:identifier="clutter_stage_get_no_clear_hint"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the hint set with clutter_stage_set_no_clear_hint()
+cycle, and %FALSE otherwise</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the stage should not clear itself on every paint</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
- <method name="unmerge_objects"
- c:identifier="clutter_script_unmerge_objects"
- doc="Unmerges the objects identified by @merge_id."
- version="0.6">
+ <method name="get_perspective"
+ c:identifier="clutter_stage_get_perspective">
+ <doc xml:whitespace="preserve">Retrieves the stage perspective.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="merge_id" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <parameter name="perspective"
+ direction="out"
+ caller-allocates="1"
+ transfer-ownership="none"
+ allow-none="1">
+ <doc xml:whitespace="preserve">return location for a #ClutterPerspective</doc>
+ <type name="Perspective" c:type="ClutterPerspective*"/>
</parameter>
</parameters>
</method>
- <method name="ensure_objects"
- c:identifier="clutter_script_ensure_objects"
- doc="Ensure that every object defined inside @script is correctly
-constructed. You should rarely need to use this function."
- version="0.6">
+ <method name="get_throttle_motion_events"
+ c:identifier="clutter_stage_get_throttle_motion_events"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the value set with clutter_stage_set_throttle_motion_events()
+and %FALSE otherwise</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">%TRUE if the motion events are being throttled,</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
- <method name="get_type_from_name"
- c:identifier="clutter_script_get_type_from_name"
- doc="Looks up a type by name, using the virtual function that
-#ClutterScript has for that purpose. This function should
-rarely be used.
-%G_TYPE_INVALID if not corresponding type was found."
- version="0.6">
+ <method name="get_title" c:identifier="clutter_stage_get_title">
<return-value transfer-ownership="none">
- <type name="GType" c:type="GType"/>
+ <type name="utf8" c:type="gchar*"/>
</return-value>
- <parameters>
- <parameter name="type_name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- </parameters>
</method>
- <method name="connect_signals"
- c:identifier="clutter_script_connect_signals"
- doc="Connects all the signals defined into a UI definition file to their
-handlers.
-This method invokes clutter_script_connect_signals_full() internally
-and uses #GModule's introspective features (by opening the current
-module's scope) to look at the application's symbol table.
-Note that this function will not work if #GModule is not supported by
-the platform Clutter is running on."
- version="0.6">
+ <method name="get_use_alpha"
+ c:identifier="clutter_stage_get_use_alpha"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the value set using clutter_stage_set_use_alpha()
+alpha channel of the stage color</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">%TRUE if the stage should honour the opacity and the</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
- <parameters>
- <parameter name="user_data" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
- </parameter>
- </parameters>
</method>
- <method name="connect_signals_full"
- c:identifier="clutter_script_connect_signals_full"
- doc="Connects all the signals defined into a UI definition file to their
-handlers.
-This function allows to control how the signal handlers are
-going to be connected to their respective signals. It is meant
-primarily for language bindings to allow resolving the function
-names using the native API.
-Applications should use clutter_script_connect_signals()."
+ <method name="get_use_fog"
+ c:identifier="clutter_stage_get_use_fog"
version="0.6">
+ <doc xml:whitespace="preserve">Gets whether the depth cueing effect is enabled on @stage.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the the depth cueing effect is enabled</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ </method>
+ <method name="get_user_resizable"
+ c:identifier="clutter_stage_get_user_resizable"
+ version="0.4">
+ <doc xml:whitespace="preserve">Retrieves the value set with clutter_stage_set_user_resizable().</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the stage is resizable by the user.</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ </method>
+ <method name="hide_cursor"
+ c:identifier="clutter_stage_hide_cursor"
+ version="0.4">
+ <doc xml:whitespace="preserve">Makes the cursor invisible on the stage window</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- <parameters>
- <parameter name="func"
- transfer-ownership="none"
- scope="call"
- closure="2">
- <type name="ScriptConnectFunc" c:type="ClutterScriptConnectFunc"/>
- </parameter>
- <parameter name="user_data" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
- </parameter>
- </parameters>
</method>
- <method name="add_search_paths"
- c:identifier="clutter_script_add_search_paths"
- doc="Adds @paths to the list of search paths held by @script.
-The search paths are used by clutter_script_lookup_filename(), which
-can be used to define search paths for the textures source file name
-or other custom, file-based properties."
+ <method name="is_default"
+ c:identifier="clutter_stage_is_default"
+ version="0.8">
+ <doc xml:whitespace="preserve">Checks if @stage is the default stage, or an instance created using
+clutter_stage_new() but internally using the same implementation.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the passed stage is the default one</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ </method>
+ <method name="queue_redraw"
+ c:identifier="clutter_stage_queue_redraw"
version="0.8">
+ <doc xml:whitespace="preserve">Queues a redraw for the passed stage.
+<note>Applications should call clutter_actor_queue_redraw() and not
+this function.</note>
+<note>This function is just a wrapper for clutter_actor_queue_redraw()
+and should probably go away.</note></doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
+ </method>
+ <method name="read_pixels" c:identifier="clutter_stage_read_pixels">
+ <doc xml:whitespace="preserve">Makes a screenshot of the stage in RGBA 8bit data, returns a
+linear buffer with @width * 4 as rowstride.
+The alpha data contained in the returned buffer is driver-dependent,
+and not guaranteed to hold any sensible value.
+or %NULL if the read failed. Use g_free() on the returned data
+to release the resources it has allocated.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a pointer to newly allocated memory with the buffer</doc>
+ <type name="guint8" c:type="guchar*"/>
+ </return-value>
<parameters>
- <parameter name="paths" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="x" transfer-ownership="none">
+ <doc xml:whitespace="preserve">x coordinate of the first pixel that is read from stage</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
- <parameter name="n_paths" transfer-ownership="none">
- <type name="size_t" c:type="gsize"/>
+ <parameter name="y" transfer-ownership="none">
+ <doc xml:whitespace="preserve">y coordinate of the first pixel that is read from stage</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="width" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Width dimention of pixels to be read, or -1 for the entire stage width</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="height" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Height dimention of pixels to be read, or -1 for the entire stage height</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
- <method name="lookup_filename"
- c:identifier="clutter_script_lookup_filename"
- doc="Looks up @filename inside the search paths of @script. If @filename
-is found, its full path will be returned .
-found."
- version="0.8">
- <return-value transfer-ownership="full">
- <type name="utf8" c:type="gchar*"/>
+ <method name="set_color" c:identifier="clutter_stage_set_color">
+ <doc xml:whitespace="preserve">Sets the stage color.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="filename" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="color" transfer-ownership="none">
+ <doc xml:whitespace="preserve">A #ClutterColor</doc>
+ <type name="Color" c:type="ClutterColor*"/>
</parameter>
</parameters>
</method>
- <property name="filename"
- version="0.6"
- doc="The path of the currently parsed file. If #ClutterScript:filename-set
-is %FALSE then the value of this property is undefined.">
- <type name="utf8" c:type="gchararray"/>
- </property>
- <property name="filename-set"
- version="0.6"
- doc="Whether the #ClutterScript:filename property is set. If this property
-is %TRUE then the currently parsed data comes from a file, and the
-file name is stored inside the #ClutterScript:filename property.">
- <type name="boolean" c:type="gboolean"/>
- </property>
- <field name="parent_instance">
- <type name="GObject.Object" c:type="GObject"/>
- </field>
- <field name="priv">
- <type name="ScriptPrivate" c:type="ClutterScriptPrivate*"/>
- </field>
- </class>
- <record name="ScriptClass"
- c:type="ClutterScriptClass"
- glib:is-gtype-struct-for="Script"
- doc="The #ClutterScriptClass structure contains only private data"
- version="0.6">
- <field name="parent_class">
- <type name="GObject.ObjectClass" c:type="GObjectClass"/>
- </field>
- <field name="get_type_from_name">
- <callback name="get_type_from_name" c:type="get_type_from_name">
- <return-value transfer-ownership="none">
- <type name="GType" c:type="GType"/>
- </return-value>
- <parameters>
- <parameter name="script" transfer-ownership="none">
- <type name="Script" c:type="ClutterScript*"/>
- </parameter>
- <parameter name="type_name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="clutter_reserved1">
- <callback name="clutter_reserved1" c:type="_clutter_reserved1">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_reserved2">
- <callback name="clutter_reserved2" c:type="_clutter_reserved2">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_reserved3">
- <callback name="clutter_reserved3" c:type="_clutter_reserved3">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_reserved4">
- <callback name="clutter_reserved4" c:type="_clutter_reserved4">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_reserved5">
- <callback name="clutter_reserved5" c:type="_clutter_reserved5">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_reserved6">
- <callback name="clutter_reserved6" c:type="_clutter_reserved6">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_reserved7">
- <callback name="clutter_reserved7" c:type="_clutter_reserved7">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- <field name="clutter_reserved8">
- <callback name="clutter_reserved8" c:type="_clutter_reserved8">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </callback>
- </field>
- </record>
- <callback name="ScriptConnectFunc"
- c:type="ClutterScriptConnectFunc"
- doc="This is the signature of a function used to connect signals. It is used
-by the clutter_script_connect_signals_full() function. It is mainly
-intended for interpreted language bindings, but could be useful where the
-programmer wants more control over the signal connection process."
- version="0.6">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="script" transfer-ownership="none">
- <type name="Script" c:type="ClutterScript*"/>
- </parameter>
- <parameter name="object" transfer-ownership="none">
- <type name="GObject.Object" c:type="GObject*"/>
- </parameter>
- <parameter name="signal_name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- <parameter name="handler_name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- <parameter name="connect_object" transfer-ownership="none">
- <type name="GObject.Object" c:type="GObject*"/>
- </parameter>
- <parameter name="flags" transfer-ownership="none">
- <type name="GObject.ConnectFlags" c:type="GConnectFlags"/>
- </parameter>
- <parameter name="user_data" transfer-ownership="none" closure="6">
- <type name="any" c:type="gpointer"/>
- </parameter>
- </parameters>
- </callback>
- <enumeration name="ScriptError"
- doc="#ClutterScript error enumeration."
- version="0.6"
- glib:type-name="ClutterScriptError"
- glib:get-type="clutter_script_error_get_type"
- c:type="ClutterScriptError"
- glib:error-quark="clutter_script_error_quark">
- <member name="type_function"
- value="0"
- c:identifier="CLUTTER_SCRIPT_ERROR_INVALID_TYPE_FUNCTION"
- glib:nick="type-function"/>
- <member name="property"
- value="1"
- c:identifier="CLUTTER_SCRIPT_ERROR_INVALID_PROPERTY"
- glib:nick="property"/>
- <member name="value"
- value="2"
- c:identifier="CLUTTER_SCRIPT_ERROR_INVALID_VALUE"
- glib:nick="value"/>
- </enumeration>
- <record name="ScriptPrivate" c:type="ClutterScriptPrivate">
- </record>
- <interface name="Scriptable"
- c:type="ClutterScriptable"
- doc="#ClutterScriptable is an opaque structure whose members cannot be directly
-accessed"
- version="0.6"
- glib:type-name="ClutterScriptable"
- glib:get-type="clutter_scriptable_get_type"
- glib:type-struct="ScriptableIface">
- <virtual-method name="set_id">
+ <method name="set_fog"
+ c:identifier="clutter_stage_set_fog"
+ version="0.6">
+ <doc xml:whitespace="preserve">Sets the fog (also known as "depth cueing") settings for the @stage.
+A #ClutterStage will only use a linear fog progression, which
+depends solely on the distance from the viewer. The cogl_set_fog()
+function in COGL exposes more of the underlying implementation,
+and allows changing the for progression function. It can be directly
+used by disabling the #ClutterStage:use-fog property and connecting
+a signal handler to the #ClutterActor::paint signal on the @stage,
+like:
+|[
+clutter_stage_set_use_fog (stage, FALSE);
+g_signal_connect (stage, "paint", G_CALLBACK (on_stage_paint), NULL);
+]|
+The paint signal handler will call cogl_set_fog() with the
+desired settings:
+|[
+static void
+on_stage_paint (ClutterActor *actor)
+{
+ClutterColor stage_color = { 0, };
+CoglColor fog_color = { 0, };
+/&ast; set the fog color to the stage background color &ast;/
+clutter_stage_get_color (CLUTTER_STAGE (actor), &amp;stage_color);
+cogl_color_init_from_4ub (&amp;fog_color,
+stage_color.red,
+stage_color.green,
+stage_color.blue,
+stage_color.alpha);
+/&ast; enable fog &ast;/
+cogl_set_fog (&amp;fog_color,
+COGL_FOG_MODE_EXPONENTIAL, /&ast; mode &ast;/
+0.5, /&ast; density &ast;/
+5.0, 30.0); /&ast; z_near and z_far &ast;/
+}
+]|
+<note>The fogging functions only work correctly when the visible actors use
+unmultiplied alpha colors. By default Cogl will premultiply textures and
+cogl_set_source_color() will premultiply colors, so unless you explicitly
+load your textures requesting an unmultiplied internal format and use
+cogl_material_set_color() you can only use fogging with fully opaque actors.
+Support for premultiplied colors will improve in the future when we can
+depend on fragment shaders.</note></doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="fog" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterFog structure</doc>
+ <type name="Fog" c:type="ClutterFog*"/>
</parameter>
</parameters>
- </virtual-method>
- <virtual-method name="get_id" invoker="get_id">
+ </method>
+ <method name="set_fullscreen"
+ c:identifier="clutter_stage_set_fullscreen"
+ version="1.0">
+ <doc xml:whitespace="preserve">Asks to place the stage window in the fullscreen or unfullscreen
+states.
+afterward, because other entities (e.g. the user or window manager)
+could unfullscreen it again, and not all window managers honor
+requests to fullscreen windows.
+If you want to receive notification of the fullscreen state you
+should either use the #ClutterStage::fullscreen and
+#ClutterStage::unfullscreen signals, or use the notify signal
+for the #ClutterStage:fullscreen-set property</doc>
<return-value transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <type name="none" c:type="void"/>
</return-value>
- </virtual-method>
- <virtual-method name="parse_custom_node" invoker="parse_custom_node">
+ <parameters>
+ <parameter name="fullscreen" transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE to to set the stage fullscreen</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_key_focus"
+ c:identifier="clutter_stage_set_key_focus"
+ version="0.6">
+ <doc xml:whitespace="preserve">Sets the key focus on @actor. An actor with key focus will receive
+all the key events. If @actor is %NULL, the stage will receive
+focus.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="script" transfer-ownership="none">
- <type name="Script" c:type="ClutterScript*"/>
- </parameter>
- <parameter name="value" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
- </parameter>
- <parameter name="name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- <parameter name="node" transfer-ownership="none">
- <type name="ClutterJson.JsonNode" c:type="JsonNode*"/>
+ <parameter name="actor" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">the actor to set key focus to, or %NULL</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</parameter>
</parameters>
- </virtual-method>
- <virtual-method name="set_custom_property" invoker="set_custom_property">
+ </method>
+ <method name="set_minimum_size"
+ c:identifier="clutter_stage_set_minimum_size"
+ version="1.2">
+ <doc xml:whitespace="preserve">Sets the minimum size for a stage window, if the default backend
+uses #ClutterStage inside a window
+This is a convenience function, and it is equivalent to setting the
+#ClutterActor:min-width and #ClutterActor:min-height on @stage
+If the current size of @stage is smaller than the minimum size, the
+This function has no effect if @stage is fullscreen</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="script" transfer-ownership="none">
- <type name="Script" c:type="ClutterScript*"/>
- </parameter>
- <parameter name="name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="width" transfer-ownership="none">
+ <doc xml:whitespace="preserve">width, in pixels</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
- <parameter name="value" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
+ <parameter name="height" transfer-ownership="none">
+ <doc xml:whitespace="preserve">height, in pixels</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
</parameters>
- </virtual-method>
- <method name="set_id"
- c:identifier="clutter_scriptable_set_id"
- doc="Sets @id as the unique Clutter script it for this instance of
-#ClutterScriptableIface.
-This name can be used by user interface designer applications to
-define a unique name for an object constructable using the UI
-definition language parsed by #ClutterScript."
- version="0.6">
+ </method>
+ <method name="set_no_clear_hint"
+ c:identifier="clutter_stage_set_no_clear_hint"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets whether the @stage should clear itself at the beginning
+of each paint cycle or not.
+Clearing the #ClutterStage can be a costly operation, especially
+if the stage is always covered - for instance, in a full-screen
+video player or in a game with a background texture.
+<note><para>This setting is a hint; Clutter might discard this
+hint depending on its internal state.</para></note>
+<warning><para>If parts of the stage are visible and you disable
+clearing you might end up with visual artifacts while painting the
+contents of the stage.</para></warning></doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="id" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="no_clear" transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the @stage should not clear itself on every repaint cycle</doc>
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
- <method name="get_id"
- c:identifier="clutter_scriptable_get_id"
- doc="Retrieves the id of @scriptable set using clutter_scriptable_set_id().
-the scriptable object and should never be modified of freed"
- version="0.6">
+ <method name="set_perspective"
+ c:identifier="clutter_stage_set_perspective">
+ <doc xml:whitespace="preserve">Sets the stage perspective.</doc>
<return-value transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="perspective" transfer-ownership="none">
+ <doc xml:whitespace="preserve">A #ClutterPerspective</doc>
+ <type name="Perspective" c:type="ClutterPerspective*"/>
+ </parameter>
+ </parameters>
</method>
- <method name="parse_custom_node"
- c:identifier="clutter_scriptable_parse_custom_node"
- doc="Parses the passed JSON node. The implementation must set the type
-of the passed #GValue pointer using g_value_init()."
- version="0.6">
+ <method name="set_throttle_motion_events"
+ c:identifier="clutter_stage_set_throttle_motion_events"
+ version="1.0">
+ <doc xml:whitespace="preserve">Sets whether motion events received between redraws should
+be throttled or not. If motion events are throttled, those
+events received by the windowing system between redraws will
+be compressed so that only the last event will be propagated
+to the @stage and its actors.
+This function should only be used if you want to have all
+the motion events delivered to your application code.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="script" transfer-ownership="none">
- <type name="Script" c:type="ClutterScript*"/>
- </parameter>
- <parameter name="value" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
+ <parameter name="throttle" transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE to throttle motion events</doc>
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
- <parameter name="name" transfer-ownership="none">
+ </parameters>
+ </method>
+ <method name="set_title" c:identifier="clutter_stage_set_title">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="title" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</parameter>
- <parameter name="node" transfer-ownership="none">
- <type name="ClutterJson.JsonNode" c:type="JsonNode*"/>
+ </parameters>
+ </method>
+ <method name="set_use_alpha"
+ c:identifier="clutter_stage_set_use_alpha"
+ version="1.2">
+ <doc xml:whitespace="preserve">Sets whether the @stage should honour the #ClutterActor:opacity and
+the alpha channel of the #ClutterStage:color</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="use_alpha" transfer-ownership="none">
+ <doc xml:whitespace="preserve">whether the stage should honour the opacity or the alpha channel of the stage color</doc>
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
- <method name="set_custom_property"
- c:identifier="clutter_scriptable_set_custom_property"
- doc="Overrides the common properties setting. The underlying virtual
-function should be used when implementing custom properties."
+ <method name="set_use_fog"
+ c:identifier="clutter_stage_set_use_fog"
version="0.6">
+ <doc xml:whitespace="preserve">Sets whether the depth cueing effect on the stage should be enabled
+or not.
+Depth cueing is a 3D effect that makes actors farther away from the
+viewing point less opaque, by fading them with the stage color.
+The parameters of the GL fog used can be changed using the
+clutter_stage_set_fog() function.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="script" transfer-ownership="none">
- <type name="Script" c:type="ClutterScript*"/>
- </parameter>
- <parameter name="name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="fog" transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE for enabling the depth cueing effect</doc>
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
- <parameter name="value" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
+ </parameters>
+ </method>
+ <method name="set_user_resizable"
+ c:identifier="clutter_stage_set_user_resizable"
+ version="0.4">
+ <doc xml:whitespace="preserve">Sets if the stage is resizable by user interaction (e.g. via
+window manager controls)</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="resizable" transfer-ownership="none">
+ <doc xml:whitespace="preserve">whether the stage should be user resizable.</doc>
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
- </interface>
- <record name="ScriptableIface"
- c:type="ClutterScriptableIface"
- glib:is-gtype-struct-for="Scriptable"
- doc="Interface for implementing "scriptable" objects. An object implementing
-this interface can override the parsing and properties setting sequence
-when loading a UI definition data with #ClutterScript"
- version="0.6">
- <field name="g_iface">
- <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
+ <method name="show_cursor" c:identifier="clutter_stage_show_cursor">
+ <doc xml:whitespace="preserve">Shows the cursor on the stage window</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </method>
+ <property name="color" writable="1" transfer-ownership="none">
+ <doc xml:whitespace="preserve">The color of the main stage.</doc>
+ <type name="Color"/>
+ </property>
+ <property name="cursor-visible" writable="1" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the mouse pointer should be visible</doc>
+ <type name="gboolean"/>
+ </property>
+ <property name="fog"
+ version="1.0"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The settings for the GL "fog", used only if #ClutterStage:use-fog
+is set to %TRUE</doc>
+ <type name="Fog"/>
+ </property>
+ <property name="fullscreen-set" transfer-ownership="none">
+ <type name="gboolean"/>
+ </property>
+ <property name="key-focus"
+ version="1.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The #ClutterActor that will receive key events from the underlying
+windowing system.
+If %NULL, the #ClutterStage will receive the events.</doc>
+ <type name="Actor"/>
+ </property>
+ <property name="no-clear-hint"
+ version="1.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether or not the #ClutterStage should clear its contents
+before each paint cycle.
+See clutter_stage_set_no_clear_hint() for further information.</doc>
+ <type name="gboolean"/>
+ </property>
+ <property name="offscreen" writable="1" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the stage should be rendered in an offscreen buffer.
+<warning><para>Not every backend supports redirecting the
+stage to an offscreen buffer. This property might not work
+and it might be deprecated at any later date.</para></warning></doc>
+ <type name="gboolean"/>
+ </property>
+ <property name="perspective"
+ version="0.8.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The parameters used for the perspective projection from 3D
+coordinates to 2D</doc>
+ <type name="Perspective"/>
+ </property>
+ <property name="title"
+ version="0.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The stage's title - usually displayed in stage windows title decorations.</doc>
+ <type name="utf8"/>
+ </property>
+ <property name="use-alpha"
+ version="1.2"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the #ClutterStage should honour the alpha component of the
+#ClutterStage:color property when painting. If Clutter is run under
+a compositing manager this will result in the stage being blended
+with the underlying window(s)</doc>
+ <type name="gboolean"/>
+ </property>
+ <property name="use-fog"
+ version="0.6"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the stage should use a linear GL "fog" in creating the
+depth-cueing effect, to enhance the perception of depth by fading
+actors farther from the viewpoint.</doc>
+ <type name="gboolean"/>
+ </property>
+ <property name="user-resizable"
+ version="0.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the stage is resizable via user interaction.</doc>
+ <type name="gboolean"/>
+ </property>
+ <field name="parent_instance">
+ <type name="Group" c:type="ClutterGroup"/>
+ </field>
+ <field name="priv">
+ <type name="StagePrivate" c:type="ClutterStagePrivate*"/>
+ </field>
+ <glib:signal name="activate">
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ </glib:signal>
+ <glib:signal name="deactivate">
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ </glib:signal>
+ <glib:signal name="delete-event" version="1.2">
+ <doc xml:whitespace="preserve">The ::delete-event signal is emitted when the user closes a
+#ClutterStage window using the window controls.
+Clutter by default will call clutter_main_quit() if @stage is
+the default stage, and clutter_actor_destroy() for any other
+stage.
+It is possible to override the default behaviour by connecting
+a new handler and returning %TRUE there.
+<note>This signal is emitted only on Clutter backends that
+embed #ClutterStage in native windows. It is not emitted for
+backends that use a static frame buffer.</note></doc>
+ <return-value transfer-ownership="none">
+ <type name="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterEvent of type %CLUTTER_DELETE</doc>
+ <type name="Event"/>
+ </parameter>
+ </parameters>
+ </glib:signal>
+ <glib:signal name="fullscreen">
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ </glib:signal>
+ <glib:signal name="unfullscreen">
+ <return-value transfer-ownership="none">
+ <type name="none"/>
+ </return-value>
+ </glib:signal>
+ </class>
+ <record name="StageClass"
+ c:type="ClutterStageClass"
+ glib:is-gtype-struct-for="Stage"
+ version="0.1">
+ <doc xml:whitespace="preserve">The #ClutterStageClass structure contains only private data</doc>
+ <field name="parent_class">
+ <type name="GroupClass" c:type="ClutterGroupClass"/>
</field>
- <field name="set_id">
- <callback name="set_id" c:type="set_id">
+ <field name="fullscreen">
+ <callback name="fullscreen">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="scriptable" transfer-ownership="none">
- <type name="Scriptable" c:type="ClutterScriptable*"/>
- </parameter>
- <parameter name="name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="stage" transfer-ownership="none">
+ <type name="Stage" c:type="ClutterStage*"/>
</parameter>
</parameters>
</callback>
</field>
- <field name="get_id">
- <callback name="get_id" c:type="get_id">
+ <field name="unfullscreen">
+ <callback name="unfullscreen">
<return-value transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="scriptable" transfer-ownership="none">
- <type name="Scriptable" c:type="ClutterScriptable*"/>
+ <parameter name="stage" transfer-ownership="none">
+ <type name="Stage" c:type="ClutterStage*"/>
</parameter>
</parameters>
</callback>
</field>
- <field name="parse_custom_node">
- <callback name="parse_custom_node" c:type="parse_custom_node">
+ <field name="activate">
+ <callback name="activate">
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="scriptable" transfer-ownership="none">
- <type name="Scriptable" c:type="ClutterScriptable*"/>
- </parameter>
- <parameter name="script" transfer-ownership="none">
- <type name="Script" c:type="ClutterScript*"/>
- </parameter>
- <parameter name="value" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
- </parameter>
- <parameter name="name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- <parameter name="node" transfer-ownership="none">
- <type name="ClutterJson.JsonNode" c:type="JsonNode*"/>
+ <parameter name="stage" transfer-ownership="none">
+ <type name="Stage" c:type="ClutterStage*"/>
</parameter>
</parameters>
</callback>
</field>
- <field name="set_custom_property">
- <callback name="set_custom_property" c:type="set_custom_property">
+ <field name="deactivate">
+ <callback name="deactivate">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="scriptable" transfer-ownership="none">
- <type name="Scriptable" c:type="ClutterScriptable*"/>
- </parameter>
- <parameter name="script" transfer-ownership="none">
- <type name="Script" c:type="ClutterScript*"/>
+ <parameter name="stage" transfer-ownership="none">
+ <type name="Stage" c:type="ClutterStage*"/>
</parameter>
- <parameter name="name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ </parameters>
+ </callback>
+ </field>
+ <field name="delete_event">
+ <callback name="delete_event">
+ <return-value transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="stage" transfer-ownership="none">
+ <type name="Stage" c:type="ClutterStage*"/>
</parameter>
- <parameter name="value" transfer-ownership="none">
- <type name="GObject.Value" c:type="GValue*"/>
+ <parameter name="event" transfer-ownership="none">
+ <type name="Event" c:type="ClutterEvent*"/>
</parameter>
</parameters>
</callback>
</field>
- </record>
- <enumeration name="ScrollDirection"
- doc="Direction of a pointer scroll event."
- version="0.4"
- glib:type-name="ClutterScrollDirection"
- glib:get-type="clutter_scroll_direction_get_type"
- c:type="ClutterScrollDirection">
- <member name="up"
- value="0"
- c:identifier="CLUTTER_SCROLL_UP"
- glib:nick="up"/>
- <member name="down"
- value="1"
- c:identifier="CLUTTER_SCROLL_DOWN"
- glib:nick="down"/>
- <member name="left"
- value="2"
- c:identifier="CLUTTER_SCROLL_LEFT"
- glib:nick="left"/>
- <member name="right"
- value="3"
- c:identifier="CLUTTER_SCROLL_RIGHT"
- glib:nick="right"/>
- </enumeration>
- <record name="ScrollEvent"
- c:type="ClutterScrollEvent"
- doc="Scroll wheel (or similar device) event"
- version="0.2">
- <field name="type" writable="1">
- <type name="EventType" c:type="ClutterEventType"/>
- </field>
- <field name="time" writable="1">
- <type name="uint32" c:type="guint32"/>
- </field>
- <field name="flags" writable="1">
- <type name="EventFlags" c:type="ClutterEventFlags"/>
- </field>
- <field name="stage" writable="1">
- <type name="Stage" c:type="ClutterStage*"/>
- </field>
- <field name="source" writable="1">
- <type name="Actor" c:type="ClutterActor*"/>
- </field>
- <field name="x" writable="1">
- <type name="float" c:type="gfloat"/>
- </field>
- <field name="y" writable="1">
- <type name="float" c:type="gfloat"/>
- </field>
- <field name="direction" writable="1">
- <type name="ScrollDirection" c:type="ClutterScrollDirection"/>
- </field>
- <field name="modifier_state" writable="1">
- <type name="ModifierType" c:type="ClutterModifierType"/>
- </field>
- <field name="axes" writable="1">
- <type name="any" c:type="gdouble*"/>
- </field>
- <field name="device" writable="1">
- <type name="InputDevice" c:type="ClutterInputDevice*"/>
+ <field name="_padding_dummy">
+ <array zero-terminated="0" c:type="gpointer" fixed-size="31">
+ <type name="gpointer" c:type="gpointer"/>
+ </array>
</field>
</record>
- <constant name="Scroll_Lock" value="65300">
- <type name="int"/>
- </constant>
- <constant name="Select" value="65376">
- <type name="int"/>
- </constant>
- <constant name="Serbian_DJE" value="1713">
- <type name="int"/>
- </constant>
- <constant name="Serbian_DZE" value="1727">
- <type name="int"/>
- </constant>
- <constant name="Serbian_JE" value="1720">
- <type name="int"/>
- </constant>
- <constant name="Serbian_LJE" value="1721">
- <type name="int"/>
- </constant>
- <constant name="Serbian_NJE" value="1722">
- <type name="int"/>
- </constant>
- <constant name="Serbian_TSHE" value="1723">
- <type name="int"/>
- </constant>
- <constant name="Serbian_dje" value="1697">
- <type name="int"/>
- </constant>
- <constant name="Serbian_dze" value="1711">
- <type name="int"/>
- </constant>
- <constant name="Serbian_je" value="1704">
- <type name="int"/>
- </constant>
- <constant name="Serbian_lje" value="1705">
- <type name="int"/>
- </constant>
- <constant name="Serbian_nje" value="1706">
- <type name="int"/>
- </constant>
- <constant name="Serbian_tshe" value="1707">
- <type name="int"/>
- </constant>
- <class name="Shader"
- c:type="ClutterShader"
- doc="The #ClutterShader structure contains only private data
-and should be accessed using the provided API"
- version="0.6"
+ <class name="StageManager"
+ c:symbol-prefix="stage_manager"
+ c:type="ClutterStageManager"
+ version="1.0"
parent="GObject.Object"
- glib:type-name="ClutterShader"
- glib:get-type="clutter_shader_get_type"
- glib:type-struct="ShaderClass">
- <constructor name="new"
- c:identifier="clutter_shader_new"
- doc="Create a new #ClutterShader instance."
- version="0.6">
- <return-value transfer-ownership="full">
- <type name="Shader" c:type="ClutterShader*"/>
- </return-value>
- </constructor>
- <method name="set_is_enabled"
- c:identifier="clutter_shader_set_is_enabled"
- doc="Enables a shader. This function will attempt to compile and link
-the shader, if it isn't already.
-When @enabled is %FALSE the default state of the GL pipeline will be
-used instead."
- version="0.6">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="enabled" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </parameter>
- </parameters>
- </method>
- <method name="get_is_enabled"
- c:identifier="clutter_shader_get_is_enabled"
- doc="Checks whether @shader is enabled."
- version="0.6">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- </method>
- <method name="compile"
- c:identifier="clutter_shader_compile"
- doc="Compiles and links GLSL sources set for vertex and fragment shaders for
-a #ClutterShader. If the compilation fails and a #GError return location is
-provided the error will contain the errors from the compiler, if any."
- version="0.8"
- throws="1">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- </method>
- <method name="release"
- c:identifier="clutter_shader_release"
- doc="Frees up any GL context resources held by the shader."
- version="0.6">
+ glib:type-name="ClutterStageManager"
+ glib:get-type="clutter_stage_manager_get_type"
+ glib:type-struct="StageManagerClass">
+ <doc xml:whitespace="preserve">The #ClutterStageManager structure is private.</doc>
+ <function name="get_default"
+ c:identifier="clutter_stage_manager_get_default"
+ version="0.8">
+ <doc xml:whitespace="preserve">Returns the default #ClutterStageManager.
+object is owned by Clutter and you should not reference or unreference it.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the default stage manager instance. The returned</doc>
+ <type name="StageManager" c:type="ClutterStageManager*"/>
</return-value>
- </method>
- <method name="is_compiled"
- c:identifier="clutter_shader_is_compiled"
- doc="Checks whether @shader is is currently compiled, linked and bound
-to the GL context."
+ </function>
+ <method name="get_default_stage"
+ c:identifier="clutter_stage_manager_get_default_stage"
version="0.8">
+ <doc xml:whitespace="preserve">Returns the default #ClutterStage.
+is owned by Clutter and you should never reference or unreference it</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- </method>
- <method name="set_vertex_source"
- c:identifier="clutter_shader_set_vertex_source"
- doc="Sets the GLSL source code to be used by a #ClutterShader for the vertex
-program."
- version="0.6">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="data" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- <parameter name="length" transfer-ownership="none">
- <type name="ssize_t" c:type="gssize"/>
- </parameter>
- </parameters>
- </method>
- <method name="set_fragment_source"
- c:identifier="clutter_shader_set_fragment_source"
- doc="Sets the GLSL source code to be used by a #ClutterShader for the fragment
-program."
- version="0.6">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the default stage. The returned object</doc>
+ <type name="Stage" c:type="ClutterStage*"/>
</return-value>
- <parameters>
- <parameter name="data" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- <parameter name="length" transfer-ownership="none">
- <type name="ssize_t" c:type="gssize"/>
- </parameter>
- </parameters>
</method>
- <method name="get_vertex_source"
- c:identifier="clutter_shader_get_vertex_source"
- doc="Query the current GLSL vertex source set on @shader.
-ClutterShader object or %NULL. The returned string is owned by the
-shader object and should never be modified or freed"
- version="0.6">
- <return-value transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <method name="list_stages"
+ c:identifier="clutter_stage_manager_list_stages"
+ version="0.8">
+ <doc xml:whitespace="preserve">Lists all currently used stages.
+allocated list of #ClutterStage objects. Use g_slist_free() to
+deallocate it when done.</doc>
+ <return-value transfer-ownership="container">
+ <doc xml:whitespace="preserve">a newly</doc>
+ <type name="GLib.SList" c:type="GSList*">
+ <type name="Stage"/>
+ </type>
</return-value>
</method>
- <method name="get_fragment_source"
- c:identifier="clutter_shader_get_fragment_source"
- doc="Query the current GLSL fragment source set on @shader.
-ClutterShader object or %NULL. The returned string is owned by the
-shader object and should never be modified or freed"
- version="0.6">
+ <method name="peek_stages"
+ c:identifier="clutter_stage_manager_peek_stages"
+ version="1.0">
+ <doc xml:whitespace="preserve">Lists all currently used stages.
+to the internal list of #ClutterStage objects. The returned list
+is owned by the #ClutterStageManager and should never be modified
+or freed</doc>
<return-value transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <doc xml:whitespace="preserve">a pointer</doc>
+ <type name="GLib.SList" c:type="GSList*">
+ <type name="Stage"/>
+ </type>
</return-value>
</method>
- <method name="set_uniform"
- c:identifier="clutter_shader_set_uniform"
- doc="Sets a user configurable variable in the GLSL shader programs attached to
-a #ClutterShader."
- version="1.0">
+ <method name="set_default_stage"
+ c:identifier="clutter_stage_manager_set_default_stage"
+ version="0.8"
+ deprecated="Calling this function has no effect"
+ deprecated-version="1.2">
+ <doc xml:whitespace="preserve">Sets @stage as the default stage.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- <parameter name="value" transfer-ownership="none" doc=" #GValue.">
- <type name="GObject.Value" c:type="GValue*"/>
+ <parameter name="stage" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterStage</doc>
+ <type name="Stage" c:type="ClutterStage*"/>
</parameter>
</parameters>
</method>
- <method name="get_cogl_program"
- c:identifier="clutter_shader_get_cogl_program"
- doc="Retrieves the underlying #CoglHandle for the shader program."
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="Cogl.Handle" c:type="CoglHandle"/>
- </return-value>
- </method>
- <method name="get_cogl_fragment_shader"
- c:identifier="clutter_shader_get_cogl_fragment_shader"
- doc="Retrieves the underlying #CoglHandle for the fragment shader."
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="Cogl.Handle" c:type="CoglHandle"/>
+ <property name="default-stage" version="0.8" transfer-ownership="none">
+ <doc xml:whitespace="preserve">The default stage used by Clutter.</doc>
+ <type name="Stage"/>
+ </property>
+ <glib:signal name="stage-added" version="0.8">
+ <doc xml:whitespace="preserve">The ::stage-added signal is emitted each time a new #ClutterStage
+has been added to the stage manager.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
</return-value>
- </method>
- <method name="get_cogl_vertex_shader"
- c:identifier="clutter_shader_get_cogl_vertex_shader"
- doc="Retrieves the underlying #CoglHandle for the vertex shader."
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="Cogl.Handle" c:type="CoglHandle"/>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the added stage</doc>
+ <type name="Stage"/>
+ </parameter>
+ </parameters>
+ </glib:signal>
+ <glib:signal name="stage-removed" version="0.8">
+ <doc xml:whitespace="preserve">The ::stage-removed signal is emitted each time a #ClutterStage
+has been removed from the stage manager.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
</return-value>
- </method>
- <property name="compiled"
- version="0.8"
- doc="Whether the shader is compiled and linked, ready for use
-in the GL context.">
- <type name="boolean" c:type="gboolean"/>
- </property>
- <property name="enabled"
- version="0.6"
- writable="1"
- doc="Whether the shader is currently used in the GL rendering pipeline.">
- <type name="boolean" c:type="gboolean"/>
- </property>
- <property name="fragment-source"
- version="0.6"
- writable="1"
- doc="GLSL source code for the fragment shader part of the shader program.">
- <type name="utf8" c:type="gchararray"/>
- </property>
- <property name="vertex-source"
- version="0.6"
- writable="1"
- doc="GLSL source code for the vertex shader part of the shader
-program, if any">
- <type name="utf8" c:type="gchararray"/>
- </property>
- <field name="parent">
- <type name="GObject.Object" c:type="GObject"/>
- </field>
- <field name="priv">
- <type name="ShaderPrivate" c:type="ClutterShaderPrivate*"/>
- </field>
+ <parameters>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the removed stage</doc>
+ <type name="Stage"/>
+ </parameter>
+ </parameters>
+ </glib:signal>
</class>
- <record name="ShaderClass"
- c:type="ClutterShaderClass"
- glib:is-gtype-struct-for="Shader"
- doc="The #ClutterShaderClass structure contains only private data"
- version="0.6">
+ <record name="StageManagerClass"
+ c:type="ClutterStageManagerClass"
+ glib:is-gtype-struct-for="StageManager"
+ version="1.0">
+ <doc xml:whitespace="preserve">The #ClutterStageManagerClass structure contains only private data
+and should be accessed using the provided API</doc>
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
+ <field name="stage_added">
+ <callback name="stage_added">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="stage_manager" transfer-ownership="none">
+ <type name="StageManager" c:type="ClutterStageManager*"/>
+ </parameter>
+ <parameter name="stage" transfer-ownership="none">
+ <type name="Stage" c:type="ClutterStage*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="stage_removed">
+ <callback name="stage_removed">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="stage_manager" transfer-ownership="none">
+ <type name="StageManager" c:type="ClutterStageManager*"/>
+ </parameter>
+ <parameter name="stage" transfer-ownership="none">
+ <type name="Stage" c:type="ClutterStage*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
</record>
- <enumeration name="ShaderError"
- doc="#ClutterShader error enumeration"
- version="0.6"
- glib:type-name="ClutterShaderError"
- glib:get-type="clutter_shader_error_get_type"
- c:type="ClutterShaderError"
- glib:error-quark="clutter_shader_error_quark">
- <member name="no_asm"
- value="0"
- c:identifier="CLUTTER_SHADER_ERROR_NO_ASM"
- glib:nick="no-asm"/>
- <member name="no_glsl"
- value="1"
- c:identifier="CLUTTER_SHADER_ERROR_NO_GLSL"
- glib:nick="no-glsl"/>
- <member name="compile"
- value="2"
- c:identifier="CLUTTER_SHADER_ERROR_COMPILE"
- glib:nick="compile"/>
- </enumeration>
- <record name="ShaderFloat" c:type="ClutterShaderFloat">
- </record>
- <record name="ShaderInt" c:type="ClutterShaderInt">
- </record>
- <record name="ShaderMatrix" c:type="ClutterShaderMatrix">
+ <record name="StagePrivate" c:type="ClutterStagePrivate" disguised="1">
</record>
- <record name="ShaderPrivate" c:type="ClutterShaderPrivate">
+ <bitfield name="StageState"
+ version="0.4"
+ glib:type-name="ClutterStageState"
+ glib:get-type="clutter_stage_state_get_type"
+ c:type="ClutterStageState">
+ <doc xml:whitespace="preserve">Stage state masks</doc>
+ <member name="fullscreen"
+ value="2"
+ c:identifier="CLUTTER_STAGE_STATE_FULLSCREEN"
+ glib:nick="fullscreen"/>
+ <member name="offscreen"
+ value="4"
+ c:identifier="CLUTTER_STAGE_STATE_OFFSCREEN"
+ glib:nick="offscreen"/>
+ <member name="activated"
+ value="8"
+ c:identifier="CLUTTER_STAGE_STATE_ACTIVATED"
+ glib:nick="activated"/>
+ </bitfield>
+ <record name="StageStateEvent"
+ c:type="ClutterStageStateEvent"
+ version="0.2">
+ <doc xml:whitespace="preserve">Event signalling a change in the #ClutterStage state.</doc>
+ <field name="type" writable="1">
+ <type name="EventType" c:type="ClutterEventType"/>
+ </field>
+ <field name="time" writable="1">
+ <type name="guint32" c:type="guint32"/>
+ </field>
+ <field name="flags" writable="1">
+ <type name="EventFlags" c:type="ClutterEventFlags"/>
+ </field>
+ <field name="stage" writable="1">
+ <type name="Stage" c:type="ClutterStage*"/>
+ </field>
+ <field name="source" writable="1">
+ <type name="Actor" c:type="ClutterActor*"/>
+ </field>
+ <field name="changed_mask" writable="1">
+ <type name="StageState" c:type="ClutterStageState"/>
+ </field>
+ <field name="new_state" writable="1">
+ <type name="StageState" c:type="ClutterStageState"/>
+ </field>
</record>
- <constant name="Shift_L" value="65505">
- <type name="int"/>
- </constant>
- <constant name="Shift_Lock" value="65510">
- <type name="int"/>
- </constant>
- <constant name="Shift_R" value="65506">
- <type name="int"/>
- </constant>
- <constant name="SingleCandidate" value="65340">
- <type name="int"/>
- </constant>
- <constant name="SlowKeys_Enable" value="65139">
- <type name="int"/>
- </constant>
- <class name="Stage"
- c:type="ClutterStage"
- doc="The #ClutterStage structure contains only private data
-and should be accessed using the provided API"
- version="0.1"
- parent="Group"
- glib:type-name="ClutterStage"
- glib:get-type="clutter_stage_get_type"
- glib:type-struct="StageClass">
- <implements name="Container"/>
- <implements name="Scriptable"/>
- <constructor name="new"
- c:identifier="clutter_stage_new"
- doc="Creates a new, non-default stage. A non-default stage is a new
-top-level actor which can be used as another container. It works
-exactly like the default stage, but while clutter_stage_get_default()
-will always return the same instance, you will have to keep a pointer
-to any #ClutterStage returned by clutter_stage_create().
-The ability to support multiple stages depends on the current
-backend. Use clutter_feature_available() and
-%CLUTTER_FEATURE_STAGE_MULTIPLE to check at runtime whether a
-backend supports multiple stages.
-not support multiple stages. Use clutter_actor_destroy() to
-programmatically close the returned stage."
- version="0.8">
- <return-value transfer-ownership="full">
- <type name="Stage" c:type="ClutterActor*"/>
+ <interface name="StageWindow"
+ c:symbol-prefix="stage_window"
+ c:type="ClutterStageWindow"
+ version="0.8"
+ glib:type-name="ClutterStageWindow"
+ glib:get-type="clutter_stage_window_get_type"
+ glib:type-struct="StageWindowIface">
+ <doc xml:whitespace="preserve"><structname>ClutterStageWindow</structname> is an opaque structure
+whose members should not be accessed directly</doc>
+ <virtual-method name="add_redraw_clip">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
- </constructor>
- <function name="get_default"
- c:identifier="clutter_stage_get_default"
- doc="Returns the main stage. The default #ClutterStage is a singleton,
-so the stage will be created the first time this function is
-called (typically, inside clutter_init()); all the subsequent
-calls to clutter_stage_get_default() will return the same instance.
-Clutter guarantess the existence of the default stage.
-destroy or unref the returned actor.">
- <return-value transfer-ownership="none"
- doc="the main #ClutterStage. You should never">
+ <parameters>
+ <parameter name="stage_rectangle" transfer-ownership="none">
+ <type name="Geometry" c:type="ClutterGeometry*"/>
+ </parameter>
+ </parameters>
+ </virtual-method>
+ <virtual-method name="get_geometry">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="geometry" transfer-ownership="none">
+ <type name="Geometry" c:type="ClutterGeometry*"/>
+ </parameter>
+ </parameters>
+ </virtual-method>
+ <virtual-method name="get_pending_swaps">
+ <return-value transfer-ownership="none">
+ <type name="gint" c:type="int"/>
+ </return-value>
+ </virtual-method>
+ <virtual-method name="get_wrapper" introspectable="0">
+ <return-value>
<type name="Actor" c:type="ClutterActor*"/>
</return-value>
- </function>
- <method name="set_color"
- c:identifier="clutter_stage_set_color"
- doc="Sets the stage color.">
+ </virtual-method>
+ <virtual-method name="has_redraw_clips">
+ <return-value transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ </virtual-method>
+ <virtual-method name="hide">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </virtual-method>
+ <virtual-method name="ignoring_redraw_clips">
+ <return-value transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ </virtual-method>
+ <virtual-method name="realize">
+ <return-value transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ </virtual-method>
+ <virtual-method name="resize">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="color" transfer-ownership="none">
- <type name="Color" c:type="ClutterColor*"/>
+ <parameter name="width" transfer-ownership="none">
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="height" transfer-ownership="none">
+ <type name="gint" c:type="gint"/>
</parameter>
</parameters>
- </method>
- <method name="get_color"
- c:identifier="clutter_stage_get_color"
- doc="Retrieves the stage color.">
+ </virtual-method>
+ <virtual-method name="set_cursor_visible">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="color" transfer-ownership="none">
- <type name="Color" c:type="ClutterColor*"/>
+ <parameter name="cursor_visible" transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
- </method>
- <method name="set_perspective"
- c:identifier="clutter_stage_set_perspective"
- doc="Sets the stage perspective.">
+ </virtual-method>
+ <virtual-method name="set_fullscreen">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="perspective" transfer-ownership="none">
- <type name="Perspective" c:type="ClutterPerspective*"/>
+ <parameter name="is_fullscreen" transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
- </method>
- <method name="get_perspective"
- c:identifier="clutter_stage_get_perspective"
- doc="Retrieves the stage perspective.">
+ </virtual-method>
+ <virtual-method name="set_title">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="perspective" transfer-ownership="none">
- <type name="Perspective" c:type="ClutterPerspective*"/>
+ <parameter name="title" transfer-ownership="none">
+ <type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
- </method>
- <method name="set_fullscreen"
- c:identifier="clutter_stage_set_fullscreen"
- doc="Asks to place the stage window in the fullscreen or unfullscreen
-states.
-Note that you shouldn't assume the window is definitely full screen
-afterward, because other entities (e.g. the user or window manager)
-could unfullscreen it again, and not all window managers honor
-requests to fullscreen windows.
-If you want to receive notification of the fullscreen state you
-should either use the #ClutterStage::fullscreen and
-#ClutterStage::unfullscreen signals, or use the notify signal
-for the #ClutterStage:fullscreen-set property"
- version="1.0">
+ </virtual-method>
+ <virtual-method name="set_user_resizable">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="fullscreen" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <parameter name="is_resizable" transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
- </method>
- <method name="get_fullscreen"
- c:identifier="clutter_stage_get_fullscreen"
- doc="Retrieves whether the stage is full screen or not"
- version="1.0">
+ </virtual-method>
+ <virtual-method name="show">
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
- </method>
- <method name="show_cursor"
- c:identifier="clutter_stage_show_cursor"
- doc="Shows the cursor on the stage window">
+ <parameters>
+ <parameter name="do_raise" transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </parameter>
+ </parameters>
+ </virtual-method>
+ <virtual-method name="unrealize">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
- </method>
- <method name="hide_cursor"
- c:identifier="clutter_stage_hide_cursor"
- doc="Makes the cursor invisible on the stage window"
- version="0.4">
+ </virtual-method>
+ </interface>
+ <record name="StageWindowIface"
+ c:type="ClutterStageWindowIface"
+ glib:is-gtype-struct-for="StageWindow"
+ version="0.8">
+ <doc xml:whitespace="preserve">The interface implemented by backends for stage windows</doc>
+ <field name="parent_iface">
+ <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
+ </field>
+ <field name="get_wrapper" introspectable="0">
+ <callback name="get_wrapper" introspectable="0">
+ <return-value>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </return-value>
+ <parameters>
+ <parameter name="stage_window" transfer-ownership="none">
+ <type name="StageWindow" c:type="ClutterStageWindow*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="set_title">
+ <callback name="set_title">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="stage_window" transfer-ownership="none">
+ <type name="StageWindow" c:type="ClutterStageWindow*"/>
+ </parameter>
+ <parameter name="title" transfer-ownership="none">
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="set_fullscreen">
+ <callback name="set_fullscreen">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="stage_window" transfer-ownership="none">
+ <type name="StageWindow" c:type="ClutterStageWindow*"/>
+ </parameter>
+ <parameter name="is_fullscreen" transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="set_cursor_visible">
+ <callback name="set_cursor_visible">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="stage_window" transfer-ownership="none">
+ <type name="StageWindow" c:type="ClutterStageWindow*"/>
+ </parameter>
+ <parameter name="cursor_visible" transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="set_user_resizable">
+ <callback name="set_user_resizable">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="stage_window" transfer-ownership="none">
+ <type name="StageWindow" c:type="ClutterStageWindow*"/>
+ </parameter>
+ <parameter name="is_resizable" transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="realize">
+ <callback name="realize">
+ <return-value transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="stage_window" transfer-ownership="none">
+ <type name="StageWindow" c:type="ClutterStageWindow*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="unrealize">
+ <callback name="unrealize">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="stage_window" transfer-ownership="none">
+ <type name="StageWindow" c:type="ClutterStageWindow*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="show">
+ <callback name="show">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="stage_window" transfer-ownership="none">
+ <type name="StageWindow" c:type="ClutterStageWindow*"/>
+ </parameter>
+ <parameter name="do_raise" transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="hide">
+ <callback name="hide">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="stage_window" transfer-ownership="none">
+ <type name="StageWindow" c:type="ClutterStageWindow*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="resize">
+ <callback name="resize">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="stage_window" transfer-ownership="none">
+ <type name="StageWindow" c:type="ClutterStageWindow*"/>
+ </parameter>
+ <parameter name="width" transfer-ownership="none">
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="height" transfer-ownership="none">
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="get_geometry">
+ <callback name="get_geometry">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="stage_window" transfer-ownership="none">
+ <type name="StageWindow" c:type="ClutterStageWindow*"/>
+ </parameter>
+ <parameter name="geometry" transfer-ownership="none">
+ <type name="Geometry" c:type="ClutterGeometry*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="get_pending_swaps">
+ <callback name="get_pending_swaps">
+ <return-value transfer-ownership="none">
+ <type name="gint" c:type="int"/>
+ </return-value>
+ <parameters>
+ <parameter name="stage_window" transfer-ownership="none">
+ <type name="StageWindow" c:type="ClutterStageWindow*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="add_redraw_clip">
+ <callback name="add_redraw_clip">
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="stage_window" transfer-ownership="none">
+ <type name="StageWindow" c:type="ClutterStageWindow*"/>
+ </parameter>
+ <parameter name="stage_rectangle" transfer-ownership="none">
+ <type name="Geometry" c:type="ClutterGeometry*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="has_redraw_clips">
+ <callback name="has_redraw_clips">
+ <return-value transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="stage_window" transfer-ownership="none">
+ <type name="StageWindow" c:type="ClutterStageWindow*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ <field name="ignoring_redraw_clips">
+ <callback name="ignoring_redraw_clips">
+ <return-value transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="stage_window" transfer-ownership="none">
+ <type name="StageWindow" c:type="ClutterStageWindow*"/>
+ </parameter>
+ </parameters>
+ </callback>
+ </field>
+ </record>
+ <constant name="Standby" value="269025040">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Start" value="269025050">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <class name="State"
+ c:symbol-prefix="state"
+ c:type="ClutterState"
+ version="1.4"
+ parent="GObject.Object"
+ glib:type-name="ClutterState"
+ glib:get-type="clutter_state_get_type"
+ glib:type-struct="StateClass">
+ <doc xml:whitespace="preserve">The <structname>ClutterState</structname> structure contains only
+private data and should be accessed using the provided API</doc>
+ <implements name="Scriptable"/>
+ <constructor name="new" c:identifier="clutter_state_new">
+ <doc xml:whitespace="preserve">Creates a new #ClutterState</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">the newly create #ClutterState instance</doc>
+ <type name="State" c:type="ClutterState*"/>
+ </return-value>
+ </constructor>
+ <method name="get_animator"
+ c:identifier="clutter_state_get_animator"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the #ClutterAnimator that is being used for transitioning
+between the two states, if any has been set</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </method>
- <method name="get_actor_at_pos"
- c:identifier="clutter_stage_get_actor_at_pos"
- doc="Checks the scene at the coordinates @x and @y and returns a pointer
-to the #ClutterActor at those coordinates.
-By using @pick_mode it is possible to control which actors will be
-painted and thus available.
-if any">
- <return-value transfer-ownership="none"
- doc="the actor at the specified coordinates,">
- <type name="Actor" c:type="ClutterActor*"/>
+ <doc xml:whitespace="preserve">a #ClutterAnimator instance, or %NULL</doc>
+ <type name="Animator" c:type="ClutterAnimator*"/>
</return-value>
<parameters>
- <parameter name="pick_mode" transfer-ownership="none">
- <type name="PickMode" c:type="ClutterPickMode"/>
- </parameter>
- <parameter name="x" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="source_state_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of a source state</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
- <parameter name="y" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="target_state_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of a target state</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
- <method name="read_pixels"
- c:identifier="clutter_stage_read_pixels"
- doc="Makes a screenshot of the stage in RGBA 8bit data, returns a
-linear buffer with @width * 4 as rowstride.
-The alpha data contained in the returned buffer is driver-dependent,
-and not guaranteed to hold any sensible value.
-or %NULL if the read failed. Use g_free() on the returned data
-to release the resources it has allocated.">
- <return-value transfer-ownership="full">
- <array c:type="guchar*">
- <type name="uint8"/>
- </array>
+ <method name="get_duration"
+ c:identifier="clutter_state_get_duration"
+ version="1.4">
+ <doc xml:whitespace="preserve">Queries the duration used for transitions between a source and
+target state pair
+The semantics for the query are the same as the semantics used for
+setting the duration with clutter_state_set_duration()</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the duration, in milliseconds</doc>
+ <type name="guint" c:type="guint"/>
</return-value>
<parameters>
- <parameter name="x" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="y" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="width"
+ <parameter name="source_state_name"
transfer-ownership="none"
- doc=" entire stage width">
- <type name="int" c:type="gint"/>
+ allow-none="1">
+ <doc xml:whitespace="preserve">the name of the source state to get the duration of, or %NULL</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
- <parameter name="height"
+ <parameter name="target_state_name"
transfer-ownership="none"
- doc=" entire stage height">
- <type name="int" c:type="gint"/>
+ allow-none="1">
+ <doc xml:whitespace="preserve">the name of the source state to get the duration of, or %NULL</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
- <method name="event"
- c:identifier="clutter_stage_event"
- doc="This function is used to emit an event on the main stage.
-You should rarely need to use this function, except for
-synthetised events."
- version="0.4">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <method name="get_keys"
+ c:identifier="clutter_state_get_keys"
+ version="1.4">
+ <doc xml:whitespace="preserve">Returns a list of pointers to opaque structures with accessor functions
+that describe the keys added to an animator.
+newly allocated #GList of #ClutterStateKey<!-- -->s. The contents of
+the returned list are owned by the #ClutterState and should not be
+modified or freed. Use g_list_free() to free the resources allocated
+by the returned list when done using it</doc>
+ <return-value transfer-ownership="container">
+ <doc xml:whitespace="preserve">a</doc>
+ <type name="GLib.List" c:type="GList*">
+ <type name="StateKey"/>
+ </type>
</return-value>
<parameters>
- <parameter name="event" transfer-ownership="none">
- <type name="Event" c:type="ClutterEvent*"/>
+ <parameter name="source_state_name"
+ transfer-ownership="none"
+ allow-none="1">
+ <doc xml:whitespace="preserve">the source transition name to query, or %NULL for all source states</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
- </parameters>
- </method>
- <method name="set_title" c:identifier="clutter_stage_set_title">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="title" transfer-ownership="none">
+ <parameter name="target_state_name"
+ transfer-ownership="none"
+ allow-none="1">
+ <doc xml:whitespace="preserve">the target transition name to query, or %NULL for all target states</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="object" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">the specific object instance to list keys for, or %NULL for all managed objects</doc>
+ <type name="GObject.Object" c:type="GObject*"/>
+ </parameter>
+ <parameter name="property_name"
+ transfer-ownership="none"
+ allow-none="1">
+ <doc xml:whitespace="preserve">the property name to search for, or %NULL for all properties.</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
- <method name="get_title" c:identifier="clutter_stage_get_title">
- <return-value transfer-ownership="none">
+ <method name="get_state"
+ c:identifier="clutter_state_get_state"
+ version="1.4">
+ <doc xml:whitespace="preserve">Queries the currently set target state.
+During a transition this function will return the target of the transition.
+This function is useful when called from handlers of the
+#ClutterState::completed signal.
+is owned by the #ClutterState and should not be modified or freed</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a string containing the target state. The returned string</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
</method>
- <method name="set_user_resizable"
- c:identifier="clutter_stage_set_user_resizable"
- doc="Sets if the stage is resizable by user interaction (e.g. via
-window manager controls)"
- version="0.4">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <method name="get_states"
+ c:identifier="clutter_state_get_states"
+ version="1.4">
+ <doc xml:whitespace="preserve">Gets a list of all the state names managed by this #ClutterState.
+#GList of state names. The contents of the returned #GList are owned
+by the #ClutterState and should not be modified or freed. Use
+g_list_free() to free the resources allocated by the returned list when
+done using it</doc>
+ <return-value transfer-ownership="container">
+ <doc xml:whitespace="preserve">a newly allocated</doc>
+ <type name="GLib.List" c:type="GList*">
+ <type name="utf8"/>
+ </type>
</return-value>
- <parameters>
- <parameter name="resizable" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </parameter>
- </parameters>
</method>
- <method name="get_user_resizable"
- c:identifier="clutter_stage_get_user_resizable"
- doc="Retrieves the value set with clutter_stage_set_user_resizable()."
- version="0.4">
+ <method name="get_timeline"
+ c:identifier="clutter_state_get_timeline"
+ version="1.4">
+ <doc xml:whitespace="preserve">Gets the timeline driving the #ClutterState
+the state change animations. The returned timeline is owned
+by the #ClutterState and it should not be unreferenced directly</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">the #ClutterTimeline that drives</doc>
+ <type name="Timeline" c:type="ClutterTimeline*"/>
</return-value>
</method>
- <method name="set_use_fog"
- c:identifier="clutter_stage_set_use_fog"
- doc="Sets whether the depth cueing effect on the stage should be enabled
-or not.
-Depth cueing is a 3D effect that makes actors farther away from the
-viewing point less opaque, by fading them with the stage color.
-The parameters of the GL fog used can be changed using the
-clutter_stage_set_fog() function."
- version="0.6">
+ <method name="remove_key"
+ c:identifier="clutter_state_remove_key"
+ version="1.4">
+ <doc xml:whitespace="preserve">Removes all keys matching the search criteria passed in arguments.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="fog" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <parameter name="source_state_name"
+ transfer-ownership="none"
+ allow-none="1">
+ <doc xml:whitespace="preserve">the source state name to query, or %NULL for all source states</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="target_state_name"
+ transfer-ownership="none"
+ allow-none="1">
+ <doc xml:whitespace="preserve">the target state name to query, or %NULL for all target states</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="object" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">the specific object instance to list keys for, or %NULL for all managed objects</doc>
+ <type name="GObject.Object" c:type="GObject*"/>
+ </parameter>
+ <parameter name="property_name"
+ transfer-ownership="none"
+ allow-none="1">
+ <doc xml:whitespace="preserve">the property name to search for, or %NULL for all properties.</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
- <method name="get_use_fog"
- c:identifier="clutter_stage_get_use_fog"
- doc="Gets whether the depth cueing effect is enabled on @stage."
- version="0.6">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- </method>
- <method name="set_fog"
- c:identifier="clutter_stage_set_fog"
- doc="Sets the fog (also known as "depth cueing") settings for the @stage.
-A #ClutterStage will only use a linear fog progression, which
-depends solely on the distance from the viewer. The cogl_set_fog()
-function in COGL exposes more of the underlying implementation,
-and allows changing the for progression function. It can be directly
-used by disabling the #ClutterStage:use-fog property and connecting
-a signal handler to the #ClutterActor::paint signal on the @stage,
-like:
+ <method name="set"
+ c:identifier="clutter_state_set"
+ version="1.4"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Adds multiple keys to a named state of a #ClutterState instance, specifying
+the easing mode and value a given property of an object should have at a
+given progress of the animation.
+The mode specified is the easing mode used when going to from the previous
+key to the specified key.
+For instance, the code below:
|[
-clutter_stage_set_use_fog (stage, FALSE);
-g_signal_connect (stage, "paint", G_CALLBACK (on_stage_paint), NULL);
+clutter_state_set (state, NULL, "hover",
+button, "opacity", 255, CLUTTER_LINEAR,
+button, "scale-x", 1.2, CLUTTER_EASE_OUT_CUBIC,
+button, "scale-y", 1.2, CLUTTER_EASE_OUT_CUBIC,
+NULL);
]|
-The paint signal handler will call cogl_set_fog() with the
-desired settings:
+will create a transition from any state (a @source_state_name of NULL is
+treated as a wildcard) and a state named "hover"; the
+<emphasis>button</emphasis> object will have the #ClutterActor:opacity
+property animated to a value of 255 using %CLUTTER_LINEAR as the animation
+mode, and the #ClutterActor:scale-x and #ClutterActor:scale-y properties
+animated to a value of 1.2 using %CLUTTER_EASE_OUT_CUBIC as the animation
+mode. To change the state (and start the transition) you can use the
+clutter_state_change() function:
|[
-static void
-on_stage_paint (ClutterActor *actor)
-{
-ClutterColor stage_color = { 0, };
-CoglColor fog_color = { 0, };
-/&ast; set the fog color to the stage background color &ast;/
-clutter_stage_get_color (CLUTTER_STAGE (actor), &amp;stage_color);
-cogl_color_set_from_4ub (&amp;fog_color,
-stage_color.red,
-stage_color.green,
-stage_color.blue,
-stage_color.alpha);
-/&ast; enable fog &ast;/
-cogl_set_fog (&amp;fog_color,
-COGL_FOG_MODE_EXPONENTIAL, /&ast; mode &ast;/
-0.5, /&ast; density &ast;/
-5.0, 30.0); /&ast; z_near and z_far &ast;/
-}
+clutter_state_change (state, "hover", TRUE);
]|
-unmultiplied alpha colors. By default Cogl will premultiply textures
-and cogl_set_source_color will premultiply colors, so unless you
-explicitly load your textures requesting an unmultiplied
-internal_format and use cogl_material_set_color you can only use
-fogging with fully opaque actors.
-We can look to improve this in the future when we can depend on
-fragment shaders."
- version="0.6">
+If a given object, state_name, property tuple already exist in the
+#ClutterState instance, then the mode and value will be replaced with
+the new specified values.
+If a property name is prefixed with "delayed::" two additional
+to pause before transitioning and a similar value to pause after
+transitioning, e.g.:
+|[
+clutter_state_set (state, "hover", "toggled",
+button, "delayed::scale-x", 1.0, 0.2, 0.2,
+button, "delayed::scale-y", 1.0, 0.2, 0.2,
+NULL);
+]|
+will pause for 20% of the duration of the transition before animating,
+and 20% of the duration after animating.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="fog" transfer-ownership="none">
- <type name="Fog" c:type="ClutterFog*"/>
+ <parameter name="source_state_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the source state keys are being added for</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
- </parameters>
- </method>
- <method name="get_fog"
- c:identifier="clutter_stage_get_fog"
- doc="Retrieves the current depth cueing settings from the stage."
- version="0.6">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="fog" transfer-ownership="none">
- <type name="Fog" c:type="ClutterFog*"/>
+ <parameter name="target_state_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the target state keys are being added for</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
- </parameters>
- </method>
- <method name="set_key_focus"
- c:identifier="clutter_stage_set_key_focus"
- doc="Sets the key focus on @actor. An actor with key focus will receive
-all the key events. If @actor is %NULL, the stage will receive
-focus."
- version="0.6">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="actor"
- transfer-ownership="none"
- allow-none="1"
- doc="the actor to set key focus to, or %NULL">
- <type name="Actor" c:type="ClutterActor*"/>
+ <parameter name="first_object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GObject</doc>
+ <type name="gpointer" c:type="gpointer"/>
+ </parameter>
+ <parameter name="first_property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a property of @first_object to specify a key for</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="first_mode" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the id of the alpha function to use</doc>
+ <type name="gulong" c:type="gulong"/>
+ </parameter>
+ <parameter transfer-ownership="none">
+ <varargs>
+ </varargs>
</parameter>
</parameters>
</method>
- <method name="get_key_focus"
- c:identifier="clutter_stage_get_key_focus"
- doc="Retrieves the actor that is currently under key focus."
- version="0.6">
- <return-value transfer-ownership="none"
- doc="the actor with key focus, or the stage">
- <type name="Actor" c:type="ClutterActor*"/>
- </return-value>
- </method>
- <method name="ensure_current"
- c:identifier="clutter_stage_ensure_current"
- doc="This function essentially makes sure the right GL context is
-current for the passed stage. It is not intended to
-be used by applications."
- version="0.8">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </method>
- <method name="queue_redraw"
- c:identifier="clutter_stage_queue_redraw"
- doc="Queues a redraw for the passed stage.
-<note>Applications should call clutter_actor_queue_redraw() and not
-this function.</note>
-<note>This function is just a wrapper for clutter_actor_queue_redraw()
-and should probably go away.</note>"
- version="0.8">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </method>
- <method name="is_default"
- c:identifier="clutter_stage_is_default"
- doc="Checks if @stage is the default stage, or an instance created using
-clutter_stage_new() but internally using the same implementation."
- version="0.8">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- </method>
- <method name="ensure_viewport"
- c:identifier="clutter_stage_ensure_viewport"
- doc="Ensures that the GL viewport is updated with the current
-stage window size.
-This function will queue a redraw of @stage.
-This function should not be called by applications; it is used
-when embedding a #ClutterStage into a toolkit with another
-windowing system, like GTK+."
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </method>
- <method name="ensure_redraw"
- c:identifier="clutter_stage_ensure_redraw"
- doc="Ensures that @stage is redrawn
-used when embedding a #ClutterStage into a toolkit with
-another windowing system, like GTK+."
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </method>
- <method name="set_throttle_motion_events"
- c:identifier="clutter_stage_set_throttle_motion_events"
- doc="Sets whether motion events received between redraws should
-be throttled or not. If motion events are throttled, those
-events received by the windowing system between redraws will
-be compressed so that only the last event will be propagated
-to the @stage and its actors.
-This function should only be used if you want to have all
-the motion events delivered to your application code."
- version="1.0">
+ <method name="set_animator"
+ c:identifier="clutter_state_set_animator"
+ version="1.4">
+ <doc xml:whitespace="preserve">Specifies a #ClutterAnimator to be used when transitioning between
+the two named states.
+The @animator allows specifying a transition between the state that is
+more elaborate than the basic transitions allowed by the tweening of
+properties defined in the #ClutterState keys.
+If @animator is %NULL it will unset an existing animator.
+#ClutterState will take a reference on the passed @animator, if any</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="throttle" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <parameter name="source_state_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of a source state</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
- </parameters>
- </method>
- <method name="get_throttle_motion_events"
- c:identifier="clutter_stage_get_throttle_motion_events"
- doc="Retrieves the value set with clutter_stage_set_throttle_motion_events()
-and %FALSE otherwise"
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
+ <parameter name="target_state_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of a target state</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="animator" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">a #ClutterAnimator instance, or %NULL to unset an existing #ClutterAnimator</doc>
+ <type name="Animator" c:type="ClutterAnimator*"/>
+ </parameter>
+ </parameters>
</method>
- <method name="set_use_alpha"
- c:identifier="clutter_stage_set_use_alpha"
- doc="Sets whether the @stage should honour the #ClutterActor:opacity and
-the alpha channel of the #ClutterStage:color"
- version="1.2">
+ <method name="set_duration"
+ c:identifier="clutter_state_set_duration"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets the duration of a transition.
+If both state names are %NULL the default duration for @state is set.
+If only @target_state_name is specified, the passed @duration becomes
+the default duration for transitions to the target state.
+If both states names are specified, the passed @duration only applies
+to the specified transition.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="use_alpha"
+ <parameter name="source_state_name"
+ transfer-ownership="none"
+ allow-none="1">
+ <doc xml:whitespace="preserve">the name of the source state, or %NULL</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="target_state_name"
transfer-ownership="none"
- doc=" alpha channel of the stage color">
- <type name="boolean" c:type="gboolean"/>
+ allow-none="1">
+ <doc xml:whitespace="preserve">the name of the target state, or %NULL</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="duration" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the duration of the transition, in milliseconds</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
- <method name="get_use_alpha"
- c:identifier="clutter_stage_get_use_alpha"
- doc="Retrieves the value set using clutter_stage_set_use_alpha()
-alpha channel of the stage color"
- version="1.2">
+ <method name="set_key"
+ c:identifier="clutter_state_set_key"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets one specific end key for a state_name, object, property_name
+combination.
+chaining of multiple calls</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">the #ClutterState instance, allowing</doc>
+ <type name="State" c:type="ClutterState*"/>
</return-value>
+ <parameters>
+ <parameter name="source_state_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the source transition to specify transition for or NULL to specify the default fallback when a more specific source_state doesn't exist.</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="target_state_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the transition to set a key value for.</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #GObject to set a key for</doc>
+ <type name="GObject.Object" c:type="GObject*"/>
+ </parameter>
+ <parameter name="property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the property to set a key for</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="mode" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the id of the alpha function to use</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the value for property_name of object in state_name</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
+ <parameter name="pre_delay" transfer-ownership="none">
+ <doc xml:whitespace="preserve">relative time of the transition to be idle in the beginning of the transition</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="post_delay" transfer-ownership="none">
+ <doc xml:whitespace="preserve">relative time of the transition to be idle in the end of the transition</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ </parameters>
</method>
- <method name="set_minimum_size"
- c:identifier="clutter_stage_set_minimum_size"
- doc="Sets the minimum size for a stage window, if the default backend
-uses #ClutterStage inside a window
-This is a convenience function, and it is equivalent to setting the
-#ClutterActor:min-width and #ClutterActor:min-height on @stage
-If the current size of @stage is smaller than the minimum size, the
-This function has no effect if @stage is fullscreen"
- version="1.2">
+ <method name="set_state"
+ c:identifier="clutter_state_set_state"
+ version="1.4">
+ <doc xml:whitespace="preserve">Change the current state of #ClutterState to @target_state_name
+The state will animate during its transition, see
+#clutter_state_warp_to_state for animation-free state switching.
+state transition. The returned timeline is owned by the #ClutterState
+and it should not be unreferenced</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the #ClutterTimeline that drives the</doc>
+ <type name="Timeline" c:type="ClutterTimeline*"/>
</return-value>
<parameters>
- <parameter name="width" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- <parameter name="height" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <parameter name="target_state_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the state to transition to</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
- <method name="get_minimum_size"
- c:identifier="clutter_stage_get_minimum_size"
- doc="Retrieves the minimum size for a stage window as set using
-clutter_stage_set_minimum_size().
-The returned size may not correspond to the actual minimum size and
-it is specific to the #ClutterStage implementation inside the
-Clutter backend"
- version="1.2">
+ <method name="warp_to_state"
+ c:identifier="clutter_state_warp_to_state"
+ version="1.4">
+ <doc xml:whitespace="preserve">Change the current state of #ClutterState to @target_state_name
+Change to the specified target state immediately with no animation.
+state transition. The returned timeline is owned by the #ClutterState
+and it should not be unreferenced</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the #ClutterTimeline that drives the</doc>
+ <type name="Timeline" c:type="ClutterTimeline*"/>
</return-value>
<parameters>
- <parameter name="width"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- doc="return location for the minimum width, in pixels, or %NULL">
- <type name="uint" c:type="guint*"/>
- </parameter>
- <parameter name="height"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- doc="return location for the minimum height, in pixels, or %NULL">
- <type name="uint" c:type="guint*"/>
+ <parameter name="target_state_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the state to transition to</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
- <property name="color" writable="1" doc="The color of the main stage.">
- <type name="Color" c:type="ClutterColor"/>
- </property>
- <property name="cursor-visible"
- writable="1"
- doc="Whether the mouse pointer should be visible">
- <type name="boolean" c:type="gboolean"/>
- </property>
- <property name="fog"
- version="1.0"
- writable="1"
- doc="The settings for the GL "fog", used only if #ClutterStage:use-fog
-is set to %TRUE">
- <type name="Fog" c:type="ClutterFog"/>
- </property>
- <property name="fullscreen-set">
- <type name="boolean" c:type="gboolean"/>
- </property>
- <property name="key-focus"
- version="1.2"
- writable="1"
- doc="The #ClutterActor that will receive key events from the underlying
-windowing system.
-If %NULL, the #ClutterStage will receive the events.">
- <type name="Actor" c:type="ClutterActor"/>
- </property>
- <property name="offscreen"
- writable="1"
- doc="Whether the stage should be rendered in an offscreen buffer.
-<warning><para>Not every backend supports redirecting the
-stage to an offscreen buffer. This property might not work
-and it might be deprecated at any later date.</para></warning>">
- <type name="boolean" c:type="gboolean"/>
- </property>
- <property name="perspective"
- version="0.8.2"
- writable="1"
- doc="The parameters used for the perspective projection from 3D
-coordinates to 2D">
- <type name="Perspective" c:type="ClutterPerspective"/>
- </property>
- <property name="title"
- version="0.4"
- writable="1"
- doc="The stage's title - usually displayed in stage windows title decorations.">
- <type name="utf8" c:type="gchararray"/>
- </property>
- <property name="use-alpha"
- version="1.2"
- writable="1"
- doc="Whether the #ClutterStage should honour the alpha component of the
-#ClutterStage:color property when painting. If Clutter is run under
-a compositing manager this will result in the stage being blended
-with the underlying window(s)">
- <type name="boolean" c:type="gboolean"/>
- </property>
- <property name="use-fog"
- version="0.6"
- writable="1"
- doc="Whether the stage should use a linear GL "fog" in creating the
-depth-cueing effect, to enhance the perception of depth by fading
-actors farther from the viewpoint.">
- <type name="boolean" c:type="gboolean"/>
+ <property name="duration" writable="1" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Default duration used if an duration has not been specified for a specific
+source/target state pair. The values is in milliseconds.</doc>
+ <type name="guint"/>
</property>
- <property name="user-resizable"
- version="0.4"
- writable="1"
- doc="Whether the stage is resizable via user interaction.">
- <type name="boolean" c:type="gboolean"/>
+ <property name="state" writable="1" transfer-ownership="none">
+ <doc xml:whitespace="preserve">The currently set target state, setting it causes the
+state machine to transition to the new state, use
+clutter_state_change() with a final FALSE argument to
+change state without a transition.</doc>
+ <type name="utf8"/>
</property>
- <field name="parent_instance">
- <type name="Group" c:type="ClutterGroup"/>
+ <field name="parent">
+ <type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv">
- <type name="StagePrivate" c:type="ClutterStagePrivate*"/>
+ <type name="StatePrivate" c:type="ClutterStatePrivate*"/>
</field>
- <glib:signal name="activate">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
- </return-value>
- </glib:signal>
- <glib:signal name="deactivate">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
- </return-value>
- </glib:signal>
- <glib:signal name="delete-event"
- doc="The ::delete-event signal is emitted when the user closes a
-#ClutterStage window using the window controls.
-Clutter by default will call clutter_main_quit() if @stage is
-the default stage, and clutter_actor_destroy() for any other
-stage.
-It is possible to override the default behaviour by connecting
-a new handler and returning %TRUE there.
-<note>This signal is emitted only on Clutter backends that
-embed #ClutterStage in native windows. It is not emitted for
-backends that use a static frame buffer.</note>"
- version="1.2">
- <return-value transfer-ownership="full">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- <parameters>
- <parameter name="event" transfer-ownership="none">
- <type name="Event" c:type="ClutterEvent"/>
- </parameter>
- </parameters>
- </glib:signal>
- <glib:signal name="fullscreen">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
- </return-value>
- </glib:signal>
- <glib:signal name="unfullscreen">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
+ <glib:signal name="completed" version="1.4">
+ <doc xml:whitespace="preserve">The ::completed signal is emitted when a #ClutterState reaches
+the target state specified by clutter_state_change()</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
</return-value>
</glib:signal>
</class>
- <record name="StageClass"
- c:type="ClutterStageClass"
- glib:is-gtype-struct-for="Stage"
- doc="The #ClutterStageClass structure contains only private data"
- version="0.1">
+ <record name="StateClass"
+ c:type="ClutterStateClass"
+ glib:is-gtype-struct-for="State"
+ version="1.4">
+ <doc xml:whitespace="preserve">The <structname>ClutterStateClass</structname> structure contains
+only private data</doc>
<field name="parent_class">
- <type name="GroupClass" c:type="ClutterGroupClass"/>
- </field>
- <field name="fullscreen">
- <callback name="fullscreen" c:type="fullscreen">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="stage" transfer-ownership="none">
- <type name="Stage" c:type="ClutterStage*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="unfullscreen">
- <callback name="unfullscreen" c:type="unfullscreen">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="stage" transfer-ownership="none">
- <type name="Stage" c:type="ClutterStage*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="activate">
- <callback name="activate" c:type="activate">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="stage" transfer-ownership="none">
- <type name="Stage" c:type="ClutterStage*"/>
- </parameter>
- </parameters>
- </callback>
+ <type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
- <field name="deactivate">
- <callback name="deactivate" c:type="deactivate">
+ <field name="completed">
+ <callback name="completed">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="stage" transfer-ownership="none">
- <type name="Stage" c:type="ClutterStage*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="delete_event">
- <callback name="delete_event" c:type="delete_event">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- <parameters>
- <parameter name="stage" transfer-ownership="none">
- <type name="Stage" c:type="ClutterStage*"/>
- </parameter>
- <parameter name="event" transfer-ownership="none">
- <type name="Event" c:type="ClutterEvent*"/>
+ <parameter name="state" transfer-ownership="none">
+ <type name="State" c:type="ClutterState*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="_padding_dummy">
- <array zero-terminated="0" c:type="gpointer" fixed-size="31">
- <type name="any"/>
+ <array zero-terminated="0" c:type="gpointer" fixed-size="8">
+ <type name="gpointer" c:type="gpointer"/>
</array>
</field>
</record>
- <class name="StageManager"
- c:type="ClutterStageManager"
- doc="The #ClutterStageManager structure is private."
- version="1.0"
- parent="GObject.Object"
- glib:type-name="ClutterStageManager"
- glib:get-type="clutter_stage_manager_get_type"
- glib:type-struct="StageManagerClass">
- <function name="get_default"
- c:identifier="clutter_stage_manager_get_default"
- doc="Returns the default #ClutterStageManager.
-object is owned by Clutter and you should not reference or unreference it."
- version="0.8">
- <return-value transfer-ownership="none"
- doc="the default stage manager instance. The returned">
- <type name="StageManager" c:type="ClutterStageManager*"/>
+ <record name="StateKey"
+ c:type="ClutterStateKey"
+ version="1.4"
+ glib:type-name="ClutterStateKey"
+ glib:get-type="clutter_state_key_get_type"
+ c:symbol-prefix="state_key">
+ <doc xml:whitespace="preserve"><structname>ClutterStateKey</structname> is an opaque structure whose
+members cannot be accessed directly</doc>
+ <method name="get_mode"
+ c:identifier="clutter_state_key_get_mode"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the easing mode used for @state_key.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the mode of a #ClutterStateKey</doc>
+ <type name="gulong" c:type="gulong"/>
+ </return-value>
+ </method>
+ <method name="get_object"
+ c:identifier="clutter_state_key_get_object"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the object instance this #ClutterStateKey applies to.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the object this state key applies to.</doc>
+ <type name="GObject.Object" c:type="GObject*"/>
+ </return-value>
+ </method>
+ <method name="get_post_delay"
+ c:identifier="clutter_state_key_get_post_delay"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the duration of the pause after transitioning is complete
+as a fraction of the total transition time.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the post delay, used after doing the transition.</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </return-value>
+ </method>
+ <method name="get_pre_delay"
+ c:identifier="clutter_state_key_get_pre_delay"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the pause before transitioning starts as a fraction of
+the total transition time.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the pre delay used before starting the transition.</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </return-value>
+ </method>
+ <method name="get_property_name"
+ c:identifier="clutter_state_key_get_property_name"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the name of the property this #ClutterStateKey applies to
+by the #ClutterStateKey and should never be modified or freed</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the property. The returned string is owned</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </return-value>
+ </method>
+ <method name="get_property_type"
+ c:identifier="clutter_state_key_get_property_type"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the #GType of the property a key applies to
+You can use this type to initialize the #GValue to pass to
+clutter_state_key_get_value()</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #GType of the property</doc>
+ <type name="GType" c:type="GType"/>
+ </return-value>
+ </method>
+ <method name="get_source_state_name"
+ c:identifier="clutter_state_key_get_source_state_name"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the name of the source state of the @state_key
+if this is the generic state key for the given property when
+transitioning to the target state. The returned string is owned
+by the #ClutterStateKey and should never be modified or freed</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the source state for this key, or %NULL</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </return-value>
+ </method>
+ <method name="get_target_state_name"
+ c:identifier="clutter_state_key_get_target_state_name"
+ version="1.4">
+ <doc xml:whitespace="preserve">Get the name of the source state this #ClutterStateKey contains,
+or NULL if this is the generic state key for the given property
+when transitioning to the target state.
+the key is generic</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the source state for this key, or NULL if</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </return-value>
+ </method>
+ <method name="get_value"
+ c:identifier="clutter_state_key_get_value"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves a copy of the value for a #ClutterStateKey.
+The #GValue needs to be already initialized for the value type
+of the property or to a type that allow transformation from the value
+type of the key.
+Use g_value_unset() when done.
+and %FALSE otherwise</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the value was successfully retrieved,</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GValue initialized with the correct type for the @state_key</doc>
+ <type name="GObject.Value" c:type="GValue*"/>
+ </parameter>
+ </parameters>
+ </method>
+ </record>
+ <record name="StatePrivate" c:type="ClutterStatePrivate" disguised="1">
+ </record>
+ <constant name="StickyKeys_Enable" value="65141">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Stop" value="269025064">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Subtitle" value="269025178">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Super_L" value="65515">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Super_R" value="65516">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Support" value="269025150">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Suspend" value="269025191">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Switch_VT_1" value="269024769">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Switch_VT_10" value="269024778">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Switch_VT_11" value="269024779">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Switch_VT_12" value="269024780">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Switch_VT_2" value="269024770">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Switch_VT_3" value="269024771">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Switch_VT_4" value="269024772">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Switch_VT_5" value="269024773">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Switch_VT_6" value="269024774">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Switch_VT_7" value="269024775">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Switch_VT_8" value="269024776">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Switch_VT_9" value="269024777">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Sys_Req" value="65301">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="T" value="84">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="THORN" value="222">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Tab" value="65289">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <enumeration name="TableAlignment"
+ version="1.4"
+ glib:type-name="ClutterTableAlignment"
+ glib:get-type="clutter_table_alignment_get_type"
+ c:type="ClutterTableAlignment">
+ <doc xml:whitespace="preserve">The alignment policies available on each axis of the #ClutterTableLayout</doc>
+ <member name="start"
+ value="0"
+ c:identifier="CLUTTER_TABLE_ALIGNMENT_START"
+ glib:nick="start"/>
+ <member name="center"
+ value="1"
+ c:identifier="CLUTTER_TABLE_ALIGNMENT_CENTER"
+ glib:nick="center"/>
+ <member name="end"
+ value="2"
+ c:identifier="CLUTTER_TABLE_ALIGNMENT_END"
+ glib:nick="end"/>
+ </enumeration>
+ <class name="TableLayout"
+ c:symbol-prefix="table_layout"
+ c:type="ClutterTableLayout"
+ version="1.4"
+ parent="LayoutManager"
+ glib:type-name="ClutterTableLayout"
+ glib:get-type="clutter_table_layout_get_type"
+ glib:type-struct="TableLayoutClass">
+ <doc xml:whitespace="preserve">The #ClutterTableLayout structure contains only private data
+and should be accessed using the provided API</doc>
+ <constructor name="new"
+ c:identifier="clutter_table_layout_new"
+ version="1.4">
+ <doc xml:whitespace="preserve">Creates a new #ClutterTableLayout layout manager</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the newly created #ClutterTableLayout</doc>
+ <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
</return-value>
- </function>
- <method name="get_default_stage"
- c:identifier="clutter_stage_manager_get_default_stage"
- doc="Returns the default #ClutterStage.
-is owned by Clutter and you should never reference or unreference it"
- version="0.8">
- <return-value transfer-ownership="none"
- doc="the default stage. The returned object">
- <type name="Stage" c:type="ClutterStage*"/>
+ </constructor>
+ <method name="get_alignment"
+ c:identifier="clutter_table_layout_get_alignment"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the horizontal and vertical alignment policies for @actor
+as set using clutter_table_layout_pack() or
+clutter_table_layout_set_alignment().</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor child of @layout</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="x_align"
+ direction="out"
+ caller-allocates="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">return location for the horizontal alignment policy</doc>
+ <type name="TableAlignment" c:type="ClutterTableAlignment*"/>
+ </parameter>
+ <parameter name="y_align"
+ direction="out"
+ caller-allocates="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">return location for the vertical alignment policy</doc>
+ <type name="TableAlignment" c:type="ClutterTableAlignment*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="get_column_count"
+ c:identifier="clutter_table_layout_get_column_count"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieve the current number of columns in @layout</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the number of columns</doc>
+ <type name="gint" c:type="gint"/>
</return-value>
</method>
- <method name="list_stages"
- c:identifier="clutter_stage_manager_list_stages"
- doc="Lists all currently used stages.
-allocated list of #ClutterStage objects. Use g_slist_free() to
-deallocate it when done."
- version="0.8">
- <return-value transfer-ownership="container" doc="a newly">
- <type name="GLib.SList" c:type="GSList*">
- <type name="Stage"/>
- </type>
+ <method name="get_column_spacing"
+ c:identifier="clutter_table_layout_get_column_spacing"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the spacing set using clutter_table_layout_set_column_spacing()</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the spacing between columns of the #ClutterTableLayout</doc>
+ <type name="guint" c:type="guint"/>
</return-value>
</method>
- <method name="peek_stages"
- c:identifier="clutter_stage_manager_peek_stages"
- doc="Lists all currently used stages.
-to the internal list of #ClutterStage objects. The returned list
-is owned by the #ClutterStageManager and should never be modified
-or freed"
- version="1.0">
- <return-value transfer-ownership="none" doc="a pointer">
- <type name="GLib.SList" c:type="GSList*">
- <type name="Stage"/>
- </type>
+ <method name="get_easing_duration"
+ c:identifier="clutter_table_layout_get_easing_duration"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the duration set using clutter_table_layout_set_easing_duration()</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the duration of the animations, in milliseconds</doc>
+ <type name="guint" c:type="guint"/>
</return-value>
</method>
- <method name="set_default_stage"
- c:identifier="clutter_stage_manager_set_default_stage"
- doc="Sets @stage as the default stage."
- version="0.8"
- deprecated="Calling this function has no effect"
- deprecated-version="1.2">
+ <method name="get_easing_mode"
+ c:identifier="clutter_table_layout_get_easing_mode"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the easing mode set using clutter_table_layout_set_easing_mode()</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">an easing mode</doc>
+ <type name="gulong" c:type="gulong"/>
+ </return-value>
+ </method>
+ <method name="get_expand"
+ c:identifier="clutter_table_layout_get_expand"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the horizontal and vertical expand policies for @actor
+as set using clutter_table_layout_pack() or clutter_table_layout_set_expand()</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="stage" transfer-ownership="none">
- <type name="Stage" c:type="ClutterStage*"/>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor child of @layout</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="x_expand"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the horizontal expand policy</doc>
+ <type name="gboolean" c:type="gboolean*"/>
+ </parameter>
+ <parameter name="y_expand"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the vertical expand policy</doc>
+ <type name="gboolean" c:type="gboolean*"/>
</parameter>
</parameters>
</method>
- <property name="default-stage"
- version="0.8"
- doc="The default stage used by Clutter.">
- <type name="Stage" c:type="ClutterStage"/>
- </property>
- <glib:signal name="stage-added"
- doc="The ::stage-added signal is emitted each time a new #ClutterStage
-has been added to the stage manager."
- version="0.8">
- <return-value transfer-ownership="full">
+ <method name="get_fill"
+ c:identifier="clutter_table_layout_get_fill"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the horizontal and vertical fill policies for @actor
+as set using clutter_table_layout_pack() or clutter_table_layout_set_fill()</doc>
+ <return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="stage" transfer-ownership="none">
- <type name="Stage" c:type="ClutterStage"/>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor child of @layout</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="x_fill"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the horizontal fill policy</doc>
+ <type name="gboolean" c:type="gboolean*"/>
+ </parameter>
+ <parameter name="y_fill"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the vertical fill policy</doc>
+ <type name="gboolean" c:type="gboolean*"/>
</parameter>
</parameters>
- </glib:signal>
- <glib:signal name="stage-removed"
- doc="The ::stage-removed signal is emitted each time a #ClutterStage
-has been removed from the stage manager."
- version="0.8">
- <return-value transfer-ownership="full">
+ </method>
+ <method name="get_row_count"
+ c:identifier="clutter_table_layout_get_row_count"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieve the current number rows in the @layout</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the number of rows</doc>
+ <type name="gint" c:type="gint"/>
+ </return-value>
+ </method>
+ <method name="get_row_spacing"
+ c:identifier="clutter_table_layout_get_row_spacing"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the spacing set using clutter_table_layout_set_row_spacing()</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the spacing between rows of the #ClutterTableLayout</doc>
+ <type name="guint" c:type="guint"/>
+ </return-value>
+ </method>
+ <method name="get_span"
+ c:identifier="clutter_table_layout_get_span"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the row and column span for @actor as set using
+clutter_table_layout_pack() or clutter_table_layout_set_span()</doc>
+ <return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="stage" transfer-ownership="none">
- <type name="Stage" c:type="ClutterStage"/>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor child of @layout</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="column_span"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the col span</doc>
+ <type name="gint" c:type="gint*"/>
+ </parameter>
+ <parameter name="row_span"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the row span</doc>
+ <type name="gint" c:type="gint*"/>
</parameter>
</parameters>
- </glib:signal>
- </class>
- <record name="StageManagerClass"
- c:type="ClutterStageManagerClass"
- glib:is-gtype-struct-for="StageManager"
- doc="The #ClutterStageManagerClass structure contains only private data
-and should be accessed using the provided API"
- version="1.0">
- <field name="parent_class">
- <type name="GObject.ObjectClass" c:type="GObjectClass"/>
- </field>
- <field name="stage_added">
- <callback name="stage_added" c:type="stage_added">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="stage_manager" transfer-ownership="none">
- <type name="StageManager" c:type="ClutterStageManager*"/>
- </parameter>
- <parameter name="stage" transfer-ownership="none">
- <type name="Stage" c:type="ClutterStage*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="stage_removed">
- <callback name="stage_removed" c:type="stage_removed">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="stage_manager" transfer-ownership="none">
- <type name="StageManager" c:type="ClutterStageManager*"/>
- </parameter>
- <parameter name="stage" transfer-ownership="none">
- <type name="Stage" c:type="ClutterStage*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- </record>
- <record name="StagePrivate" c:type="ClutterStagePrivate">
- </record>
- <bitfield name="StageState"
- doc="Stage state masks"
- version="0.4"
- glib:type-name="ClutterStageState"
- glib:get-type="clutter_stage_state_get_type"
- c:type="ClutterStageState">
- <member name="fullscreen"
- value="2"
- c:identifier="CLUTTER_STAGE_STATE_FULLSCREEN"
- glib:nick="fullscreen"/>
- <member name="offscreen"
- value="4"
- c:identifier="CLUTTER_STAGE_STATE_OFFSCREEN"
- glib:nick="offscreen"/>
- <member name="activated"
- value="8"
- c:identifier="CLUTTER_STAGE_STATE_ACTIVATED"
- glib:nick="activated"/>
- </bitfield>
- <record name="StageStateEvent"
- c:type="ClutterStageStateEvent"
- doc="Event signalling a change in the #ClutterStage state."
- version="0.2">
- <field name="type" writable="1">
- <type name="EventType" c:type="ClutterEventType"/>
- </field>
- <field name="time" writable="1">
- <type name="uint32" c:type="guint32"/>
- </field>
- <field name="flags" writable="1">
- <type name="EventFlags" c:type="ClutterEventFlags"/>
- </field>
- <field name="stage" writable="1">
- <type name="Stage" c:type="ClutterStage*"/>
- </field>
- <field name="source" writable="1">
- <type name="Actor" c:type="ClutterActor*"/>
- </field>
- <field name="changed_mask" writable="1">
- <type name="StageState" c:type="ClutterStageState"/>
- </field>
- <field name="new_state" writable="1">
- <type name="StageState" c:type="ClutterStageState"/>
- </field>
- </record>
- <interface name="StageWindow"
- c:type="ClutterStageWindow"
- glib:type-name="ClutterStageWindow"
- glib:get-type="clutter_stage_window_get_type"
- glib:type-struct="StageWindowIface">
- <virtual-method name="get_wrapper">
- <return-value transfer-ownership="full">
- <type name="Actor" c:type="ClutterActor*"/>
+ </method>
+ <method name="get_use_animations"
+ c:identifier="clutter_table_layout_get_use_animations"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves whether @layout should animate changes in the layout properties
+Since clutter_table_layout_set_use_animations()</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the animations should be used, %FALSE otherwise</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
- </virtual-method>
- <virtual-method name="set_title">
+ </method>
+ <method name="pack"
+ c:identifier="clutter_table_layout_pack"
+ version="1.4">
+ <doc xml:whitespace="preserve">Packs @actor inside the #ClutterContainer associated to @layout
+at the given row and column.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="title" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="column" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the column the @actor should be put, or -1 to append</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="row" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the row the @actor should be put, or -1 to append</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
</parameters>
- </virtual-method>
- <virtual-method name="set_fullscreen">
+ </method>
+ <method name="set_alignment"
+ c:identifier="clutter_table_layout_set_alignment"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets the horizontal and vertical alignment policies for @actor
+inside @layout</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="is_fullscreen" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor child of @layout</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="x_align" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Horizontal alignment policy for @actor</doc>
+ <type name="TableAlignment" c:type="ClutterTableAlignment"/>
+ </parameter>
+ <parameter name="y_align" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Vertical alignment policy for @actor</doc>
+ <type name="TableAlignment" c:type="ClutterTableAlignment"/>
</parameter>
</parameters>
- </virtual-method>
- <virtual-method name="set_cursor_visible">
+ </method>
+ <method name="set_column_spacing"
+ c:identifier="clutter_table_layout_set_column_spacing"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets the spacing between columns of @layout</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="cursor_visible" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <parameter name="spacing" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the spacing between columns of the layout, in pixels</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
</parameters>
- </virtual-method>
- <virtual-method name="set_user_resizable">
+ </method>
+ <method name="set_easing_duration"
+ c:identifier="clutter_table_layout_set_easing_duration"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets the duration of the animations used by @layout when animating changes
+in the layout properties
+Use clutter_table_layout_set_use_animations() to enable and disable the
+animations</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="is_resizable" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <parameter name="msecs" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the duration of the animations, in milliseconds</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
</parameters>
- </virtual-method>
- <virtual-method name="realize">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- </virtual-method>
- <virtual-method name="unrealize">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </virtual-method>
- <virtual-method name="show">
+ </method>
+ <method name="set_easing_mode"
+ c:identifier="clutter_table_layout_set_easing_mode"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets the easing mode to be used by @layout when animating changes in layout
+properties
+Use clutter_table_layout_set_use_animations() to enable and disable the
+animations</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="do_raise" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <parameter name="mode" transfer-ownership="none">
+ <doc xml:whitespace="preserve">an easing mode, either from #ClutterAnimationMode or a logical id from clutter_alpha_register_func()</doc>
+ <type name="gulong" c:type="gulong"/>
</parameter>
</parameters>
- </virtual-method>
- <virtual-method name="hide">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </virtual-method>
- <virtual-method name="resize">
+ </method>
+ <method name="set_expand"
+ c:identifier="clutter_table_layout_set_expand"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets the horizontal and vertical expand policies for @actor
+inside @layout</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="width" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor child of @layout</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</parameter>
- <parameter name="height" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="x_expand" transfer-ownership="none">
+ <doc xml:whitespace="preserve">whether @actor should allocate extra space horizontally</doc>
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
- </parameters>
- </virtual-method>
- <virtual-method name="get_geometry">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="geometry" transfer-ownership="none">
- <type name="Geometry" c:type="ClutterGeometry*"/>
+ <parameter name="y_expand" transfer-ownership="none">
+ <doc xml:whitespace="preserve">whether @actor should allocate extra space vertically</doc>
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
- </virtual-method>
- <virtual-method name="get_pending_swaps">
- <return-value transfer-ownership="none">
- <type name="int" c:type="int"/>
- </return-value>
- </virtual-method>
- <virtual-method name="add_redraw_clip">
+ </method>
+ <method name="set_fill"
+ c:identifier="clutter_table_layout_set_fill"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets the horizontal and vertical fill policies for @actor
+inside @layout</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="stage_rectangle" transfer-ownership="none">
- <type name="Geometry" c:type="ClutterGeometry*"/>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor child of @layout</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="x_fill" transfer-ownership="none">
+ <doc xml:whitespace="preserve">whether @actor should fill horizontally the allocated space</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </parameter>
+ <parameter name="y_fill" transfer-ownership="none">
+ <doc xml:whitespace="preserve">whether @actor should fill vertically the allocated space</doc>
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
- </virtual-method>
- <virtual-method name="has_redraw_clips">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- </virtual-method>
- <virtual-method name="ignoring_redraw_clips">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- </virtual-method>
- </interface>
- <record name="StageWindowIface"
- c:type="ClutterStageWindowIface"
- glib:is-gtype-struct-for="StageWindow">
- <field name="parent_iface">
- <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
- </field>
- <field name="get_wrapper">
- <callback name="get_wrapper" c:type="get_wrapper">
- <return-value transfer-ownership="full">
- <type name="Actor" c:type="ClutterActor*"/>
- </return-value>
- <parameters>
- <parameter name="stage_window" transfer-ownership="none">
- <type name="StageWindow" c:type="ClutterStageWindow*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="set_title">
- <callback name="set_title" c:type="set_title">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="stage_window" transfer-ownership="none">
- <type name="StageWindow" c:type="ClutterStageWindow*"/>
- </parameter>
- <parameter name="title" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="set_fullscreen">
- <callback name="set_fullscreen" c:type="set_fullscreen">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="stage_window" transfer-ownership="none">
- <type name="StageWindow" c:type="ClutterStageWindow*"/>
- </parameter>
- <parameter name="is_fullscreen" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="set_cursor_visible">
- <callback name="set_cursor_visible" c:type="set_cursor_visible">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="stage_window" transfer-ownership="none">
- <type name="StageWindow" c:type="ClutterStageWindow*"/>
- </parameter>
- <parameter name="cursor_visible" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="set_user_resizable">
- <callback name="set_user_resizable" c:type="set_user_resizable">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="stage_window" transfer-ownership="none">
- <type name="StageWindow" c:type="ClutterStageWindow*"/>
- </parameter>
- <parameter name="is_resizable" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="realize">
- <callback name="realize" c:type="realize">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- <parameters>
- <parameter name="stage_window" transfer-ownership="none">
- <type name="StageWindow" c:type="ClutterStageWindow*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="unrealize">
- <callback name="unrealize" c:type="unrealize">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="stage_window" transfer-ownership="none">
- <type name="StageWindow" c:type="ClutterStageWindow*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="show">
- <callback name="show" c:type="show">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="stage_window" transfer-ownership="none">
- <type name="StageWindow" c:type="ClutterStageWindow*"/>
- </parameter>
- <parameter name="do_raise" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="hide">
- <callback name="hide" c:type="hide">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="stage_window" transfer-ownership="none">
- <type name="StageWindow" c:type="ClutterStageWindow*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="resize">
- <callback name="resize" c:type="resize">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="stage_window" transfer-ownership="none">
- <type name="StageWindow" c:type="ClutterStageWindow*"/>
- </parameter>
- <parameter name="width" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="height" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="get_geometry">
- <callback name="get_geometry" c:type="get_geometry">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="stage_window" transfer-ownership="none">
- <type name="StageWindow" c:type="ClutterStageWindow*"/>
- </parameter>
- <parameter name="geometry" transfer-ownership="none">
- <type name="Geometry" c:type="ClutterGeometry*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="get_pending_swaps">
- <callback name="get_pending_swaps" c:type="get_pending_swaps">
- <return-value transfer-ownership="none">
- <type name="int" c:type="int"/>
- </return-value>
- <parameters>
- <parameter name="stage_window" transfer-ownership="none">
- <type name="StageWindow" c:type="ClutterStageWindow*"/>
- </parameter>
- </parameters>
- </callback>
- </field>
- <field name="add_redraw_clip">
- <callback name="add_redraw_clip" c:type="add_redraw_clip">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="stage_window" transfer-ownership="none">
- <type name="StageWindow" c:type="ClutterStageWindow*"/>
- </parameter>
- <parameter name="stage_rectangle" transfer-ownership="none">
- <type name="Geometry" c:type="ClutterGeometry*"/>
- </parameter>
- </parameters>
- </callback>
+ </method>
+ <method name="set_row_spacing"
+ c:identifier="clutter_table_layout_set_row_spacing"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets the spacing between rows of @layout</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="spacing" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the spacing between rows of the layout, in pixels</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_span"
+ c:identifier="clutter_table_layout_set_span"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets the row and column span for @actor
+inside @layout</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor child of @layout</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
+ </parameter>
+ <parameter name="column_span" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Column span for @actor</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="row_span" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Row span for @actor</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_use_animations"
+ c:identifier="clutter_table_layout_set_use_animations"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets whether @layout should animate changes in the layout properties
+The duration of the animations is controlled by
+clutter_table_layout_set_easing_duration(); the easing mode to be used
+by the animations is controlled by clutter_table_layout_set_easing_mode()</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="animate" transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the @layout should use animations</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </parameter>
+ </parameters>
+ </method>
+ <property name="column-spacing"
+ version="1.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The spacing between columns of the #ClutterTableLayout, in pixels</doc>
+ <type name="guint"/>
+ </property>
+ <property name="easing-duration"
+ version="1.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The duration of the animations, in case #ClutterTableLayout:use-animations
+is set to %TRUE
+The duration is expressed in milliseconds</doc>
+ <type name="guint"/>
+ </property>
+ <property name="easing-mode"
+ version="1.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The easing mode for the animations, in case
+#ClutterTableLayout:use-animations is set to %TRUE
+either be a value from the #ClutterAnimationMode enumeration, like
+%CLUTTER_EASE_OUT_CUBIC, or a logical id as returned by
+clutter_alpha_register_func()
+The default value is %CLUTTER_EASE_OUT_CUBIC</doc>
+ <type name="gulong"/>
+ </property>
+ <property name="row-spacing"
+ version="1.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The spacing between rows of the #ClutterTableLayout, in pixels</doc>
+ <type name="guint"/>
+ </property>
+ <property name="use-animations"
+ version="1.4"
+ writable="1"
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the #ClutterTableLayout should animate changes in the
+layout properties</doc>
+ <type name="gboolean"/>
+ </property>
+ <field name="parent_instance">
+ <type name="LayoutManager" c:type="ClutterLayoutManager"/>
</field>
- <field name="has_redraw_clips">
- <callback name="has_redraw_clips" c:type="has_redraw_clips">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- <parameters>
- <parameter name="stage_window" transfer-ownership="none">
- <type name="StageWindow" c:type="ClutterStageWindow*"/>
- </parameter>
- </parameters>
- </callback>
+ <field name="priv">
+ <type name="TableLayoutPrivate" c:type="ClutterTableLayoutPrivate*"/>
</field>
- <field name="ignoring_redraw_clips">
- <callback name="ignoring_redraw_clips" c:type="ignoring_redraw_clips">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- <parameters>
- <parameter name="stage_window" transfer-ownership="none">
- <type name="StageWindow" c:type="ClutterStageWindow*"/>
- </parameter>
- </parameters>
- </callback>
+ </class>
+ <record name="TableLayoutClass"
+ c:type="ClutterTableLayoutClass"
+ glib:is-gtype-struct-for="TableLayout"
+ version="1.4">
+ <doc xml:whitespace="preserve">The #ClutterTableLayoutClass structure contains only private
+data and should be accessed using the provided API</doc>
+ <field name="parent_class">
+ <type name="LayoutManagerClass" c:type="ClutterLayoutManagerClass"/>
</field>
</record>
- <constant name="StickyKeys_Enable" value="65141">
- <type name="int"/>
- </constant>
- <constant name="Super_L" value="65515">
- <type name="int"/>
- </constant>
- <constant name="Super_R" value="65516">
- <type name="int"/>
- </constant>
- <constant name="Sys_Req" value="65301">
- <type name="int"/>
- </constant>
- <constant name="T" value="84">
- <type name="int"/>
- </constant>
- <constant name="THORN" value="222">
- <type name="int"/>
- </constant>
- <constant name="Tab" value="65289">
- <type name="int"/>
- </constant>
+ <record name="TableLayoutPrivate"
+ c:type="ClutterTableLayoutPrivate"
+ disguised="1">
+ </record>
<constant name="Tabovedot" value="16785002">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="TaskPane" value="269025151">
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Tcaron" value="427">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Tcedilla" value="478">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Terminal" value="269025152">
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Terminate_Server" value="65237">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<class name="Text"
+ c:symbol-prefix="text"
c:type="ClutterText"
- doc="The #ClutterText struct contains only private data."
version="1.0"
parent="Actor"
glib:type-name="ClutterText"
glib:get-type="clutter_text_get_type"
glib:type-struct="TextClass">
+ <doc xml:whitespace="preserve">The #ClutterText struct contains only private data.</doc>
+ <implements name="Atk.ImplementorIface"/>
+ <implements name="Animatable"/>
<implements name="Scriptable"/>
- <constructor name="new"
- c:identifier="clutter_text_new"
- doc="Creates a new #ClutterText actor. This actor can be used to
-display and edit text."
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="Text" c:type="ClutterActor*"/>
+ <constructor name="new" c:identifier="clutter_text_new" version="1.0">
+ <doc xml:whitespace="preserve">Creates a new #ClutterText actor. This actor can be used to
+display and edit text.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the newly created #ClutterText actor</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</return-value>
</constructor>
<constructor name="new_full"
c:identifier="clutter_text_new_full"
- doc="Creates a new #ClutterText actor, using @font_name as the font
+ version="1.0">
+ <doc xml:whitespace="preserve">Creates a new #ClutterText actor, using @font_name as the font
description; @text will be used to set the contents of the actor;
and @color will be used as the color to render @text.
This function is equivalent to calling clutter_text_new(),
clutter_text_set_font_name(), clutter_text_set_text() and
-clutter_text_set_color()."
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="Text" c:type="ClutterActor*"/>
+clutter_text_set_color().</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the newly created #ClutterText actor</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</return-value>
<parameters>
<parameter name="font_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a string with a font description</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="text" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the contents of the actor</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="color" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the color to be used to render @text</doc>
<type name="Color" c:type="ClutterColor*"/>
</parameter>
</parameters>
</constructor>
<constructor name="new_with_text"
c:identifier="clutter_text_new_with_text"
- doc="Creates a new #ClutterText actor, using @font_name as the font
+ version="1.0">
+ <doc xml:whitespace="preserve">Creates a new #ClutterText actor, using @font_name as the font
description; @text will be used to set the contents of the actor.
This function is equivalent to calling clutter_text_new(),
-clutter_text_set_font_name(), and clutter_text_set_text()."
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="Text" c:type="ClutterActor*"/>
+clutter_text_set_font_name(), and clutter_text_set_text().</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the newly created #ClutterText actor</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</return-value>
<parameters>
<parameter name="font_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a string with a font description</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="text" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the contents of the actor</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</constructor>
- <method name="get_text"
- c:identifier="clutter_text_get_text"
- doc="Retrieves a pointer to the current contents of a #ClutterText
-actor.
-If you need a copy of the contents for manipulating, either
-use g_strdup() on the returned string, or use:
-|[
-copy = clutter_text_get_chars (text, 0, -1);
-]|
-Which will return a newly allocated string.
-is owned by the #ClutterText actor and should never be
-modified or freed"
+ <method name="activate"
+ c:identifier="clutter_text_activate"
version="1.0">
+ <doc xml:whitespace="preserve">Emits the #ClutterText::activate signal, if @self has been set
+as activatable using clutter_text_set_activatable().
+This function can be used to emit the ::activate signal inside
+a #ClutterActor::captured-event or #ClutterActor::key-press-event
+signal handlers before the default signal handler for the
+#ClutterText is invoked.
+and %FALSE otherwise</doc>
<return-value transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <doc xml:whitespace="preserve">%TRUE if the ::activate signal has been emitted,</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
- <method name="set_text"
- c:identifier="clutter_text_set_text"
- doc="Sets the contents of a #ClutterText actor.
-If the #ClutterText:use-markup property was set to %TRUE it
-will be reset to %FALSE as a side effect. If you want to
-maintain the #ClutterText:use-markup you should use the
-clutter_text_set_markup() function instead"
+ <method name="delete_chars"
+ c:identifier="clutter_text_delete_chars"
version="1.0">
+ <doc xml:whitespace="preserve">Deletes @n_chars inside a #ClutterText actor, starting from the
+current cursor position.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="text"
- transfer-ownership="none"
- doc=" empty string)">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="n_chars" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the number of characters to delete</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
- <method name="set_markup"
- c:identifier="clutter_text_set_markup"
- doc="Sets @markup as the contents of a #ClutterText.
-This is a convenience function for setting a string containing
-Pango markup, and it is logically equivalent to:
-|[
-clutter_text_set_text (CLUTTER_TEXT (actor), markup);
-clutter_text_set_use_markup (CLUTTER_TEXT (actor), TRUE);
-]|"
+ <method name="delete_selection"
+ c:identifier="clutter_text_delete_selection"
+ version="1.0">
+ <doc xml:whitespace="preserve">Deletes the currently selected text
+This function is only useful in subclasses of #ClutterText
+is empty, and %FALSE otherwise</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if text was deleted or if the text actor</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ </method>
+ <method name="delete_text"
+ c:identifier="clutter_text_delete_text"
version="1.0">
+ <doc xml:whitespace="preserve">Deletes the text inside a #ClutterText actor between @start_pos
+and @end_pos.
+The starting and ending positions are expressed in characters,
+not in bytes.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="markup"
- transfer-ownership="none"
- doc=" as passing "" (the empty string)">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="start_pos" transfer-ownership="none">
+ <doc xml:whitespace="preserve">starting position</doc>
+ <type name="glong" c:type="gssize"/>
+ </parameter>
+ <parameter name="end_pos" transfer-ownership="none">
+ <doc xml:whitespace="preserve">ending position</doc>
+ <type name="glong" c:type="gssize"/>
</parameter>
</parameters>
</method>
- <method name="set_color"
- c:identifier="clutter_text_set_color"
- doc="Sets the color of the contents of a #ClutterText actor.
-The overall opacity of the #ClutterText actor will be the
-result of the alpha value of @color and the composited
-opacity of the actor itself on the scenegraph, as returned
-by clutter_actor_get_paint_opacity()."
+ <method name="get_activatable"
+ c:identifier="clutter_text_get_activatable"
version="1.0">
+ <doc xml:whitespace="preserve">Retrieves whether a #ClutterText is activatable or not.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">%TRUE if the actor is activatable</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ </method>
+ <method name="get_attributes"
+ c:identifier="clutter_text_get_attributes"
+ version="1.0">
+ <doc xml:whitespace="preserve">Gets the attribute list that was set on the #ClutterText actor
+clutter_text_set_attributes(), if any.
+returned value is owned by the #ClutterText and should not be unreferenced.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the attribute list, or %NULL if none was set. The</doc>
+ <type name="Pango.AttrList" c:type="PangoAttrList*"/>
+ </return-value>
+ </method>
+ <method name="get_chars"
+ c:identifier="clutter_text_get_chars"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the contents of the #ClutterText actor between
+The positions are specified in characters, not in bytes.
+the text actor between the specified positions. Use g_free()
+to free the resources when done</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">a newly allocated string with the contents of</doc>
+ <type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
- <parameter name="color" transfer-ownership="none">
- <type name="Color" c:type="ClutterColor*"/>
+ <parameter name="start_pos" transfer-ownership="none">
+ <doc xml:whitespace="preserve">start of text, in characters</doc>
+ <type name="glong" c:type="gssize"/>
+ </parameter>
+ <parameter name="end_pos" transfer-ownership="none">
+ <doc xml:whitespace="preserve">end of text, in characters</doc>
+ <type name="glong" c:type="gssize"/>
</parameter>
</parameters>
</method>
<method name="get_color"
c:identifier="clutter_text_get_color"
- doc="Retrieves the text color as set by clutter_text_set_color()."
version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the text color as set by clutter_text_set_color().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="color" transfer-ownership="none">
+ <doc xml:whitespace="preserve">return location for a #ClutterColor</doc>
<type name="Color" c:type="ClutterColor*"/>
</parameter>
</parameters>
</method>
- <method name="set_font_name"
- c:identifier="clutter_text_set_font_name"
- doc="Sets the font used by a #ClutterText. The @font_name string
-must either be %NULL, which means that the font name from the
-default #ClutterBackend will be used; or be something that can
-be parsed by the pango_font_description_from_string() function,
-like:
-|[
-clutter_text_set_font_name (text, "Sans 10pt");
-clutter_text_set_font_name (text, "Serif 16px");
-clutter_text_set_font_name (text, "Helvetica 10");
-]|"
+ <method name="get_cursor_color"
+ c:identifier="clutter_text_get_cursor_color"
version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the color of the cursor of a #ClutterText actor.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="font_name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="color" transfer-ownership="none">
+ <doc xml:whitespace="preserve">return location for a #ClutterColor</doc>
+ <type name="Color" c:type="ClutterColor*"/>
</parameter>
</parameters>
</method>
- <method name="get_font_name"
- c:identifier="clutter_text_get_font_name"
- doc="Retrieves the font name as set by clutter_text_set_font_name().
-string is owned by the #ClutterText actor and should not be
-modified or freed"
+ <method name="get_cursor_position"
+ c:identifier="clutter_text_get_cursor_position"
version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the cursor position.</doc>
<return-value transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </return-value>
- </method>
- <method name="set_font_description"
- c:identifier="clutter_text_set_font_description"
- doc="Sets @font_desc as the font description for a #ClutterText
-The #PangoFontDescription is copied by the #ClutterText actor
-so you can safely call pango_font_description_free() on it after
-calling this function."
- version="1.2">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="font_desc" transfer-ownership="none">
- <type name="Pango.FontDescription" c:type="PangoFontDescription*"/>
- </parameter>
- </parameters>
- </method>
- <method name="get_font_description"
- c:identifier="clutter_text_get_font_description"
- doc="Retrieves the #PangoFontDescription used by @self
-by the #ClutterText actor and it should not be modified or freed"
- version="1.2">
- <return-value transfer-ownership="full">
- <type name="Pango.FontDescription" c:type="PangoFontDescription*"/>
+ <doc xml:whitespace="preserve">the cursor position, in characters</doc>
+ <type name="gint" c:type="gint"/>
</return-value>
</method>
- <method name="set_ellipsize"
- c:identifier="clutter_text_set_ellipsize"
- doc="text if there is not enough space to render the entire contents
-of a #ClutterText actor"
+ <method name="get_cursor_size"
+ c:identifier="clutter_text_get_cursor_size"
version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the size of the cursor of a #ClutterText actor.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the size of the cursor, in pixels</doc>
+ <type name="guint" c:type="guint"/>
</return-value>
- <parameters>
- <parameter name="mode" transfer-ownership="none">
- <type name="Pango.EllipsizeMode" c:type="PangoEllipsizeMode"/>
- </parameter>
- </parameters>
</method>
- <method name="get_ellipsize"
- c:identifier="clutter_text_get_ellipsize"
- doc="Returns the ellipsizing position of a #ClutterText actor, as
-set by clutter_text_set_ellipsize()."
+ <method name="get_cursor_visible"
+ c:identifier="clutter_text_get_cursor_visible"
version="1.0">
- <return-value transfer-ownership="full">
- <type name="Pango.EllipsizeMode" c:type="PangoEllipsizeMode"/>
+ <doc xml:whitespace="preserve">Retrieves whether the cursor of a #ClutterText actor is visible.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the cursor is visible</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
- <method name="set_line_wrap"
- c:identifier="clutter_text_set_line_wrap"
- doc="Sets whether the contents of a #ClutterText actor should wrap,
-if they don't fit the size assigned to the actor."
+ <method name="get_editable"
+ c:identifier="clutter_text_get_editable"
version="1.0">
+ <doc xml:whitespace="preserve">Retrieves whether a #ClutterText is editable or not.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">%TRUE if the actor is editable</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
- <parameters>
- <parameter name="line_wrap" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </parameter>
- </parameters>
</method>
- <method name="get_line_wrap"
- c:identifier="clutter_text_get_line_wrap"
- doc="Retrieves the value set using clutter_text_set_line_wrap().
-its contents"
+ <method name="get_ellipsize"
+ c:identifier="clutter_text_get_ellipsize"
version="1.0">
+ <doc xml:whitespace="preserve">Returns the ellipsizing position of a #ClutterText actor, as
+set by clutter_text_set_ellipsize().</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">#PangoEllipsizeMode</doc>
+ <type name="Pango.EllipsizeMode" c:type="PangoEllipsizeMode"/>
</return-value>
</method>
- <method name="set_line_wrap_mode"
- c:identifier="clutter_text_set_line_wrap_mode"
- doc="If line wrapping is enabled (see clutter_text_set_line_wrap()) this
-function controls how the line wrapping is performed. The default is
-%PANGO_WRAP_WORD which means wrap on word boundaries."
+ <method name="get_font_description"
+ c:identifier="clutter_text_get_font_description"
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the #PangoFontDescription used by @self
+by the #ClutterText actor and it should not be modified or freed</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">a #PangoFontDescription. The returned value is owned</doc>
+ <type name="Pango.FontDescription" c:type="PangoFontDescription*"/>
+ </return-value>
+ </method>
+ <method name="get_font_name"
+ c:identifier="clutter_text_get_font_name"
version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the font name as set by clutter_text_set_font_name().
+string is owned by the #ClutterText actor and should not be
+modified or freed</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">a string containing the font name. The returned</doc>
+ <type name="utf8" c:type="gchar*"/>
</return-value>
- <parameters>
- <parameter name="wrap_mode" transfer-ownership="none">
- <type name="Pango.WrapMode" c:type="PangoWrapMode"/>
- </parameter>
- </parameters>
</method>
- <method name="get_line_wrap_mode"
- c:identifier="clutter_text_get_line_wrap_mode"
- doc="Retrieves the line wrap mode used by the #ClutterText actor.
-See clutter_text_set_line_wrap_mode ()."
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="Pango.WrapMode" c:type="PangoWrapMode"/>
+ <method name="get_justify"
+ c:identifier="clutter_text_get_justify"
+ version="0.6">
+ <doc xml:whitespace="preserve">Retrieves whether the #ClutterText actor should justify its contents
+on both margins.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the text should be justified</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
<method name="get_layout"
c:identifier="clutter_text_get_layout"
- doc="Retrieves the current #PangoLayout used by a #ClutterText actor.
-the #ClutterText actor and should not be modified or freed"
version="1.0">
- <return-value transfer-ownership="none"
- doc="a #PangoLayout. The returned object is owned by">
+ <doc xml:whitespace="preserve">Retrieves the current #PangoLayout used by a #ClutterText actor.
+the #ClutterText actor and should not be modified or freed</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #PangoLayout. The returned object is owned by</doc>
<type name="Pango.Layout" c:type="PangoLayout*"/>
</return-value>
</method>
- <method name="set_attributes"
- c:identifier="clutter_text_set_attributes"
- doc="Sets the attributes list that are going to be applied to the
-#ClutterText contents.
-The #ClutterText actor will take a reference on the #PangoAttrList
-passed to this function."
+ <method name="get_line_alignment"
+ c:identifier="clutter_text_get_line_alignment"
version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the alignment of a #ClutterText, as set by
+clutter_text_set_line_alignment().</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">a #PangoAlignment</doc>
+ <type name="Pango.Alignment" c:type="PangoAlignment"/>
</return-value>
- <parameters>
- <parameter name="attrs" transfer-ownership="none">
- <type name="Pango.AttrList" c:type="PangoAttrList*"/>
- </parameter>
- </parameters>
</method>
- <method name="get_attributes"
- c:identifier="clutter_text_get_attributes"
- doc="Gets the attribute list that was set on the #ClutterText actor
-clutter_text_set_attributes(), if any.
-returned value is owned by the #ClutterText and should not be unreferenced."
+ <method name="get_line_wrap"
+ c:identifier="clutter_text_get_line_wrap"
version="1.0">
- <return-value transfer-ownership="none"
- doc="the attribute list, or %NULL if none was set. The">
- <type name="Pango.AttrList" c:type="PangoAttrList*"/>
+ <doc xml:whitespace="preserve">Retrieves the value set using clutter_text_set_line_wrap().
+its contents</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the #ClutterText actor should wrap</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
- <method name="set_use_markup"
- c:identifier="clutter_text_set_use_markup"
- doc="Sets whether the contents of the #ClutterText actor contains markup
-in <link linkend="PangoMarkupFormat">Pango's text markup language</link>.
-Setting #ClutterText:use-markup on an editable #ClutterText will
-make the actor discard any markup."
+ <method name="get_line_wrap_mode"
+ c:identifier="clutter_text_get_line_wrap_mode"
version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the line wrap mode used by the #ClutterText actor.
+See clutter_text_set_line_wrap_mode ().</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the wrap mode used by the #ClutterText</doc>
+ <type name="Pango.WrapMode" c:type="PangoWrapMode"/>
</return-value>
- <parameters>
- <parameter name="setting" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </parameter>
- </parameters>
</method>
- <method name="get_use_markup"
- c:identifier="clutter_text_get_use_markup"
- doc="Retrieves whether the contents of the #ClutterText actor should be
-parsed for the Pango text markup."
+ <method name="get_max_length"
+ c:identifier="clutter_text_get_max_length"
version="1.0">
+ <doc xml:whitespace="preserve">Gets the maximum length of text that can be set into a text actor.
+See clutter_text_set_max_length().</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">the maximum number of characters.</doc>
+ <type name="gint" c:type="gint"/>
</return-value>
</method>
- <method name="set_line_alignment"
- c:identifier="clutter_text_set_line_alignment"
- doc="Sets the way that the lines of a wrapped label are aligned with
-respect to each other. This does not affect the overall alignment
-of the label within its allocated or specified width.
-To align a #ClutterText actor you should add it to a container
-that supports alignment, or use the anchor point."
+ <method name="get_password_char"
+ c:identifier="clutter_text_get_password_char"
+ version="1.0"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Retrieves the character to use in place of the actual text
+as set by clutter_text_set_password_char().
+character is not set</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a Unicode character or 0 if the password</doc>
+ <type name="gunichar" c:type="gunichar"/>
+ </return-value>
+ </method>
+ <method name="get_selectable"
+ c:identifier="clutter_text_get_selectable"
version="1.0">
+ <doc xml:whitespace="preserve">Retrieves whether a #ClutterText is selectable or not.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">%TRUE if the actor is selectable</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
- <parameters>
- <parameter name="alignment" transfer-ownership="none">
- <type name="Pango.Alignment" c:type="PangoAlignment"/>
- </parameter>
- </parameters>
</method>
- <method name="get_line_alignment"
- c:identifier="clutter_text_get_line_alignment"
- doc="Retrieves the alignment of a #ClutterText, as set by
-clutter_text_set_line_alignment()."
+ <method name="get_selection"
+ c:identifier="clutter_text_get_selection"
version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the currently selected text.
+selected text, or %NULL. Use g_free() to free the returned
+string.</doc>
<return-value transfer-ownership="full">
- <type name="Pango.Alignment" c:type="PangoAlignment"/>
+ <doc xml:whitespace="preserve">a newly allocated string containing the currently</doc>
+ <type name="utf8" c:type="gchar*"/>
</return-value>
</method>
- <method name="set_justify"
- c:identifier="clutter_text_set_justify"
- doc="Sets whether the text of the #ClutterText actor should be justified
-on both margins. This setting is ignored if Clutter is compiled
-against Pango &lt; 1.18."
+ <method name="get_selection_bound"
+ c:identifier="clutter_text_get_selection_bound"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the other end of the selection of a #ClutterText actor,
+in characters from the current cursor position.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the position of the other end of the selection</doc>
+ <type name="gint" c:type="gint"/>
+ </return-value>
+ </method>
+ <method name="get_selection_color"
+ c:identifier="clutter_text_get_selection_color"
version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the color of the selection of a #ClutterText actor.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="justify" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <parameter name="color" transfer-ownership="none">
+ <doc xml:whitespace="preserve">return location for a #ClutterColor</doc>
+ <type name="Color" c:type="ClutterColor*"/>
</parameter>
</parameters>
</method>
- <method name="get_justify"
- c:identifier="clutter_text_get_justify"
- doc="Retrieves whether the #ClutterText actor should justify its contents
-on both margins."
- version="0.6">
+ <method name="get_single_line_mode"
+ c:identifier="clutter_text_get_single_line_mode"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves whether the #ClutterText actor is in single line mode.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">%TRUE if the #ClutterText actor is in single line mode</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
- <method name="insert_unichar"
- c:identifier="clutter_text_insert_unichar"
- doc="Inserts @wc at the current cursor position of a
-#ClutterText actor."
+ <method name="get_text"
+ c:identifier="clutter_text_get_text"
version="1.0">
+ <doc xml:whitespace="preserve">Retrieves a pointer to the current contents of a #ClutterText
+actor.
+If you need a copy of the contents for manipulating, either
+use g_strdup() on the returned string, or use:
+|[
+copy = clutter_text_get_chars (text, 0, -1);
+]|
+Which will return a newly allocated string.
+is owned by the #ClutterText actor and should never be
+modified or freed</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the contents of the actor. The returned string</doc>
+ <type name="utf8" c:type="gchar*"/>
</return-value>
- <parameters>
- <parameter name="wc" transfer-ownership="none">
- <type name="GLib.unichar" c:type="gunichar"/>
- </parameter>
- </parameters>
</method>
- <method name="delete_chars"
- c:identifier="clutter_text_delete_chars"
- doc="Deletes @n_chars inside a #ClutterText actor, starting from the
-current cursor position."
+ <method name="get_use_markup"
+ c:identifier="clutter_text_get_use_markup"
version="1.0">
+ <doc xml:whitespace="preserve">Retrieves whether the contents of the #ClutterText actor should be
+parsed for the Pango text markup.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">%TRUE if the contents will be parsed for markup</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
- <parameters>
- <parameter name="n_chars" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- </parameters>
</method>
<method name="insert_text"
c:identifier="clutter_text_insert_text"
- doc="Inserts @text into a #ClutterActor at the given position.
+ version="1.0">
+ <doc xml:whitespace="preserve">Inserts @text into a #ClutterActor at the given position.
If @position is a negative number, the text will be appended
at the end of the current contents of the #ClutterText.
-The position is expressed in characters, not in bytes."
- version="1.0">
+The position is expressed in characters, not in bytes.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="text" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the text to be inserted</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="position" transfer-ownership="none">
- <type name="ssize_t" c:type="gssize"/>
+ <doc xml:whitespace="preserve">the position of the insertion, or -1</doc>
+ <type name="glong" c:type="gssize"/>
</parameter>
</parameters>
</method>
- <method name="delete_text"
- c:identifier="clutter_text_delete_text"
- doc="Deletes the text inside a #ClutterText actor between @start_pos
-and @end_pos.
-The starting and ending positions are expressed in characters,
-not in bytes."
- version="1.0">
+ <method name="insert_unichar"
+ c:identifier="clutter_text_insert_unichar"
+ version="1.0"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Inserts @wc at the current cursor position of a
+#ClutterText actor.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="start_pos" transfer-ownership="none">
- <type name="ssize_t" c:type="gssize"/>
- </parameter>
- <parameter name="end_pos" transfer-ownership="none">
- <type name="ssize_t" c:type="gssize"/>
+ <parameter name="wc" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a Unicode character</doc>
+ <type name="gunichar" c:type="gunichar"/>
</parameter>
</parameters>
</method>
- <method name="get_chars"
- c:identifier="clutter_text_get_chars"
- doc="Retrieves the contents of the #ClutterText actor between
-The positions are specified in characters, not in bytes.
-the text actor between the specified positions. Use g_free()
-to free the resources when done"
+ <method name="position_to_coords"
+ c:identifier="clutter_text_position_to_coords"
version="1.0">
- <return-value transfer-ownership="full">
- <type name="utf8" c:type="gchar*"/>
+ <doc xml:whitespace="preserve">Retrieves the coordinates of the given @position.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the conversion was successful</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
- <parameter name="start_pos" transfer-ownership="none">
- <type name="ssize_t" c:type="gssize"/>
+ <parameter name="position" transfer-ownership="none">
+ <doc xml:whitespace="preserve">position in characters</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
- <parameter name="end_pos" transfer-ownership="none">
- <type name="ssize_t" c:type="gssize"/>
+ <parameter name="x"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the X coordinate, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
+ </parameter>
+ <parameter name="y"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the Y coordinate, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
+ </parameter>
+ <parameter name="line_height"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the line height, or %NULL</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
</parameters>
</method>
- <method name="set_editable"
- c:identifier="clutter_text_set_editable"
- doc="Sets whether the #ClutterText actor should be editable.
-An editable #ClutterText with key focus set using
-clutter_actor_grab_key_focus() or clutter_stage_take_key_focus()
-will receive key events and will update its contents accordingly."
+ <method name="set_activatable"
+ c:identifier="clutter_text_set_activatable"
version="1.0">
+ <doc xml:whitespace="preserve">Sets whether a #ClutterText actor should be activatable.
+An activatable #ClutterText actor will emit the #ClutterText::activate
+signal whenever the 'Enter' (or 'Return') key is pressed; if it is not
+activatable, a new line will be appended to the current content.
+An activatable #ClutterText must also be set as editable using
+clutter_text_set_editable().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="editable" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <parameter name="activatable" transfer-ownership="none">
+ <doc xml:whitespace="preserve">whether the #ClutterText actor should be activatable</doc>
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
- <method name="get_editable"
- c:identifier="clutter_text_get_editable"
- doc="Retrieves whether a #ClutterText is editable or not."
+ <method name="set_attributes"
+ c:identifier="clutter_text_set_attributes"
version="1.0">
+ <doc xml:whitespace="preserve">Sets the attributes list that are going to be applied to the
+#ClutterText contents.
+The #ClutterText actor will take a reference on the #PangoAttrList
+passed to this function.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="attrs" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #PangoAttrList or %NULL to unset the attributes</doc>
+ <type name="Pango.AttrList" c:type="PangoAttrList*"/>
+ </parameter>
+ </parameters>
</method>
- <method name="set_activatable"
- c:identifier="clutter_text_set_activatable"
- doc="Sets whether a #ClutterText actor should be activatable.
-An activatable #ClutterText actor will emit the #ClutterText::activate
-signal whenever the 'Enter' (or 'Return') key is pressed; if it is not
-activatable, a new line will be appended to the current content.
-An activatable #ClutterText must also be set as editable using
-clutter_text_set_editable()."
+ <method name="set_color"
+ c:identifier="clutter_text_set_color"
version="1.0">
+ <doc xml:whitespace="preserve">Sets the color of the contents of a #ClutterText actor.
+The overall opacity of the #ClutterText actor will be the
+result of the alpha value of @color and the composited
+opacity of the actor itself on the scenegraph, as returned
+by clutter_actor_get_paint_opacity().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="activatable" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <parameter name="color" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterColor</doc>
+ <type name="Color" c:type="ClutterColor*"/>
</parameter>
</parameters>
</method>
- <method name="get_activatable"
- c:identifier="clutter_text_get_activatable"
- doc="Retrieves whether a #ClutterText is activatable or not."
+ <method name="set_cursor_color"
+ c:identifier="clutter_text_set_cursor_color"
version="1.0">
+ <doc xml:whitespace="preserve">Sets the color of the cursor of a #ClutterText actor.
+If @color is %NULL, the cursor color will be the same as the
+text color.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="color" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the color of the cursor, or %NULL to unset it</doc>
+ <type name="Color" c:type="ClutterColor*"/>
+ </parameter>
+ </parameters>
</method>
- <method name="get_cursor_position"
- c:identifier="clutter_text_get_cursor_position"
- doc="Retrieves the cursor position."
+ <method name="set_cursor_position"
+ c:identifier="clutter_text_set_cursor_position"
version="1.0">
+ <doc xml:whitespace="preserve">Sets the cursor of a #ClutterText actor at @position.
+The position is expressed in characters, not in bytes.</doc>
<return-value transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="position" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the new cursor position, in characters</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ </parameters>
</method>
- <method name="set_cursor_position"
- c:identifier="clutter_text_set_cursor_position"
- doc="Sets the cursor of a #ClutterText actor at @position.
-The position is expressed in characters, not in bytes."
+ <method name="set_cursor_size"
+ c:identifier="clutter_text_set_cursor_size"
version="1.0">
+ <doc xml:whitespace="preserve">Sets the size of the cursor of a #ClutterText. The cursor
+will only be visible if the #ClutterText:cursor-visible property
+is set to %TRUE.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="position" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="size" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the size of the cursor, in pixels, or -1 to use the default value</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<method name="set_cursor_visible"
c:identifier="clutter_text_set_cursor_visible"
- doc="Sets whether the cursor of a #ClutterText actor should be
+ version="1.0">
+ <doc xml:whitespace="preserve">Sets whether the cursor of a #ClutterText actor should be
visible or not.
The color of the cursor will be the same as the text color
unless clutter_text_set_cursor_color() has been called.
The size of the cursor can be set using clutter_text_set_cursor_size().
The position of the cursor can be changed programmatically using
-clutter_text_set_cursor_position()."
- version="1.0">
+clutter_text_set_cursor_position().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="cursor_visible" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">whether the cursor should be visible</doc>
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
- <method name="get_cursor_visible"
- c:identifier="clutter_text_get_cursor_visible"
- doc="Retrieves whether the cursor of a #ClutterText actor is visible."
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- </method>
- <method name="set_cursor_color"
- c:identifier="clutter_text_set_cursor_color"
- doc="Sets the color of the cursor of a #ClutterText actor.
-If @color is %NULL, the cursor color will be the same as the
-text color."
+ <method name="set_editable"
+ c:identifier="clutter_text_set_editable"
version="1.0">
+ <doc xml:whitespace="preserve">Sets whether the #ClutterText actor should be editable.
+An editable #ClutterText with key focus set using
+clutter_actor_grab_key_focus() or clutter_stage_take_key_focus()
+will receive key events and will update its contents accordingly.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="color" transfer-ownership="none">
- <type name="Color" c:type="ClutterColor*"/>
+ <parameter name="editable" transfer-ownership="none">
+ <doc xml:whitespace="preserve">whether the #ClutterText should be editable</doc>
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
- <method name="get_cursor_color"
- c:identifier="clutter_text_get_cursor_color"
- doc="Retrieves the color of the cursor of a #ClutterText actor."
+ <method name="set_ellipsize"
+ c:identifier="clutter_text_set_ellipsize"
version="1.0">
+ <doc xml:whitespace="preserve">text if there is not enough space to render the entire contents
+of a #ClutterText actor</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="color" transfer-ownership="none">
- <type name="Color" c:type="ClutterColor*"/>
+ <parameter name="mode" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #PangoEllipsizeMode</doc>
+ <type name="Pango.EllipsizeMode" c:type="PangoEllipsizeMode"/>
</parameter>
</parameters>
</method>
- <method name="set_cursor_size"
- c:identifier="clutter_text_set_cursor_size"
- doc="Sets the size of the cursor of a #ClutterText. The cursor
-will only be visible if the #ClutterText:cursor-visible property
-is set to %TRUE."
- version="1.0">
+ <method name="set_font_description"
+ c:identifier="clutter_text_set_font_description"
+ version="1.2">
+ <doc xml:whitespace="preserve">Sets @font_desc as the font description for a #ClutterText
+The #PangoFontDescription is copied by the #ClutterText actor
+so you can safely call pango_font_description_free() on it after
+calling this function.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="size"
- transfer-ownership="none"
- doc=" default value">
- <type name="int" c:type="gint"/>
+ <parameter name="font_desc" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #PangoFontDescription</doc>
+ <type name="Pango.FontDescription" c:type="PangoFontDescription*"/>
</parameter>
</parameters>
</method>
- <method name="get_cursor_size"
- c:identifier="clutter_text_get_cursor_size"
- doc="Retrieves the size of the cursor of a #ClutterText actor."
+ <method name="set_font_name"
+ c:identifier="clutter_text_set_font_name"
version="1.0">
+ <doc xml:whitespace="preserve">Sets the font used by a #ClutterText. The @font_name string
+must either be %NULL, which means that the font name from the
+default #ClutterBackend will be used; or be something that can
+be parsed by the pango_font_description_from_string() function,
+like:
+|[
+clutter_text_set_font_name (text, "Sans 10pt");
+clutter_text_set_font_name (text, "Serif 16px");
+clutter_text_set_font_name (text, "Helvetica 10");
+]|</doc>
<return-value transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="font_name" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">a font name, or %NULL to set the default font name</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ </parameters>
</method>
- <method name="set_selectable"
- c:identifier="clutter_text_set_selectable"
- doc="Sets whether a #ClutterText actor should be selectable.
-A selectable #ClutterText will allow selecting its contents using
-the pointer or the keyboard."
+ <method name="set_justify"
+ c:identifier="clutter_text_set_justify"
version="1.0">
+ <doc xml:whitespace="preserve">Sets whether the text of the #ClutterText actor should be justified
+on both margins. This setting is ignored if Clutter is compiled
+against Pango &lt; 1.18.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="selectable" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <parameter name="justify" transfer-ownership="none">
+ <doc xml:whitespace="preserve">whether the text should be justified</doc>
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
- <method name="get_selectable"
- c:identifier="clutter_text_get_selectable"
- doc="Retrieves whether a #ClutterText is selectable or not."
+ <method name="set_line_alignment"
+ c:identifier="clutter_text_set_line_alignment"
version="1.0">
+ <doc xml:whitespace="preserve">Sets the way that the lines of a wrapped label are aligned with
+respect to each other. This does not affect the overall alignment
+of the label within its allocated or specified width.
+To align a #ClutterText actor you should add it to a container
+that supports alignment, or use the anchor point.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="alignment" transfer-ownership="none">
+ <doc xml:whitespace="preserve">A #PangoAlignment</doc>
+ <type name="Pango.Alignment" c:type="PangoAlignment"/>
+ </parameter>
+ </parameters>
</method>
- <method name="set_selection_bound"
- c:identifier="clutter_text_set_selection_bound"
- doc="Sets the other end of the selection, starting from the current
-cursor position.
-If @selection_bound is -1, the selection unset."
+ <method name="set_line_wrap"
+ c:identifier="clutter_text_set_line_wrap"
version="1.0">
+ <doc xml:whitespace="preserve">Sets whether the contents of a #ClutterText actor should wrap,
+if they don't fit the size assigned to the actor.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="selection_bound" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="line_wrap" transfer-ownership="none">
+ <doc xml:whitespace="preserve">whether the contents should wrap</doc>
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
- <method name="get_selection_bound"
- c:identifier="clutter_text_get_selection_bound"
- doc="Retrieves the other end of the selection of a #ClutterText actor,
-in characters from the current cursor position."
+ <method name="set_line_wrap_mode"
+ c:identifier="clutter_text_set_line_wrap_mode"
version="1.0">
+ <doc xml:whitespace="preserve">If line wrapping is enabled (see clutter_text_set_line_wrap()) this
+function controls how the line wrapping is performed. The default is
+%PANGO_WRAP_WORD which means wrap on word boundaries.</doc>
<return-value transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="wrap_mode" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the line wrapping mode</doc>
+ <type name="Pango.WrapMode" c:type="PangoWrapMode"/>
+ </parameter>
+ </parameters>
</method>
- <method name="set_selection"
- c:identifier="clutter_text_set_selection"
- doc="Selects the region of text between @start_pos and @end_pos.
-This function changes the position of the cursor to match"
+ <method name="set_markup"
+ c:identifier="clutter_text_set_markup"
version="1.0">
+ <doc xml:whitespace="preserve">Sets @markup as the contents of a #ClutterText.
+This is a convenience function for setting a string containing
+Pango markup, and it is logically equivalent to:
+|[
+clutter_text_set_text (CLUTTER_TEXT (actor), markup);
+clutter_text_set_use_markup (CLUTTER_TEXT (actor), TRUE);
+]|</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="start_pos" transfer-ownership="none">
- <type name="ssize_t" c:type="gssize"/>
- </parameter>
- <parameter name="end_pos" transfer-ownership="none">
- <type name="ssize_t" c:type="gssize"/>
+ <parameter name="markup" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a string containing Pango markup. Passing %NULL is the same as passing "" (the empty string)</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
- <method name="get_selection"
- c:identifier="clutter_text_get_selection"
- doc="Retrieves the currently selected text.
-selected text, or %NULL. Use g_free() to free the returned
-string."
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="utf8" c:type="gchar*"/>
- </return-value>
- </method>
- <method name="set_selection_color"
- c:identifier="clutter_text_set_selection_color"
- doc="Sets the color of the selection of a #ClutterText actor.
-If @color is %NULL, the selection color will be the same as the
-cursor color, or if no cursor color is set either then it will be
-the same as the text color."
+ <method name="set_max_length"
+ c:identifier="clutter_text_set_max_length"
version="1.0">
+ <doc xml:whitespace="preserve">Sets the maximum allowed length of the contents of the actor. If the
+current contents are longer than the given length, then they will be
+truncated to fit.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="color" transfer-ownership="none">
- <type name="Color" c:type="ClutterColor*"/>
+ <parameter name="max" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the maximum number of characters allowed in the text actor; 0 to disable or -1 to set the length of the current string</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
- <method name="get_selection_color"
- c:identifier="clutter_text_get_selection_color"
- doc="Retrieves the color of the selection of a #ClutterText actor."
- version="1.0">
+ <method name="set_password_char"
+ c:identifier="clutter_text_set_password_char"
+ version="1.0"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Sets the character to use in place of the actual text in a
+password text actor.
+If @wc is 0 the text will be displayed as it is entered in the
+#ClutterText actor.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="color" transfer-ownership="none">
- <type name="Color" c:type="ClutterColor*"/>
+ <parameter name="wc" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a Unicode character, or 0 to unset the password character</doc>
+ <type name="gunichar" c:type="gunichar"/>
</parameter>
</parameters>
</method>
- <method name="delete_selection"
- c:identifier="clutter_text_delete_selection"
- doc="Deletes the currently selected text
-This function is only useful in subclasses of #ClutterText
-is empty, and %FALSE otherwise"
- version="1.0">
+ <method name="set_preedit_string"
+ c:identifier="clutter_text_set_preedit_string"
+ version="1.2">
+ <doc xml:whitespace="preserve">Sets, or unsets, the pre-edit string. This function is useful
+for input methods to display a string (with eventual specific
+Pango attributes) before it is entered inside the #ClutterText
+buffer.
+The preedit string and attributes are ignored if the #ClutterText
+actor is not editable.
+This function should not be used by applications</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="preedit_str"
+ transfer-ownership="none"
+ allow-none="1">
+ <doc xml:whitespace="preserve">the pre-edit string, or %NULL to unset it</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ <parameter name="preedit_attrs"
+ transfer-ownership="none"
+ allow-none="1">
+ <doc xml:whitespace="preserve">the pre-edit string attributes</doc>
+ <type name="Pango.AttrList" c:type="PangoAttrList*"/>
+ </parameter>
+ <parameter name="cursor_pos" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the cursor position for the pre-edit string</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ </parameters>
</method>
- <method name="set_password_char"
- c:identifier="clutter_text_set_password_char"
- doc="Sets the character to use in place of the actual text in a
-password text actor.
-If @wc is 0 the text will be displayed as it is entered in the
-#ClutterText actor."
+ <method name="set_selectable"
+ c:identifier="clutter_text_set_selectable"
version="1.0">
+ <doc xml:whitespace="preserve">Sets whether a #ClutterText actor should be selectable.
+A selectable #ClutterText will allow selecting its contents using
+the pointer or the keyboard.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="wc" transfer-ownership="none">
- <type name="GLib.unichar" c:type="gunichar"/>
+ <parameter name="selectable" transfer-ownership="none">
+ <doc xml:whitespace="preserve">whether the #ClutterText actor should be selectable</doc>
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
- <method name="get_password_char"
- c:identifier="clutter_text_get_password_char"
- doc="Retrieves the character to use in place of the actual text
-as set by clutter_text_set_password_char().
-character is not set"
+ <method name="set_selection"
+ c:identifier="clutter_text_set_selection"
version="1.0">
- <return-value transfer-ownership="full">
- <type name="GLib.unichar" c:type="gunichar"/>
+ <doc xml:whitespace="preserve">Selects the region of text between @start_pos and @end_pos.
+This function changes the position of the cursor to match</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="start_pos" transfer-ownership="none">
+ <doc xml:whitespace="preserve">start of the selection, in characters</doc>
+ <type name="glong" c:type="gssize"/>
+ </parameter>
+ <parameter name="end_pos" transfer-ownership="none">
+ <doc xml:whitespace="preserve">end of the selection, in characters</doc>
+ <type name="glong" c:type="gssize"/>
+ </parameter>
+ </parameters>
</method>
- <method name="set_max_length"
- c:identifier="clutter_text_set_max_length"
- doc="Sets the maximum allowed length of the contents of the actor. If the
-current contents are longer than the given length, then they will be
-truncated to fit."
+ <method name="set_selection_bound"
+ c:identifier="clutter_text_set_selection_bound"
version="1.0">
+ <doc xml:whitespace="preserve">Sets the other end of the selection, starting from the current
+cursor position.
+If @selection_bound is -1, the selection unset.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="max"
- transfer-ownership="none"
- doc=" to disable or -1 to set the length of the current string">
- <type name="int" c:type="gint"/>
+ <parameter name="selection_bound" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the position of the end of the selection, in characters</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
- <method name="get_max_length"
- c:identifier="clutter_text_get_max_length"
- doc="Gets the maximum length of text that can be set into a text actor.
-See clutter_text_set_max_length()."
+ <method name="set_selection_color"
+ c:identifier="clutter_text_set_selection_color"
version="1.0">
+ <doc xml:whitespace="preserve">Sets the color of the selection of a #ClutterText actor.
+If @color is %NULL, the selection color will be the same as the
+cursor color, or if no cursor color is set either then it will be
+the same as the text color.</doc>
<return-value transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="color" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the color of the selection, or %NULL to unset it</doc>
+ <type name="Color" c:type="ClutterColor*"/>
+ </parameter>
+ </parameters>
</method>
<method name="set_single_line_mode"
c:identifier="clutter_text_set_single_line_mode"
- doc="Sets whether a #ClutterText actor should be in single line mode
-or not.
+ version="1.0">
+ <doc xml:whitespace="preserve">Sets whether a #ClutterText actor should be in single line mode
+or not. Only editable #ClutterText<!-- -->s can be in single line
+mode.
A text actor in single line mode will not wrap text and will clip
the the visible area to the predefined size. The contents of the
text actor will scroll to display the end of the text if its length
When setting the single line mode the #ClutterText:activatable
property is also set as a side effect. Instead of entering a new
line character, the text actor will emit the #ClutterText::activate
-signal."
- version="1.0">
+signal.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="single_line" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">whether to enable single line mode</doc>
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
- <method name="get_single_line_mode"
- c:identifier="clutter_text_get_single_line_mode"
- doc="Retrieves whether the #ClutterText actor is in single line mode."
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- </method>
- <method name="activate"
- c:identifier="clutter_text_activate"
- doc="Emits the #ClutterText::activate signal, if @self has been set
-as activatable using clutter_text_set_activatable().
-This function can be used to emit the ::activate signal inside
-a #ClutterActor::captured-event or #ClutterActor::key-press-event
-signal handlers before the default signal handler for the
-#ClutterText is invoked.
-and %FALSE otherwise"
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- </method>
- <method name="position_to_coords"
- c:identifier="clutter_text_position_to_coords"
- doc="Retrieves the coordinates of the given @position."
+ <method name="set_text"
+ c:identifier="clutter_text_set_text"
version="1.0">
+ <doc xml:whitespace="preserve">Sets the contents of a #ClutterText actor.
+If the #ClutterText:use-markup property was set to %TRUE it
+will be reset to %FALSE as a side effect. If you want to
+maintain the #ClutterText:use-markup you should use the
+clutter_text_set_markup() function instead</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="position" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="x"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full">
- <type name="float" c:type="gfloat*"/>
- </parameter>
- <parameter name="y"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full">
- <type name="float" c:type="gfloat*"/>
- </parameter>
- <parameter name="line_height"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full">
- <type name="float" c:type="gfloat*"/>
+ <parameter name="text" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the text to set. Passing %NULL is the same as passing "" (the empty string)</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
- <method name="set_preedit_string"
- c:identifier="clutter_text_set_preedit_string"
- doc="Sets, or unsets, the pre-edit string. This function is useful
-for input methods to display a string (with eventual specific
-Pango attributes) before it is entered inside the #ClutterText
-buffer.
-The preedit string and attributes are ignored if the #ClutterText
-actor is not editable.
-This function should not be used by applications"
- version="1.2">
+ <method name="set_use_markup"
+ c:identifier="clutter_text_set_use_markup"
+ version="1.0">
+ <doc xml:whitespace="preserve">Sets whether the contents of the #ClutterText actor contains markup
+in <link linkend="PangoMarkupFormat">Pango's text markup language</link>.
+Setting #ClutterText:use-markup on an editable #ClutterText will
+not have any effect except hiding the markup.
+See also #ClutterText:use-markup.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="preedit_str"
- transfer-ownership="none"
- allow-none="1"
- doc="the pre-edit string, or %NULL to unset it">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- <parameter name="preedit_attrs"
- transfer-ownership="none"
- allow-none="1"
- doc="the pre-edit string attributes">
- <type name="Pango.AttrList" c:type="PangoAttrList*"/>
- </parameter>
- <parameter name="cursor_pos" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <parameter name="setting" transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the text should be parsed for markup.</doc>
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<property name="activatable"
version="1.0"
writable="1"
- doc="Toggles whether return invokes the activate signal or not.">
- <type name="boolean" c:type="gboolean"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Toggles whether return invokes the activate signal or not.</doc>
+ <type name="gboolean"/>
</property>
<property name="attributes"
version="1.0"
writable="1"
- doc="A list of #PangoStyleAttribute<!-- -->s to be applied to the
-contents of the #ClutterText actor.">
- <type name="Pango.AttrList" c:type="PangoAttrList"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">A list of #PangoStyleAttribute<!-- -->s to be applied to the
+contents of the #ClutterText actor.</doc>
+ <type name="Pango.AttrList"/>
</property>
<property name="color"
version="1.0"
writable="1"
- doc="The color used to render the text.">
- <type name="Color" c:type="ClutterColor"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The color used to render the text.</doc>
+ <type name="Color"/>
</property>
<property name="cursor-color"
version="1.0"
writable="1"
- doc="The color of the cursor.">
- <type name="Color" c:type="ClutterColor"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The color of the cursor.</doc>
+ <type name="Color"/>
</property>
<property name="cursor-color-set"
version="1.0"
- doc="Will be set to %TRUE if #ClutterText:cursor-color has been set.">
- <type name="boolean" c:type="gboolean"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Will be set to %TRUE if #ClutterText:cursor-color has been set.</doc>
+ <type name="gboolean"/>
</property>
<property name="cursor-size"
version="1.0"
writable="1"
- doc="The size of the cursor, in pixels. If set to -1 the size used will
-be the default cursor size of 2 pixels.">
- <type name="int" c:type="gint"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The size of the cursor, in pixels. If set to -1 the size used will
+be the default cursor size of 2 pixels.</doc>
+ <type name="gint"/>
</property>
<property name="cursor-visible"
version="1.0"
writable="1"
- doc="Whether the input cursor is visible or not, it will only be visible
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the input cursor is visible or not, it will only be visible
if both #ClutterText:cursor-visible and #ClutterText:editable are
-set to %TRUE.">
- <type name="boolean" c:type="gboolean"/>
+set to %TRUE.</doc>
+ <type name="gboolean"/>
</property>
<property name="editable"
version="1.0"
writable="1"
- doc="Whether key events delivered to the actor causes editing.">
- <type name="boolean" c:type="gboolean"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether key events delivered to the actor causes editing.</doc>
+ <type name="gboolean"/>
</property>
<property name="ellipsize"
version="1.0"
writable="1"
- doc="The preferred place to ellipsize the contents of the #ClutterText actor">
- <type name="Pango.EllipsizeMode" c:type="PangoEllipsizeMode"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The preferred place to ellipsize the contents of the #ClutterText actor</doc>
+ <type name="Pango.EllipsizeMode"/>
</property>
<property name="font-description"
version="1.2"
writable="1"
- doc="The #PangoFontDescription that should be used by the #ClutterText
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The #PangoFontDescription that should be used by the #ClutterText
If you have a string describing the font then you should look at
-#ClutterText:font-name instead">
- <type name="Pango.FontDescription" c:type="PangoFontDescription"/>
+#ClutterText:font-name instead</doc>
+ <type name="Pango.FontDescription"/>
</property>
<property name="font-name"
version="1.0"
writable="1"
- doc="The font to be used by the #ClutterText, as a string
-that can be parsed by pango_font_description_from_string().">
- <type name="utf8" c:type="gchararray"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The font to be used by the #ClutterText, as a string
+that can be parsed by pango_font_description_from_string().
+If set to %NULL, the default system font will be used instead.</doc>
+ <type name="utf8"/>
</property>
<property name="justify"
version="1.0"
writable="1"
- doc="Whether the contents of the #ClutterText should be justified
-on both margins.">
- <type name="boolean" c:type="gboolean"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the contents of the #ClutterText should be justified
+on both margins.</doc>
+ <type name="gboolean"/>
</property>
<property name="line-alignment"
version="1.0"
writable="1"
- doc="The preferred alignment for the text. This property controls
-the alignment of multi-line paragraphs.">
- <type name="Pango.Alignment" c:type="PangoAlignment"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The preferred alignment for the text. This property controls
+the alignment of multi-line paragraphs.</doc>
+ <type name="Pango.Alignment"/>
</property>
<property name="line-wrap"
version="1.0"
writable="1"
- doc="Whether to wrap the lines of #ClutterText:text if the contents
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether to wrap the lines of #ClutterText:text if the contents
exceed the available allocation. The wrapping strategy is
-controlled by the #ClutterText:line-wrap-mode property.">
- <type name="boolean" c:type="gboolean"/>
+controlled by the #ClutterText:line-wrap-mode property.</doc>
+ <type name="gboolean"/>
</property>
<property name="line-wrap-mode"
version="1.0"
writable="1"
- doc="If #ClutterText:line-wrap is set to %TRUE, this property will
-control how the text is wrapped.">
- <type name="Pango.WrapMode" c:type="PangoWrapMode"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">If #ClutterText:line-wrap is set to %TRUE, this property will
+control how the text is wrapped.</doc>
+ <type name="Pango.WrapMode"/>
</property>
<property name="max-length"
version="1.0"
writable="1"
- doc="The maximum length of the contents of the #ClutterText actor.">
- <type name="int" c:type="gint"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The maximum length of the contents of the #ClutterText actor.</doc>
+ <type name="gint"/>
</property>
<property name="password-char"
version="1.0"
writable="1"
- doc="If non-zero, the character that should be used in place of
-the actual text in a password text actor.">
- <type name="uint" c:type="guint"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">If non-zero, the character that should be used in place of
+the actual text in a password text actor.</doc>
+ <type name="guint"/>
</property>
<property name="position"
version="1.0"
writable="1"
- doc="The current input cursor position. -1 is taken to be the end of the text">
- <type name="int" c:type="gint"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The current input cursor position. -1 is taken to be the end of the text</doc>
+ <type name="gint"/>
</property>
<property name="selectable"
version="1.0"
writable="1"
- doc="Whether it is possible to select text, either using the pointer
-or the keyboard.">
- <type name="boolean" c:type="gboolean"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether it is possible to select text, either using the pointer
+or the keyboard.</doc>
+ <type name="gboolean"/>
</property>
<property name="selection-bound"
version="1.0"
writable="1"
- doc="The current input cursor position. -1 is taken to be the end of the text">
- <type name="int" c:type="gint"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The current input cursor position. -1 is taken to be the end of the text</doc>
+ <type name="gint"/>
</property>
<property name="selection-color"
version="1.0"
writable="1"
- doc="The color of the selection.">
- <type name="Color" c:type="ClutterColor"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The color of the selection.</doc>
+ <type name="Color"/>
</property>
<property name="selection-color-set"
version="1.0"
- doc="Will be set to %TRUE if #ClutterText:selection-color has been set.">
- <type name="boolean" c:type="gboolean"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Will be set to %TRUE if #ClutterText:selection-color has been set.</doc>
+ <type name="gboolean"/>
</property>
<property name="single-line-mode"
version="1.0"
writable="1"
- doc="Whether the #ClutterText actor should be in single line mode
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the #ClutterText actor should be in single line mode
or not. A single line #ClutterText actor will only contain a
single line of text, scrolling it in case its length is bigger
than the allocated size.
Setting this property will also set the #ClutterText:activatable
-property as a side-effect.">
- <type name="boolean" c:type="gboolean"/>
+property as a side-effect.
+The #ClutterText:single-line-mode property is used only if the
+#ClutterText:editable property is set to %TRUE.</doc>
+ <type name="gboolean"/>
</property>
<property name="text"
version="1.0"
writable="1"
- doc="The text to render inside the actor.">
- <type name="utf8" c:type="gchararray"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The text to render inside the actor.</doc>
+ <type name="utf8"/>
</property>
<property name="use-markup"
version="1.0"
writable="1"
- doc="Whether the text includes Pango markup. See pango_layout_set_markup()
-in the Pango documentation.">
- <type name="boolean" c:type="gboolean"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the text includes Pango markup.
+For more informations about the Pango markup format, see
+pango_layout_set_markup() in the Pango documentation.
+<note>It is not possible to round-trip this property between
+%TRUE and %FALSE. Once a string with markup has been set on
+a #ClutterText actor with :use-markup set to %TRUE, the markup
+is stripped from the string.</note></doc>
+ <type name="gboolean"/>
</property>
<field name="parent_instance">
<type name="Actor" c:type="ClutterActor"/>
<field name="priv">
<type name="TextPrivate" c:type="ClutterTextPrivate*"/>
</field>
- <glib:signal name="activate">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
+ <glib:signal name="activate">
+ <return-value transfer-ownership="none">
+ <type name="none"/>
</return-value>
</glib:signal>
- <glib:signal name="cursor-event"
- doc="The ::cursor-event signal is emitted whenever the cursor position
+ <glib:signal name="cursor-event" version="1.0">
+ <doc xml:whitespace="preserve">The ::cursor-event signal is emitted whenever the cursor position
changes inside a #ClutterText actor. Inside @geometry it is stored
the current position and size of the cursor, relative to the actor
-itself."
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
+itself.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
</return-value>
<parameters>
- <parameter name="geometry" transfer-ownership="none">
- <type name="Geometry" c:type="ClutterGeometry"/>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the coordinates of the cursor</doc>
+ <type name="Geometry"/>
</parameter>
</parameters>
</glib:signal>
- <glib:signal name="delete-text"
- doc="This signal is emitted when text is deleted from the actor by
-the user. It is emitted before @self text changes."
- version="1.2">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
+ <glib:signal name="delete-text" version="1.2">
+ <doc xml:whitespace="preserve">This signal is emitted when text is deleted from the actor by
+the user. It is emitted before @self text changes.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
</return-value>
<parameters>
- <parameter name="start_pos" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the starting position</doc>
+ <type name="gint"/>
</parameter>
- <parameter name="end_pos" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="p0" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the end position</doc>
+ <type name="gint"/>
</parameter>
</parameters>
</glib:signal>
- <glib:signal name="insert-text"
- doc="This signal is emitted when text is inserted into the actor by
-the user. It is emitted before @self text changes."
- version="1.2">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
+ <glib:signal name="insert-text" version="1.2">
+ <doc xml:whitespace="preserve">This signal is emitted when text is inserted into the actor by
+the user. It is emitted before @self text changes.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
</return-value>
<parameters>
- <parameter name="new_text" transfer-ownership="none">
- <type name="utf8" c:type="gchararray"/>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the new text to insert</doc>
+ <type name="utf8"/>
</parameter>
- <parameter name="new_text_length"
- transfer-ownership="none"
- doc=" new_text is nul-terminated">
- <type name="int" c:type="gint"/>
+ <parameter name="p0" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the length of the new text, in bytes, or -1 if new_text is nul-terminated</doc>
+ <type name="gint"/>
</parameter>
- <parameter name="position"
- transfer-ownership="none"
- doc=" new text. this is an in-out parameter. After the signal emission is finished, it should point after the newly inserted text.">
- <type name="any" c:type="gpointer"/>
+ <parameter name="p1" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the position, in characters, at which to insert the new text. this is an in-out parameter. After the signal emission is finished, it should point after the newly inserted text.</doc>
+ <type name="gpointer"/>
</parameter>
</parameters>
</glib:signal>
- <glib:signal name="text-changed"
- doc="The ::text-changed signal is emitted after @actor's text changes"
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
+ <glib:signal name="text-changed" version="1.0">
+ <doc xml:whitespace="preserve">The ::text-changed signal is emitted after @actor's text changes</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
</return-value>
</glib:signal>
</class>
<record name="TextClass"
c:type="ClutterTextClass"
glib:is-gtype-struct-for="Text"
- doc="The #ClutterTextClass struct contains only private data."
version="1.0">
+ <doc xml:whitespace="preserve">The #ClutterTextClass struct contains only private data.</doc>
<field name="parent_class">
<type name="ActorClass" c:type="ClutterActorClass"/>
</field>
<field name="text_changed">
- <callback name="text_changed" c:type="text_changed">
+ <callback name="text_changed">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="activate">
- <callback name="activate" c:type="activate">
+ <callback name="activate">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="cursor_event">
- <callback name="cursor_event" c:type="cursor_event">
+ <callback name="cursor_event">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</parameters>
</callback>
</field>
- <field name="clutter_reserved1">
- <callback name="clutter_reserved1" c:type="_clutter_reserved1">
+ <field name="_clutter_reserved1" introspectable="0">
+ <callback name="_clutter_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_reserved2">
- <callback name="clutter_reserved2" c:type="_clutter_reserved2">
+ <field name="_clutter_reserved2" introspectable="0">
+ <callback name="_clutter_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_reserved3">
- <callback name="clutter_reserved3" c:type="_clutter_reserved3">
+ <field name="_clutter_reserved3" introspectable="0">
+ <callback name="_clutter_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_reserved4">
- <callback name="clutter_reserved4" c:type="_clutter_reserved4">
+ <field name="_clutter_reserved4" introspectable="0">
+ <callback name="_clutter_reserved4">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_reserved5">
- <callback name="clutter_reserved5" c:type="_clutter_reserved5">
+ <field name="_clutter_reserved5" introspectable="0">
+ <callback name="_clutter_reserved5">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_reserved6">
- <callback name="clutter_reserved6" c:type="_clutter_reserved6">
+ <field name="_clutter_reserved6" introspectable="0">
+ <callback name="_clutter_reserved6">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_reserved7">
- <callback name="clutter_reserved7" c:type="_clutter_reserved7">
+ <field name="_clutter_reserved7" introspectable="0">
+ <callback name="_clutter_reserved7">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_reserved8">
- <callback name="clutter_reserved8" c:type="_clutter_reserved8">
+ <field name="_clutter_reserved8" introspectable="0">
+ <callback name="_clutter_reserved8">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</field>
</record>
<enumeration name="TextDirection"
- doc="The text direction to be used by #ClutterActor<!-- -->s"
version="1.2"
glib:type-name="ClutterTextDirection"
glib:get-type="clutter_text_direction_get_type"
c:type="ClutterTextDirection">
+ <doc xml:whitespace="preserve">The text direction to be used by #ClutterActor<!-- -->s</doc>
<member name="default"
value="0"
c:identifier="CLUTTER_TEXT_DIRECTION_DEFAULT"
c:identifier="CLUTTER_TEXT_DIRECTION_RTL"
glib:nick="rtl"/>
</enumeration>
- <record name="TextPrivate" c:type="ClutterTextPrivate">
+ <record name="TextPrivate" c:type="ClutterTextPrivate" disguised="1">
</record>
<class name="Texture"
+ c:symbol-prefix="texture"
c:type="ClutterTexture"
- doc="The #ClutterTexture structure contains only private data
-and should be accessed using the provided API"
version="0.1"
parent="Actor"
glib:type-name="ClutterTexture"
glib:get-type="clutter_texture_get_type"
glib:type-struct="TextureClass">
+ <doc xml:whitespace="preserve">The #ClutterTexture structure contains only private data
+and should be accessed using the provided API</doc>
+ <implements name="Atk.ImplementorIface"/>
+ <implements name="Animatable"/>
<implements name="Scriptable"/>
- <constructor name="new"
- c:identifier="clutter_texture_new"
- doc="Creates a new empty #ClutterTexture object.">
- <return-value transfer-ownership="full">
- <type name="Texture" c:type="ClutterActor*"/>
- </return-value>
- </constructor>
- <constructor name="new_from_file"
- c:identifier="clutter_texture_new_from_file"
- doc="Creates a new ClutterTexture actor to display the image contained a
-file. If the image failed to load then NULL is returned and @error
-is set.
-error."
- version="0.8"
- throws="1">
- <return-value transfer-ownership="full">
- <type name="Texture" c:type="ClutterActor*"/>
+ <constructor name="new" c:identifier="clutter_texture_new">
+ <doc xml:whitespace="preserve">Creates a new empty #ClutterTexture object.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">A newly created #ClutterTexture object.</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</return-value>
- <parameters>
- <parameter name="filename" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- </parameters>
</constructor>
<constructor name="new_from_actor"
c:identifier="clutter_texture_new_from_actor"
- doc="Creates a new #ClutterTexture object with its source a prexisting
+ version="0.6">
+ <doc xml:whitespace="preserve">Creates a new #ClutterTexture object with its source a prexisting
actor (and associated children). The textures content will contain
-'live' redirected output of the actors scene.
+'live' redirected output of the actors scene.
Note this function is intented as a utility call for uniformly applying
shaders to groups and other potential visual effects. It requires that
the %CLUTTER_FEATURE_OFFSCREEN feature is supported by the current backend
<listitem>
<para>When getting the image for the clone texture, Clutter
will attempt to render the source actor exactly as it would
-appear if it was rendered on screen. The source actor's parent
+appear if it was rendered on screen. The source actor's parent
transformations are taken into account. Therefore if your
source actor is rotated along the X or Y axes so that it has
some depth, the texture will appear differently depending on
clutter_texture_get_cogl_texture() can be used to read the
offscreen texture pixels into a pixbuf.</para>
</listitem>
-</itemizedlist>"
- version="0.6">
- <return-value transfer-ownership="full">
- <type name="Texture" c:type="ClutterActor*"/>
+</itemizedlist></doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">A newly created #ClutterTexture object, or %NULL on failure.</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</return-value>
<parameters>
<parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">A source #ClutterActor</doc>
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
</parameters>
</constructor>
- <method name="set_from_file"
- c:identifier="clutter_texture_set_from_file"
- doc="Sets the #ClutterTexture image data from an image file. In case of
-failure, %FALSE is returned and @error is set.
-If #ClutterTexture:load-async is set to %TRUE, this function
-will return as soon as possible, and the actual image loading
-from disk will be performed asynchronously. #ClutterTexture::size-change
-will be emitten when the size of the texture is available and
-#ClutterTexture::load-finished will be emitted when the image has been
-loaded or if an error occurred."
- version="0.8"
- throws="1">
+ <constructor name="new_from_file"
+ c:identifier="clutter_texture_new_from_file"
+ version="0.8"
+ throws="1">
+ <doc xml:whitespace="preserve">Creates a new ClutterTexture actor to display the image contained a
+file. If the image failed to load then NULL is returned and @error
+is set.
+error.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">A newly created #ClutterTexture object or NULL on</doc>
+ <type name="Actor" c:type="ClutterActor*"/>
</return-value>
<parameters>
<parameter name="filename" transfer-ownership="none">
+ <doc xml:whitespace="preserve">The name of an image file to load.</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
- </method>
- <method name="set_from_rgb_data"
- c:identifier="clutter_texture_set_from_rgb_data"
- doc="Sets #ClutterTexture image data."
- version="0.4."
- throws="1">
+ </constructor>
+ <method name="get_base_size"
+ c:identifier="clutter_texture_get_base_size">
+ <doc xml:whitespace="preserve">Gets the size in pixels of the untransformed underlying image</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="data" transfer-ownership="none">
- <array c:type="guchar*">
- <type name="uint8"/>
- </array>
- </parameter>
- <parameter name="has_alpha" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </parameter>
- <parameter name="width" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="height" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="rowstride" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="bpp"
- transfer-ownership="none"
- doc=" depending on @has_alpha)">
- <type name="int" c:type="gint"/>
+ <parameter name="width"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the width, or %NULL</doc>
+ <type name="gint" c:type="gint*"/>
</parameter>
- <parameter name="flags" transfer-ownership="none">
- <type name="TextureFlags" c:type="ClutterTextureFlags"/>
+ <parameter name="height"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the height, or %NULL</doc>
+ <type name="gint" c:type="gint*"/>
</parameter>
</parameters>
</method>
- <method name="set_from_yuv_data"
- c:identifier="clutter_texture_set_from_yuv_data"
- doc="Sets a #ClutterTexture from YUV image data. If an error occurred,
-%FALSE is returned and @error is set."
- version="0.4"
- throws="1">
+ <method name="get_cogl_material"
+ c:identifier="clutter_texture_get_cogl_material"
+ version="1.0">
+ <doc xml:whitespace="preserve">Returns a handle to the underlying COGL material used for drawing
+the actor.
+material is owned by the #ClutterTexture and it should not be
+unreferenced</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a handle for a #CoglMaterial. The</doc>
+ <type name="Cogl.Handle" c:type="CoglHandle"/>
+ </return-value>
+ </method>
+ <method name="get_cogl_texture"
+ c:identifier="clutter_texture_get_cogl_texture"
+ version="0.8">
+ <doc xml:whitespace="preserve">Retrieves the handle to the underlying COGL texture used for drawing
+the actor. No extra reference is taken so if you need to keep the
+handle then you should call cogl_handle_ref() on it.
+The texture handle returned is the first layer of the material
+handle used by the #ClutterTexture. If you need to access the other
+layers you should use clutter_texture_get_cogl_material() instead
+and use the #CoglMaterial API.
+handle is owned by the #ClutterTexture and it should not be unreferenced</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #CoglHandle for the texture. The returned</doc>
+ <type name="Cogl.Handle" c:type="CoglHandle"/>
+ </return-value>
+ </method>
+ <method name="get_filter_quality"
+ c:identifier="clutter_texture_get_filter_quality">
+ <return-value transfer-ownership="none">
+ <type name="TextureQuality" c:type="ClutterTextureQuality"/>
+ </return-value>
+ </method>
+ <method name="get_keep_aspect_ratio"
+ c:identifier="clutter_texture_get_keep_aspect_ratio"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the value set using clutter_texture_set_keep_aspect_ratio()
+aspect ratio of the underlying image</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the #ClutterTexture should maintain the</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ </method>
+ <method name="get_load_async"
+ c:identifier="clutter_texture_get_load_async"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the value set using clutter_texture_set_load_async()
+disk asynchronously</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the #ClutterTexture should load the data from</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ </method>
+ <method name="get_load_data_async"
+ c:identifier="clutter_texture_get_load_data_async"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the value set by clutter_texture_set_load_data_async()
+data from a file asynchronously</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the #ClutterTexture should load the image</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ </method>
+ <method name="get_max_tile_waste"
+ c:identifier="clutter_texture_get_max_tile_waste">
+ <return-value transfer-ownership="none">
+ <type name="gint" c:type="gint"/>
+ </return-value>
+ </method>
+ <method name="get_pick_with_alpha"
+ c:identifier="clutter_texture_get_pick_with_alpha"
+ version="1.4">
+ <doc xml:whitespace="preserve">Retrieves the value set by clutter_texture_set_load_data_async()
+using the alpha channel when picking.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the #ClutterTexture should define its shape</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ </method>
+ <method name="get_pixel_format"
+ c:identifier="clutter_texture_get_pixel_format"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the pixel format used by @texture. This is
+equivalent to:
+|[
+handle = clutter_texture_get_pixel_format (texture);
+if (handle != COGL_INVALID_HANDLE)
+format = cogl_texture_get_format (handle);
+]|</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #CoglPixelFormat value</doc>
+ <type name="Cogl.PixelFormat" c:type="CoglPixelFormat"/>
+ </return-value>
+ </method>
+ <method name="get_repeat"
+ c:identifier="clutter_texture_get_repeat"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the horizontal and vertical repeat values set
+using clutter_texture_set_repeat()</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="data" transfer-ownership="none">
- <array c:type="guchar*">
- <type name="uint8"/>
- </array>
- </parameter>
- <parameter name="width" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="height" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="repeat_x"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the horizontal repeat</doc>
+ <type name="gboolean" c:type="gboolean*"/>
</parameter>
- <parameter name="flags" transfer-ownership="none">
- <type name="TextureFlags" c:type="ClutterTextureFlags"/>
+ <parameter name="repeat_y"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the vertical repeat</doc>
+ <type name="gboolean" c:type="gboolean*"/>
</parameter>
</parameters>
</method>
+ <method name="get_sync_size"
+ c:identifier="clutter_texture_get_sync_size"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the value set with clutter_texture_set_sync_size()
+preferred size of the underlying image data</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the #ClutterTexture should have the same</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ </method>
<method name="set_area_from_rgb_data"
c:identifier="clutter_texture_set_area_from_rgb_data"
- doc="Updates a sub-region of the pixel data in a #ClutterTexture."
version="0.6"
throws="1">
+ <doc xml:whitespace="preserve">Updates a sub-region of the pixel data in a #ClutterTexture.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">%TRUE on success, %FALSE on failure.</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="data" transfer-ownership="none">
- <array c:type="guchar*">
- <type name="uint8"/>
- </array>
+ <doc xml:whitespace="preserve">Image data in RGB type colorspace.</doc>
+ <type name="guint8" c:type="guchar*"/>
</parameter>
<parameter name="has_alpha" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">Set to TRUE if image data has an alpha channel.</doc>
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="x" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <doc xml:whitespace="preserve">X coordinate of upper left corner of region to update.</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
<parameter name="y" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <doc xml:whitespace="preserve">Y coordinate of upper left corner of region to update.</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
<parameter name="width" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <doc xml:whitespace="preserve">Width in pixels of region to update.</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
<parameter name="height" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <doc xml:whitespace="preserve">Height in pixels of region to update.</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
<parameter name="rowstride" transfer-ownership="none">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="bpp"
- transfer-ownership="none"
- doc=" depending on @has_alpha)">
- <type name="int" c:type="gint"/>
- </parameter>
- <parameter name="flags" transfer-ownership="none">
- <type name="TextureFlags" c:type="ClutterTextureFlags"/>
- </parameter>
- </parameters>
- </method>
- <method name="get_base_size"
- c:identifier="clutter_texture_get_base_size"
- doc="Gets the size in pixels of the untransformed underlying image">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="width"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- doc="return location for the width, or %NULL">
- <type name="int" c:type="gint*"/>
- </parameter>
- <parameter name="height"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- doc="return location for the height, or %NULL">
- <type name="int" c:type="gint*"/>
- </parameter>
- </parameters>
- </method>
- <method name="set_filter_quality"
- c:identifier="clutter_texture_set_filter_quality"
- doc="Sets the filter quality when scaling a texture. The quality is an
-enumeration currently the following values are supported:
-%CLUTTER_TEXTURE_QUALITY_LOW which is fast but only uses nearest neighbour
-interpolation. %CLUTTER_TEXTURE_QUALITY_MEDIUM which is computationally a
-bit more expensive (bilinear interpolation), and
-%CLUTTER_TEXTURE_QUALITY_HIGH which uses extra texture memory resources to
-improve scaled down rendering as well (by using mipmaps). The default value
-is %CLUTTER_TEXTURE_QUALITY_MEDIUM."
- version="0.8">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="filter_quality" transfer-ownership="none">
- <type name="TextureQuality" c:type="ClutterTextureQuality"/>
+ <doc xml:whitespace="preserve">Distance in bytes between row starts on source buffer.</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
- </parameters>
- </method>
- <method name="get_filter_quality"
- c:identifier="clutter_texture_get_filter_quality">
- <return-value transfer-ownership="full">
- <type name="TextureQuality" c:type="ClutterTextureQuality"/>
- </return-value>
- </method>
- <method name="get_cogl_texture"
- c:identifier="clutter_texture_get_cogl_texture">
- <return-value transfer-ownership="full">
- <type name="Cogl.Handle" c:type="CoglHandle"/>
- </return-value>
- </method>
- <method name="set_cogl_texture"
- c:identifier="clutter_texture_set_cogl_texture">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="cogl_tex" transfer-ownership="none">
- <type name="Cogl.Handle" c:type="CoglHandle"/>
+ <parameter name="bpp" transfer-ownership="none">
+ <doc xml:whitespace="preserve">bytes per pixel (Currently only 3 and 4 supported, depending on @has_alpha)</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
- </parameters>
- </method>
- <method name="get_cogl_material"
- c:identifier="clutter_texture_get_cogl_material"
- doc="Returns a handle to the underlying COGL material used for drawing
-the actor. No extra reference is taken so if you need to keep the
-handle then you should call cogl_handle_ref() on it."
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="Cogl.Handle" c:type="CoglHandle"/>
- </return-value>
+ <parameter name="flags" transfer-ownership="none">
+ <doc xml:whitespace="preserve">#ClutterTextureFlags</doc>
+ <type name="TextureFlags" c:type="ClutterTextureFlags"/>
+ </parameter>
+ </parameters>
</method>
<method name="set_cogl_material"
c:identifier="clutter_texture_set_cogl_material"
- doc="Replaces the underlying Cogl material drawn by this actor with
-handle is no longer needed it should be deref'd with
+ version="0.8">
+ <doc xml:whitespace="preserve">Replaces the underlying Cogl material drawn by this actor with
+handle is no longer needed it should be deref'd with
cogl_handle_unref. Texture data is attached to the material so
calling this function also replaces the Cogl
texture. #ClutterTexture requires that the material have a texture
layer so you should set one on the material before calling this
-function."
- version="0.8">
+function.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="cogl_material" transfer-ownership="none">
+ <doc xml:whitespace="preserve">A CoglHandle for a material</doc>
<type name="Cogl.Handle" c:type="CoglHandle"/>
</parameter>
</parameters>
</method>
- <method name="set_sync_size"
- c:identifier="clutter_texture_set_sync_size"
- doc="Sets whether @texture should have the same preferred size as the
-underlying image data."
- version="1.0">
+ <method name="set_cogl_texture"
+ c:identifier="clutter_texture_set_cogl_texture">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="sync_size"
- transfer-ownership="none"
- doc=" underlying image data">
- <type name="boolean" c:type="gboolean"/>
+ <parameter name="cogl_tex" transfer-ownership="none">
+ <type name="Cogl.Handle" c:type="CoglHandle"/>
</parameter>
</parameters>
</method>
- <method name="get_sync_size"
- c:identifier="clutter_texture_get_sync_size"
- doc="Retrieves the value set with clutter_texture_get_sync_size()
-preferred size of the underlying image data"
- version="1.0">
+ <method name="set_filter_quality"
+ c:identifier="clutter_texture_set_filter_quality"
+ version="0.8">
+ <doc xml:whitespace="preserve">Sets the filter quality when scaling a texture. The quality is an
+enumeration currently the following values are supported:
+%CLUTTER_TEXTURE_QUALITY_LOW which is fast but only uses nearest neighbour
+interpolation. %CLUTTER_TEXTURE_QUALITY_MEDIUM which is computationally a
+bit more expensive (bilinear interpolation), and
+%CLUTTER_TEXTURE_QUALITY_HIGH which uses extra texture memory resources to
+improve scaled down rendering as well (by using mipmaps). The default value
+is %CLUTTER_TEXTURE_QUALITY_MEDIUM.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="filter_quality" transfer-ownership="none">
+ <doc xml:whitespace="preserve">new filter quality value</doc>
+ <type name="TextureQuality" c:type="ClutterTextureQuality"/>
+ </parameter>
+ </parameters>
</method>
- <method name="set_repeat"
- c:identifier="clutter_texture_set_repeat"
- doc="Sets whether the @texture should repeat horizontally or
-vertically when the actor size is bigger than the image size"
- version="1.0">
+ <method name="set_from_file"
+ c:identifier="clutter_texture_set_from_file"
+ version="0.8"
+ throws="1">
+ <doc xml:whitespace="preserve">Sets the #ClutterTexture image data from an image file. In case of
+failure, %FALSE is returned and @error is set.
+If #ClutterTexture:load-async is set to %TRUE, this function
+will return as soon as possible, and the actual image loading
+from disk will be performed asynchronously. #ClutterTexture::size-change
+will be emitten when the size of the texture is available and
+#ClutterTexture::load-finished will be emitted when the image has been
+loaded or if an error occurred.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">%TRUE if the image was successfully loaded and set</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
- <parameter name="repeat_x" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </parameter>
- <parameter name="repeat_y" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <parameter name="filename" transfer-ownership="none">
+ <doc xml:whitespace="preserve">The filename of the image in GLib file name encoding</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
- <method name="get_repeat"
- c:identifier="clutter_texture_get_repeat"
- doc="Retrieves the horizontal and vertical repeat values set
-using clutter_texture_set_repeat()"
- version="1.0">
+ <method name="set_from_rgb_data"
+ c:identifier="clutter_texture_set_from_rgb_data"
+ version="0.4."
+ throws="1">
+ <doc xml:whitespace="preserve">Sets #ClutterTexture image data.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">%TRUE on success, %FALSE on failure.</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
- <parameter name="repeat_x"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- doc="return location for the horizontal repeat">
- <type name="boolean" c:type="gboolean*"/>
+ <parameter name="data" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Image data in RGBA type colorspace.</doc>
+ <type name="guint8" c:type="guchar*"/>
</parameter>
- <parameter name="repeat_y"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- doc="return location for the vertical repeat">
- <type name="boolean" c:type="gboolean*"/>
+ <parameter name="has_alpha" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Set to TRUE if image data has an alpha channel.</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </parameter>
+ <parameter name="width" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Width in pixels of image data.</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="height" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Height in pixels of image data</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="rowstride" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Distance in bytes between row starts.</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="bpp" transfer-ownership="none">
+ <doc xml:whitespace="preserve">bytes per pixel (Currently only 3 and 4 supported, depending on @has_alpha)</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="flags" transfer-ownership="none">
+ <doc xml:whitespace="preserve">#ClutterTextureFlags</doc>
+ <type name="TextureFlags" c:type="ClutterTextureFlags"/>
</parameter>
</parameters>
</method>
- <method name="get_pixel_format"
- c:identifier="clutter_texture_get_pixel_format"
- doc="Retrieves the pixel format used by @texture. This is
-equivalent to:
-|[
-handle = clutter_texture_get_pixel_format (texture);
-if (handle != COGL_INVALID_HANDLE)
-format = cogl_texture_get_format (handle);
-]|"
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="Cogl.PixelFormat" c:type="CoglPixelFormat"/>
- </return-value>
- </method>
- <method name="get_max_tile_waste"
- c:identifier="clutter_texture_get_max_tile_waste">
+ <method name="set_from_yuv_data"
+ c:identifier="clutter_texture_set_from_yuv_data"
+ version="0.4"
+ throws="1">
+ <doc xml:whitespace="preserve">Sets a #ClutterTexture from YUV image data. If an error occurred,
+%FALSE is returned and @error is set.</doc>
<return-value transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <doc xml:whitespace="preserve">%TRUE if the texture was successfully updated</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
+ <parameters>
+ <parameter name="data" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Image data in YUV type colorspace.</doc>
+ <type name="guint8" c:type="guchar*"/>
+ </parameter>
+ <parameter name="width" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Width in pixels of image data.</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="height" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Height in pixels of image data</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="flags" transfer-ownership="none">
+ <doc xml:whitespace="preserve">#ClutterTextureFlags</doc>
+ <type name="TextureFlags" c:type="ClutterTextureFlags"/>
+ </parameter>
+ </parameters>
</method>
<method name="set_keep_aspect_ratio"
c:identifier="clutter_texture_set_keep_aspect_ratio"
- doc="Sets whether @texture should have a preferred size maintaining
-the aspect ratio of the underlying image"
version="1.0">
+ <doc xml:whitespace="preserve">Sets whether @texture should have a preferred size maintaining
+the aspect ratio of the underlying image</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="keep_aspect" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">%TRUE to maintain aspect ratio</doc>
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
- <method name="get_keep_aspect_ratio"
- c:identifier="clutter_texture_get_keep_aspect_ratio"
- doc="Retrieves the value set using clutter_texture_get_keep_aspect_ratio()
-aspect ratio of the underlying image"
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- </method>
<method name="set_load_async"
c:identifier="clutter_texture_set_load_async"
- doc="Sets whether @texture should use a worker thread to load the data
+ version="1.0">
+ <doc xml:whitespace="preserve">Sets whether @texture should use a worker thread to load the data
from disk asynchronously. Setting @load_async to %TRUE will make
clutter_texture_set_from_file() return immediately.
See the #ClutterTexture:load-async property documentation, and
-clutter_texture_set_load_data_async()."
- version="1.0">
+clutter_texture_set_load_data_async().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="load_async"
- transfer-ownership="none"
- doc=" from a filename">
- <type name="boolean" c:type="gboolean"/>
+ <parameter name="load_async" transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the texture should asynchronously load data from a filename</doc>
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
- <method name="get_load_async"
- c:identifier="clutter_texture_get_load_async"
- doc="Retrieves the value set using clutter_texture_get_load_async()
-disk asynchronously"
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- </method>
<method name="set_load_data_async"
c:identifier="clutter_texture_set_load_data_async"
- doc="Sets whether @texture should use a worker thread to load the data
+ version="1.0">
+ <doc xml:whitespace="preserve">Sets whether @texture should use a worker thread to load the data
from disk asynchronously. Setting @load_async to %TRUE will make
clutter_texture_set_from_file() block until the #ClutterTexture has
determined the width and height of the image data.
See the #ClutterTexture:load-async property documentation, and
-clutter_texture_set_load_async()."
+clutter_texture_set_load_async().</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="load_async" transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the texture should asynchronously load data from a filename</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_pick_with_alpha"
+ c:identifier="clutter_texture_set_pick_with_alpha"
+ version="1.4">
+ <doc xml:whitespace="preserve">Sets whether @texture should have it's shape defined by the alpha
+channel when picking.
+Be aware that this is a bit more costly than the default picking
+due to the texture lookup, extra test against the alpha value and
+the fact that it will also interrupt the batching of geometry done
+internally.
+Also there is currently no control over the threshold used to
+determine what value of alpha is considered pickable, and so only
+fully opaque parts of the texture will react to picking.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="pick_with_alpha" transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the alpha channel should affect the picking shape</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_repeat"
+ c:identifier="clutter_texture_set_repeat"
version="1.0">
+ <doc xml:whitespace="preserve">Sets whether the @texture should repeat horizontally or
+vertically when the actor size is bigger than the image size</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="load_async"
- transfer-ownership="none"
- doc=" from a filename">
- <type name="boolean" c:type="gboolean"/>
+ <parameter name="repeat_x" transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the texture should repeat horizontally</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </parameter>
+ <parameter name="repeat_y" transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the texture should repeat vertically</doc>
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
- <method name="get_load_data_async"
- c:identifier="clutter_texture_get_load_data_async"
- doc="Retrieves the value set by clutter_texture_set_load_data_async()
-data from a file asynchronously"
+ <method name="set_sync_size"
+ c:identifier="clutter_texture_set_sync_size"
version="1.0">
+ <doc xml:whitespace="preserve">Sets whether @texture should have the same preferred size as the
+underlying image data.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="sync_size" transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the texture should have the same size of the underlying image data</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </parameter>
+ </parameters>
</method>
- <property name="cogl-material" writable="1">
- <type name="Cogl.Handle" c:type="CoglHandle"/>
+ <property name="cogl-material"
+ introspectable="0"
+ writable="1"
+ transfer-ownership="none">
+ <type/>
</property>
- <property name="cogl-texture" writable="1">
- <type name="Cogl.Handle" c:type="CoglHandle"/>
+ <property name="cogl-texture"
+ introspectable="0"
+ writable="1"
+ transfer-ownership="none">
+ <type/>
</property>
- <property name="disable-slicing" writable="1" construct-only="1">
- <type name="boolean" c:type="gboolean"/>
+ <property name="disable-slicing"
+ writable="1"
+ construct-only="1"
+ transfer-ownership="none">
+ <type name="gboolean"/>
</property>
- <property name="filename" readable="0" writable="1">
- <type name="utf8" c:type="gchararray"/>
+ <property name="filename" writable="1" transfer-ownership="none">
+ <doc xml:whitespace="preserve">The path of the file containing the image data to be displayed by
+the texture.
+This property is unset when using the clutter_texture_set_from_*_data()
+family of functions.</doc>
+ <type name="utf8"/>
</property>
- <property name="filter-quality" writable="1" construct="1">
- <type name="TextureQuality" c:type="ClutterTextureQuality"/>
+ <property name="filter-quality"
+ writable="1"
+ construct="1"
+ transfer-ownership="none">
+ <type name="TextureQuality"/>
</property>
- <property name="keep-aspect-ratio" writable="1">
- <type name="boolean" c:type="gboolean"/>
+ <property name="keep-aspect-ratio"
+ writable="1"
+ transfer-ownership="none">
+ <type name="gboolean"/>
</property>
<property name="load-async"
version="1.0"
readable="0"
writable="1"
- doc="Tries to load a texture from a filename by using a local thread to perform
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Tries to load a texture from a filename by using a local thread to perform
the read operations. The initially created texture has dimensions 0x0 when
the true size becomes available the #ClutterTexture::size-change signal is
emitted and when the image has completed loading the
the image.
The upload of the texture data on the GL pipeline is not asynchronous, as
it must be performed from within the same thread that called
-clutter_main().">
- <type name="boolean" c:type="gboolean"/>
+clutter_main().</doc>
+ <type name="gboolean"/>
</property>
<property name="load-data-async"
version="1.0"
readable="0"
writable="1"
- doc="Like #ClutterTexture:load-async but loads the width and height
-synchronously causing some blocking.">
- <type name="boolean" c:type="gboolean"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Like #ClutterTexture:load-async but loads the width and height
+synchronously causing some blocking.</doc>
+ <type name="gboolean"/>
+ </property>
+ <property name="pick-with-alpha" writable="1" transfer-ownership="none">
+ <type name="gboolean"/>
</property>
- <property name="pixel-format">
- <type name="Cogl.PixelFormat" c:type="CoglPixelFormat"/>
+ <property name="pixel-format" transfer-ownership="none">
+ <type name="Cogl.PixelFormat"/>
</property>
- <property name="repeat-x" writable="1">
- <type name="boolean" c:type="gboolean"/>
+ <property name="repeat-x" writable="1" transfer-ownership="none">
+ <type name="gboolean"/>
</property>
- <property name="repeat-y" writable="1">
- <type name="boolean" c:type="gboolean"/>
+ <property name="repeat-y" writable="1" transfer-ownership="none">
+ <type name="gboolean"/>
</property>
- <property name="sync-size" writable="1">
- <type name="boolean" c:type="gboolean"/>
+ <property name="sync-size" writable="1" transfer-ownership="none">
+ <type name="gboolean"/>
</property>
- <property name="tile-waste">
- <type name="int" c:type="gint"/>
+ <property name="tile-waste" transfer-ownership="none">
+ <type name="gint"/>
</property>
<field name="parent">
<type name="Actor" c:type="ClutterActor"/>
<field name="priv">
<type name="TexturePrivate" c:type="ClutterTexturePrivate*"/>
</field>
- <glib:signal name="load-finished"
- doc="The ::load-finished signal is emitted when a texture load has
+ <glib:signal name="load-finished" version="1.0">
+ <doc xml:whitespace="preserve">The ::load-finished signal is emitted when a texture load has
completed. If there was an error during loading, @error will
-be set, otherwise it will be %NULL"
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
+be set, otherwise it will be %NULL</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
</return-value>
<parameters>
- <parameter name="error" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">A set error, or %NULL</doc>
+ <type name="gpointer"/>
</parameter>
</parameters>
</glib:signal>
- <glib:signal name="pixbuf-change"
- doc="The ::pixbuf-change signal is emitted each time the pixbuf
-used by @texture changes.">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
+ <glib:signal name="pixbuf-change">
+ <doc xml:whitespace="preserve">The ::pixbuf-change signal is emitted each time the pixbuf
+used by @texture changes.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
</return-value>
</glib:signal>
- <glib:signal name="size-change"
- doc="The ::size-change signal is emitted each time the size of the
+ <glib:signal name="size-change">
+ <doc xml:whitespace="preserve">The ::size-change signal is emitted each time the size of the
pixbuf used by @texture changes. The new size is given as
-argument to the callback.">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
+argument to the callback.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
</return-value>
<parameters>
- <parameter name="width" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the width of the new texture</doc>
+ <type name="gint"/>
</parameter>
- <parameter name="height" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="p0" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the height of the new texture</doc>
+ <type name="gint"/>
</parameter>
</parameters>
</glib:signal>
<record name="TextureClass"
c:type="ClutterTextureClass"
glib:is-gtype-struct-for="Texture"
- doc="The #ClutterTextureClass structure contains only private data"
version="0.1">
+ <doc xml:whitespace="preserve">The #ClutterTextureClass structure contains only private data</doc>
<field name="parent_class">
<type name="ActorClass" c:type="ClutterActorClass"/>
</field>
<field name="size_change">
- <callback name="size_change" c:type="size_change">
+ <callback name="size_change">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<type name="Texture" c:type="ClutterTexture*"/>
</parameter>
<parameter name="width" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <type name="gint" c:type="gint"/>
</parameter>
<parameter name="height" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <type name="gint" c:type="gint"/>
</parameter>
</parameters>
</callback>
</field>
<field name="pixbuf_change">
- <callback name="pixbuf_change" c:type="pixbuf_change">
+ <callback name="pixbuf_change">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="load_finished">
- <callback name="load_finished" c:type="load_finished">
+ <callback name="load_finished">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</parameters>
</callback>
</field>
- <field name="clutter_texture1">
- <callback name="clutter_texture1" c:type="_clutter_texture1">
+ <field name="_clutter_texture1" introspectable="0">
+ <callback name="_clutter_texture1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_texture2">
- <callback name="clutter_texture2" c:type="_clutter_texture2">
+ <field name="_clutter_texture2" introspectable="0">
+ <callback name="_clutter_texture2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_texture3">
- <callback name="clutter_texture3" c:type="_clutter_texture3">
+ <field name="_clutter_texture3" introspectable="0">
+ <callback name="_clutter_texture3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_texture4">
- <callback name="clutter_texture4" c:type="_clutter_texture4">
+ <field name="_clutter_texture4" introspectable="0">
+ <callback name="_clutter_texture4">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_texture5">
- <callback name="clutter_texture5" c:type="_clutter_texture5">
+ <field name="_clutter_texture5" introspectable="0">
+ <callback name="_clutter_texture5">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</field>
</record>
<enumeration name="TextureError"
- doc="Error enumeration for #ClutterTexture"
version="0.4"
glib:type-name="ClutterTextureError"
glib:get-type="clutter_texture_error_get_type"
c:type="ClutterTextureError"
glib:error-quark="clutter_texture_error_quark">
+ <doc xml:whitespace="preserve">Error enumeration for #ClutterTexture</doc>
<member name="out_of_memory"
value="0"
c:identifier="CLUTTER_TEXTURE_ERROR_OUT_OF_MEMORY"
glib:nick="bad-format"/>
</enumeration>
<bitfield name="TextureFlags"
- doc="Flags for clutter_texture_set_from_rgb_data() and
-clutter_texture_set_from_yuv_data()."
version="0.4"
glib:type-name="ClutterTextureFlags"
glib:get-type="clutter_texture_flags_get_type"
c:type="ClutterTextureFlags">
+ <doc xml:whitespace="preserve">Flags for clutter_texture_set_from_rgb_data() and
+clutter_texture_set_from_yuv_data().</doc>
<member name="none"
value="0"
c:identifier="CLUTTER_TEXTURE_NONE"
c:identifier="CLUTTER_TEXTURE_YUV_FLAG_YUV2"
glib:nick="yuv-flag-yuv2"/>
</bitfield>
- <record name="TexturePrivate" c:type="ClutterTexturePrivate">
+ <record name="TexturePrivate" c:type="ClutterTexturePrivate" disguised="1">
</record>
<enumeration name="TextureQuality"
- doc="Enumaration controlling the texture quality."
version="0.8"
glib:type-name="ClutterTextureQuality"
glib:get-type="clutter_texture_quality_get_type"
c:type="ClutterTextureQuality">
+ <doc xml:whitespace="preserve">Enumaration controlling the texture quality.</doc>
<member name="low"
value="0"
c:identifier="CLUTTER_TEXTURE_QUALITY_LOW"
glib:nick="high"/>
</enumeration>
<constant name="Thai_baht" value="3551">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_bobaimai" value="3514">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_chochan" value="3496">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_chochang" value="3498">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_choching" value="3497">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_chochoe" value="3500">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_dochada" value="3502">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_dodek" value="3508">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_fofa" value="3517">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_fofan" value="3519">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_hohip" value="3531">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_honokhuk" value="3534">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_khokhai" value="3490">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_khokhon" value="3493">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_khokhuat" value="3491">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_khokhwai" value="3492">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_khorakhang" value="3494">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_kokai" value="3489">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_lakkhangyao" value="3557">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_lekchet" value="3575">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_lekha" value="3573">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_lekhok" value="3574">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_lekkao" value="3577">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_leknung" value="3569">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_lekpaet" value="3576">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_leksam" value="3571">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_leksi" value="3572">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_leksong" value="3570">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_leksun" value="3568">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_lochula" value="3532">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_loling" value="3525">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_lu" value="3526">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_maichattawa" value="3563">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_maiek" value="3560">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_maihanakat" value="3537">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_maihanakat_maitho" value="3550">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_maitaikhu" value="3559">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_maitho" value="3561">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_maitri" value="3562">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_maiyamok" value="3558">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_moma" value="3521">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_ngongu" value="3495">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_nikhahit" value="3565">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_nonen" value="3507">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_nonu" value="3513">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_oang" value="3533">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_paiyannoi" value="3535">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_phinthu" value="3546">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_phophan" value="3518">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_phophung" value="3516">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_phosamphao" value="3520">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_popla" value="3515">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_rorua" value="3523">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_ru" value="3524">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_saraa" value="3536">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_saraaa" value="3538">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_saraae" value="3553">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_saraaimaimalai" value="3556">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_saraaimaimuan" value="3555">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_saraam" value="3539">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_sarae" value="3552">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_sarai" value="3540">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_saraii" value="3541">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_sarao" value="3554">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_sarau" value="3544">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_saraue" value="3542">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_sarauee" value="3543">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_sarauu" value="3545">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_sorusi" value="3529">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_sosala" value="3528">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_soso" value="3499">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_sosua" value="3530">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_thanthakhat" value="3564">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_thonangmontho" value="3505">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_thophuthao" value="3506">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_thothahan" value="3511">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_thothan" value="3504">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_thothong" value="3512">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_thothung" value="3510">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_topatak" value="3503">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_totao" value="3509">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_wowaen" value="3527">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_yoyak" value="3522">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thai_yoying" value="3501">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Thorn" value="222">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Time" value="269025183">
+ <type name="gint" c:type="gint"/>
</constant>
<class name="Timeline"
+ c:symbol-prefix="timeline"
c:type="ClutterTimeline"
- doc="The #ClutterTimeline structure contains only private data
-and should be accessed using the provided API"
version="0.2"
parent="GObject.Object"
glib:type-name="ClutterTimeline"
glib:get-type="clutter_timeline_get_type"
glib:type-struct="TimelineClass">
+ <doc xml:whitespace="preserve">The #ClutterTimeline structure contains only private data
+and should be accessed using the provided API</doc>
<constructor name="new"
c:identifier="clutter_timeline_new"
- doc="Creates a new #ClutterTimeline with a duration of @msecs.
-g_object_unref() when done using it"
version="0.6">
+ <doc xml:whitespace="preserve">Creates a new #ClutterTimeline with a duration of @msecs.
+g_object_unref() when done using it</doc>
<return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">the newly created #ClutterTimeline instance. Use</doc>
<type name="Timeline" c:type="ClutterTimeline*"/>
</return-value>
<parameters>
<parameter name="msecs" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <doc xml:whitespace="preserve">Duration of the timeline in milliseconds</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
</parameters>
</constructor>
- <method name="clone"
- c:identifier="clutter_timeline_clone"
- doc="Create a new #ClutterTimeline instance which has property values
-matching that of supplied timeline. The cloned timeline will not
-be started and will not be positioned to the current position of"
- version="0.4">
- <return-value transfer-ownership="full">
- <type name="Timeline" c:type="ClutterTimeline*"/>
- </return-value>
- </method>
- <method name="get_duration"
- c:identifier="clutter_timeline_get_duration"
- doc="Retrieves the duration of a #ClutterTimeline in milliseconds.
-See clutter_timeline_set_duration()."
- version="0.6">
- <return-value transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </return-value>
- </method>
- <method name="set_duration"
- c:identifier="clutter_timeline_set_duration"
- doc="Sets the duration of the timeline, in milliseconds. The speed
-of the timeline depends on the ClutterTimeline:fps setting."
- version="0.6">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="msecs" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- </parameters>
- </method>
- <method name="get_direction"
- c:identifier="clutter_timeline_get_direction"
- doc="Retrieves the direction of the timeline set with
-clutter_timeline_set_direction()."
- version="0.6">
- <return-value transfer-ownership="full">
- <type name="TimelineDirection" c:type="ClutterTimelineDirection"/>
- </return-value>
- </method>
- <method name="set_direction"
- c:identifier="clutter_timeline_set_direction"
- doc="Sets the direction of @timeline, either %CLUTTER_TIMELINE_FORWARD or
-%CLUTTER_TIMELINE_BACKWARD."
- version="0.6">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="direction" transfer-ownership="none">
- <type name="TimelineDirection" c:type="ClutterTimelineDirection"/>
- </parameter>
- </parameters>
- </method>
- <method name="start"
- c:identifier="clutter_timeline_start"
- doc="Starts the #ClutterTimeline playing.">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </method>
- <method name="pause"
- c:identifier="clutter_timeline_pause"
- doc="Pauses the #ClutterTimeline on current frame">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </method>
- <method name="stop"
- c:identifier="clutter_timeline_stop"
- doc="Stops the #ClutterTimeline and moves to frame 0">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </method>
- <method name="set_loop"
- c:identifier="clutter_timeline_set_loop"
- doc="Sets whether @timeline should loop.">
+ <method name="add_marker_at_time"
+ c:identifier="clutter_timeline_add_marker_at_time"
+ version="0.8">
+ <doc xml:whitespace="preserve">Adds a named marker that will be hit when the timeline has been
+running for @msecs milliseconds. Markers are unique string
+identifiers for a given time. Once @timeline reaches
+attached to that time.
+A marker can be removed with clutter_timeline_remove_marker(). The
+timeline can be advanced to a marker using
+clutter_timeline_advance_to_marker().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="loop" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <parameter name="marker_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the unique name for this marker</doc>
+ <type name="utf8" c:type="gchar*"/>
</parameter>
- </parameters>
- </method>
- <method name="get_loop"
- c:identifier="clutter_timeline_get_loop"
- doc="Gets whether @timeline is looping">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
- </return-value>
- </method>
- <method name="rewind"
- c:identifier="clutter_timeline_rewind"
- doc="Rewinds #ClutterTimeline to the first frame if its direction is
-%CLUTTER_TIMELINE_FORWARD and the last frame if it is
-%CLUTTER_TIMELINE_BACKWARD.">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </method>
- <method name="skip"
- c:identifier="clutter_timeline_skip"
- doc="Advance timeline by the requested time in milliseconds">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
<parameter name="msecs" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <doc xml:whitespace="preserve">position of the marker in milliseconds</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
- <method name="advance"
- c:identifier="clutter_timeline_advance"
- doc="Advance timeline to the requested point. The point is given as a
+ <method name="advance" c:identifier="clutter_timeline_advance">
+ <doc xml:whitespace="preserve">Advance timeline to the requested point. The point is given as a
time in milliseconds since the timeline started.
<note><para>The @timeline will not emit the #ClutterTimeline::new-frame
signal for the given time. The first ::new-frame signal after the call to
clutter_timeline_advance() will be emit the skipped markers.
-</para></note>">
+</para></note></doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="msecs" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <doc xml:whitespace="preserve">Time to advance to</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
- <method name="get_elapsed_time"
- c:identifier="clutter_timeline_get_elapsed_time"
- doc="Request the current time position of the timeline.">
- <return-value transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </return-value>
- </method>
- <method name="get_progress"
- c:identifier="clutter_timeline_get_progress"
- doc="The position of the timeline in a [0, 1] interval."
- version="0.6">
+ <method name="advance_to_marker"
+ c:identifier="clutter_timeline_advance_to_marker"
+ version="0.8">
+ <doc xml:whitespace="preserve">Advances @timeline to the time of the given @marker_name.
+<note><para>Like clutter_timeline_advance(), this function will not
+emit the #ClutterTimeline::new-frame for the time where @marker_name
+is set, nor it will emit #ClutterTimeline::marker-reached for</doc>
<return-value transfer-ownership="none">
- <type name="double" c:type="gdouble"/>
+ <type name="none" c:type="void"/>
</return-value>
+ <parameters>
+ <parameter name="marker_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the marker</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ </parameters>
</method>
- <method name="is_playing"
- c:identifier="clutter_timeline_is_playing"
- doc="Queries state of a #ClutterTimeline.">
- <return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <method name="clone" c:identifier="clutter_timeline_clone" version="0.4">
+ <doc xml:whitespace="preserve">Create a new #ClutterTimeline instance which has property values
+matching that of supplied timeline. The cloned timeline will not
+be started and will not be positioned to the current position of
+from @timeline</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">a new #ClutterTimeline, cloned</doc>
+ <type name="Timeline" c:type="ClutterTimeline*"/>
</return-value>
</method>
- <method name="set_delay"
- c:identifier="clutter_timeline_set_delay"
- doc="Sets the delay, in milliseconds, before @timeline should start."
- version="0.4">
+ <method name="do_tick" c:identifier="clutter_timeline_do_tick">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="msecs" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <parameter name="tick_time" transfer-ownership="none">
+ <type name="GLib.TimeVal" c:type="GTimeVal*"/>
</parameter>
</parameters>
</method>
<method name="get_delay"
c:identifier="clutter_timeline_get_delay"
- doc="Retrieves the delay set using clutter_timeline_set_delay()."
version="0.4">
+ <doc xml:whitespace="preserve">Retrieves the delay set using clutter_timeline_set_delay().</doc>
<return-value transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <doc xml:whitespace="preserve">the delay in milliseconds.</doc>
+ <type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="get_delta"
c:identifier="clutter_timeline_get_delta"
- doc="Retrieves the amount of time elapsed since the last
+ version="0.6">
+ <doc xml:whitespace="preserve">Retrieves the amount of time elapsed since the last
ClutterTimeline::new-frame signal.
This function is only useful inside handlers for the ::new-frame
signal, and its behaviour is undefined if the timeline is not
playing.
-last frame"
+last frame</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the amount of time in milliseconds elapsed since the</doc>
+ <type name="guint" c:type="guint"/>
+ </return-value>
+ </method>
+ <method name="get_direction"
+ c:identifier="clutter_timeline_get_direction"
version="0.6">
+ <doc xml:whitespace="preserve">Retrieves the direction of the timeline set with
+clutter_timeline_set_direction().</doc>
<return-value transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <doc xml:whitespace="preserve">the direction of the timeline</doc>
+ <type name="TimelineDirection" c:type="ClutterTimelineDirection"/>
</return-value>
</method>
- <method name="add_marker_at_time"
- c:identifier="clutter_timeline_add_marker_at_time"
- doc="Adds a named marker that will be hit when the timeline has been
-running for @msecs milliseconds. Markers are unique string
-identifiers for a given time. Once @timeline reaches
-attached to that time.
-A marker can be removed with clutter_timeline_remove_marker(). The
-timeline can be advanced to a marker using
-clutter_timeline_advance_to_marker()."
- version="0.8">
+ <method name="get_duration"
+ c:identifier="clutter_timeline_get_duration"
+ version="0.6">
+ <doc xml:whitespace="preserve">Retrieves the duration of a #ClutterTimeline in milliseconds.
+See clutter_timeline_set_duration().</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">the duration of the timeline, in milliseconds.</doc>
+ <type name="guint" c:type="guint"/>
</return-value>
- <parameters>
- <parameter name="marker_name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- <parameter name="msecs" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
- </parameter>
- </parameters>
</method>
- <method name="remove_marker"
- c:identifier="clutter_timeline_remove_marker"
- doc="Removes @marker_name, if found, from @timeline."
+ <method name="get_elapsed_time"
+ c:identifier="clutter_timeline_get_elapsed_time">
+ <doc xml:whitespace="preserve">Request the current time position of the timeline.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">current elapsed time in milliseconds.</doc>
+ <type name="guint" c:type="guint"/>
+ </return-value>
+ </method>
+ <method name="get_loop" c:identifier="clutter_timeline_get_loop">
+ <doc xml:whitespace="preserve">Gets whether @timeline is looping</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the timeline is looping</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ </method>
+ <method name="get_progress"
+ c:identifier="clutter_timeline_get_progress"
+ version="0.6">
+ <doc xml:whitespace="preserve">The position of the timeline in a [0, 1] interval.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the position of the timeline.</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </return-value>
+ </method>
+ <method name="has_marker"
+ c:identifier="clutter_timeline_has_marker"
version="0.8">
+ <doc xml:whitespace="preserve">Checks whether @timeline has a marker set with the given name.</doc>
<return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
+ <doc xml:whitespace="preserve">%TRUE if the marker was found</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="marker_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the marker</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
+ <method name="is_playing" c:identifier="clutter_timeline_is_playing">
+ <doc xml:whitespace="preserve">Queries state of a #ClutterTimeline.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if timeline is currently playing</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ </method>
<method name="list_markers"
c:identifier="clutter_timeline_list_markers"
- doc="Retrieves the list of markers at time @msecs. If @frame_num is a
+ version="0.8">
+ <doc xml:whitespace="preserve">Retrieves the list of markers at time @msecs. If @frame_num is a
negative integer, all the markers attached to @timeline will be
returned.
-allocated, %NULL terminated string array containing the names of
-the markers. Use g_strfreev() when done."
- version="0.8">
- <return-value transfer-ownership="full" doc="a newly">
- <array length="2" c:type="gchar**">
+a newly allocated, %NULL terminated string array containing the names
+of the markers. Use g_strfreev() when done.</doc>
+ <return-value transfer-ownership="full">
+ <array length="1" c:type="gchar**">
<type name="utf8"/>
</array>
</return-value>
<parameters>
<parameter name="msecs" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <doc xml:whitespace="preserve">the time to check, or -1</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
<parameter name="n_markers"
direction="out"
caller-allocates="0"
transfer-ownership="full">
- <type name="size_t" c:type="gsize*"/>
+ <doc xml:whitespace="preserve">the number of markers returned</doc>
+ <type name="gulong" c:type="gsize*"/>
</parameter>
</parameters>
</method>
- <method name="has_marker"
- c:identifier="clutter_timeline_has_marker"
- doc="Checks whether @timeline has a marker set with the given name."
+ <method name="pause" c:identifier="clutter_timeline_pause">
+ <doc xml:whitespace="preserve">Pauses the #ClutterTimeline on current frame</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </method>
+ <method name="remove_marker"
+ c:identifier="clutter_timeline_remove_marker"
version="0.8">
+ <doc xml:whitespace="preserve">Removes @marker_name, if found, from @timeline.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="marker_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the marker to remove</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
- <method name="advance_to_marker"
- c:identifier="clutter_timeline_advance_to_marker"
- doc="Advances @timeline to the time of the given @marker_name.
-<note><para>Like clutter_timeline_advance(), this function will not
-emit the #ClutterTimeline::new-frame for the time where @marker_name
-is set, nor it will emit #ClutterTimeline::marker-reached for"
- version="0.8">
+ <method name="rewind" c:identifier="clutter_timeline_rewind">
+ <doc xml:whitespace="preserve">Rewinds #ClutterTimeline to the first frame if its direction is
+%CLUTTER_TIMELINE_FORWARD and the last frame if it is
+%CLUTTER_TIMELINE_BACKWARD.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </method>
+ <method name="set_delay"
+ c:identifier="clutter_timeline_set_delay"
+ version="0.4">
+ <doc xml:whitespace="preserve">Sets the delay, in milliseconds, before @timeline should start.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="marker_name" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
+ <parameter name="msecs" transfer-ownership="none">
+ <doc xml:whitespace="preserve">delay in milliseconds</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
- <method name="do_tick" c:identifier="clutter_timeline_do_tick">
+ <method name="set_direction"
+ c:identifier="clutter_timeline_set_direction"
+ version="0.6">
+ <doc xml:whitespace="preserve">Sets the direction of @timeline, either %CLUTTER_TIMELINE_FORWARD or
+%CLUTTER_TIMELINE_BACKWARD.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="tick_time" transfer-ownership="none">
- <type name="GLib.TimeVal" c:type="GTimeVal*"/>
+ <parameter name="direction" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the direction of the timeline</doc>
+ <type name="TimelineDirection" c:type="ClutterTimelineDirection"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_duration"
+ c:identifier="clutter_timeline_set_duration"
+ version="0.6">
+ <doc xml:whitespace="preserve">Sets the duration of the timeline, in milliseconds. The speed
+of the timeline depends on the ClutterTimeline:fps setting.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="msecs" transfer-ownership="none">
+ <doc xml:whitespace="preserve">duration of the timeline in milliseconds</doc>
+ <type name="guint" c:type="guint"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="set_loop" c:identifier="clutter_timeline_set_loop">
+ <doc xml:whitespace="preserve">Sets whether @timeline should loop.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="loop" transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE for enable looping</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="skip" c:identifier="clutter_timeline_skip">
+ <doc xml:whitespace="preserve">Advance timeline by the requested time in milliseconds</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="msecs" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Amount of time to skip</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
+ <method name="start" c:identifier="clutter_timeline_start">
+ <doc xml:whitespace="preserve">Starts the #ClutterTimeline playing.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </method>
+ <method name="stop" c:identifier="clutter_timeline_stop">
+ <doc xml:whitespace="preserve">Stops the #ClutterTimeline and moves to frame 0</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </method>
<property name="delay"
version="0.4"
writable="1"
- doc="A delay, in milliseconds, that should be observed by the
-timeline before actually starting.">
- <type name="uint" c:type="guint"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">A delay, in milliseconds, that should be observed by the
+timeline before actually starting.</doc>
+ <type name="guint"/>
</property>
<property name="direction"
version="0.6"
writable="1"
- doc="The direction of the timeline, either %CLUTTER_TIMELINE_FORWARD or
-%CLUTTER_TIMELINE_BACKWARD.">
- <type name="TimelineDirection" c:type="ClutterTimelineDirection"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">The direction of the timeline, either %CLUTTER_TIMELINE_FORWARD or
+%CLUTTER_TIMELINE_BACKWARD.</doc>
+ <type name="TimelineDirection"/>
</property>
<property name="duration"
version="0.6"
writable="1"
- doc="Duration of the timeline in milliseconds, depending on the
-ClutterTimeline:fps value.">
- <type name="uint" c:type="guint"/>
+ transfer-ownership="none">
+ <doc xml:whitespace="preserve">Duration of the timeline in milliseconds, depending on the
+ClutterTimeline:fps value.</doc>
+ <type name="guint"/>
</property>
- <property name="loop"
- writable="1"
- doc="Whether the timeline should automatically rewind and restart.">
- <type name="boolean" c:type="gboolean"/>
+ <property name="loop" writable="1" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Whether the timeline should automatically rewind and restart.</doc>
+ <type name="gboolean"/>
</property>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
<field name="priv">
<type name="TimelinePrivate" c:type="ClutterTimelinePrivate*"/>
</field>
- <glib:signal name="completed"
- doc="The ::completed signal is emitted when the timeline reaches the
-number of frames specified by the ClutterTimeline:num-frames property.">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
+ <glib:signal name="completed">
+ <doc xml:whitespace="preserve">The ::completed signal is emitted when the timeline reaches the
+number of frames specified by the ClutterTimeline:num-frames property.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
</return-value>
</glib:signal>
- <glib:signal name="marker-reached"
- doc="The ::marker-reached signal is emitted each time a timeline
+ <glib:signal name="marker-reached" version="0.8">
+ <doc xml:whitespace="preserve">The ::marker-reached signal is emitted each time a timeline
reaches a marker set with
clutter_timeline_add_marker_at_time(). This signal is detailed
with the name of the marker as well, so it is possible to connect
a callback to the ::marker-reached signal for a specific marker
with:
<informalexample><programlisting>
-clutter_timeline_add_marker_at_time (timeline, "foo", 500);
-clutter_timeline_add_marker_at_time (timeline, "bar", 750);
-g_signal_connect (timeline, "marker-reached",
+clutter_timeline_add_marker_at_time (timeline, "foo", 500);
+clutter_timeline_add_marker_at_time (timeline, "bar", 750);
+g_signal_connect (timeline, "marker-reached",
G_CALLBACK (each_marker_reached), NULL);
-g_signal_connect (timeline, "marker-reached::foo",
+g_signal_connect (timeline, "marker-reached::foo",
G_CALLBACK (foo_marker_reached), NULL);
-g_signal_connect (timeline, "marker-reached::bar",
+g_signal_connect (timeline, "marker-reached::bar",
G_CALLBACK (bar_marker_reached), NULL);
</programlisting></informalexample>
In the example, the first callback will be invoked for both
-the "foo" and "bar" marker, while the second and third callbacks
-will be invoked for the "foo" or "bar" markers, respectively."
- version="0.8">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
+the "foo" and "bar" marker, while the second and third callbacks
+will be invoked for the "foo" or "bar" markers, respectively.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
</return-value>
<parameters>
- <parameter name="marker_name" transfer-ownership="none">
- <type name="utf8" c:type="gchararray"/>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the name of the marker reached</doc>
+ <type name="utf8"/>
</parameter>
- <parameter name="msecs" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="p0" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the elapsed time</doc>
+ <type name="gint"/>
</parameter>
</parameters>
</glib:signal>
- <glib:signal name="new-frame"
- doc="The ::new-frame signal is emitted for each timeline running
+ <glib:signal name="new-frame">
+ <doc xml:whitespace="preserve">The ::new-frame signal is emitted for each timeline running
timeline before a new frame is drawn to give animations a chance
-to update the scene.">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
+to update the scene.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
</return-value>
<parameters>
- <parameter name="msecs" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="object" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the elapsed time between 0 and duration</doc>
+ <type name="gint"/>
</parameter>
</parameters>
</glib:signal>
- <glib:signal name="paused"
- doc="The ::paused signal is emitted when clutter_timeline_pause() is invoked.">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
+ <glib:signal name="paused">
+ <doc xml:whitespace="preserve">The ::paused signal is emitted when clutter_timeline_pause() is invoked.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
</return-value>
</glib:signal>
- <glib:signal name="started"
- doc="The ::started signal is emitted when the timeline starts its run.
+ <glib:signal name="started">
+ <doc xml:whitespace="preserve">The ::started signal is emitted when the timeline starts its run.
This might be as soon as clutter_timeline_start() is invoked or
after the delay set in the ClutterTimeline:delay property has
-expired.">
- <return-value transfer-ownership="full">
- <type name="none" c:type="void"/>
+expired.</doc>
+ <return-value transfer-ownership="none">
+ <type name="none"/>
</return-value>
</glib:signal>
</class>
<record name="TimelineClass"
c:type="ClutterTimelineClass"
glib:is-gtype-struct-for="Timeline"
- doc="The #ClutterTimelineClass structure contains only private data"
version="0.2">
+ <doc xml:whitespace="preserve">The #ClutterTimelineClass structure contains only private data</doc>
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="started">
- <callback name="started" c:type="started">
+ <callback name="started">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="completed">
- <callback name="completed" c:type="completed">
+ <callback name="completed">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="paused">
- <callback name="paused" c:type="paused">
+ <callback name="paused">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="new_frame">
- <callback name="new_frame" c:type="new_frame">
+ <callback name="new_frame">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<type name="Timeline" c:type="ClutterTimeline*"/>
</parameter>
<parameter name="frame_num" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <type name="gint" c:type="gint"/>
</parameter>
</parameters>
</callback>
</field>
<field name="marker_reached">
- <callback name="marker_reached" c:type="marker_reached">
+ <callback name="marker_reached">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="frame_num" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <type name="gint" c:type="gint"/>
</parameter>
</parameters>
</callback>
</field>
- <field name="clutter_timeline_1">
- <callback name="clutter_timeline_1" c:type="_clutter_timeline_1">
+ <field name="_clutter_timeline_1" introspectable="0">
+ <callback name="_clutter_timeline_1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_timeline_2">
- <callback name="clutter_timeline_2" c:type="_clutter_timeline_2">
+ <field name="_clutter_timeline_2" introspectable="0">
+ <callback name="_clutter_timeline_2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_timeline_3">
- <callback name="clutter_timeline_3" c:type="_clutter_timeline_3">
+ <field name="_clutter_timeline_3" introspectable="0">
+ <callback name="_clutter_timeline_3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_timeline_4">
- <callback name="clutter_timeline_4" c:type="_clutter_timeline_4">
+ <field name="_clutter_timeline_4" introspectable="0">
+ <callback name="_clutter_timeline_4">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
- <field name="clutter_timeline_5">
- <callback name="clutter_timeline_5" c:type="_clutter_timeline_5">
+ <field name="_clutter_timeline_5" introspectable="0">
+ <callback name="_clutter_timeline_5">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</field>
</record>
<enumeration name="TimelineDirection"
- doc="The direction of a #ClutterTimeline"
version="0.6"
glib:type-name="ClutterTimelineDirection"
glib:get-type="clutter_timeline_direction_get_type"
c:type="ClutterTimelineDirection">
+ <doc xml:whitespace="preserve">The direction of a #ClutterTimeline</doc>
<member name="forward"
value="0"
c:identifier="CLUTTER_TIMELINE_FORWARD"
c:identifier="CLUTTER_TIMELINE_BACKWARD"
glib:nick="backward"/>
</enumeration>
- <record name="TimelinePrivate" c:type="ClutterTimelinePrivate">
+ <record name="TimelinePrivate"
+ c:type="ClutterTimelinePrivate"
+ disguised="1">
</record>
- <record name="TimeoutPool" c:type="ClutterTimeoutPool">
- <constructor name="new"
- c:identifier="clutter_timeout_pool_new"
- doc="Creates a new timeout pool source. A timeout pool should be used when
-multiple timeout functions, running at the same priority, are needed and
-the g_timeout_add() API might lead to starvation of the time slice of
-the main loop. A timeout pool allocates a single time slice of the main
-loop and runs every timeout function inside it. The timeout pool is
-always sorted, so that the extraction of the next timeout function is
-a constant time operation.
-is owned by the GLib default context and will be automatically
-destroyed when the context is destroyed. It is possible to force
-the destruction of the timeout pool using g_source_destroy()"
- version="0.4">
- <return-value transfer-ownership="full">
- <type name="TimeoutPool" c:type="ClutterTimeoutPool*"/>
- </return-value>
- <parameters>
- <parameter name="priority"
- transfer-ownership="none"
- doc=" be #G_PRIORITY_DEFAULT">
- <type name="int" c:type="gint"/>
- </parameter>
- </parameters>
- </constructor>
- <method name="add"
- c:identifier="clutter_timeout_pool_add"
- doc="Sets a function to be called at regular intervals, and puts it inside
+ <record name="TimeoutPool"
+ c:type="ClutterTimeoutPool"
+ disguised="1"
+ version="0.6"
+ introspectable="0">
+ <doc xml:whitespace="preserve"><structname>ClutterTimeoutPool</structname> is an opaque structure
+whose members cannot be directly accessed.</doc>
+ <method name="add" c:identifier="clutter_timeout_pool_add" version="0.4">
+ <doc xml:whitespace="preserve">Sets a function to be called at regular intervals, and puts it inside
the @pool. The function is repeatedly called until it returns %FALSE,
at which point the timeout is automatically destroyed and the function
-won't be called again. If @notify is not %NULL, the @notify function
+won't be called again. If @notify is not %NULL, the @notify function
will be called. The first call to @func will be at the end of @interval.
Since Clutter 0.8 this will try to compensate for delays. For
example, if @func takes half the interval time to execute then the
interval after the function completes so the delay between calls
would be @interval * 1.5. This function does not however try to
invoke the function multiple times to catch up missing frames if
-Use clutter_timeout_pool_remove() to stop the timeout."
- version="0.4">
- <return-value transfer-ownership="none"
- doc="of the timeout inside the pool.">
- <type name="uint" c:type="guint"/>
+Use clutter_timeout_pool_remove() to stop the timeout.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the ID (greater than 0) of the timeout inside the pool.</doc>
+ <type name="guint" c:type="guint"/>
</return-value>
<parameters>
<parameter name="fps" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <doc xml:whitespace="preserve">the time between calls to the function, in frames per second</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
<parameter name="func"
transfer-ownership="none"
scope="notified"
- closure="3"
- destroy="4">
+ closure="2"
+ destroy="3">
+ <doc xml:whitespace="preserve">function to call</doc>
<type name="GLib.SourceFunc" c:type="GSourceFunc"/>
</parameter>
<parameter name="data" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
+ <doc xml:whitespace="preserve">data to pass to the function, or %NULL</doc>
+ <type name="gpointer" c:type="gpointer"/>
</parameter>
- <parameter name="notify" transfer-ownership="none" scope="call">
+ <parameter name="notify" transfer-ownership="none" scope="async">
+ <doc xml:whitespace="preserve">function to call when the timeout is removed, or %NULL</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
</method>
<method name="remove"
c:identifier="clutter_timeout_pool_remove"
- doc="Removes a timeout function with @id from the timeout pool. The id
-is the same returned when adding a function to the timeout pool with
-clutter_timeout_pool_add()."
version="0.4">
+ <doc xml:whitespace="preserve">Removes a timeout function with @id from the timeout pool. The id
+is the same returned when adding a function to the timeout pool with
+clutter_timeout_pool_add().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="id" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <doc xml:whitespace="preserve">the id of the timeout to remove</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
</record>
+ <constant name="ToDoList" value="269025055">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Tools" value="269025153">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="TopMenu" value="269025186">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="TouchpadToggle" value="269025193">
+ <type name="gint" c:type="gint"/>
+ </constant>
<constant name="Touroku" value="65323">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Travel" value="269025154">
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Tslash" value="940">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="U" value="85">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="UWB" value="269025174">
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Uacute" value="218">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Ubelowdot" value="16785124">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Ubreve" value="733">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Ucircumflex" value="219">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Udiaeresis" value="220">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Udoubleacute" value="475">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Ugrave" value="217">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Uhook" value="16785126">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Uhorn" value="16777647">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Uhornacute" value="16785128">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Uhornbelowdot" value="16785136">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Uhorngrave" value="16785130">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Uhornhook" value="16785132">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Uhorntilde" value="16785134">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Ukrainian_GHE_WITH_UPTURN" value="1725">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Ukrainian_I" value="1718">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Ukrainian_IE" value="1716">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Ukrainian_YI" value="1719">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Ukrainian_ghe_with_upturn" value="1709">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Ukrainian_i" value="1702">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Ukrainian_ie" value="1700">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Ukrainian_yi" value="1703">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Ukranian_I" value="1718">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Ukranian_JE" value="1716">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Ukranian_YI" value="1719">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Ukranian_i" value="1702">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Ukranian_je" value="1700">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Ukranian_yi" value="1703">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Umacron" value="990">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Undo" value="65381">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Ungrab" value="269024800">
+ <type name="gint" c:type="gint"/>
</constant>
<enumeration name="UnitType"
- doc="The type of unit in which a value is expressed
-This enumeration might be expanded at later date"
version="1.0"
glib:type-name="ClutterUnitType"
glib:get-type="clutter_unit_type_get_type"
c:type="ClutterUnitType">
+ <doc xml:whitespace="preserve">The type of unit in which a value is expressed
+This enumeration might be expanded at later date</doc>
<member name="pixel"
value="0"
c:identifier="CLUTTER_UNIT_PIXEL"
</enumeration>
<record name="Units"
c:type="ClutterUnits"
- doc="An opaque structure, to be used to store sizing and positioning
-values along with their unit."
version="1.0"
glib:type-name="ClutterUnits"
- glib:get-type="clutter_units_get_type">
+ glib:get-type="clutter_units_get_type"
+ c:symbol-prefix="units">
+ <doc xml:whitespace="preserve">An opaque structure, to be used to store sizing and positioning
+values along with their unit.</doc>
<field name="unit_type" writable="1">
<type name="UnitType" c:type="ClutterUnitType"/>
</field>
<field name="value" writable="1">
- <type name="float" c:type="gfloat"/>
+ <type name="gfloat" c:type="gfloat"/>
</field>
<field name="pixels" writable="1">
- <type name="float" c:type="gfloat"/>
+ <type name="gfloat" c:type="gfloat"/>
</field>
<field name="pixels_set" writable="1">
- <type name="uint" c:type="guint"/>
+ <type name="guint" c:type="guint"/>
</field>
<field name="serial" writable="1">
- <type name="int32" c:type="gint32"/>
+ <type name="gint32" c:type="gint32"/>
</field>
<field name="__padding_1" writable="1">
- <type name="int32" c:type="gint32"/>
+ <type name="gint32" c:type="gint32"/>
</field>
<field name="__padding_2" writable="1">
- <type name="int64" c:type="gint64"/>
+ <type name="gint64" c:type="gint64"/>
</field>
- <method name="get_unit_type"
- c:identifier="clutter_units_get_unit_type"
- doc="Retrieves the unit type of the value stored inside @units"
- version="1.0">
- <return-value transfer-ownership="full">
- <type name="UnitType" c:type="ClutterUnitType"/>
- </return-value>
- </method>
- <method name="get_unit_value"
- c:identifier="clutter_units_get_unit_value"
- doc="Retrieves the value stored inside @units"
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </return-value>
- </method>
- <method name="copy"
- c:identifier="clutter_units_copy"
- doc="Copies @units
-Use clutter_units_free() to free the allocated resources"
- version="1.0">
+ <method name="copy" c:identifier="clutter_units_copy" version="1.0">
+ <doc xml:whitespace="preserve">Copies @units
+#ClutterUnits structure. Use clutter_units_free() to free
+the allocated resources</doc>
<return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">the newly created copy of a</doc>
<type name="Units" c:type="ClutterUnits*"/>
</return-value>
</method>
- <method name="free"
- c:identifier="clutter_units_free"
- doc="Frees the resources allocated by @units
+ <method name="free" c:identifier="clutter_units_free" version="1.0">
+ <doc xml:whitespace="preserve">Frees the resources allocated by @units
You should only call this function on a #ClutterUnits
-created using clutter_units_copy()"
- version="1.0">
+created using clutter_units_copy()</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</method>
- <method name="from_pixels"
- c:identifier="clutter_units_from_pixels"
- doc="Stores a value in pixels inside @units"
- version="1.0">
+ <method name="from_cm"
+ c:identifier="clutter_units_from_cm"
+ version="1.2">
+ <doc xml:whitespace="preserve">Stores a value in centimeters inside @units</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="px" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <parameter name="cm" transfer-ownership="none">
+ <doc xml:whitespace="preserve">centimeters</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
</parameters>
</method>
<method name="from_em"
c:identifier="clutter_units_from_em"
- doc="Stores a value in em inside @units, using the default font
-name as returned by clutter_backend_get_font_name()"
version="1.0">
+ <doc xml:whitespace="preserve">Stores a value in em inside @units, using the default font
+name as returned by clutter_backend_get_font_name()</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="em" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <doc xml:whitespace="preserve">em</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
</parameters>
</method>
<method name="from_em_for_font"
c:identifier="clutter_units_from_em_for_font"
- doc="Stores a value in em inside @units using @font_name"
version="1.0">
+ <doc xml:whitespace="preserve">Stores a value in em inside @units using @font_name</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="font_name" transfer-ownership="none">
+ <parameter name="font_name" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">the font name and size</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="em" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <doc xml:whitespace="preserve">em</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
</parameters>
</method>
<method name="from_mm"
c:identifier="clutter_units_from_mm"
- doc="Stores a value in millimiters inside @units"
version="1.0">
+ <doc xml:whitespace="preserve">Stores a value in millimiters inside @units</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="mm" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <doc xml:whitespace="preserve">millimeters</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
</parameters>
</method>
- <method name="from_cm"
- c:identifier="clutter_units_from_cm"
- doc="Stores a value in centimeters inside @units"
- version="1.2">
+ <method name="from_pixels"
+ c:identifier="clutter_units_from_pixels"
+ version="1.0">
+ <doc xml:whitespace="preserve">Stores a value in pixels inside @units</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="cm" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <parameter name="px" transfer-ownership="none">
+ <doc xml:whitespace="preserve">pixels</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<method name="from_pt"
c:identifier="clutter_units_from_pt"
- doc="Stores a value in typographic points inside @units"
version="1.0">
+ <doc xml:whitespace="preserve">Stores a value in typographic points inside @units</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="pt" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <doc xml:whitespace="preserve">typographic points</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
</parameters>
</method>
- <method name="to_pixels"
- c:identifier="clutter_units_to_pixels"
- doc="Converts a value in #ClutterUnits to pixels"
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
- </return-value>
- </method>
<method name="from_string"
c:identifier="clutter_units_from_string"
- doc="Parses a value and updates @units with it
+ version="1.0">
+ <doc xml:whitespace="preserve">Parses a value and updates @units with it
A #ClutterUnits expressed in string should match:
|[
| digit* sep digit+
42 cats
omg!1!ponies
]|
-<note>If no unit is specified, pixels are assumed.</note>
-and %FALSE otherwise"
+<note><para>If no unit is specified, pixels are assumed.</para></note>
+and %FALSE otherwise</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the string was successfully parsed,</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="str" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the string to convert</doc>
+ <type name="utf8" c:type="gchar*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="get_unit_type"
+ c:identifier="clutter_units_get_unit_type"
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the unit type of the value stored inside @units</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a unit type</doc>
+ <type name="UnitType" c:type="ClutterUnitType"/>
+ </return-value>
+ </method>
+ <method name="get_unit_value"
+ c:identifier="clutter_units_get_unit_value"
version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the value stored inside @units</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">the value stored inside a #ClutterUnits</doc>
+ <type name="gfloat" c:type="gfloat"/>
+ </return-value>
+ </method>
+ <method name="to_pixels"
+ c:identifier="clutter_units_to_pixels"
+ version="1.0">
+ <doc xml:whitespace="preserve">Converts a value in #ClutterUnits to pixels</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the value in pixels</doc>
+ <type name="gfloat" c:type="gfloat"/>
</return-value>
- <parameters>
- <parameter name="str" transfer-ownership="none">
- <type name="utf8" c:type="gchar*"/>
- </parameter>
- </parameters>
</method>
<method name="to_string"
c:identifier="clutter_units_to_string"
- doc="Converts @units into a string
+ version="1.0">
+ <doc xml:whitespace="preserve">Converts @units into a string
See clutter_units_from_string() for the units syntax and for
examples of output
<note>Fractional values are truncated to the second decimal
position for em, mm and cm, and to the first decimal position for
typographic points. Pixels are integers.</note>
-#ClutterUnits value. Use g_free() to free the string"
- version="1.0">
+#ClutterUnits value. Use g_free() to free the string</doc>
<return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">a newly allocated string containing the encoded</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
</method>
</record>
<constant name="Uogonek" value="985">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Up" value="65362">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Uring" value="473">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="User1KB" value="269025157">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="User2KB" value="269025158">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="UserPB" value="269025156">
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Utilde" value="989">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="V" value="86">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
- <constant name="VERSION" value="1.2">
- <type name="double"/>
+ <constant name="VERSION" value="1.400000">
+ <type name="gdouble" c:type="gdouble"/>
</constant>
<constant name="VERSION_HEX" value="0">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="VERSION_S" value="1.4.0">
+ <type name="utf8" c:type="gchar*"/>
</constant>
- <constant name="VERSION_S" value="1.2.10">
- <type name="utf8"/>
+ <constant name="VendorHome" value="269025076">
+ <type name="gint" c:type="gint"/>
</constant>
<record name="Vertex"
c:type="ClutterVertex"
- doc="Vertex of an actor in 3D space, expressed in pixels"
version="0.4"
glib:type-name="ClutterVertex"
- glib:get-type="clutter_vertex_get_type">
+ glib:get-type="clutter_vertex_get_type"
+ c:symbol-prefix="vertex">
+ <doc xml:whitespace="preserve">Vertex of an actor in 3D space, expressed in pixels</doc>
<field name="x" writable="1">
- <type name="float" c:type="gfloat"/>
+ <type name="gfloat" c:type="gfloat"/>
</field>
<field name="y" writable="1">
- <type name="float" c:type="gfloat"/>
+ <type name="gfloat" c:type="gfloat"/>
</field>
<field name="z" writable="1">
- <type name="float" c:type="gfloat"/>
+ <type name="gfloat" c:type="gfloat"/>
</field>
- <constructor name="new"
- c:identifier="clutter_vertex_new"
- doc="Creates a new #ClutterVertex for the point in 3D space
+ <constructor name="new" c:identifier="clutter_vertex_new" version="1.0">
+ <doc xml:whitespace="preserve">Creates a new #ClutterVertex for the point in 3D space
identified by the 3 coordinates @x, @y, @z
-clutter_vertex_free() to free the resources"
- version="1.0">
+clutter_vertex_free() to free the resources</doc>
<return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">the newly allocate #ClutterVertex. Use</doc>
<type name="Vertex" c:type="ClutterVertex*"/>
</return-value>
<parameters>
<parameter name="x" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <doc xml:whitespace="preserve">X coordinate</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
<parameter name="y" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <doc xml:whitespace="preserve">Y coordinate</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
<parameter name="z" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <doc xml:whitespace="preserve">Z coordinate</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
</parameters>
</constructor>
- <method name="copy"
- c:identifier="clutter_vertex_copy"
- doc="Copies @vertex
-clutter_vertex_free() to free the allocated resources"
- version="1.0">
+ <method name="copy" c:identifier="clutter_vertex_copy" version="1.0">
+ <doc xml:whitespace="preserve">Copies @vertex
+clutter_vertex_free() to free the allocated resources</doc>
<return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">a newly allocated copy of #ClutterVertex. Use</doc>
<type name="Vertex" c:type="ClutterVertex*"/>
</return-value>
</method>
- <method name="free"
- c:identifier="clutter_vertex_free"
- doc="Frees a #ClutterVertex allocated using clutter_vertex_copy()"
- version="1.0">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- </method>
- <method name="equal"
- c:identifier="clutter_vertex_equal"
- doc="Compares @vertex_a and @vertex_b for equality"
- version="1.0">
+ <method name="equal" c:identifier="clutter_vertex_equal" version="1.0">
+ <doc xml:whitespace="preserve">Compares @vertex_a and @vertex_b for equality</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">%TRUE if the passed #ClutterVertex are equal</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="vertex_b" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterVertex</doc>
<type name="Vertex" c:type="ClutterVertex*"/>
</parameter>
</parameters>
</method>
+ <method name="free" c:identifier="clutter_vertex_free" version="1.0">
+ <doc xml:whitespace="preserve">Frees a #ClutterVertex allocated using clutter_vertex_copy()</doc>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ </method>
</record>
+ <constant name="Video" value="269025159">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="View" value="269025185">
+ <type name="gint" c:type="gint"/>
+ </constant>
<constant name="VoidSymbol" value="16777215">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="W" value="87">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="WLAN" value="269025173">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="WWW" value="269025070">
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Wacute" value="16785026">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="WakeUp" value="269025067">
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Wcircumflex" value="16777588">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Wdiaeresis" value="16785028">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="WebCam" value="269025167">
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Wgrave" value="16785024">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="WheelButton" value="269025160">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="WindowClear" value="269025109">
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="WonSign" value="16785577">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Word" value="269025161">
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="X" value="88">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Xabovedot" value="16785034">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Xfer" value="269025162">
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Y" value="89">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Yacute" value="221">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Ybelowdot" value="16785140">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Ycircumflex" value="16777590">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Ydiaeresis" value="5054">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="Yellow" value="269025189">
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Ygrave" value="16785138">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Yhook" value="16785142">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Ytilde" value="16785144">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Z" value="90">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Zabovedot" value="431">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Zacute" value="428">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Zcaron" value="430">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Zen_Koho" value="65341">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Zenkaku" value="65320">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Zenkaku_Hankaku" value="65322">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ZoomIn" value="269025163">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="ZoomOut" value="269025164">
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="Zstroke" value="16777653">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="a" value="97">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="aacute" value="225">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="abelowdot" value="16785057">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="abovedot" value="511">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="abreve" value="483">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="abreveacute" value="16785071">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="abrevebelowdot" value="16785079">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="abrevegrave" value="16785073">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="abrevehook" value="16785075">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="abrevetilde" value="16785077">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="acircumflex" value="226">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="acircumflexacute" value="16785061">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="acircumflexbelowdot" value="16785069">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="acircumflexgrave" value="16785063">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="acircumflexhook" value="16785065">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="acircumflextilde" value="16785067">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="acute" value="180">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="adiaeresis" value="228">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ae" value="230">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="agrave" value="224">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ahook" value="16785059">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="amacron" value="992">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ampersand" value="38">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="aogonek" value="433">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="apostrophe" value="39">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="approxeq" value="16785992">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="approximate" value="2248">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="aring" value="229">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="asciicircum" value="94">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="asciitilde" value="126">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="asterisk" value="42">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="at" value="64">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="atilde" value="227">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="b" value="98">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="babovedot" value="16784899">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="backslash" value="92">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ballotcross" value="2804">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="bar" value="124">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<function name="base_init" c:identifier="clutter_base_init">
<return-value transfer-ownership="none">
</return-value>
</function>
<constant name="because" value="16785973">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="blank" value="2527">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="botintegral" value="2213">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="botleftparens" value="2220">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="botleftsqbracket" value="2216">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="botleftsummation" value="2226">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="botrightparens" value="2222">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="botrightsqbracket" value="2218">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="botrightsummation" value="2230">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="bott" value="2550">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="botvertsummationconnector" value="2228">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braceleft" value="123">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braceright" value="125">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="bracketleft" value="91">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="bracketright" value="93">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_blank" value="16787456">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dot_1" value="65521">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dot_10" value="65530">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dot_2" value="65522">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dot_3" value="65523">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dot_4" value="65524">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dot_5" value="65525">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dot_6" value="65526">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dot_7" value="65527">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dot_8" value="65528">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dot_9" value="65529">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1" value="16787457">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_12" value="16787459">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_123" value="16787463">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1234" value="16787471">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_12345" value="16787487">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_123456" value="16787519">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1234567" value="16787583">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_12345678" value="16787711">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1234568" value="16787647">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_123457" value="16787551">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1234578" value="16787679">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_123458" value="16787615">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_12346" value="16787503">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_123467" value="16787567">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1234678" value="16787695">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_123468" value="16787631">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_12347" value="16787535">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_123478" value="16787663">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_12348" value="16787599">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1235" value="16787479">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_12356" value="16787511">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_123567" value="16787575">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1235678" value="16787703">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_123568" value="16787639">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_12357" value="16787543">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_123578" value="16787671">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_12358" value="16787607">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1236" value="16787495">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_12367" value="16787559">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_123678" value="16787687">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_12368" value="16787623">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1237" value="16787527">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_12378" value="16787655">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1238" value="16787591">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_124" value="16787467">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1245" value="16787483">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_12456" value="16787515">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_124567" value="16787579">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1245678" value="16787707">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_124568" value="16787643">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_12457" value="16787547">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_124578" value="16787675">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_12458" value="16787611">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1246" value="16787499">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_12467" value="16787563">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_124678" value="16787691">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_12468" value="16787627">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1247" value="16787531">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_12478" value="16787659">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1248" value="16787595">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_125" value="16787475">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1256" value="16787507">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_12567" value="16787571">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_125678" value="16787699">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_12568" value="16787635">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1257" value="16787539">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_12578" value="16787667">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1258" value="16787603">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_126" value="16787491">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1267" value="16787555">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_12678" value="16787683">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1268" value="16787619">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_127" value="16787523">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1278" value="16787651">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_128" value="16787587">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_13" value="16787461">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_134" value="16787469">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1345" value="16787485">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_13456" value="16787517">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_134567" value="16787581">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1345678" value="16787709">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_134568" value="16787645">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_13457" value="16787549">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_134578" value="16787677">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_13458" value="16787613">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1346" value="16787501">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_13467" value="16787565">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_134678" value="16787693">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_13468" value="16787629">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1347" value="16787533">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_13478" value="16787661">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1348" value="16787597">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_135" value="16787477">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1356" value="16787509">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_13567" value="16787573">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_135678" value="16787701">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_13568" value="16787637">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1357" value="16787541">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_13578" value="16787669">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1358" value="16787605">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_136" value="16787493">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1367" value="16787557">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_13678" value="16787685">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1368" value="16787621">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_137" value="16787525">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1378" value="16787653">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_138" value="16787589">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_14" value="16787465">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_145" value="16787481">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1456" value="16787513">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_14567" value="16787577">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_145678" value="16787705">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_14568" value="16787641">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1457" value="16787545">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_14578" value="16787673">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1458" value="16787609">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_146" value="16787497">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1467" value="16787561">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_14678" value="16787689">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1468" value="16787625">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_147" value="16787529">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1478" value="16787657">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_148" value="16787593">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_15" value="16787473">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_156" value="16787505">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1567" value="16787569">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_15678" value="16787697">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1568" value="16787633">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_157" value="16787537">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1578" value="16787665">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_158" value="16787601">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_16" value="16787489">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_167" value="16787553">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_1678" value="16787681">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_168" value="16787617">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_17" value="16787521">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_178" value="16787649">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_18" value="16787585">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_2" value="16787458">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_23" value="16787462">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_234" value="16787470">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_2345" value="16787486">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_23456" value="16787518">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_234567" value="16787582">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_2345678" value="16787710">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_234568" value="16787646">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_23457" value="16787550">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_234578" value="16787678">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_23458" value="16787614">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_2346" value="16787502">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_23467" value="16787566">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_234678" value="16787694">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_23468" value="16787630">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_2347" value="16787534">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_23478" value="16787662">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_2348" value="16787598">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_235" value="16787478">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_2356" value="16787510">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_23567" value="16787574">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_235678" value="16787702">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_23568" value="16787638">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_2357" value="16787542">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_23578" value="16787670">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_2358" value="16787606">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_236" value="16787494">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_2367" value="16787558">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_23678" value="16787686">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_2368" value="16787622">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_237" value="16787526">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_2378" value="16787654">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_238" value="16787590">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_24" value="16787466">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_245" value="16787482">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_2456" value="16787514">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_24567" value="16787578">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_245678" value="16787706">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_24568" value="16787642">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_2457" value="16787546">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_24578" value="16787674">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_2458" value="16787610">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_246" value="16787498">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_2467" value="16787562">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_24678" value="16787690">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_2468" value="16787626">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_247" value="16787530">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_2478" value="16787658">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_248" value="16787594">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_25" value="16787474">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_256" value="16787506">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_2567" value="16787570">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_25678" value="16787698">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_2568" value="16787634">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_257" value="16787538">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_2578" value="16787666">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_258" value="16787602">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_26" value="16787490">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_267" value="16787554">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_2678" value="16787682">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_268" value="16787618">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_27" value="16787522">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_278" value="16787650">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_28" value="16787586">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_3" value="16787460">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_34" value="16787468">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_345" value="16787484">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_3456" value="16787516">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_34567" value="16787580">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_345678" value="16787708">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_34568" value="16787644">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_3457" value="16787548">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_34578" value="16787676">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_3458" value="16787612">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_346" value="16787500">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_3467" value="16787564">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_34678" value="16787692">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_3468" value="16787628">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_347" value="16787532">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_3478" value="16787660">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_348" value="16787596">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_35" value="16787476">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_356" value="16787508">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_3567" value="16787572">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_35678" value="16787700">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_3568" value="16787636">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_357" value="16787540">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_3578" value="16787668">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_358" value="16787604">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_36" value="16787492">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_367" value="16787556">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_3678" value="16787684">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_368" value="16787620">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_37" value="16787524">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_378" value="16787652">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_38" value="16787588">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_4" value="16787464">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_45" value="16787480">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_456" value="16787512">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_4567" value="16787576">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_45678" value="16787704">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_4568" value="16787640">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_457" value="16787544">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_4578" value="16787672">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_458" value="16787608">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_46" value="16787496">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_467" value="16787560">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_4678" value="16787688">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_468" value="16787624">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_47" value="16787528">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_478" value="16787656">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_48" value="16787592">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_5" value="16787472">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_56" value="16787504">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_567" value="16787568">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_5678" value="16787696">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_568" value="16787632">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_57" value="16787536">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_578" value="16787664">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_58" value="16787600">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_6" value="16787488">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_67" value="16787552">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_678" value="16787680">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_68" value="16787616">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_7" value="16787520">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_78" value="16787648">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="braille_dots_8" value="16787584">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="breve" value="418">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="brokenbar" value="166">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="c" value="99">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="cabovedot" value="741">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="cacute" value="486">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<function name="cairo_set_source_color"
c:identifier="clutter_cairo_set_source_color"
- doc="Utility function for setting the source color of @cr using
-a #ClutterColor."
version="1.0">
+ <doc xml:whitespace="preserve">Utility function for setting the source color of @cr using
+a #ClutterColor.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="cr" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a Cairo context</doc>
<type name="cairo.Context" c:type="cairo_t*"/>
</parameter>
<parameter name="color" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterColor</doc>
<type name="Color" c:type="ClutterColor*"/>
</parameter>
</parameters>
</function>
<constant name="careof" value="2744">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="caret" value="2812">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="caron" value="439">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ccaron" value="488">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ccedilla" value="231">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ccircumflex" value="742">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="cedilla" value="184">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="cent" value="162">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<function name="check_version"
c:identifier="clutter_check_version"
- doc="Run-time version check, to check the version the Clutter library
+ version="1.2">
+ <doc xml:whitespace="preserve">Run-time version check, to check the version the Clutter library
that an application is currently linked against
This is the run-time equivalent of the compile-time %CLUTTER_CHECK_VERSION
pre-processor macro
-greater than (@major, @minor, @micro), and %FALSE otherwise"
- version="1.2">
+greater than (@major, @minor, @micro), and %FALSE otherwise</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">%TRUE if the version of the Clutter library is</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="major" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <doc xml:whitespace="preserve">major version, like 1 in 1.2.3</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
<parameter name="minor" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <doc xml:whitespace="preserve">minor version, like 2 in 1.2.3</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
<parameter name="micro" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <doc xml:whitespace="preserve">micro version, like 3 in 1.2.3</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
</parameters>
</function>
<constant name="checkerboard" value="2529">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="checkmark" value="2803">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="circle" value="3023">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<function name="clear_glyph_cache"
c:identifier="clutter_clear_glyph_cache"
- doc="Clears the internal cache of glyphs used by the Pango
+ version="0.8">
+ <doc xml:whitespace="preserve">Clears the internal cache of glyphs used by the Pango
renderer. This will free up some memory and GL texture
resources. The cache will be automatically refilled as more text is
-drawn."
- version="0.8">
+drawn.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</function>
<constant name="club" value="2796">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="colon" value="58">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<function name="color_equal"
c:identifier="clutter_color_equal"
- doc="Compares two #ClutterColor<!-- -->s and checks if they are the same.
-This function can be passed to g_hash_table_new() as the @key_equal_func
-parameter, when using #ClutterColor<!-- -->s as keys in a #GHashTable."
version="0.2">
+ <doc xml:whitespace="preserve">Compares two #ClutterColor<!-- -->s and checks if they are the same.
+This function can be passed to g_hash_table_new() as the @key_equal_func
+parameter, when using #ClutterColor<!-- -->s as keys in a #GHashTable.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">%TRUE if the two colors are the same.</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="v1" transfer-ownership="none">
- <type name="any" c:type="gconstpointer"/>
+ <doc xml:whitespace="preserve">a #ClutterColor</doc>
+ <type name="gpointer" c:type="gconstpointer"/>
</parameter>
<parameter name="v2" transfer-ownership="none">
- <type name="any" c:type="gconstpointer"/>
+ <doc xml:whitespace="preserve">a #ClutterColor</doc>
+ <type name="gpointer" c:type="gconstpointer"/>
</parameter>
</parameters>
</function>
<function name="color_hash"
c:identifier="clutter_color_hash"
- doc="Converts a #ClutterColor to a hash value.
-This function can be passed to g_hash_table_new() as the @hash_func
-parameter, when using #ClutterColor<!-- -->s as keys in a #GHashTable."
version="1.0">
+ <doc xml:whitespace="preserve">Converts a #ClutterColor to a hash value.
+This function can be passed to g_hash_table_new() as the @hash_func
+parameter, when using #ClutterColor<!-- -->s as keys in a #GHashTable.</doc>
<return-value transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <doc xml:whitespace="preserve">a hash value corresponding to the color</doc>
+ <type name="guint" c:type="guint"/>
</return-value>
<parameters>
<parameter name="v" transfer-ownership="none">
- <type name="any" c:type="gconstpointer"/>
+ <doc xml:whitespace="preserve">a #ClutterColor</doc>
+ <type name="gpointer" c:type="gconstpointer"/>
</parameter>
</parameters>
</function>
<constant name="comma" value="44">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<function name="container_class_find_child_property"
c:identifier="clutter_container_class_find_child_property"
- doc="Looks up the #GParamSpec for a child property of @klass.
-if no such property exist."
version="0.8">
- <return-value transfer-ownership="none"
- doc="The #GParamSpec for the property or %NULL">
+ <doc xml:whitespace="preserve">Looks up the #GParamSpec for a child property of @klass.
+if no such property exist.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">The #GParamSpec for the property or %NULL</doc>
<type name="GObject.ParamSpec" c:type="GParamSpec*"/>
</return-value>
<parameters>
<parameter name="klass" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GObjectClass implementing the #ClutterContainer interface.</doc>
<type name="GObject.ObjectClass" c:type="GObjectClass*"/>
</parameter>
<parameter name="property_name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a property name.</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</function>
<function name="container_class_list_child_properties"
c:identifier="clutter_container_class_list_child_properties"
- doc="Returns an array of #GParamSpec for all child properties.
-of #GParamSpec<!-- -->s which should be freed after use."
version="0.8">
- <return-value transfer-ownership="container" doc="an array">
+ <doc xml:whitespace="preserve">Returns an array of #GParamSpec for all child properties.
+of #GParamSpec<!-- -->s which should be freed after use.</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">an array</doc>
<array length="1" c:type="GParamSpec**">
<type name="GObject.ParamSpec"/>
</array>
</return-value>
<parameters>
<parameter name="klass" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GObjectClass implementing the #ClutterContainer interface.</doc>
<type name="GObject.ObjectClass" c:type="GObjectClass*"/>
</parameter>
<parameter name="n_properties"
direction="out"
caller-allocates="0"
transfer-ownership="full">
- <type name="uint" c:type="guint*"/>
+ <doc xml:whitespace="preserve">return location for length of returned array.</doc>
+ <type name="guint" c:type="guint*"/>
</parameter>
</parameters>
</function>
<constant name="containsas" value="16785931">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="copyright" value="169">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="cr" value="2532">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="crossinglines" value="2542">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="cuberoot" value="16785947">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="currency" value="164">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="cursor" value="2815">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="d" value="100">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dabovedot" value="16784907">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dagger" value="2801">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dcaron" value="495">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="dead_A" value="65153">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="dead_E" value="65155">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="dead_I" value="65157">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="dead_O" value="65159">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="dead_U" value="65161">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="dead_a" value="65152">
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dead_abovecomma" value="65124">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dead_abovedot" value="65110">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dead_abovereversedcomma" value="65125">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dead_abovering" value="65112">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dead_acute" value="65105">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dead_belowbreve" value="65131">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dead_belowcircumflex" value="65129">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="dead_belowcomma" value="65134">
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dead_belowdiaeresis" value="65132">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dead_belowdot" value="65120">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dead_belowmacron" value="65128">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dead_belowring" value="65127">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dead_belowtilde" value="65130">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dead_breve" value="65109">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="dead_capital_schwa" value="65163">
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dead_caron" value="65114">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dead_cedilla" value="65115">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dead_circumflex" value="65106">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="dead_currency" value="65135">
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dead_dasia" value="65125">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dead_diaeresis" value="65111">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dead_doubleacute" value="65113">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="dead_doublegrave" value="65126">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="dead_e" value="65154">
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dead_grave" value="65104">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dead_hook" value="65121">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dead_horn" value="65122">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="dead_i" value="65156">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="dead_invertedbreve" value="65133">
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dead_iota" value="65117">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dead_macron" value="65108">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="dead_o" value="65158">
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dead_ogonek" value="65116">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dead_perispomeni" value="65107">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dead_psili" value="65124">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dead_semivoiced_sound" value="65119">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="dead_small_schwa" value="65162">
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dead_stroke" value="65123">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dead_tilde" value="65107">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="dead_u" value="65160">
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dead_voiced_sound" value="65118">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="decimalpoint" value="2749">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="degree" value="176">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="diaeresis" value="168">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="diamond" value="2797">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="digitspace" value="2725">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dintegral" value="16785964">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="division" value="247">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<function name="do_event" c:identifier="clutter_do_event">
<return-value transfer-ownership="none">
</parameters>
</function>
<constant name="dollar" value="36">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="doubbaselinedot" value="2735">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="doubleacute" value="445">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="doubledagger" value="2802">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="doublelowquotemark" value="2814">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="downarrow" value="2302">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="downcaret" value="2984">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="downshoe" value="3030">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="downstile" value="3012">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="downtack" value="3010">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="dstroke" value="496">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="e" value="101">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="eabovedot" value="1004">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="eacute" value="233">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ebelowdot" value="16785081">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ecaron" value="492">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ecircumflex" value="234">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ecircumflexacute" value="16785087">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ecircumflexbelowdot" value="16785095">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ecircumflexgrave" value="16785089">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ecircumflexhook" value="16785091">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ecircumflextilde" value="16785093">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ediaeresis" value="235">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="egrave" value="232">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ehook" value="16785083">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="eightsubscript" value="16785544">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="eightsuperior" value="16785528">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="elementof" value="16785928">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ellipsis" value="2734">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="em3space" value="2723">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="em4space" value="2724">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="emacron" value="954">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="emdash" value="2729">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="emfilledcircle" value="2782">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="emfilledrect" value="2783">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="emopencircle" value="2766">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="emopenrectangle" value="2767">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="emptyset" value="16785925">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="emspace" value="2721">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="endash" value="2730">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="enfilledcircbullet" value="2790">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="enfilledsqbullet" value="2791">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="eng" value="959">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="enopencircbullet" value="2784">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="enopensquarebullet" value="2785">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="enspace" value="2722">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="eogonek" value="490">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="equal" value="61">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="eth" value="240">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="etilde" value="16785085">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
- <function name="event_get"
- c:identifier="clutter_event_get"
- doc="Pops an event off the event queue. Applications should not need to call
-this."
- version="0.4">
+ <function name="event_get" c:identifier="clutter_event_get" version="0.4">
+ <doc xml:whitespace="preserve">Pops an event off the event queue. Applications should not need to call
+this.</doc>
<return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">A #ClutterEvent or NULL if queue empty</doc>
<type name="Event" c:type="ClutterEvent*"/>
</return-value>
</function>
<function name="event_peek"
c:identifier="clutter_event_peek"
- doc="Returns a pointer to the first event from the event queue but
-does not remove it."
version="0.4">
- <return-value transfer-ownership="none"
- doc="A #ClutterEvent or NULL if queue empty.">
+ <doc xml:whitespace="preserve">Returns a pointer to the first event from the event queue but
+does not remove it.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">A #ClutterEvent or NULL if queue empty.</doc>
<type name="Event" c:type="ClutterEvent*"/>
</return-value>
</function>
<function name="events_pending"
c:identifier="clutter_events_pending"
- doc="Checks if events are pending in the event queue."
version="0.4">
+ <doc xml:whitespace="preserve">Checks if events are pending in the event queue.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">TRUE if there are pending events, FALSE otherwise.</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
</function>
<constant name="exclam" value="33">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="exclamdown" value="161">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="f" value="102">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="fabovedot" value="16784927">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<function name="feature_available"
c:identifier="clutter_feature_available"
- doc="Checks whether @feature is available. @feature can be a logical
-OR of #ClutterFeatureFlags."
version="0.1.1">
+ <doc xml:whitespace="preserve">Checks whether @feature is available. @feature can be a logical
+OR of #ClutterFeatureFlags.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">%TRUE if a feature is available</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="feature" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterFeatureFlags</doc>
<type name="FeatureFlags" c:type="ClutterFeatureFlags"/>
</parameter>
</parameters>
</function>
<function name="feature_get_all"
c:identifier="clutter_feature_get_all"
- doc="Returns all the supported features."
version="0.1.1">
- <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">Returns all the supported features.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a logical OR of all the supported features.</doc>
<type name="FeatureFlags" c:type="ClutterFeatureFlags"/>
</return-value>
</function>
<constant name="femalesymbol" value="2808">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ff" value="2531">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="figdash" value="2747">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="filledlefttribullet" value="2780">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="filledrectbullet" value="2779">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="filledrighttribullet" value="2781">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="filledtribulletdown" value="2793">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="filledtribulletup" value="2792">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="fiveeighths" value="2757">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="fivesixths" value="2743">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="fivesubscript" value="16785541">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="fivesuperior" value="16785525">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="fourfifths" value="2741">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="foursubscript" value="16785540">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="foursuperior" value="16785524">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="fourthroot" value="16785948">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<function name="frame_source_add"
c:identifier="clutter_frame_source_add"
- doc="Simple wrapper around clutter_frame_source_add_full()."
- version="0.8">
- <return-value transfer-ownership="none" doc="of the event source.">
- <type name="uint" c:type="guint"/>
+ shadowed-by="frame_source_add_full"
+ version="0.8"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Simple wrapper around clutter_frame_source_add_full().</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the ID (greater than 0) of the event source.</doc>
+ <type name="guint" c:type="guint"/>
</return-value>
<parameters>
<parameter name="fps" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <doc xml:whitespace="preserve">the number of times per second to call the function</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
- <parameter name="func"
- transfer-ownership="none"
- scope="call"
- closure="2">
+ <parameter name="func" transfer-ownership="none" closure="2">
+ <doc xml:whitespace="preserve">function to call</doc>
<type name="GLib.SourceFunc" c:type="GSourceFunc"/>
</parameter>
<parameter name="data" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
+ <doc xml:whitespace="preserve">data to pass to the function</doc>
+ <type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</function>
<function name="frame_source_add_full"
c:identifier="clutter_frame_source_add_full"
- doc="Sets a function to be called at regular intervals with the given
+ shadows="frame_source_add"
+ version="0.8">
+ <doc xml:whitespace="preserve">Sets a function to be called at regular intervals with the given
priority. The function is called repeatedly until it returns
%FALSE, at which point the timeout is automatically destroyed and
the function will not be called again. The @notify function is
g_timeout_add_full() would not fire until a full interval after the
function completes so the delay between calls would be 1.0 / @fps *
1.5. This function does not however try to invoke the function
-multiple times to catch up missing frames if @func takes more than"
- version="0.8">
- <return-value transfer-ownership="none" doc="of the event source.">
- <type name="uint" c:type="guint"/>
+multiple times to catch up missing frames if @func takes more than</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the ID (greater than 0) of the event source.</doc>
+ <type name="guint" c:type="guint"/>
</return-value>
<parameters>
- <parameter name="priority"
- transfer-ownership="none"
- doc=" range between %G_PRIORITY_DEFAULT and %G_PRIORITY_HIGH.">
- <type name="int" c:type="gint"/>
+ <parameter name="priority" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the priority of the frame source. Typically this will be in the range between %G_PRIORITY_DEFAULT and %G_PRIORITY_HIGH.</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
<parameter name="fps" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <doc xml:whitespace="preserve">the number of times per second to call the function</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
<parameter name="func"
transfer-ownership="none"
scope="notified"
closure="3"
destroy="4">
+ <doc xml:whitespace="preserve">function to call</doc>
<type name="GLib.SourceFunc" c:type="GSourceFunc"/>
</parameter>
<parameter name="data" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
+ <doc xml:whitespace="preserve">data to pass to the function</doc>
+ <type name="gpointer" c:type="gpointer"/>
</parameter>
- <parameter name="notify" transfer-ownership="none" scope="call">
+ <parameter name="notify" transfer-ownership="none" scope="async">
+ <doc xml:whitespace="preserve">function to call when the timeout source is removed</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
</function>
<constant name="function" value="2294">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="g" value="103">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="gabovedot" value="757">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="gbreve" value="699">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="gcaron" value="16777703">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="gcedilla" value="955">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="gcircumflex" value="760">
- <type name="int"/>
- </constant>
- <function name="get_actor_by_gid" c:identifier="clutter_get_actor_by_gid">
- <return-value transfer-ownership="full">
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <function name="get_accessibility_enabled"
+ c:identifier="clutter_get_accessibility_enabled"
+ version="1.4">
+ <doc xml:whitespace="preserve">Returns whether Clutter has accessibility support enabled. As
+least, a value of TRUE means that there are a proper AtkUtil
+implementation available</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if Clutter has accessibility support enabled</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ </function>
+ <function name="get_actor_by_gid"
+ c:identifier="clutter_get_actor_by_gid"
+ version="0.6">
+ <doc xml:whitespace="preserve">Retrieves the #ClutterActor with @id.
+The returned actor does not have its reference count increased.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the actor with the passed id or %NULL.</doc>
<type name="Actor" c:type="ClutterActor*"/>
</return-value>
<parameters>
<parameter name="id" transfer-ownership="none">
- <type name="uint32" c:type="guint32"/>
+ <doc xml:whitespace="preserve">a #ClutterActor ID.</doc>
+ <type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</function>
<function name="get_current_event"
c:identifier="clutter_get_current_event"
- doc="If an event is currently being processed, return that event.
+ version="1.2">
+ <doc xml:whitespace="preserve">If an event is currently being processed, return that event.
This function is intended to be used to access event state
that might not be exposed by higher-level widgets. For
-example, to get the key modifier state from a Button 'clicked'
-event."
- version="1.2">
- <return-value transfer-ownership="none"
- doc="The current ClutterEvent, or %NULL if none">
+example, to get the key modifier state from a Button 'clicked'
+event.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">The current ClutterEvent, or %NULL if none</doc>
<type name="Event" c:type="ClutterEvent*"/>
</return-value>
</function>
<function name="get_current_event_time"
c:identifier="clutter_get_current_event_time"
- doc="Retrieves the timestamp of the last event, if there is an
-event or if the event has a timestamp."
version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the timestamp of the last event, if there is an
+event or if the event has a timestamp.</doc>
<return-value transfer-ownership="none">
- <type name="uint32" c:type="guint32"/>
+ <doc xml:whitespace="preserve">the event timestamp, or %CLUTTER_CURRENT_TIME</doc>
+ <type name="guint32" c:type="guint32"/>
</return-value>
</function>
<function name="get_debug_enabled"
- c:identifier="clutter_get_debug_enabled"
- doc="Check if clutter has debugging turned on.">
+ c:identifier="clutter_get_debug_enabled">
+ <doc xml:whitespace="preserve">Check if clutter has debugging turned on.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">TRUE if debugging is turned on, FALSE otherwise.</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
</function>
<function name="get_default_backend"
c:identifier="clutter_get_default_backend"
- doc="Retrieves the default #ClutterBackend used by Clutter. The
+ version="0.4">
+ <doc xml:whitespace="preserve">Retrieves the default #ClutterBackend used by Clutter. The
#ClutterBackend holds backend-specific configuration options.
not ref or unref the returned object. Applications should rarely
-need to use this."
- version="0.4">
- <return-value transfer-ownership="none"
- doc="the default backend. You should">
+need to use this.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the default backend. You should</doc>
<type name="Backend" c:type="ClutterBackend*"/>
</return-value>
</function>
<function name="get_default_frame_rate"
c:identifier="clutter_get_default_frame_rate"
- doc="Retrieves the default frame rate. See clutter_set_default_frame_rate()."
version="0.6">
+ <doc xml:whitespace="preserve">Retrieves the default frame rate. See clutter_set_default_frame_rate().</doc>
<return-value transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <doc xml:whitespace="preserve">the default frame rate</doc>
+ <type name="guint" c:type="guint"/>
</return-value>
</function>
<function name="get_default_text_direction"
c:identifier="clutter_get_default_text_direction"
- doc="Retrieves the default direction for the text. The text direction is
+ version="1.2">
+ <doc xml:whitespace="preserve">Retrieves the default direction for the text. The text direction is
determined by the locale and/or by the %CLUTTER_TEXT_DIRECTION environment
variable
The default text direction can be overridden on a per-actor basis by using
-clutter_actor_set_text_direction()"
- version="1.2">
- <return-value transfer-ownership="full">
+clutter_actor_set_text_direction()</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the default text direction</doc>
<type name="TextDirection" c:type="ClutterTextDirection"/>
</return-value>
</function>
<function name="get_font_flags"
c:identifier="clutter_get_font_flags"
- doc="Gets the current font flags for rendering text. See
-clutter_set_font_flags()."
version="1.0">
- <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">Gets the current font flags for rendering text. See
+clutter_set_font_flags().</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">The font flags</doc>
<type name="FontFlags" c:type="ClutterFontFlags"/>
</return-value>
</function>
<function name="get_font_map"
c:identifier="clutter_get_font_map"
- doc="Retrieves the #PangoFontMap instance used by Clutter.
+ version="1.0">
+ <doc xml:whitespace="preserve">Retrieves the #PangoFontMap instance used by Clutter.
You can use the global font map object with the COGL
Pango API.
-value is owned by Clutter and it should never be unreferenced."
- version="1.0">
- <return-value transfer-ownership="none"
- doc="the #PangoFontMap instance. The returned">
+value is owned by Clutter and it should never be unreferenced.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the #PangoFontMap instance. The returned</doc>
<type name="Pango.FontMap" c:type="PangoFontMap*"/>
</return-value>
</function>
<function name="get_input_device_for_id"
c:identifier="clutter_get_input_device_for_id"
- doc="Retrieves the #ClutterInputDevice from its @id. This is a convenience
+ version="0.8">
+ <doc xml:whitespace="preserve">Retrieves the #ClutterInputDevice from its @id. This is a convenience
wrapper for clutter_device_manager_get_device() and it is functionally
equivalent to:
|[
ClutterInputDevice *device;
manager = clutter_device_manager_get_default ();
device = clutter_device_manager_get_device (manager, id);
-]|"
- version="0.8">
- <return-value transfer-ownership="none"
- doc="a #ClutterInputDevice, or %NULL">
+]|</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterInputDevice, or %NULL</doc>
<type name="InputDevice" c:type="ClutterInputDevice*"/>
</return-value>
<parameters>
<parameter name="id" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <doc xml:whitespace="preserve">the unique id for a device</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
</parameters>
</function>
<function name="get_keyboard_grab"
c:identifier="clutter_get_keyboard_grab"
- doc="Queries the current keyboard grab of clutter."
version="0.6">
- <return-value transfer-ownership="none"
- doc="the actor currently holding the keyboard grab, or NULL if there is no grab.">
+ <doc xml:whitespace="preserve">Queries the current keyboard grab of clutter.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the actor currently holding the keyboard grab, or NULL if there is no grab.</doc>
<type name="Actor" c:type="ClutterActor*"/>
</return-value>
</function>
<function name="get_motion_events_enabled"
c:identifier="clutter_get_motion_events_enabled"
- doc="Gets whether the per-actor motion events are enabled."
version="0.6">
+ <doc xml:whitespace="preserve">Gets whether the per-actor motion events are enabled.</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">%TRUE if the motion events are enabled</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
</function>
<function name="get_option_group"
c:identifier="clutter_get_option_group"
- doc="Returns a #GOptionGroup for the command line arguments recognized
+ version="0.2"
+ introspectable="0">
+ <doc xml:whitespace="preserve">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.
-Calling g_option_context_parse() with Clutter's #GOptionGroup will result
-in Clutter's initialization. That is, the following code:
+Calling g_option_context_parse() with Clutter's #GOptionGroup will result
+in Clutter's initialization. That is, the following code:
|[
g_option_context_set_main_group (context, clutter_get_option_group ());
res = g_option_context_parse (context, &amp;argc, &amp;argc, NULL);
After g_option_context_parse() on a #GOptionContext containing the
Clutter #GOptionGroup has returned %TRUE, Clutter is guaranteed to be
initialized.
-recognized by Clutter"
- version="0.2">
- <return-value transfer-ownership="full"
- doc="a #GOptionGroup for the commandline arguments">
+recognized by Clutter</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">a #GOptionGroup for the commandline arguments</doc>
<type name="GLib.OptionGroup" c:type="GOptionGroup*"/>
</return-value>
</function>
<function name="get_option_group_without_init"
c:identifier="clutter_get_option_group_without_init"
- doc="Returns a #GOptionGroup for the command line arguments recognized
+ version="0.8.2"
+ introspectable="0">
+ <doc xml:whitespace="preserve">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. Unlike clutter_get_option_group(),
function requires a subsequent explicit call to clutter_init(); use this
function when needing to set foreign display connection with
clutter_x11_set_display(), or with gtk_clutter_init().
-recognized by Clutter"
- version="0.8.2">
- <return-value transfer-ownership="full"
- doc="a #GOptionGroup for the commandline arguments">
+recognized by Clutter</doc>
+ <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">a #GOptionGroup for the commandline arguments</doc>
<type name="GLib.OptionGroup" c:type="GOptionGroup*"/>
</return-value>
</function>
<function name="get_pointer_grab"
c:identifier="clutter_get_pointer_grab"
- doc="Queries the current pointer grab of clutter."
version="0.6">
- <return-value transfer-ownership="none"
- doc="the actor currently holding the pointer grab, or NULL if there is no grab.">
+ <doc xml:whitespace="preserve">Queries the current pointer grab of clutter.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the actor currently holding the pointer grab, or NULL if there is no grab.</doc>
<type name="Actor" c:type="ClutterActor*"/>
</return-value>
</function>
<function name="get_script_id"
c:identifier="clutter_get_script_id"
- doc="Retrieves the Clutter script id, if any.
-a UI definition file. The returned string is owned by the object and
-should never be modified or freed."
version="0.6">
+ <doc xml:whitespace="preserve">Retrieves the Clutter script id, if any.
+a UI definition file. The returned string is owned by the object and
+should never be modified or freed.</doc>
<return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the script id, or %NULL if @object was not defined inside</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="gobject" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GObject</doc>
<type name="GObject.Object" c:type="GObject*"/>
</parameter>
</parameters>
</function>
<function name="get_show_fps"
c:identifier="clutter_get_show_fps"
- doc="Returns whether Clutter should print out the frames per second on the
+ version="0.4">
+ <doc xml:whitespace="preserve">Returns whether Clutter should print out the frames per second on the
console. You can enable this setting either using the
<literal>CLUTTER_SHOW_FPS</literal> environment variable or passing
-the <literal>--clutter-show-fps</literal> command line argument. *"
- version="0.4">
+the <literal>--clutter-show-fps</literal> command line argument. *</doc>
<return-value transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">%TRUE if Clutter should show the FPS.</doc>
+ <type name="gboolean" c:type="gboolean"/>
</return-value>
</function>
- <function name="get_timestamp"
- c:identifier="clutter_get_timestamp"
- doc="Returns the approximate number of microseconds passed since clutter was
-intialised.">
- <return-value transfer-ownership="none" doc="was called.">
- <type name="ulong" c:type="gulong"/>
+ <function name="get_timestamp" c:identifier="clutter_get_timestamp">
+ <doc xml:whitespace="preserve">Returns the approximate number of microseconds passed since clutter was
+intialised.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">Number of microseconds since clutter_init() was called.</doc>
+ <type name="gulong" c:type="gulong"/>
</return-value>
</function>
<function name="grab_keyboard"
c:identifier="clutter_grab_keyboard"
- doc="Grabs keyboard events, after the grab is done keyboard
+ version="0.6">
+ <doc xml:whitespace="preserve">Grabs keyboard events, after the grab is done keyboard
events (#ClutterActor::key-press-event and #ClutterActor::key-release-event)
are delivered to this actor directly. The source set in the event will be
the actor that would have received the event if the keyboard grab was not
Like pointer grabs, keyboard grabs should only be used as a last
resource.
See also clutter_stage_set_key_focus() and clutter_actor_grab_key_focus()
-to perform a "soft" key grab and assign key focus to a specific actor."
- version="0.6">
+to perform a "soft" key grab and assign key focus to a specific actor.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor</doc>
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
</parameters>
</function>
<function name="grab_pointer"
c:identifier="clutter_grab_pointer"
- doc="Grabs pointer events, after the grab is done all pointer related events
+ version="0.6">
+ <doc xml:whitespace="preserve">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. The source set in the event will be the actor
using the #ClutterActor::captured-event signal should always be the
preferred way to intercept event delivery to reactive actors.</para></note>
If you wish to grab all the pointer events for a specific input device,
-you should use clutter_grab_pointer_for_device()."
- version="0.6">
+you should use clutter_grab_pointer_for_device().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor</doc>
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
</parameters>
</function>
<function name="grab_pointer_for_device"
c:identifier="clutter_grab_pointer_for_device"
- doc="Grabs all the pointer events coming from the device @id for @actor.
-If @id is -1 then this function is equivalent to clutter_grab_pointer()."
version="0.8">
+ <doc xml:whitespace="preserve">Grabs all the pointer events coming from the device @id for @actor.
+If @id is -1 then this function is equivalent to clutter_grab_pointer().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="actor" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #ClutterActor</doc>
<type name="Actor" c:type="ClutterActor*"/>
</parameter>
<parameter name="id" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <doc xml:whitespace="preserve">a device id, or -1</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
</parameters>
</function>
<constant name="grave" value="96">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="greater" value="62">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="greaterthanequal" value="2238">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="guillemotleft" value="171">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="guillemotright" value="187">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="h" value="104">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hairspace" value="2728">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hcircumflex" value="694">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="heart" value="2798">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_aleph" value="3296">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_ayin" value="3314">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_bet" value="3297">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_beth" value="3297">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_chet" value="3303">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_dalet" value="3299">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_daleth" value="3299">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_doublelowline" value="3295">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_finalkaph" value="3306">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_finalmem" value="3309">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_finalnun" value="3311">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_finalpe" value="3315">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_finalzade" value="3317">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_finalzadi" value="3317">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_gimel" value="3298">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_gimmel" value="3298">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_he" value="3300">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_het" value="3303">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_kaph" value="3307">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_kuf" value="3319">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_lamed" value="3308">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_mem" value="3310">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_nun" value="3312">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_pe" value="3316">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_qoph" value="3319">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_resh" value="3320">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_samech" value="3313">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_samekh" value="3313">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_shin" value="3321">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_taf" value="3322">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_taw" value="3322">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_tet" value="3304">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_teth" value="3304">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_waw" value="3301">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_yod" value="3305">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_zade" value="3318">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_zadi" value="3318">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_zain" value="3302">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hebrew_zayin" value="3302">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hexagram" value="2778">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="horizconnector" value="2211">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="horizlinescan1" value="2543">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="horizlinescan3" value="2544">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="horizlinescan5" value="2545">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="horizlinescan7" value="2546">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="horizlinescan9" value="2547">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hstroke" value="689">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ht" value="2530">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="hyphen" value="173">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="i" value="105">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
+ </constant>
+ <constant name="iTouch" value="269025120">
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="iacute" value="237">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ibelowdot" value="16785099">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ibreve" value="16777517">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="icircumflex" value="238">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="identical" value="2255">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="idiaeresis" value="239">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="idotless" value="697">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ifonlyif" value="2253">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="igrave" value="236">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ihook" value="16785097">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="imacron" value="1007">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="implies" value="2254">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="includedin" value="2266">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="includes" value="2267">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="infinity" value="2242">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
- <function name="init"
- c:identifier="clutter_init"
- doc="It will initialise everything needed to operate with Clutter and
+ <function name="init" c:identifier="clutter_init">
+ <doc xml:whitespace="preserve">It will initialise everything needed to operate with Clutter and
parses some standard command line options. @argc and @argv are
adjusted accordingly so your own code will never see those standard
-arguments.">
- <return-value transfer-ownership="full">
+arguments.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">1 on success, < 0 on failure.</doc>
<type name="InitError" c:type="ClutterInitError"/>
</return-value>
<parameters>
<parameter name="argc"
direction="inout"
caller-allocates="0"
- transfer-ownership="full"
- doc="The number of arguments in @argv">
- <type name="int" c:type="int*"/>
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">The number of arguments in @argv</doc>
+ <type name="gint" c:type="int*"/>
</parameter>
<parameter name="argv"
direction="inout"
caller-allocates="0"
transfer-ownership="full"
- allow-none="1"
- doc="A pointer to an array of arguments.">
+ allow-none="1">
+ <doc xml:whitespace="preserve">A pointer to an array of arguments.</doc>
<array length="0" c:type="char***">
<type name="utf8"/>
</array>
</parameter>
</parameters>
</function>
+ <function name="init_error_quark" c:identifier="clutter_init_error_quark">
+ <return-value transfer-ownership="none">
+ <type name="GLib.Quark" c:type="GQuark"/>
+ </return-value>
+ </function>
<function name="init_with_args"
c:identifier="clutter_init_with_args"
- doc="This function does the same work as clutter_init(). Additionally,
+ version="0.2"
+ throws="1">
+ <doc xml:whitespace="preserve">This function does the same work as clutter_init(). Additionally,
it allows you to add your own command line options, and it
automatically generates nicely formatted <option>--help</option>
output. Note that your program will be terminated after writing
error message will be placed inside @error instead of being
printed on the display.
initialised, or other values or #ClutterInitError in case of
-error."
- version="0.2"
- throws="1">
- <return-value transfer-ownership="full">
+error.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%CLUTTER_INIT_SUCCESS if Clutter has been successfully</doc>
<type name="InitError" c:type="ClutterInitError"/>
</return-value>
<parameters>
<parameter name="argc"
direction="inout"
caller-allocates="0"
- transfer-ownership="full"
- doc="a pointer to the number of command line arguments">
- <type name="int" c:type="int*"/>
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">a pointer to the number of command line arguments</doc>
+ <type name="gint" c:type="int*"/>
</parameter>
<parameter name="argv"
direction="inout"
caller-allocates="0"
transfer-ownership="full"
- allow-none="1"
- doc="a pointer to the array of command line arguments">
+ allow-none="1">
+ <doc xml:whitespace="preserve">a pointer to the array of command line arguments</doc>
<array length="0" c:type="char***">
<type name="utf8"/>
</array>
</parameter>
<parameter name="parameter_string"
transfer-ownership="none"
- allow-none="1"
- doc="a string which is displayed in the first line of <option>--help</option> output, after <literal><replaceable>programname</replaceable> [OPTION...]</literal>">
+ allow-none="1">
+ <doc xml:whitespace="preserve">a string which is displayed in the first line of <option>--help</option> output, after <literal><replaceable>programname</replaceable> [OPTION...]</literal></doc>
<type name="utf8" c:type="char*"/>
</parameter>
- <parameter name="entries"
- transfer-ownership="none"
- allow-none="1"
- doc="a %NULL terminated array of #GOptionEntry<!-- -->s describing the options of your program">
+ <parameter name="entries" transfer-ownership="none" allow-none="1">
+ <doc xml:whitespace="preserve">a %NULL terminated array of #GOptionEntry<!-- -->s describing the options of your program</doc>
<type name="GLib.OptionEntry" c:type="GOptionEntry*"/>
</parameter>
<parameter name="translation_domain"
transfer-ownership="none"
- allow-none="1"
- doc="a translation domain to use for translating the <option>--help</option> output for the options in">
+ allow-none="1">
+ <doc xml:whitespace="preserve">a translation domain to use for translating the <option>--help</option> output for the options in</doc>
<type name="utf8" c:type="char*"/>
</parameter>
</parameters>
</function>
<constant name="integral" value="2239">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="intersection" value="2268">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="iogonek" value="999">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="itilde" value="949">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="j" value="106">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="jcircumflex" value="700">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="jot" value="3018">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="k" value="107">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_A" value="1201">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_CHI" value="1217">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_E" value="1204">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_FU" value="1228">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_HA" value="1226">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_HE" value="1229">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_HI" value="1227">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_HO" value="1230">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_HU" value="1228">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_I" value="1202">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_KA" value="1206">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_KE" value="1209">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_KI" value="1207">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_KO" value="1210">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_KU" value="1208">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_MA" value="1231">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_ME" value="1234">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_MI" value="1232">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_MO" value="1235">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_MU" value="1233">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_N" value="1245">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_NA" value="1221">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_NE" value="1224">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_NI" value="1222">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_NO" value="1225">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_NU" value="1223">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_O" value="1205">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_RA" value="1239">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_RE" value="1242">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_RI" value="1240">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_RO" value="1243">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_RU" value="1241">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_SA" value="1211">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_SE" value="1214">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_SHI" value="1212">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_SO" value="1215">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_SU" value="1213">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_TA" value="1216">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_TE" value="1219">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_TI" value="1217">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_TO" value="1220">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_TSU" value="1218">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_TU" value="1218">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_U" value="1203">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_WA" value="1244">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_WO" value="1190">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_YA" value="1236">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_YO" value="1238">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_YU" value="1237">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_a" value="1191">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_closingbracket" value="1187">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_comma" value="1188">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_conjunctive" value="1189">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_e" value="1194">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_fullstop" value="1185">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_i" value="1192">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_middledot" value="1189">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_o" value="1195">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_openingbracket" value="1186">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_switch" value="65406">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_tsu" value="1199">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_tu" value="1199">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_u" value="1193">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_ya" value="1196">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_yo" value="1198">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kana_yu" value="1197">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kappa" value="930">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="kcedilla" value="1011">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<function name="keysym_to_unicode"
- c:identifier="clutter_keysym_to_unicode"
- doc="Convert from a Clutter key symbol to the corresponding ISO10646 (Unicode)
+ c:identifier="clutter_keysym_to_unicode">
+ <doc xml:whitespace="preserve">Convert from a Clutter key symbol to the corresponding ISO10646 (Unicode)
character.
-character.">
+character.</doc>
<return-value transfer-ownership="none">
- <type name="uint32" c:type="guint32"/>
+ <doc xml:whitespace="preserve">a Unicode character, or 0 if there is no corresponding</doc>
+ <type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
<parameter name="keyval" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <doc xml:whitespace="preserve">a key symbol</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
</parameters>
</function>
<constant name="kra" value="930">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="l" value="108">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="lacute" value="485">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="latincross" value="2777">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="lbelowdot" value="16784951">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="lcaron" value="437">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="lcedilla" value="950">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="leftanglebracket" value="2748">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="leftarrow" value="2299">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="leftcaret" value="2979">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="leftdoublequotemark" value="2770">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="leftmiddlecurlybrace" value="2223">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="leftopentriangle" value="2764">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="leftpointer" value="2794">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="leftradical" value="2209">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="leftshoe" value="3034">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="leftsinglequotemark" value="2768">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="leftt" value="2548">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="lefttack" value="3036">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="less" value="60">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="lessthanequal" value="2236">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="lf" value="2533">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="logicaland" value="2270">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="logicalor" value="2271">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="lowleftcorner" value="2541">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="lowrightcorner" value="2538">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="lstroke" value="435">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="m" value="109">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="mabovedot" value="16784961">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="macron" value="175">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
- <function name="main"
- c:identifier="clutter_main"
- doc="Starts the Clutter mainloop.">
+ <function name="main" c:identifier="clutter_main">
+ <doc xml:whitespace="preserve">Starts the Clutter mainloop.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</function>
- <function name="main_level"
- c:identifier="clutter_main_level"
- doc="Retrieves the depth of the Clutter mainloop.">
+ <function name="main_level" c:identifier="clutter_main_level">
+ <doc xml:whitespace="preserve">Retrieves the depth of the Clutter mainloop.</doc>
<return-value transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <doc xml:whitespace="preserve">The level of the mainloop.</doc>
+ <type name="gint" c:type="gint"/>
</return-value>
</function>
- <function name="main_quit"
- c:identifier="clutter_main_quit"
- doc="Terminates the Clutter mainloop.">
+ <function name="main_quit" c:identifier="clutter_main_quit">
+ <doc xml:whitespace="preserve">Terminates the Clutter mainloop.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</function>
<constant name="malesymbol" value="2807">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="maltesecross" value="2800">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="marker" value="2751">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="masculine" value="186">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="minus" value="45">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="minutes" value="2774">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="mu" value="181">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="multiply" value="215">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="musicalflat" value="2806">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="musicalsharp" value="2805">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="n" value="110">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="nabla" value="2245">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="nacute" value="497">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ncaron" value="498">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ncedilla" value="1009">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ninesubscript" value="16785545">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ninesuperior" value="16785529">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="nl" value="2536">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="nobreakspace" value="160">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="notapproxeq" value="16785991">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="notelementof" value="16785929">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="notequal" value="2237">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="notidentical" value="16786018">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="notsign" value="172">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ntilde" value="241">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="numbersign" value="35">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="numerosign" value="1712">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="o" value="111">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="oacute" value="243">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="obarred" value="16777845">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="obelowdot" value="16785101">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ocaron" value="16777682">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ocircumflex" value="244">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ocircumflexacute" value="16785105">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ocircumflexbelowdot" value="16785113">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ocircumflexgrave" value="16785107">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ocircumflexhook" value="16785109">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ocircumflextilde" value="16785111">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="odiaeresis" value="246">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="odoubleacute" value="501">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="oe" value="5053">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ogonek" value="434">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ograve" value="242">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ohook" value="16785103">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ohorn" value="16777633">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ohornacute" value="16785115">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ohornbelowdot" value="16785123">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ohorngrave" value="16785117">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ohornhook" value="16785119">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ohorntilde" value="16785121">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="omacron" value="1010">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="oneeighth" value="2755">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="onefifth" value="2738">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="onehalf" value="189">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="onequarter" value="188">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="onesixth" value="2742">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="onesubscript" value="16785537">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="onesuperior" value="185">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="onethird" value="2736">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ooblique" value="248">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="openrectbullet" value="2786">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="openstar" value="2789">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="opentribulletdown" value="2788">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="opentribulletup" value="2787">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ordfeminine" value="170">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="oslash" value="248">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="otilde" value="245">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="overbar" value="3008">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="overline" value="1150">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="p" value="112">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="pabovedot" value="16784983">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="paragraph" value="182">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<function name="param_spec_color"
c:identifier="clutter_param_spec_color"
- doc="Creates a #GParamSpec for properties using #ClutterColor."
- version="0.8.4">
- <return-value transfer-ownership="full">
+ version="0.8.4"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Creates a #GParamSpec for properties using #ClutterColor.</doc>
+ <return-value>
+ <doc xml:whitespace="preserve">the newly created #GParamSpec</doc>
<type name="GObject.ParamSpec" c:type="GParamSpec*"/>
</return-value>
<parameters>
<parameter name="name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">name of the property</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="nick" transfer-ownership="none">
+ <doc xml:whitespace="preserve">short name</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="blurb" transfer-ownership="none">
+ <doc xml:whitespace="preserve">description (can be translatable)</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="default_value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">default value</doc>
<type name="Color" c:type="ClutterColor*"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
+ <doc xml:whitespace="preserve">flags for the param spec</doc>
<type name="GObject.ParamFlags" c:type="GParamFlags"/>
</parameter>
</parameters>
</function>
<function name="param_spec_fixed"
c:identifier="clutter_param_spec_fixed"
- doc="Creates a #GParamSpec for properties using #CoglFixed values"
- version="0.8">
- <return-value transfer-ownership="full">
+ version="0.8"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Creates a #GParamSpec for properties using #CoglFixed values</doc>
+ <return-value>
+ <doc xml:whitespace="preserve">the newly created #GParamSpec</doc>
<type name="GObject.ParamSpec" c:type="GParamSpec*"/>
</return-value>
<parameters>
<parameter name="name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">name of the property</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="nick" transfer-ownership="none">
+ <doc xml:whitespace="preserve">short name</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="blurb" transfer-ownership="none">
+ <doc xml:whitespace="preserve">description (can be translatable)</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="minimum" transfer-ownership="none">
+ <doc xml:whitespace="preserve">lower boundary</doc>
<type name="Cogl.Fixed" c:type="CoglFixed"/>
</parameter>
<parameter name="maximum" transfer-ownership="none">
+ <doc xml:whitespace="preserve">higher boundary</doc>
<type name="Cogl.Fixed" c:type="CoglFixed"/>
</parameter>
<parameter name="default_value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">default value</doc>
<type name="Cogl.Fixed" c:type="CoglFixed"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
+ <doc xml:whitespace="preserve">flags for the param spec</doc>
<type name="GObject.ParamFlags" c:type="GParamFlags"/>
</parameter>
</parameters>
</function>
<function name="param_spec_units"
c:identifier="clutter_param_spec_units"
- doc="Creates a #GParamSpec for properties using #ClutterUnits."
- version="1.0">
- <return-value transfer-ownership="full">
+ version="1.0"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Creates a #GParamSpec for properties using #ClutterUnits.</doc>
+ <return-value>
+ <doc xml:whitespace="preserve">the newly created #GParamSpec</doc>
<type name="GObject.ParamSpec" c:type="GParamSpec*"/>
</return-value>
<parameters>
<parameter name="name" transfer-ownership="none">
+ <doc xml:whitespace="preserve">name of the property</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="nick" transfer-ownership="none">
+ <doc xml:whitespace="preserve">short name</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="blurb" transfer-ownership="none">
+ <doc xml:whitespace="preserve">description (can be translatable)</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="default_type" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the default type for the #ClutterUnits</doc>
<type name="UnitType" c:type="ClutterUnitType"/>
</parameter>
<parameter name="minimum" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <doc xml:whitespace="preserve">lower boundary</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
<parameter name="maximum" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <doc xml:whitespace="preserve">higher boundary</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
<parameter name="default_value" transfer-ownership="none">
- <type name="float" c:type="gfloat"/>
+ <doc xml:whitespace="preserve">default value</doc>
+ <type name="gfloat" c:type="gfloat"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
+ <doc xml:whitespace="preserve">flags for the param spec</doc>
<type name="GObject.ParamFlags" c:type="GParamFlags"/>
</parameter>
</parameters>
</function>
<constant name="parenleft" value="40">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="parenright" value="41">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="partdifferential" value="16785922">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="partialderivative" value="2287">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="percent" value="37">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="period" value="46">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="periodcentered" value="183">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="phonographcopyright" value="2811">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="plus" value="43">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="plusminus" value="177">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="prescription" value="2772">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="prolongedsound" value="1200">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="punctspace" value="2726">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="q" value="113">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="quad" value="3020">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="question" value="63">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="questiondown" value="191">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="quotedbl" value="34">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="quoteleft" value="96">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="quoteright" value="39">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="r" value="114">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="racute" value="480">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="radical" value="2262">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="rcaron" value="504">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="rcedilla" value="947">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
- <function name="redraw"
- c:identifier="clutter_redraw"
- doc="Forces a redraw of the entire stage. Applications should never use this
+ <function name="redraw" c:identifier="clutter_redraw">
+ <doc xml:whitespace="preserve">Forces a redraw of the entire stage. Applications should never use this
function, but queue a redraw using clutter_actor_queue_redraw().
This function should only be used by libraries integrating Clutter from
-within another toolkit.">
+within another toolkit.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</parameters>
</function>
<constant name="registered" value="174">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="rightanglebracket" value="2750">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="rightarrow" value="2301">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="rightcaret" value="2982">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="rightdoublequotemark" value="2771">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="rightmiddlecurlybrace" value="2224">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="rightmiddlesummation" value="2231">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="rightopentriangle" value="2765">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="rightpointer" value="2795">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="rightshoe" value="3032">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="rightsinglequotemark" value="2769">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="rightt" value="2549">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="righttack" value="3068">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="s" value="115">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="sabovedot" value="16784993">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="sacute" value="438">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="scaron" value="441">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="scedilla" value="442">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="schwa" value="16777817">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="scircumflex" value="766">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
+ <function name="script_error_quark"
+ c:identifier="clutter_script_error_quark">
+ <return-value transfer-ownership="none">
+ <type name="GLib.Quark" c:type="GQuark"/>
+ </return-value>
+ </function>
<constant name="script_switch" value="65406">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="seconds" value="2775">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="section" value="167">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="semicolon" value="59">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="semivoicedsound" value="1247">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<function name="set_default_frame_rate"
c:identifier="clutter_set_default_frame_rate"
- doc="Sets the default frame rate. This frame rate will be used to limit
+ version="0.6">
+ <doc xml:whitespace="preserve">Sets the default frame rate. This frame rate will be used to limit
the number of frames drawn if Clutter is not able to synchronize
with the vertical refresh rate of the display. When synchronization
-is possible, this value is ignored."
- version="0.6">
+is possible, this value is ignored.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="frames_per_sec" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <doc xml:whitespace="preserve">the new default frame rate</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
</parameters>
</function>
<function name="set_font_flags"
c:identifier="clutter_set_font_flags"
- doc="Sets the font quality options for subsequent text rendering
+ version="1.0">
+ <doc xml:whitespace="preserve">Sets the font quality options for subsequent text rendering
operations.
Using mipmapped textures will improve the quality for scaled down
text but will use more texture memory.
Enabling hinting improves text quality for static text but may
-introduce some artifacts if the text is animated."
- version="1.0">
+introduce some artifacts if the text is animated.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="flags" transfer-ownership="none">
+ <doc xml:whitespace="preserve">The new flags</doc>
<type name="FontFlags" c:type="ClutterFontFlags"/>
</parameter>
</parameters>
</function>
<function name="set_motion_events_enabled"
c:identifier="clutter_set_motion_events_enabled"
- doc="Sets whether per-actor motion events should be enabled or not (the
+ version="0.6">
+ <doc xml:whitespace="preserve">Sets whether per-actor motion events should be enabled or not (the
default is to enable them).
If @enable is %FALSE the following events will not work:
<itemizedlist>
#ClutterStage</para></listitem>
<listitem><para>ClutterActor::enter-event</para></listitem>
<listitem><para>ClutterActor::leave-event</para></listitem>
-</itemizedlist>"
- version="0.6">
+</itemizedlist></doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="enable" transfer-ownership="none">
- <type name="boolean" c:type="gboolean"/>
+ <doc xml:whitespace="preserve">%TRUE to enable per-actor motion events</doc>
+ <type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</function>
<constant name="seveneighths" value="2758">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="sevensubscript" value="16785543">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="sevensuperior" value="16785527">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
+ <function name="shader_error_quark"
+ c:identifier="clutter_shader_error_quark">
+ <return-value transfer-ownership="none">
+ <type name="GLib.Quark" c:type="GQuark"/>
+ </return-value>
+ </function>
+ <function name="shader_float_get_type"
+ c:identifier="clutter_shader_float_get_type">
+ <return-value transfer-ownership="none">
+ <type name="GType" c:type="GType"/>
+ </return-value>
+ </function>
+ <function name="shader_int_get_type"
+ c:identifier="clutter_shader_int_get_type">
+ <return-value transfer-ownership="none">
+ <type name="GType" c:type="GType"/>
+ </return-value>
+ </function>
+ <function name="shader_matrix_get_type"
+ c:identifier="clutter_shader_matrix_get_type">
+ <return-value transfer-ownership="none">
+ <type name="GType" c:type="GType"/>
+ </return-value>
+ </function>
<constant name="signaturemark" value="2762">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="signifblank" value="2732">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="similarequal" value="2249">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="singlelowquotemark" value="2813">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="sixsubscript" value="16785542">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="sixsuperior" value="16785526">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="slash" value="47">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="soliddiamond" value="2528">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="space" value="32">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="squareroot" value="16785946">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ssharp" value="223">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="sterling" value="163">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="stricteq" value="16786019">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="t" value="116">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="tabovedot" value="16785003">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="tcaron" value="443">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="tcedilla" value="510">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="telephone" value="2809">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="telephonerecorder" value="2810">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
+ <function name="texture_error_quark"
+ c:identifier="clutter_texture_error_quark">
+ <return-value transfer-ownership="none">
+ <type name="GLib.Quark" c:type="GQuark"/>
+ </return-value>
+ </function>
<constant name="therefore" value="2240">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="thinspace" value="2727">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="thorn" value="254">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<function name="threads_add_frame_source"
c:identifier="clutter_threads_add_frame_source"
- doc="Simple wrapper around clutter_threads_add_frame_source_full()."
- version="0.8">
- <return-value transfer-ownership="none" doc="of the event source.">
- <type name="uint" c:type="guint"/>
+ shadowed-by="threads_add_frame_source_full"
+ version="0.8"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Simple wrapper around clutter_threads_add_frame_source_full().</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the ID (greater than 0) of the event source.</doc>
+ <type name="guint" c:type="guint"/>
</return-value>
<parameters>
<parameter name="fps" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <doc xml:whitespace="preserve">the number of times per second to call the function</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
- <parameter name="func"
- transfer-ownership="none"
- scope="call"
- closure="2">
+ <parameter name="func" transfer-ownership="none" closure="2">
+ <doc xml:whitespace="preserve">function to call</doc>
<type name="GLib.SourceFunc" c:type="GSourceFunc"/>
</parameter>
<parameter name="data" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
+ <doc xml:whitespace="preserve">data to pass to the function</doc>
+ <type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</function>
<function name="threads_add_frame_source_full"
c:identifier="clutter_threads_add_frame_source_full"
- doc="Sets a function to be called at regular intervals holding the Clutter
+ shadows="threads_add_frame_source"
+ version="0.8">
+ <doc xml:whitespace="preserve">Sets a function to be called at regular intervals holding the Clutter
threads lock, with the given priority. The function is called repeatedly
until it returns %FALSE, at which point the timeout is automatically
removed and the function will not be called again. The @notify function
full interval after the function completes so the delay between
calls would be @interval * 1.5. This function does not however try
to invoke the function multiple times to catch up missing frames if
-See also clutter_threads_add_idle_full()."
- version="0.8">
- <return-value transfer-ownership="none" doc="of the event source.">
- <type name="uint" c:type="guint"/>
+See also clutter_threads_add_idle_full().</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the ID (greater than 0) of the event source.</doc>
+ <type name="guint" c:type="guint"/>
</return-value>
<parameters>
- <parameter name="priority"
- transfer-ownership="none"
- doc=" range between #G_PRIORITY_DEFAULT and #G_PRIORITY_HIGH.">
- <type name="int" c:type="gint"/>
+ <parameter name="priority" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the priority of the frame source. Typically this will be in the range between #G_PRIORITY_DEFAULT and #G_PRIORITY_HIGH.</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
<parameter name="fps" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <doc xml:whitespace="preserve">the number of times per second to call the function</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
<parameter name="func"
transfer-ownership="none"
scope="notified"
closure="3"
destroy="4">
+ <doc xml:whitespace="preserve">function to call</doc>
<type name="GLib.SourceFunc" c:type="GSourceFunc"/>
</parameter>
<parameter name="data" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
+ <doc xml:whitespace="preserve">data to pass to the function</doc>
+ <type name="gpointer" c:type="gpointer"/>
</parameter>
- <parameter name="notify" transfer-ownership="none" scope="call">
+ <parameter name="notify" transfer-ownership="none" scope="async">
+ <doc xml:whitespace="preserve">function to call when the timeout source is removed</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
</function>
<function name="threads_add_idle"
c:identifier="clutter_threads_add_idle"
- doc="Simple wrapper around clutter_threads_add_idle_full() using the
-default priority."
- version="0.4">
- <return-value transfer-ownership="none" doc="of the event source.">
- <type name="uint" c:type="guint"/>
+ shadowed-by="threads_add_idle_full"
+ version="0.4"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Simple wrapper around clutter_threads_add_idle_full() using the
+default priority.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the ID (greater than 0) of the event source.</doc>
+ <type name="guint" c:type="guint"/>
</return-value>
<parameters>
- <parameter name="func"
- transfer-ownership="none"
- scope="call"
- closure="1">
+ <parameter name="func" transfer-ownership="none" closure="1">
+ <doc xml:whitespace="preserve">function to call</doc>
<type name="GLib.SourceFunc" c:type="GSourceFunc"/>
</parameter>
<parameter name="data" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
+ <doc xml:whitespace="preserve">data to pass to the function</doc>
+ <type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</function>
<function name="threads_add_idle_full"
c:identifier="clutter_threads_add_idle_full"
- doc="Adds a function to be called whenever there are no higher priority
+ shadows="threads_add_idle"
+ version="0.4">
+ <doc xml:whitespace="preserve">Adds a function to be called whenever there are no higher priority
events pending. If the function returns %FALSE it is automatically
removed from the list of event sources and will not be called again.
This function can be considered a thread-safe variant of g_idle_add_full():
closure,
g_free)
}
-|
+]|
This function should be used by threaded applications to make sure
that @func is emitted under the Clutter threads lock and invoked
from the same thread that started the Clutter main loop. For instance,
update_ui,
closure,
NULL);
-]|"
- version="0.4">
- <return-value transfer-ownership="none" doc="of the event source.">
- <type name="uint" c:type="guint"/>
+]|</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the ID (greater than 0) of the event source.</doc>
+ <type name="guint" c:type="guint"/>
</return-value>
<parameters>
- <parameter name="priority"
- transfer-ownership="none"
- doc=" range between #G_PRIORITY_DEFAULT_IDLE and #G_PRIORITY_HIGH_IDLE">
- <type name="int" c:type="gint"/>
+ <parameter name="priority" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the priority of the timeout source. Typically this will be in the range between #G_PRIORITY_DEFAULT_IDLE and #G_PRIORITY_HIGH_IDLE</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
<parameter name="func"
transfer-ownership="none"
scope="notified"
closure="2"
destroy="3">
+ <doc xml:whitespace="preserve">function to call</doc>
<type name="GLib.SourceFunc" c:type="GSourceFunc"/>
</parameter>
<parameter name="data" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
+ <doc xml:whitespace="preserve">data to pass to the function</doc>
+ <type name="gpointer" c:type="gpointer"/>
</parameter>
- <parameter name="notify" transfer-ownership="none" scope="call">
+ <parameter name="notify" transfer-ownership="none" scope="async">
+ <doc xml:whitespace="preserve">functio to call when the idle source is removed</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
</function>
<function name="threads_add_repaint_func"
c:identifier="clutter_threads_add_repaint_func"
- doc="Adds a function to be called whenever Clutter is repainting a Stage.
+ version="1.0">
+ <doc xml:whitespace="preserve">Adds a function to be called whenever Clutter is repainting a Stage.
If the function returns %FALSE it is automatically removed from the
list of repaint functions and will not be called again.
This function is guaranteed to be called from within the same thread
When the repaint function is removed (either because it returned %FALSE
or because clutter_threads_remove_repaint_func() has been called) the
can use the returned integer to remove the repaint function by
-calling clutter_threads_remove_repaint_func()."
- version="1.0">
- <return-value transfer-ownership="none"
- doc="of the repaint function. You">
- <type name="uint" c:type="guint"/>
+calling clutter_threads_remove_repaint_func().</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the ID (greater than 0) of the repaint function. You</doc>
+ <type name="guint" c:type="guint"/>
</return-value>
<parameters>
<parameter name="func"
scope="notified"
closure="1"
destroy="2">
+ <doc xml:whitespace="preserve">the function to be called within the paint cycle</doc>
<type name="GLib.SourceFunc" c:type="GSourceFunc"/>
</parameter>
<parameter name="data" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
+ <doc xml:whitespace="preserve">data to be passed to the function, or %NULL</doc>
+ <type name="gpointer" c:type="gpointer"/>
</parameter>
- <parameter name="notify"
- transfer-ownership="none"
- scope="call"
- doc=" function, or %NULL">
+ <parameter name="notify" transfer-ownership="none" scope="async">
+ <doc xml:whitespace="preserve">function to be called when removing the repaint function, or %NULL</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
</function>
<function name="threads_add_timeout"
c:identifier="clutter_threads_add_timeout"
- doc="Simple wrapper around clutter_threads_add_timeout_full()."
- version="0.4">
- <return-value transfer-ownership="none" doc="of the event source.">
- <type name="uint" c:type="guint"/>
+ shadowed-by="threads_add_timeout_full"
+ version="0.4"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Simple wrapper around clutter_threads_add_timeout_full().</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the ID (greater than 0) of the event source.</doc>
+ <type name="guint" c:type="guint"/>
</return-value>
<parameters>
<parameter name="interval" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <doc xml:whitespace="preserve">the time between calls to the function, in milliseconds</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
- <parameter name="func"
- transfer-ownership="none"
- scope="call"
- closure="2">
+ <parameter name="func" transfer-ownership="none" closure="2">
+ <doc xml:whitespace="preserve">function to call</doc>
<type name="GLib.SourceFunc" c:type="GSourceFunc"/>
</parameter>
<parameter name="data" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
+ <doc xml:whitespace="preserve">data to pass to the function</doc>
+ <type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</function>
<function name="threads_add_timeout_full"
c:identifier="clutter_threads_add_timeout_full"
- doc="Sets a function to be called at regular intervals holding the Clutter
+ shadows="threads_add_timeout"
+ version="0.4">
+ <doc xml:whitespace="preserve">Sets a function to be called at regular intervals holding the Clutter
threads lock, with the given priority. The function is called repeatedly
until it returns %FALSE, at which point the timeout is automatically
removed and the function will not be called again. The @notify function
The first call to the function will be at the end of the first @interval.
It is important to note that, due to how the Clutter main loop is
implemented, the timing will not be accurate and it will not try to
-"keep up" with the interval. A more reliable source is available
+"keep up" with the interval. A more reliable source is available
using clutter_threads_add_frame_source_full(), which is also internally
used by #ClutterTimeline.
-See also clutter_threads_add_idle_full()."
- version="0.4">
- <return-value transfer-ownership="none" doc="of the event source.">
- <type name="uint" c:type="guint"/>
+See also clutter_threads_add_idle_full().</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the ID (greater than 0) of the event source.</doc>
+ <type name="guint" c:type="guint"/>
</return-value>
<parameters>
- <parameter name="priority"
- transfer-ownership="none"
- doc=" range between #G_PRIORITY_DEFAULT and #G_PRIORITY_HIGH.">
- <type name="int" c:type="gint"/>
+ <parameter name="priority" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the priority of the timeout source. Typically this will be in the range between #G_PRIORITY_DEFAULT and #G_PRIORITY_HIGH.</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
<parameter name="interval" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <doc xml:whitespace="preserve">the time between calls to the function, in milliseconds</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
<parameter name="func"
transfer-ownership="none"
scope="notified"
closure="3"
destroy="4">
+ <doc xml:whitespace="preserve">function to call</doc>
<type name="GLib.SourceFunc" c:type="GSourceFunc"/>
</parameter>
<parameter name="data" transfer-ownership="none">
- <type name="any" c:type="gpointer"/>
+ <doc xml:whitespace="preserve">data to pass to the function</doc>
+ <type name="gpointer" c:type="gpointer"/>
</parameter>
- <parameter name="notify" transfer-ownership="none" scope="call">
+ <parameter name="notify" transfer-ownership="none" scope="async">
+ <doc xml:whitespace="preserve">function to call when the timeout source is removed</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
</function>
<function name="threads_enter"
c:identifier="clutter_threads_enter"
- doc="Locks the Clutter thread lock."
version="0.4">
+ <doc xml:whitespace="preserve">Locks the Clutter thread lock.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</function>
<function name="threads_init"
c:identifier="clutter_threads_init"
- doc="Initialises the Clutter threading mechanism, so that Clutter API can be
+ version="0.4">
+ <doc xml:whitespace="preserve">Initialises the Clutter threading mechanism, so that Clutter API can be
called by multiple threads, using clutter_threads_enter() and
clutter_threads_leave() to mark the critical sections.
You must call g_thread_init() before this function.
This function must be called before clutter_init().
-It is safe to call this function multiple times."
- version="0.4">
+It is safe to call this function multiple times.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</function>
<function name="threads_leave"
c:identifier="clutter_threads_leave"
- doc="Unlocks the Clutter thread lock."
version="0.4">
+ <doc xml:whitespace="preserve">Unlocks the Clutter thread lock.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</function>
<function name="threads_remove_repaint_func"
c:identifier="clutter_threads_remove_repaint_func"
- doc="Removes the repaint function with @handle_id as its id"
version="1.0">
+ <doc xml:whitespace="preserve">Removes the repaint function with @handle_id as its id</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="handle_id" transfer-ownership="none">
- <type name="uint" c:type="guint"/>
+ <doc xml:whitespace="preserve">an unsigned integer greater than zero</doc>
+ <type name="guint" c:type="guint"/>
</parameter>
</parameters>
</function>
<function name="threads_set_lock_functions"
c:identifier="clutter_threads_set_lock_functions"
- doc="Allows the application to replace the standard method that
+ version="0.4"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Allows the application to replace the standard method that
Clutter uses to protect its data structures. Normally, Clutter
creates a single #GMutex that is locked by clutter_threads_enter(),
and released by clutter_threads_leave(); using this function an
lock that when held, holds the Clutter lock as well. When Clutter
unlocks the Clutter lock when entering a recursive main loop, the
application must temporarily release its lock as well.
-Most threaded Clutter apps won't need to use this method.
+Most threaded Clutter apps won't need to use this method.
This method must be called before clutter_threads_init(), and cannot
-be called multiple times."
- version="0.4">
+be called multiple times.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
- <parameter name="enter_fn" transfer-ownership="none" scope="call">
+ <parameter name="enter_fn" transfer-ownership="none">
+ <doc xml:whitespace="preserve">function called when aquiring the Clutter main lock</doc>
<type name="GObject.Callback" c:type="GCallback"/>
</parameter>
- <parameter name="leave_fn" transfer-ownership="none" scope="call">
+ <parameter name="leave_fn" transfer-ownership="none">
+ <doc xml:whitespace="preserve">function called when releasing the Clutter main lock</doc>
<type name="GObject.Callback" c:type="GCallback"/>
</parameter>
</parameters>
</function>
<constant name="threeeighths" value="2756">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="threefifths" value="2740">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="threequarters" value="190">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="threesubscript" value="16785539">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="threesuperior" value="179">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
+ <function name="timeout_pool_new"
+ c:identifier="clutter_timeout_pool_new"
+ version="0.4"
+ introspectable="0">
+ <doc xml:whitespace="preserve">Creates a new timeout pool source. A timeout pool should be used when
+multiple timeout functions, running at the same priority, are needed and
+the g_timeout_add() API might lead to starvation of the time slice of
+the main loop. A timeout pool allocates a single time slice of the main
+loop and runs every timeout function inside it. The timeout pool is
+always sorted, so that the extraction of the next timeout function is
+a constant time operation.
+is owned by the GLib default context and will be automatically
+destroyed when the context is destroyed. It is possible to force
+the destruction of the timeout pool using g_source_destroy()</doc>
+ <return-value>
+ <doc xml:whitespace="preserve">the newly created #ClutterTimeoutPool. The created pool</doc>
+ <type name="TimeoutPool" c:type="ClutterTimeoutPool*"/>
+ </return-value>
+ <parameters>
+ <parameter name="priority" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the priority of the timeout pool. Typically this will be #G_PRIORITY_DEFAULT</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ </parameters>
+ </function>
<constant name="tintegral" value="16785965">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="topintegral" value="2212">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="topleftparens" value="2219">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="topleftradical" value="2210">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="topleftsqbracket" value="2215">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="topleftsummation" value="2225">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="toprightparens" value="2221">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="toprightsqbracket" value="2217">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="toprightsummation" value="2229">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="topt" value="2551">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="topvertsummationconnector" value="2227">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="trademark" value="2761">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="trademarkincircle" value="2763">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="tslash" value="956">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="twofifths" value="2739">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="twosubscript" value="16785538">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="twosuperior" value="178">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="twothirds" value="2737">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="u" value="117">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="uacute" value="250">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ubelowdot" value="16785125">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ubreve" value="765">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ucircumflex" value="251">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="udiaeresis" value="252">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="udoubleacute" value="507">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ugrave" value="249">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="uhook" value="16785127">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="uhorn" value="16777648">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="uhornacute" value="16785129">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="uhornbelowdot" value="16785137">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="uhorngrave" value="16785131">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="uhornhook" value="16785133">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="uhorntilde" value="16785135">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="umacron" value="1022">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="underbar" value="3014">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="underscore" value="95">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<function name="ungrab_keyboard"
c:identifier="clutter_ungrab_keyboard"
- doc="Removes an existing grab of the keyboard."
version="0.6">
+ <doc xml:whitespace="preserve">Removes an existing grab of the keyboard.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</function>
<function name="ungrab_pointer"
c:identifier="clutter_ungrab_pointer"
- doc="Removes an existing grab of the pointer."
version="0.6">
+ <doc xml:whitespace="preserve">Removes an existing grab of the pointer.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</function>
<function name="ungrab_pointer_for_device"
c:identifier="clutter_ungrab_pointer_for_device"
- doc="Removes an existing grab of the pointer events for device @id."
version="0.8">
+ <doc xml:whitespace="preserve">Removes an existing grab of the pointer events for device @id.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="id" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <doc xml:whitespace="preserve">a device id</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
</parameters>
</function>
<constant name="union" value="2269">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="uogonek" value="1017">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="uparrow" value="2300">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="upcaret" value="2985">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="upleftcorner" value="2540">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="uprightcorner" value="2539">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="upshoe" value="3011">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="upstile" value="3027">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="uptack" value="3022">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="uring" value="505">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<function name="util_next_p2"
c:identifier="clutter_util_next_p2"
- doc="Calculates the nearest power of two, greater than or equal to @a."
deprecated="1.2">
+ <doc xml:whitespace="preserve">Calculates the nearest power of two, greater than or equal to @a.</doc>
<return-value transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <doc xml:whitespace="preserve">The nearest power of two, greater or equal to @a.</doc>
+ <type name="gint" c:type="gint"/>
</return-value>
<parameters>
<parameter name="a" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <doc xml:whitespace="preserve">Value to get the next power</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
</parameters>
</function>
<constant name="utilde" value="1021">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="v" value="118">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<function name="value_get_color"
c:identifier="clutter_value_get_color"
- doc="Gets the #ClutterColor contained in @value."
version="0.8.4">
+ <doc xml:whitespace="preserve">Gets the #ClutterColor contained in @value.</doc>
<return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the color inside the passed #GValue</doc>
<type name="Color" c:type="ClutterColor*"/>
</return-value>
<parameters>
<parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GValue initialized to #CLUTTER_TYPE_COLOR</doc>
<type name="GObject.Value" c:type="GValue*"/>
</parameter>
</parameters>
</function>
<function name="value_get_fixed"
c:identifier="clutter_value_get_fixed"
- doc="Gets the fixed point value stored inside @value."
version="0.8">
- <return-value transfer-ownership="full">
+ <doc xml:whitespace="preserve">Gets the fixed point value stored inside @value.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the value inside the passed #GValue</doc>
<type name="Cogl.Fixed" c:type="CoglFixed"/>
</return-value>
<parameters>
<parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GValue initialized to %COGL_TYPE_FIXED</doc>
<type name="GObject.Value" c:type="GValue*"/>
</parameter>
</parameters>
</function>
<function name="value_get_shader_float"
c:identifier="clutter_value_get_shader_float"
- doc="Retrieves the list of floating point values stored inside
+ version="0.8">
+ <doc xml:whitespace="preserve">Retrieves the list of floating point values stored inside
the passed #GValue. @value must have been initialized with
%CLUTTER_TYPE_SHADER_FLOAT.
The returned value is owned by the #GValue and should never
-be modified or freed."
- version="0.8">
+be modified or freed.</doc>
<return-value transfer-ownership="none">
- <type name="float" c:type="gfloat*"/>
+ <doc xml:whitespace="preserve">the pointer to a list of floating point values.</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</return-value>
<parameters>
<parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GValue</doc>
<type name="GObject.Value" c:type="GValue*"/>
</parameter>
- <parameter name="length"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- doc=" point values, or %NULL">
- <type name="size_t" c:type="gsize*"/>
+ <parameter name="length" transfer-ownership="none">
+ <doc xml:whitespace="preserve">return location for the number of returned floating point values, or %NULL</doc>
+ <type name="gulong" c:type="gsize*"/>
</parameter>
</parameters>
</function>
<function name="value_get_shader_int"
c:identifier="clutter_value_get_shader_int"
- doc="Retrieves the list of integer values stored inside the passed
+ version="0.8">
+ <doc xml:whitespace="preserve">Retrieves the list of integer values stored inside the passed
#GValue. @value must have been initialized with
%CLUTTER_TYPE_SHADER_INT.
The returned value is owned by the #GValue and should never
-be modified or freed."
- version="0.8">
+be modified or freed.</doc>
<return-value transfer-ownership="none">
- <type name="int" c:type="gint*"/>
+ <doc xml:whitespace="preserve">the pointer to a list of integer values.</doc>
+ <type name="gint" c:type="gint*"/>
</return-value>
<parameters>
<parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GValue</doc>
<type name="GObject.Value" c:type="GValue*"/>
</parameter>
- <parameter name="length"
- direction="out"
- caller-allocates="0"
- transfer-ownership="full"
- doc=" values, or %NULL">
- <type name="size_t" c:type="gsize*"/>
+ <parameter name="length" transfer-ownership="none">
+ <doc xml:whitespace="preserve">return location for the number of returned integer values, or %NULL</doc>
+ <type name="gulong" c:type="gsize*"/>
</parameter>
</parameters>
</function>
<function name="value_get_shader_matrix"
c:identifier="clutter_value_get_shader_matrix"
- doc="Retrieves a matrix of floating point values stored inside
+ version="0.8">
+ <doc xml:whitespace="preserve">Retrieves a matrix of floating point values stored inside
the passed #GValue. @value must have been initialized with
%CLUTTER_TYPE_SHADER_MATRIX.
of floating point values. The returned value is owned by the #GValue and
-should never be modified or freed."
- version="0.8">
- <return-value transfer-ownership="none" doc="the pointer to a matrix">
+should never be modified or freed.</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the pointer to a matrix</doc>
<array length="1" c:type="gfloat*">
- <type name="float"/>
+ <type name="gfloat"/>
</array>
</return-value>
<parameters>
<parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GValue</doc>
<type name="GObject.Value" c:type="GValue*"/>
</parameter>
<parameter name="length"
direction="out"
caller-allocates="0"
- transfer-ownership="full"
- doc="return location for the number of returned floating point values, or %NULL">
- <type name="size_t" c:type="gsize*"/>
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">return location for the number of returned floating point values, or %NULL</doc>
+ <type name="gulong" c:type="gsize*"/>
</parameter>
</parameters>
</function>
<function name="value_get_units"
c:identifier="clutter_value_get_units"
- doc="Gets the #ClutterUnit<!-- -->s contained in @value."
version="0.8">
+ <doc xml:whitespace="preserve">Gets the #ClutterUnit<!-- -->s contained in @value.</doc>
<return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">the units inside the passed #GValue</doc>
<type name="Units" c:type="ClutterUnits*"/>
</return-value>
<parameters>
<parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GValue initialized to #CLUTTER_TYPE_UNIT</doc>
<type name="GObject.Value" c:type="GValue*"/>
</parameter>
</parameters>
</function>
<function name="value_set_color"
c:identifier="clutter_value_set_color"
- doc="Sets @value to @color."
version="0.8.4">
+ <doc xml:whitespace="preserve">Sets @value to @color.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GValue initialized to #CLUTTER_TYPE_COLOR</doc>
<type name="GObject.Value" c:type="GValue*"/>
</parameter>
<parameter name="color" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the color to set</doc>
<type name="Color" c:type="ClutterColor*"/>
</parameter>
</parameters>
</function>
<function name="value_set_fixed"
c:identifier="clutter_value_set_fixed"
- doc="Sets @value to @fixed_."
version="0.8">
+ <doc xml:whitespace="preserve">Sets @value to @fixed_.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GValue initialized to %COGL_TYPE_FIXED</doc>
<type name="GObject.Value" c:type="GValue*"/>
</parameter>
<parameter name="fixed_" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the fixed point value to set</doc>
<type name="Cogl.Fixed" c:type="CoglFixed"/>
</parameter>
</parameters>
</function>
<function name="value_set_shader_float"
c:identifier="clutter_value_set_shader_float"
- doc="Sets @floats as the contents of @value. The passed #GValue
-must have been initialized using %CLUTTER_TYPE_SHADER_FLOAT."
version="0.8">
+ <doc xml:whitespace="preserve">Sets @floats as the contents of @value. The passed #GValue
+must have been initialized using %CLUTTER_TYPE_SHADER_FLOAT.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GValue</doc>
<type name="GObject.Value" c:type="GValue*"/>
</parameter>
<parameter name="size" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <doc xml:whitespace="preserve">number of floating point values in @floats</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
- <parameter name="floats"
- direction="out"
- caller-allocates="0"
- transfer-ownership="none">
- <type name="float" c:type="gfloat*"/>
+ <parameter name="floats" transfer-ownership="none">
+ <doc xml:whitespace="preserve">an array of floating point values</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
</parameters>
</function>
<function name="value_set_shader_int"
c:identifier="clutter_value_set_shader_int"
- doc="Sets @ints as the contents of @value. The passed #GValue
-must have been initialized using %CLUTTER_TYPE_SHADER_INT."
version="0.8">
+ <doc xml:whitespace="preserve">Sets @ints as the contents of @value. The passed #GValue
+must have been initialized using %CLUTTER_TYPE_SHADER_INT.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GValue</doc>
<type name="GObject.Value" c:type="GValue*"/>
</parameter>
<parameter name="size" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <doc xml:whitespace="preserve">number of integer values in @ints</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
- <parameter name="ints"
- direction="out"
- caller-allocates="0"
- transfer-ownership="none">
- <type name="int" c:type="gint*"/>
+ <parameter name="ints" transfer-ownership="none">
+ <doc xml:whitespace="preserve">an array of integer values</doc>
+ <type name="gint" c:type="gint*"/>
</parameter>
</parameters>
</function>
<function name="value_set_shader_matrix"
c:identifier="clutter_value_set_shader_matrix"
- doc="Sets @matrix as the contents of @value. The passed #GValue
-must have been initialized using %CLUTTER_TYPE_SHADER_MATRIX."
version="0.8">
+ <doc xml:whitespace="preserve">Sets @matrix as the contents of @value. The passed #GValue
+must have been initialized using %CLUTTER_TYPE_SHADER_MATRIX.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GValue</doc>
<type name="GObject.Value" c:type="GValue*"/>
</parameter>
<parameter name="size" transfer-ownership="none">
- <type name="int" c:type="gint"/>
+ <doc xml:whitespace="preserve">number of floating point values in @floats</doc>
+ <type name="gint" c:type="gint"/>
</parameter>
- <parameter name="matrix"
- direction="out"
- caller-allocates="0"
- transfer-ownership="none">
- <type name="float" c:type="gfloat*"/>
+ <parameter name="matrix" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a matrix of floating point values</doc>
+ <type name="gfloat" c:type="gfloat*"/>
</parameter>
</parameters>
</function>
<function name="value_set_units"
c:identifier="clutter_value_set_units"
- doc="Sets @value to @units"
version="0.8">
+ <doc xml:whitespace="preserve">Sets @value to @units</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="value" transfer-ownership="none">
+ <doc xml:whitespace="preserve">a #GValue initialized to #CLUTTER_TYPE_UNIT</doc>
<type name="GObject.Value" c:type="GValue*"/>
</parameter>
<parameter name="units" transfer-ownership="none">
+ <doc xml:whitespace="preserve">the units to set</doc>
<type name="Units" c:type="ClutterUnits*"/>
</parameter>
</parameters>
</function>
<constant name="variation" value="2241">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="vertbar" value="2552">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="vertconnector" value="2214">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="voicedsound" value="1246">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="vt" value="2537">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="w" value="119">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="wacute" value="16785027">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="wcircumflex" value="16777589">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="wdiaeresis" value="16785029">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="wgrave" value="16785025">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="x" value="120">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="xabovedot" value="16785035">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="y" value="121">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="yacute" value="253">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ybelowdot" value="16785141">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ycircumflex" value="16777591">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ydiaeresis" value="255">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="yen" value="165">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ygrave" value="16785139">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="yhook" value="16785143">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="ytilde" value="16785145">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="z" value="122">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="zabovedot" value="447">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="zacute" value="444">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="zcaron" value="446">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="zerosubscript" value="16785536">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="zerosuperior" value="16785520">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
<constant name="zstroke" value="16777654">
- <type name="int"/>
+ <type name="gint" c:type="gint"/>
</constant>
</namespace>
</repository>