2 <!-- This file was automatically generated from C sources - DO NOT EDIT!
3 To affect the contents of this file, edit the original C definitions,
4 and/or use gtk-doc annotations. -->
5 <repository version="1.1"
6 xmlns="http://www.gtk.org/introspection/core/1.0"
7 xmlns:c="http://www.gtk.org/introspection/c/1.0"
8 xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
9 <include name="Atk" version="1.0"/>
10 <include name="ClutterJson" version="1.0"/>
11 <include name="Cogl" version="1.0"/>
12 <include name="GL" version="1.0"/>
13 <include name="GLib" version="2.0"/>
14 <include name="GObject" version="2.0"/>
15 <include name="Pango" version="1.0"/>
16 <include name="PangoCairo" version="1.0"/>
17 <include name="cairo" version="1.0"/>
19 <package name="gobject-2.0"/>
20 <package name="pango"/>
21 <package name="pangocairo"/>
22 <c:include name="clutter/clutter.h"/>
23 <namespace name="Clutter"
25 shared-library="libclutter-glx-1.0.so.0"
27 <constant name="0" value="48">
30 <constant name="1" value="49">
33 <constant name="2" value="50">
36 <constant name="3" value="51">
39 <constant name="3270_AltCursor" value="64784">
42 <constant name="3270_Attn" value="64782">
45 <constant name="3270_BackTab" value="64773">
48 <constant name="3270_ChangeScreen" value="64793">
51 <constant name="3270_Copy" value="64789">
54 <constant name="3270_CursorBlink" value="64783">
57 <constant name="3270_CursorSelect" value="64796">
60 <constant name="3270_DeleteWord" value="64794">
63 <constant name="3270_Duplicate" value="64769">
66 <constant name="3270_Enter" value="64798">
69 <constant name="3270_EraseEOF" value="64774">
72 <constant name="3270_EraseInput" value="64775">
75 <constant name="3270_ExSelect" value="64795">
78 <constant name="3270_FieldMark" value="64770">
81 <constant name="3270_Ident" value="64787">
84 <constant name="3270_Jump" value="64786">
87 <constant name="3270_KeyClick" value="64785">
90 <constant name="3270_Left2" value="64772">
93 <constant name="3270_PA1" value="64778">
96 <constant name="3270_PA2" value="64779">
99 <constant name="3270_PA3" value="64780">
102 <constant name="3270_Play" value="64790">
105 <constant name="3270_PrintScreen" value="64797">
108 <constant name="3270_Quit" value="64777">
111 <constant name="3270_Record" value="64792">
114 <constant name="3270_Reset" value="64776">
117 <constant name="3270_Right2" value="64771">
120 <constant name="3270_Rule" value="64788">
123 <constant name="3270_Setup" value="64791">
126 <constant name="3270_Test" value="64781">
129 <constant name="4" value="52">
132 <constant name="5" value="53">
135 <constant name="6" value="54">
138 <constant name="7" value="55">
141 <constant name="8" value="56">
144 <constant name="9" value="57">
147 <constant name="A" value="65">
150 <constant name="AE" value="198">
153 <constant name="Aacute" value="193">
156 <constant name="Abelowdot" value="16785056">
159 <constant name="Abreve" value="451">
162 <constant name="Abreveacute" value="16785070">
165 <constant name="Abrevebelowdot" value="16785078">
168 <constant name="Abrevegrave" value="16785072">
171 <constant name="Abrevehook" value="16785074">
174 <constant name="Abrevetilde" value="16785076">
177 <constant name="AccessX_Enable" value="65136">
180 <constant name="AccessX_Feedback_Enable" value="65137">
183 <constant name="Acircumflex" value="194">
186 <constant name="Acircumflexacute" value="16785060">
189 <constant name="Acircumflexbelowdot" value="16785068">
192 <constant name="Acircumflexgrave" value="16785062">
195 <constant name="Acircumflexhook" value="16785064">
198 <constant name="Acircumflextilde" value="16785066">
202 c:type="ClutterAction"
206 glib:type-name="ClutterAction"
207 glib:get-type="clutter_action_get_type"
208 glib:type-struct="ActionClass">
209 <doc xml:whitespace="preserve">The <structname>ClutterAction</structname> structure contains only
210 private data and should be accessed using the provided API</doc>
211 <field name="parent_instance">
212 <type name="ActorMeta" c:type="ClutterActorMeta"/>
215 <record name="ActionClass"
216 c:type="ClutterActionClass"
217 glib:is-gtype-struct-for="Action"
219 <doc xml:whitespace="preserve">The <structname>ClutterActionClass</structname> structure contains
220 only private data</doc>
221 <field name="parent_class">
222 <type name="ActorMetaClass" c:type="ClutterActorMetaClass"/>
224 <field name="clutter_action1">
225 <callback name="clutter_action1" c:type="_clutter_action1">
226 <return-value transfer-ownership="none">
227 <type name="none" c:type="void"/>
231 <field name="clutter_action2">
232 <callback name="clutter_action2" c:type="_clutter_action2">
233 <return-value transfer-ownership="none">
234 <type name="none" c:type="void"/>
238 <field name="clutter_action3">
239 <callback name="clutter_action3" c:type="_clutter_action3">
240 <return-value transfer-ownership="none">
241 <type name="none" c:type="void"/>
245 <field name="clutter_action4">
246 <callback name="clutter_action4" c:type="_clutter_action4">
247 <return-value transfer-ownership="none">
248 <type name="none" c:type="void"/>
252 <field name="clutter_action5">
253 <callback name="clutter_action5" c:type="_clutter_action5">
254 <return-value transfer-ownership="none">
255 <type name="none" c:type="void"/>
259 <field name="clutter_action6">
260 <callback name="clutter_action6" c:type="_clutter_action6">
261 <return-value transfer-ownership="none">
262 <type name="none" c:type="void"/>
266 <field name="clutter_action7">
267 <callback name="clutter_action7" c:type="_clutter_action7">
268 <return-value transfer-ownership="none">
269 <type name="none" c:type="void"/>
273 <field name="clutter_action8">
274 <callback name="clutter_action8" c:type="_clutter_action8">
275 <return-value transfer-ownership="none">
276 <type name="none" c:type="void"/>
282 c:type="ClutterActor"
283 parent="GObject.InitiallyUnowned"
285 glib:type-name="ClutterActor"
286 glib:get-type="clutter_actor_get_type"
287 glib:type-struct="ActorClass">
288 <doc xml:whitespace="preserve">Base class for actors.</doc>
289 <implements name="Animatable"/>
290 <implements name="Atk.ImplementorIface"/>
291 <implements name="Scriptable"/>
292 <virtual-method name="show_all" invoker="show_all" version="0.2">
293 <doc xml:whitespace="preserve">Calls clutter_actor_show() on all children of an actor (if any).</doc>
294 <return-value transfer-ownership="none">
295 <type name="none" c:type="void"/>
298 <virtual-method name="hide_all" invoker="hide_all" version="0.2">
299 <doc xml:whitespace="preserve">Calls clutter_actor_hide() on all child actors (if any).</doc>
300 <return-value transfer-ownership="none">
301 <type name="none" c:type="void"/>
304 <virtual-method name="map" invoker="map" version="1.0">
305 <doc xml:whitespace="preserve">Sets the %CLUTTER_ACTOR_MAPPED flag on the actor and possibly maps
306 and realizes its children if they are visible. Does nothing if the
307 actor is not visible.
308 #ClutterActor <function>map()</function> virtual function in an actor
309 and you need to map the children of that actor. It is not necessary
310 to call this if you implement #ClutterContainer because the default
311 implementation will automatically map children of containers.
312 When overriding map, it is mandatory to chain up to the parent
313 implementation.</doc>
314 <return-value transfer-ownership="none">
315 <type name="none" c:type="void"/>
318 <virtual-method name="unmap" invoker="unmap" version="1.0">
319 <doc xml:whitespace="preserve">Unsets the %CLUTTER_ACTOR_MAPPED flag on the actor and possibly
320 unmaps its children if they were mapped.
321 #ClutterActor <function>unmap()</function> virtual function in an actor
322 and you need to unmap the children of that actor. It is not necessary
323 to call this if you implement #ClutterContainer because the default
324 implementation will automatically unmap children of containers.
325 When overriding unmap, it is mandatory to chain up to the parent
326 implementation.</doc>
327 <return-value transfer-ownership="none">
328 <type name="none" c:type="void"/>
331 <virtual-method name="get_preferred_width"
332 invoker="get_preferred_width"
334 <doc xml:whitespace="preserve">Computes the requested minimum and natural widths for an actor,
335 optionally depending on the specified height, or if they are
336 already computed, returns the cached values.
337 An actor may not get its request - depending on the layout
338 manager that's in effect.
339 A request should not incorporate the actor's scale or anchor point;
340 those transformations do not affect layout, only rendering.</doc>
341 <return-value transfer-ownership="none">
342 <type name="none" c:type="void"/>
345 <parameter name="for_height" transfer-ownership="none">
346 <doc xml:whitespace="preserve">available height when computing the preferred width, or a negative value to indicate that no height is defined</doc>
347 <type name="float" c:type="gfloat"/>
349 <parameter name="min_width_p"
352 transfer-ownership="full"
354 <doc xml:whitespace="preserve">return location for minimum width, or %NULL</doc>
355 <type name="float" c:type="gfloat*"/>
357 <parameter name="natural_width_p"
360 transfer-ownership="full"
362 <doc xml:whitespace="preserve">return location for the natural width, or %NULL</doc>
363 <type name="float" c:type="gfloat*"/>
367 <virtual-method name="get_preferred_height"
368 invoker="get_preferred_height"
370 <doc xml:whitespace="preserve">Computes the requested minimum and natural heights for an actor,
371 or if they are already computed, returns the cached values.
372 An actor may not get its request - depending on the layout
373 manager that's in effect.
374 A request should not incorporate the actor's scale or anchor point;
375 those transformations do not affect layout, only rendering.</doc>
376 <return-value transfer-ownership="none">
377 <type name="none" c:type="void"/>
380 <parameter name="for_width" transfer-ownership="none">
381 <doc xml:whitespace="preserve">available width to assume in computing desired height, or a negative value to indicate that no width is defined</doc>
382 <type name="float" c:type="gfloat"/>
384 <parameter name="min_height_p"
387 transfer-ownership="full"
389 <doc xml:whitespace="preserve">return location for minimum height, or %NULL</doc>
390 <type name="float" c:type="gfloat*"/>
392 <parameter name="natural_height_p"
395 transfer-ownership="full"
397 <doc xml:whitespace="preserve">return location for natural height, or %NULL</doc>
398 <type name="float" c:type="gfloat*"/>
402 <virtual-method name="allocate" invoker="allocate" version="0.8">
403 <doc xml:whitespace="preserve">Called by the parent of an actor to assign the actor its size.
404 Should never be called by applications (except when implementing
405 a container or layout manager).
406 Actors can know from their allocation box whether they have moved
407 with respect to their parent actor. The @flags parameter describes
408 additional information about the allocation, for instance whether
409 the parent has moved with respect to the stage, for example because
410 a grandparent's origin has moved.</doc>
411 <return-value transfer-ownership="none">
412 <type name="none" c:type="void"/>
415 <parameter name="box" transfer-ownership="none">
416 <doc xml:whitespace="preserve">new allocation of the actor, in parent-relative coordinates</doc>
417 <type name="ActorBox" c:type="ClutterActorBox*"/>
419 <parameter name="flags" transfer-ownership="none">
420 <doc xml:whitespace="preserve">flags that control the allocation</doc>
421 <type name="AllocationFlags" c:type="ClutterAllocationFlags"/>
425 <virtual-method name="apply_transform">
426 <return-value transfer-ownership="none">
427 <type name="none" c:type="void"/>
430 <parameter name="matrix" transfer-ownership="none">
431 <type name="Cogl.Matrix" c:type="CoglMatrix*"/>
435 <virtual-method name="get_accessible" invoker="get_accessible">
436 <doc xml:whitespace="preserve">Returns the accessible object that describes the actor to an
437 assistive technology.
438 If no class-specific #AtkObject implementation is available for the
439 actor instance in question, it will inherit an #AtkObject
440 implementation from the first ancestor class for which such an
441 implementation is defined.
442 The documentation of the <ulink
443 url="http://developer.gnome.org/doc/API/2.0/atk/index.html">ATK</ulink>
444 library contains more information about accessible objects and
446 <return-value transfer-ownership="none">
447 <doc xml:whitespace="preserve">the #AtkObject associated with @actor</doc>
448 <type name="Atk.Object" c:type="AtkObject*"/>
451 <method name="add_action"
452 c:identifier="clutter_actor_add_action"
454 <doc xml:whitespace="preserve">Adds @action to the list of actions applied to @self
455 A #ClutterAction can only belong to one actor at a time
456 The #ClutterActor will hold a reference on @action until either
457 clutter_actor_remove_action() or clutter_actor_clear_actions()
459 <return-value transfer-ownership="none">
460 <type name="none" c:type="void"/>
463 <parameter name="action" transfer-ownership="none">
464 <doc xml:whitespace="preserve">a #ClutterAction</doc>
465 <type name="Action" c:type="ClutterAction*"/>
469 <method name="add_action_with_name"
470 c:identifier="clutter_actor_add_action_with_name"
472 <doc xml:whitespace="preserve">A convenience function for setting the name of a #ClutterAction
473 while adding it to the list of actions applied to @self
474 This function is the logical equivalent of:
476 clutter_actor_meta_set_name (CLUTTER_ACTOR_META (action), name);
477 clutter_actor_add_action (self, action);
479 <return-value transfer-ownership="none">
480 <type name="none" c:type="void"/>
483 <parameter name="name" transfer-ownership="none">
484 <doc xml:whitespace="preserve">the name to set on the action</doc>
485 <type name="utf8" c:type="gchar*"/>
487 <parameter name="action" transfer-ownership="none">
488 <doc xml:whitespace="preserve">a #ClutterAction</doc>
489 <type name="Action" c:type="ClutterAction*"/>
493 <method name="remove_action"
494 c:identifier="clutter_actor_remove_action"
496 <doc xml:whitespace="preserve">Removes @action from the list of actions applied to @self
497 The reference held by @self on the #ClutterAction will be released</doc>
498 <return-value transfer-ownership="none">
499 <type name="none" c:type="void"/>
502 <parameter name="action" transfer-ownership="none">
503 <doc xml:whitespace="preserve">a #ClutterAction</doc>
504 <type name="Action" c:type="ClutterAction*"/>
508 <method name="remove_action_by_name"
509 c:identifier="clutter_actor_remove_action_by_name"
511 <doc xml:whitespace="preserve">Removes the #ClutterAction with the given name from the list
512 of actions applied to @self</doc>
513 <return-value transfer-ownership="none">
514 <type name="none" c:type="void"/>
517 <parameter name="name" transfer-ownership="none">
518 <doc xml:whitespace="preserve">the name of the action to remove</doc>
519 <type name="utf8" c:type="gchar*"/>
523 <method name="get_action"
524 c:identifier="clutter_actor_get_action"
526 <doc xml:whitespace="preserve">Retrieves the #ClutterAction with the given name in the list
527 of actions applied to @self
528 name, or %NULL. The returned #ClutterAction is owned by the
529 actor and it should not be unreferenced directly</doc>
530 <return-value transfer-ownership="none">
531 <doc xml:whitespace="preserve">a #ClutterAction for the given</doc>
532 <type name="Action" c:type="ClutterAction*"/>
535 <parameter name="name" transfer-ownership="none">
536 <doc xml:whitespace="preserve">the name of the action to retrieve</doc>
537 <type name="utf8" c:type="gchar*"/>
541 <method name="get_actions"
542 c:identifier="clutter_actor_get_actions"
544 <doc xml:whitespace="preserve">Retrieves the list of actions applied to @self
545 of the list of #ClutterAction<!-- -->s. The contents of the list are
546 owned by the #ClutterActor. Use g_list_free() to free the resources
547 allocated by the returned #GList</doc>
548 <return-value transfer-ownership="container">
549 <doc xml:whitespace="preserve">a copy</doc>
550 <type name="GLib.List" c:type="GList*">
551 <type name="Action"/>
555 <method name="clear_actions"
556 c:identifier="clutter_actor_clear_actions"
558 <doc xml:whitespace="preserve">Clears the list of actions applied to @self</doc>
559 <return-value transfer-ownership="none">
560 <type name="none" c:type="void"/>
563 <method name="add_effect"
564 c:identifier="clutter_actor_add_effect"
566 <doc xml:whitespace="preserve">Adds @effect to the list of #ClutterEffect<!-- -->s applied to @self
567 The #ClutterActor will hold a reference on the @effect until either
568 clutter_actor_remove_effect() or clutter_actor_clear_effects() is
570 <return-value transfer-ownership="none">
571 <type name="none" c:type="void"/>
574 <parameter name="effect" transfer-ownership="none">
575 <doc xml:whitespace="preserve">a #ClutterEffect</doc>
576 <type name="Effect" c:type="ClutterEffect*"/>
580 <method name="add_effect_with_name"
581 c:identifier="clutter_actor_add_effect_with_name"
583 <doc xml:whitespace="preserve">A convenience function for setting the name of a #ClutterEffect
584 while adding it to the list of effectss applied to @self
585 This function is the logical equivalent of:
587 clutter_actor_meta_set_name (CLUTTER_ACTOR_META (effect), name);
588 clutter_actor_add_effect (self, effect);
590 <return-value transfer-ownership="none">
591 <type name="none" c:type="void"/>
594 <parameter name="name" transfer-ownership="none">
595 <doc xml:whitespace="preserve">the name to set on the effect</doc>
596 <type name="utf8" c:type="gchar*"/>
598 <parameter name="effect" transfer-ownership="none">
599 <doc xml:whitespace="preserve">a #ClutterEffect</doc>
600 <type name="Effect" c:type="ClutterEffect*"/>
604 <method name="remove_effect"
605 c:identifier="clutter_actor_remove_effect"
607 <doc xml:whitespace="preserve">Removes @effect from the list of effects applied to @self
608 The reference held by @self on the #ClutterEffect will be released</doc>
609 <return-value transfer-ownership="none">
610 <type name="none" c:type="void"/>
613 <parameter name="effect" transfer-ownership="none">
614 <doc xml:whitespace="preserve">a #ClutterEffect</doc>
615 <type name="Effect" c:type="ClutterEffect*"/>
619 <method name="remove_effect_by_name"
620 c:identifier="clutter_actor_remove_effect_by_name"
622 <doc xml:whitespace="preserve">Removes the #ClutterEffect with the given name from the list
623 of effects applied to @self</doc>
624 <return-value transfer-ownership="none">
625 <type name="none" c:type="void"/>
628 <parameter name="name" transfer-ownership="none">
629 <doc xml:whitespace="preserve">the name of the effect to remove</doc>
630 <type name="utf8" c:type="gchar*"/>
634 <method name="get_effects"
635 c:identifier="clutter_actor_get_effects"
637 <doc xml:whitespace="preserve">Retrieves the #ClutterEffect<!-- -->s applied on @self, if any
638 of #ClutterEffect<!-- -->s, or %NULL. The elements of the returned
639 list are owned by Clutter and they should not be freed. You should
640 free the returned list using g_list_free() when done</doc>
641 <return-value transfer-ownership="container">
642 <doc xml:whitespace="preserve">a list</doc>
643 <type name="GLib.List" c:type="GList*">
644 <type name="Effect"/>
648 <method name="get_effect"
649 c:identifier="clutter_actor_get_effect"
651 <doc xml:whitespace="preserve">Retrieves the #ClutterEffect with the given name in the list
652 of effects applied to @self
653 name, or %NULL. The returned #ClutterEffect is owned by the
654 actor and it should not be unreferenced directly</doc>
655 <return-value transfer-ownership="none">
656 <doc xml:whitespace="preserve">a #ClutterEffect for the given</doc>
657 <type name="Effect" c:type="ClutterEffect*"/>
660 <parameter name="name" transfer-ownership="none">
661 <doc xml:whitespace="preserve">the name of the effect to retrieve</doc>
662 <type name="utf8" c:type="gchar*"/>
666 <method name="clear_effects"
667 c:identifier="clutter_actor_clear_effects"
669 <doc xml:whitespace="preserve">Clears the list of effects applied to @self</doc>
670 <return-value transfer-ownership="none">
671 <type name="none" c:type="void"/>
674 <method name="set_flags"
675 c:identifier="clutter_actor_set_flags"
677 <doc xml:whitespace="preserve">Sets @flags on @self
678 This function will emit notifications for the changed properties</doc>
679 <return-value transfer-ownership="none">
680 <type name="none" c:type="void"/>
683 <parameter name="flags" transfer-ownership="none">
684 <doc xml:whitespace="preserve">the flags to set</doc>
685 <type name="ActorFlags" c:type="ClutterActorFlags"/>
689 <method name="unset_flags"
690 c:identifier="clutter_actor_unset_flags"
692 <doc xml:whitespace="preserve">Unsets @flags on @self
693 This function will emit notifications for the changed properties</doc>
694 <return-value transfer-ownership="none">
695 <type name="none" c:type="void"/>
698 <parameter name="flags" transfer-ownership="none">
699 <doc xml:whitespace="preserve">the flags to unset</doc>
700 <type name="ActorFlags" c:type="ClutterActorFlags"/>
704 <method name="get_flags"
705 c:identifier="clutter_actor_get_flags"
707 <doc xml:whitespace="preserve">Retrieves the flags set on @self</doc>
708 <return-value transfer-ownership="full">
709 <doc xml:whitespace="preserve">a bitwise or of #ClutterActorFlags or 0</doc>
710 <type name="ActorFlags" c:type="ClutterActorFlags"/>
713 <method name="show" c:identifier="clutter_actor_show">
714 <doc xml:whitespace="preserve">Flags an actor to be displayed. An actor that isn't shown will not
715 be rendered on the stage.
716 Actors are visible by default.
717 If this function is called on an actor without a parent, the
718 #ClutterActor:show-on-set-parent will be set to %TRUE as a side
720 <return-value transfer-ownership="none">
721 <type name="none" c:type="void"/>
724 <method name="show_all"
725 c:identifier="clutter_actor_show_all"
727 <doc xml:whitespace="preserve">Calls clutter_actor_show() on all children of an actor (if any).</doc>
728 <return-value transfer-ownership="none">
729 <type name="none" c:type="void"/>
732 <method name="hide" c:identifier="clutter_actor_hide">
733 <doc xml:whitespace="preserve">Flags an actor to be hidden. A hidden actor will not be
734 rendered on the stage.
735 Actors are visible by default.
736 If this function is called on an actor without a parent, the
737 #ClutterActor:show-on-set-parent property will be set to %FALSE
738 as a side-effect.</doc>
739 <return-value transfer-ownership="none">
740 <type name="none" c:type="void"/>
743 <method name="hide_all"
744 c:identifier="clutter_actor_hide_all"
746 <doc xml:whitespace="preserve">Calls clutter_actor_hide() on all child actors (if any).</doc>
747 <return-value transfer-ownership="none">
748 <type name="none" c:type="void"/>
751 <method name="realize" c:identifier="clutter_actor_realize">
752 <doc xml:whitespace="preserve">Realization informs the actor that it is attached to a stage. It
753 can use this to allocate resources if it wanted to delay allocation
754 until it would be rendered. However it is perfectly acceptable for
755 an actor to create resources before being realized because Clutter
756 only ever has a single rendering context so that actor is free to
757 be moved from one stage to another.
758 This function does nothing if the actor is already realized.
759 Because a realized actor must have realized parent actors, calling
760 clutter_actor_realize() will also realize all parents of the actor.
761 This function does not realize child actors, except in the special
762 case that realizing the stage, when the stage is visible, will
763 suddenly map (and thus realize) the children of the stage.</doc>
764 <return-value transfer-ownership="none">
765 <type name="none" c:type="void"/>
768 <method name="unrealize" c:identifier="clutter_actor_unrealize">
769 <doc xml:whitespace="preserve">Unrealization informs the actor that it may be being destroyed or
770 moved to another stage. The actor may want to destroy any
771 underlying graphics resources at this point. However it is
772 perfectly acceptable for it to retain the resources until the actor
773 is destroyed because Clutter only ever uses a single rendering
774 context and all of the graphics resources are valid on any stage.
775 Because mapped actors must be realized, actors may not be
776 unrealized if they are mapped. This function hides the actor to be
777 sure it isn't mapped, an application-visible side effect that you
778 may not be expecting.
779 This function should not be called by application code.</doc>
780 <return-value transfer-ownership="none">
781 <type name="none" c:type="void"/>
784 <method name="map" c:identifier="clutter_actor_map" version="1.0">
785 <doc xml:whitespace="preserve">Sets the %CLUTTER_ACTOR_MAPPED flag on the actor and possibly maps
786 and realizes its children if they are visible. Does nothing if the
787 actor is not visible.
788 #ClutterActor <function>map()</function> virtual function in an actor
789 and you need to map the children of that actor. It is not necessary
790 to call this if you implement #ClutterContainer because the default
791 implementation will automatically map children of containers.
792 When overriding map, it is mandatory to chain up to the parent
793 implementation.</doc>
794 <return-value transfer-ownership="none">
795 <type name="none" c:type="void"/>
798 <method name="unmap" c:identifier="clutter_actor_unmap" version="1.0">
799 <doc xml:whitespace="preserve">Unsets the %CLUTTER_ACTOR_MAPPED flag on the actor and possibly
800 unmaps its children if they were mapped.
801 #ClutterActor <function>unmap()</function> virtual function in an actor
802 and you need to unmap the children of that actor. It is not necessary
803 to call this if you implement #ClutterContainer because the default
804 implementation will automatically unmap children of containers.
805 When overriding unmap, it is mandatory to chain up to the parent
806 implementation.</doc>
807 <return-value transfer-ownership="none">
808 <type name="none" c:type="void"/>
811 <method name="paint" c:identifier="clutter_actor_paint">
812 <doc xml:whitespace="preserve">Renders the actor to display.
813 This function should not be called directly by applications.
814 Call clutter_actor_queue_redraw() to queue paints, instead.
815 This function is context-aware, and will either cause a
816 regular paint or a pick paint.
817 This function will emit the #ClutterActor::paint signal or
818 the #ClutterActor::pick signal, depending on the context.
819 This function does not paint the actor if the actor is set to 0,
820 unless it is performing a pick paint.</doc>
821 <return-value transfer-ownership="none">
822 <type name="none" c:type="void"/>
825 <method name="queue_redraw" c:identifier="clutter_actor_queue_redraw">
826 <doc xml:whitespace="preserve">Queues up a redraw of an actor and any children. The redraw occurs
827 once the main loop becomes idle (after the current batch of events
828 has been processed, roughly).
829 Applications rarely need to call this, as redraws are handled
830 automatically by modification functions.
831 This function will not do anything if @self is not visible, or
832 if the actor is inside an invisible part of the scenegraph.
833 Also be aware that painting is a NOP for actors with an opacity of
835 When you are implementing a custom actor you must queue a redraw
836 whenever some private state changes that will affect painting or
837 picking of your actor.</doc>
838 <return-value transfer-ownership="none">
839 <type name="none" c:type="void"/>
842 <method name="queue_relayout"
843 c:identifier="clutter_actor_queue_relayout"
845 <doc xml:whitespace="preserve">Indicates that the actor's size request or other layout-affecting
846 properties may have changed. This function is used inside #ClutterActor
847 subclass implementations, not by applications directly.
848 Queueing a new layout automatically queues a redraw as well.</doc>
849 <return-value transfer-ownership="none">
850 <type name="none" c:type="void"/>
853 <method name="destroy" c:identifier="clutter_actor_destroy">
854 <doc xml:whitespace="preserve">Destroys an actor. When an actor is destroyed, it will break any
855 references it holds to other objects. If the actor is inside a
856 container, the actor will be removed.
857 When you destroy a container, its children will be destroyed as well.
858 clutter_stage_get_default().</doc>
859 <return-value transfer-ownership="none">
860 <type name="none" c:type="void"/>
863 <method name="set_request_mode"
864 c:identifier="clutter_actor_set_request_mode"
866 <doc xml:whitespace="preserve">Sets the geometry request mode of @self.
867 The @mode determines the order for invoking
868 clutter_actor_get_preferred_width() and
869 clutter_actor_get_preferred_height()</doc>
870 <return-value transfer-ownership="none">
871 <type name="none" c:type="void"/>
874 <parameter name="mode" transfer-ownership="none">
875 <doc xml:whitespace="preserve">the request mode</doc>
876 <type name="RequestMode" c:type="ClutterRequestMode"/>
880 <method name="get_request_mode"
881 c:identifier="clutter_actor_get_request_mode"
883 <doc xml:whitespace="preserve">Retrieves the geometry request mode of @self</doc>
884 <return-value transfer-ownership="full">
885 <doc xml:whitespace="preserve">the request mode for the actor</doc>
886 <type name="RequestMode" c:type="ClutterRequestMode"/>
889 <method name="get_preferred_width"
890 c:identifier="clutter_actor_get_preferred_width"
892 <doc xml:whitespace="preserve">Computes the requested minimum and natural widths for an actor,
893 optionally depending on the specified height, or if they are
894 already computed, returns the cached values.
895 An actor may not get its request - depending on the layout
896 manager that's in effect.
897 A request should not incorporate the actor's scale or anchor point;
898 those transformations do not affect layout, only rendering.</doc>
899 <return-value transfer-ownership="none">
900 <type name="none" c:type="void"/>
903 <parameter name="for_height" transfer-ownership="none">
904 <doc xml:whitespace="preserve">available height when computing the preferred width, or a negative value to indicate that no height is defined</doc>
905 <type name="float" c:type="gfloat"/>
907 <parameter name="min_width_p"
910 transfer-ownership="full"
912 <doc xml:whitespace="preserve">return location for minimum width, or %NULL</doc>
913 <type name="float" c:type="gfloat*"/>
915 <parameter name="natural_width_p"
918 transfer-ownership="full"
920 <doc xml:whitespace="preserve">return location for the natural width, or %NULL</doc>
921 <type name="float" c:type="gfloat*"/>
925 <method name="get_preferred_height"
926 c:identifier="clutter_actor_get_preferred_height"
928 <doc xml:whitespace="preserve">Computes the requested minimum and natural heights for an actor,
929 or if they are already computed, returns the cached values.
930 An actor may not get its request - depending on the layout
931 manager that's in effect.
932 A request should not incorporate the actor's scale or anchor point;
933 those transformations do not affect layout, only rendering.</doc>
934 <return-value transfer-ownership="none">
935 <type name="none" c:type="void"/>
938 <parameter name="for_width" transfer-ownership="none">
939 <doc xml:whitespace="preserve">available width to assume in computing desired height, or a negative value to indicate that no width is defined</doc>
940 <type name="float" c:type="gfloat"/>
942 <parameter name="min_height_p"
945 transfer-ownership="full"
947 <doc xml:whitespace="preserve">return location for minimum height, or %NULL</doc>
948 <type name="float" c:type="gfloat*"/>
950 <parameter name="natural_height_p"
953 transfer-ownership="full"
955 <doc xml:whitespace="preserve">return location for natural height, or %NULL</doc>
956 <type name="float" c:type="gfloat*"/>
960 <method name="get_preferred_size"
961 c:identifier="clutter_actor_get_preferred_size"
963 <doc xml:whitespace="preserve">Computes the preferred minimum and natural size of an actor, taking into
964 account the actor's geometry management (either height-for-width
965 or width-for-height).
966 The width and height used to compute the preferred height and preferred
967 width are the actor's natural ones.
968 If you need to control the height for the preferred width, or the width for
969 the preferred height, you should use clutter_actor_get_preferred_width()
970 and clutter_actor_get_preferred_height(), and check the actor's preferred
971 geometry management using the #ClutterActor:request-mode property.</doc>
972 <return-value transfer-ownership="none">
973 <type name="none" c:type="void"/>
976 <parameter name="min_width_p"
979 transfer-ownership="full"
981 <doc xml:whitespace="preserve">return location for the minimum width, or %NULL</doc>
982 <type name="float" c:type="gfloat*"/>
984 <parameter name="min_height_p"
987 transfer-ownership="full"
989 <doc xml:whitespace="preserve">return location for the minimum height, or %NULL</doc>
990 <type name="float" c:type="gfloat*"/>
992 <parameter name="natural_width_p"
995 transfer-ownership="full"
997 <doc xml:whitespace="preserve">return location for the natural width, or %NULL</doc>
998 <type name="float" c:type="gfloat*"/>
1000 <parameter name="natural_height_p"
1002 caller-allocates="0"
1003 transfer-ownership="full"
1005 <doc xml:whitespace="preserve">return location for the natural height, or %NULL</doc>
1006 <type name="float" c:type="gfloat*"/>
1010 <method name="allocate"
1011 c:identifier="clutter_actor_allocate"
1013 <doc xml:whitespace="preserve">Called by the parent of an actor to assign the actor its size.
1014 Should never be called by applications (except when implementing
1015 a container or layout manager).
1016 Actors can know from their allocation box whether they have moved
1017 with respect to their parent actor. The @flags parameter describes
1018 additional information about the allocation, for instance whether
1019 the parent has moved with respect to the stage, for example because
1020 a grandparent's origin has moved.</doc>
1021 <return-value transfer-ownership="none">
1022 <type name="none" c:type="void"/>
1025 <parameter name="box" transfer-ownership="none">
1026 <doc xml:whitespace="preserve">new allocation of the actor, in parent-relative coordinates</doc>
1027 <type name="ActorBox" c:type="ClutterActorBox*"/>
1029 <parameter name="flags" transfer-ownership="none">
1030 <doc xml:whitespace="preserve">flags that control the allocation</doc>
1031 <type name="AllocationFlags" c:type="ClutterAllocationFlags"/>
1035 <method name="allocate_preferred_size"
1036 c:identifier="clutter_actor_allocate_preferred_size"
1038 <doc xml:whitespace="preserve">Allocates the natural size of @self.
1039 This function is a utility call for #ClutterActor implementations
1040 that allocates the actor's preferred natural size. It can be used
1041 by fixed layout managers (like #ClutterGroup or so called
1042 'composite actors') inside the ClutterActor::allocate
1043 implementation to give each child exactly how much space it
1045 This function is not meant to be used by applications. It is also
1046 not meant to be used outside the implementation of the
1047 ClutterActor::allocate virtual function.</doc>
1048 <return-value transfer-ownership="none">
1049 <type name="none" c:type="void"/>
1052 <parameter name="flags" transfer-ownership="none">
1053 <doc xml:whitespace="preserve">flags controlling the allocation</doc>
1054 <type name="AllocationFlags" c:type="ClutterAllocationFlags"/>
1058 <method name="allocate_available_size"
1059 c:identifier="clutter_actor_allocate_available_size"
1061 <doc xml:whitespace="preserve">Allocates @self taking into account the #ClutterActor<!-- -->'s
1062 preferred size, but limiting it to the maximum available width
1063 and height provided.
1064 This function will do the right thing when dealing with the
1065 actor's request mode.
1066 The implementation of this function is equivalent to:
1068 if (request_mode == CLUTTER_REQUEST_HEIGHT_FOR_WIDTH)
1070 clutter_actor_get_preferred_width (self, available_height,
1072 &amp;natural_width);
1073 width = CLAMP (natural_width, min_width, available_width);
1074 clutter_actor_get_preferred_height (self, width,
1075 &amp;min_height,
1076 &amp;natural_height);
1077 height = CLAMP (natural_height, min_height, available_height);
1081 clutter_actor_get_preferred_height (self, available_width,
1082 &amp;min_height,
1083 &amp;natural_height);
1084 height = CLAMP (natural_height, min_height, available_height);
1085 clutter_actor_get_preferred_width (self, height,
1087 &amp;natural_width);
1088 width = CLAMP (natural_width, min_width, available_width);
1090 box.x1 = x; box.y1 = y;
1091 box.x2 = box.x1 + available_width;
1092 box.y2 = box.y1 + available_height;
1093 clutter_actor_allocate (self, &amp;box, flags);
1095 This function can be used by fluid layout managers to allocate
1096 an actor's preferred size without making it bigger than the area
1097 available for the container.</doc>
1098 <return-value transfer-ownership="none">
1099 <type name="none" c:type="void"/>
1102 <parameter name="x" transfer-ownership="none">
1103 <doc xml:whitespace="preserve">the actor's X coordinate</doc>
1104 <type name="float" c:type="gfloat"/>
1106 <parameter name="y" transfer-ownership="none">
1107 <doc xml:whitespace="preserve">the actor's Y coordinate</doc>
1108 <type name="float" c:type="gfloat"/>
1110 <parameter name="available_width" transfer-ownership="none">
1111 <doc xml:whitespace="preserve">the maximum available width, or -1 to use the actor's natural width</doc>
1112 <type name="float" c:type="gfloat"/>
1114 <parameter name="available_height" transfer-ownership="none">
1115 <doc xml:whitespace="preserve">the maximum available height, or -1 to use the actor's natural height</doc>
1116 <type name="float" c:type="gfloat"/>
1118 <parameter name="flags" transfer-ownership="none">
1119 <doc xml:whitespace="preserve">flags controlling the allocation</doc>
1120 <type name="AllocationFlags" c:type="ClutterAllocationFlags"/>
1124 <method name="allocate_align_fill"
1125 c:identifier="clutter_actor_allocate_align_fill"
1127 <doc xml:whitespace="preserve">Allocates @self by taking into consideration the available allocation
1128 area; an alignment factor on either axis; and whether the actor should
1129 fill the allocation on either axis.
1130 The @box should contain the available allocation width and height;
1131 if the x1 and y1 members of #ClutterActorBox are not set to 0, the
1132 allocation will be offset by their value.
1133 This function takes into consideration the geometry request specified by
1134 the #ClutterActor:request-mode property, and the text direction.
1135 This function is useful for fluid layout managers, like #ClutterBinLayout
1136 or #ClutterTableLayout</doc>
1137 <return-value transfer-ownership="none">
1138 <type name="none" c:type="void"/>
1141 <parameter name="box" transfer-ownership="none">
1142 <doc xml:whitespace="preserve">a #ClutterActorBox, containing the available width and height</doc>
1143 <type name="ActorBox" c:type="ClutterActorBox*"/>
1145 <parameter name="x_align" transfer-ownership="none">
1146 <doc xml:whitespace="preserve">the horizontal alignment, between 0 and 1</doc>
1147 <type name="double" c:type="gdouble"/>
1149 <parameter name="y_align" transfer-ownership="none">
1150 <doc xml:whitespace="preserve">the vertical alignment, between 0 and 1</doc>
1151 <type name="double" c:type="gdouble"/>
1153 <parameter name="x_fill" transfer-ownership="none">
1154 <doc xml:whitespace="preserve">whether the actor should fill horizontally</doc>
1155 <type name="boolean" c:type="gboolean"/>
1157 <parameter name="y_fill" transfer-ownership="none">
1158 <doc xml:whitespace="preserve">whether the actor should fill vertically</doc>
1159 <type name="boolean" c:type="gboolean"/>
1161 <parameter name="flags" transfer-ownership="none">
1162 <doc xml:whitespace="preserve">allocation flags to be passed to clutter_actor_allocate()</doc>
1163 <type name="AllocationFlags" c:type="ClutterAllocationFlags"/>
1167 <method name="get_allocation_box"
1168 c:identifier="clutter_actor_get_allocation_box"
1170 <doc xml:whitespace="preserve">Gets the layout box an actor has been assigned. The allocation can
1171 only be assumed valid inside a paint() method; anywhere else, it
1173 An allocation does not incorporate the actor's scale or anchor point;
1174 those transformations do not affect layout, only rendering.
1175 <note>Do not call any of the clutter_actor_get_allocation_*() family
1176 of functions inside the implementation of the get_preferred_width()
1177 or get_preferred_height() virtual functions.</note></doc>
1178 <return-value transfer-ownership="none">
1179 <type name="none" c:type="void"/>
1182 <parameter name="box"
1184 caller-allocates="1"
1185 transfer-ownership="none">
1186 <doc xml:whitespace="preserve">the function fills this in with the actor's allocation</doc>
1187 <type name="ActorBox" c:type="ClutterActorBox*"/>
1191 <method name="get_allocation_geometry"
1192 c:identifier="clutter_actor_get_allocation_geometry"
1194 <doc xml:whitespace="preserve">Gets the layout box an actor has been assigned. The allocation can
1195 only be assumed valid inside a paint() method; anywhere else, it
1197 An allocation does not incorporate the actor's scale or anchor point;
1198 those transformations do not affect layout, only rendering.
1199 The returned rectangle is in pixels.</doc>
1200 <return-value transfer-ownership="none">
1201 <type name="none" c:type="void"/>
1204 <parameter name="geom"
1206 caller-allocates="1"
1207 transfer-ownership="none">
1208 <doc xml:whitespace="preserve">allocation geometry in pixels</doc>
1209 <type name="Geometry" c:type="ClutterGeometry*"/>
1213 <method name="get_allocation_vertices"
1214 c:identifier="clutter_actor_get_allocation_vertices"
1216 <doc xml:whitespace="preserve">Calculates the transformed coordinates of the four corners of the
1217 actor in the plane of @ancestor. The returned vertices relate to
1218 the #ClutterActorBox coordinates as follows:
1219 <itemizedlist>
1220 <listitem><para>@verts[0] contains (x1, y1)</para></listitem>
1221 <listitem><para>@verts[1] contains (x2, y1)</para></listitem>
1222 <listitem><para>@verts[2] contains (x1, y2)</para></listitem>
1223 <listitem><para>@verts[3] contains (x2, y2)</para></listitem>
1224 </itemizedlist>
1225 If @ancestor is %NULL the ancestor will be the #ClutterStage. In
1226 this case, the coordinates returned will be the coordinates on
1227 the stage before the projection is applied. This is different from
1228 the behaviour of clutter_actor_get_abs_allocation_vertices().</doc>
1229 <return-value transfer-ownership="none">
1230 <type name="none" c:type="void"/>
1233 <parameter name="ancestor" transfer-ownership="none" allow-none="1">
1234 <doc xml:whitespace="preserve">A #ClutterActor to calculate the vertices against, or %NULL to use the default #ClutterStage</doc>
1235 <type name="Actor" c:type="ClutterActor*"/>
1237 <parameter name="verts"
1239 caller-allocates="1"
1240 transfer-ownership="none">
1241 <doc xml:whitespace="preserve">return location for an array of 4 #ClutterVertex in which to store the result.</doc>
1242 <array c:type="ClutterVertex" fixed-size="4">
1243 <type name="Vertex"/>
1248 <method name="set_geometry" c:identifier="clutter_actor_set_geometry">
1249 <doc xml:whitespace="preserve">Sets the actor's fixed position and forces its minimum and natural
1250 size, in pixels. This means the untransformed actor will have the
1251 given geometry. This is the same as calling clutter_actor_set_position()
1252 and clutter_actor_set_size().</doc>
1253 <return-value transfer-ownership="none">
1254 <type name="none" c:type="void"/>
1257 <parameter name="geometry" transfer-ownership="none">
1258 <doc xml:whitespace="preserve">A #ClutterGeometry</doc>
1259 <type name="Geometry" c:type="ClutterGeometry*"/>
1263 <method name="get_geometry" c:identifier="clutter_actor_get_geometry">
1264 <doc xml:whitespace="preserve">Gets the size and position of an actor relative to its parent
1265 actor. This is the same as calling clutter_actor_get_position() and
1266 clutter_actor_get_size(). It tries to "do what you mean" and get the
1267 requested size and position if the actor's allocation is invalid.</doc>
1268 <return-value transfer-ownership="none">
1269 <type name="none" c:type="void"/>
1272 <parameter name="geometry"
1274 caller-allocates="1"
1275 transfer-ownership="none">
1276 <doc xml:whitespace="preserve">A location to store actors #ClutterGeometry</doc>
1277 <type name="Geometry" c:type="ClutterGeometry*"/>
1281 <method name="set_size" c:identifier="clutter_actor_set_size">
1282 <return-value transfer-ownership="none">
1283 <type name="none" c:type="void"/>
1286 <parameter name="width" transfer-ownership="none">
1287 <type name="float" c:type="gfloat"/>
1289 <parameter name="height" transfer-ownership="none">
1290 <type name="float" c:type="gfloat"/>
1294 <method name="get_size"
1295 c:identifier="clutter_actor_get_size"
1297 <doc xml:whitespace="preserve">This function tries to "do what you mean" and return
1298 the size an actor will have. If the actor has a valid
1299 allocation, the allocation will be returned; otherwise,
1300 the actors natural size request will be returned.
1301 If you care whether you get the request vs. the allocation, you
1302 should probably call a different function like
1303 clutter_actor_get_allocation_box() or
1304 clutter_actor_get_preferred_width().</doc>
1305 <return-value transfer-ownership="none">
1306 <type name="none" c:type="void"/>
1309 <parameter name="width"
1311 caller-allocates="0"
1312 transfer-ownership="full"
1314 <doc xml:whitespace="preserve">return location for the width, or %NULL.</doc>
1315 <type name="float" c:type="gfloat*"/>
1317 <parameter name="height"
1319 caller-allocates="0"
1320 transfer-ownership="full"
1322 <doc xml:whitespace="preserve">return location for the height, or %NULL.</doc>
1323 <type name="float" c:type="gfloat*"/>
1327 <method name="get_transformed_size"
1328 c:identifier="clutter_actor_get_transformed_size"
1330 <doc xml:whitespace="preserve">Gets the absolute size of an actor in pixels, taking into account the
1332 If the actor has a valid allocation, the allocated size will be used.
1333 If the actor has not a valid allocation then the preferred size will
1334 be transformed and returned.
1335 If you want the transformed allocation, see
1336 clutter_actor_get_abs_allocation_vertices() instead.
1337 <note>When the actor (or one of its ancestors) is rotated around the
1338 X or Y axis, it no longer appears as on the stage as a rectangle, but
1339 as a generic quadrangle; in that case this function returns the size
1340 of the smallest rectangle that encapsulates the entire quad. Please
1341 note that in this case no assumptions can be made about the relative
1342 position of this envelope to the absolute position of the actor, as
1343 returned by clutter_actor_get_transformed_position(); if you need this
1344 information, you need to use clutter_actor_get_abs_allocation_vertices()
1345 to get the coords of the actual quadrangle.</note></doc>
1346 <return-value transfer-ownership="none">
1347 <type name="none" c:type="void"/>
1350 <parameter name="width"
1352 caller-allocates="0"
1353 transfer-ownership="full"
1355 <doc xml:whitespace="preserve">return location for the width, or %NULL</doc>
1356 <type name="float" c:type="gfloat*"/>
1358 <parameter name="height"
1360 caller-allocates="0"
1361 transfer-ownership="full"
1363 <doc xml:whitespace="preserve">return location for the height, or %NULL</doc>
1364 <type name="float" c:type="gfloat*"/>
1368 <method name="set_position" c:identifier="clutter_actor_set_position">
1369 <return-value transfer-ownership="none">
1370 <type name="none" c:type="void"/>
1373 <parameter name="x" transfer-ownership="none">
1374 <type name="float" c:type="gfloat"/>
1376 <parameter name="y" transfer-ownership="none">
1377 <type name="float" c:type="gfloat"/>
1381 <method name="get_position"
1382 c:identifier="clutter_actor_get_position"
1384 <doc xml:whitespace="preserve">This function tries to "do what you mean" and tell you where the
1385 actor is, prior to any transformations. Retrieves the fixed
1386 position of an actor in pixels, if one has been set; otherwise, if
1387 the allocation is valid, returns the actor's allocated position;
1388 otherwise, returns 0,0.
1389 The returned position is in pixels.</doc>
1390 <return-value transfer-ownership="none">
1391 <type name="none" c:type="void"/>
1396 caller-allocates="0"
1397 transfer-ownership="full"
1399 <doc xml:whitespace="preserve">return location for the X coordinate, or %NULL</doc>
1400 <type name="float" c:type="gfloat*"/>
1404 caller-allocates="0"
1405 transfer-ownership="full"
1407 <doc xml:whitespace="preserve">return location for the Y coordinate, or %NULL</doc>
1408 <type name="float" c:type="gfloat*"/>
1412 <method name="get_transformed_position"
1413 c:identifier="clutter_actor_get_transformed_position"
1415 <doc xml:whitespace="preserve">Gets the absolute position of an actor, in pixels relative to the stage.</doc>
1416 <return-value transfer-ownership="none">
1417 <type name="none" c:type="void"/>
1422 caller-allocates="0"
1423 transfer-ownership="full"
1425 <doc xml:whitespace="preserve">return location for the X coordinate, or %NULL</doc>
1426 <type name="float" c:type="gfloat*"/>
1430 caller-allocates="0"
1431 transfer-ownership="full"
1433 <doc xml:whitespace="preserve">return location for the Y coordinate, or %NULL</doc>
1434 <type name="float" c:type="gfloat*"/>
1438 <method name="get_fixed_position_set"
1439 c:identifier="clutter_actor_get_fixed_position_set"
1441 <doc xml:whitespace="preserve">Checks whether an actor has a fixed position set (and will thus be
1442 unaffected by any layout manager).</doc>
1443 <return-value transfer-ownership="none">
1444 <doc xml:whitespace="preserve">%TRUE if the fixed position is set on the actor</doc>
1445 <type name="boolean" c:type="gboolean"/>
1448 <method name="set_fixed_position_set"
1449 c:identifier="clutter_actor_set_fixed_position_set"
1451 <doc xml:whitespace="preserve">Sets whether an actor has a fixed position set (and will thus be
1452 unaffected by any layout manager).</doc>
1453 <return-value transfer-ownership="none">
1454 <type name="none" c:type="void"/>
1457 <parameter name="is_set" transfer-ownership="none">
1458 <doc xml:whitespace="preserve">whether to use fixed position</doc>
1459 <type name="boolean" c:type="gboolean"/>
1463 <method name="get_width" c:identifier="clutter_actor_get_width">
1464 <doc xml:whitespace="preserve">Retrieves the width of a #ClutterActor.
1465 If the actor has a valid allocation, this function will return the
1466 width of the allocated area given to the actor.
1467 If the actor does not have a valid allocation, this function will
1468 return the actor's natural width, that is the preferred width of
1470 If you care whether you get the preferred width or the width that
1471 has been assigned to the actor, you should probably call a different
1472 function like clutter_actor_get_allocation_box() to retrieve the
1473 allocated size or clutter_actor_get_preferred_width() to retrieve the
1475 If an actor has a fixed width, for instance a width that has been
1476 assigned using clutter_actor_set_width(), the width returned will
1477 be the same value.</doc>
1478 <return-value transfer-ownership="none">
1479 <doc xml:whitespace="preserve">the width of the actor, in pixels</doc>
1480 <type name="float" c:type="gfloat"/>
1483 <method name="get_height" c:identifier="clutter_actor_get_height">
1484 <doc xml:whitespace="preserve">Retrieves the height of a #ClutterActor.
1485 If the actor has a valid allocation, this function will return the
1486 height of the allocated area given to the actor.
1487 If the actor does not have a valid allocation, this function will
1488 return the actor's natural height, that is the preferred height of
1490 If you care whether you get the preferred height or the height that
1491 has been assigned to the actor, you should probably call a different
1492 function like clutter_actor_get_allocation_box() to retrieve the
1493 allocated size or clutter_actor_get_preferred_height() to retrieve the
1495 If an actor has a fixed height, for instance a height that has been
1496 assigned using clutter_actor_set_height(), the height returned will
1497 be the same value.</doc>
1498 <return-value transfer-ownership="none">
1499 <doc xml:whitespace="preserve">the height of the actor, in pixels</doc>
1500 <type name="float" c:type="gfloat"/>
1503 <method name="set_width" c:identifier="clutter_actor_set_width">
1504 <return-value transfer-ownership="none">
1505 <type name="none" c:type="void"/>
1508 <parameter name="width" transfer-ownership="none">
1509 <type name="float" c:type="gfloat"/>
1513 <method name="set_height" c:identifier="clutter_actor_set_height">
1514 <return-value transfer-ownership="none">
1515 <type name="none" c:type="void"/>
1518 <parameter name="height" transfer-ownership="none">
1519 <type name="float" c:type="gfloat"/>
1523 <method name="get_x" c:identifier="clutter_actor_get_x">
1524 <return-value transfer-ownership="none">
1525 <type name="float" c:type="gfloat"/>
1528 <method name="get_y" c:identifier="clutter_actor_get_y">
1529 <return-value transfer-ownership="none">
1530 <type name="float" c:type="gfloat"/>
1533 <method name="set_x" c:identifier="clutter_actor_set_x" version="0.6">
1534 <doc xml:whitespace="preserve">Sets the actor's X coordinate, relative to its parent, in pixels.
1535 Overrides any layout manager and forces a fixed position for
1537 <return-value transfer-ownership="none">
1538 <type name="none" c:type="void"/>
1541 <parameter name="x" transfer-ownership="none">
1542 <doc xml:whitespace="preserve">the actor's position on the X axis</doc>
1543 <type name="float" c:type="gfloat"/>
1547 <method name="set_y" c:identifier="clutter_actor_set_y" version="0.6">
1548 <doc xml:whitespace="preserve">Sets the actor's Y coordinate, relative to its parent, in pixels.#
1549 Overrides any layout manager and forces a fixed position for
1551 <return-value transfer-ownership="none">
1552 <type name="none" c:type="void"/>
1555 <parameter name="y" transfer-ownership="none">
1556 <doc xml:whitespace="preserve">the actor's position on the Y axis</doc>
1557 <type name="float" c:type="gfloat"/>
1561 <method name="set_rotation"
1562 c:identifier="clutter_actor_set_rotation"
1564 <doc xml:whitespace="preserve">Sets the rotation angle of @self around the given axis.
1565 The rotation center coordinates used depend on the value of @axis:
1566 <itemizedlist>
1567 <listitem><para>%CLUTTER_X_AXIS requires @y and @z</para></listitem>
1568 <listitem><para>%CLUTTER_Y_AXIS requires @x and @z</para></listitem>
1569 <listitem><para>%CLUTTER_Z_AXIS requires @x and @y</para></listitem>
1570 </itemizedlist>
1571 The rotation coordinates are relative to the anchor point of the
1572 actor, set using clutter_actor_set_anchor_point(). If no anchor
1573 point is set, the upper left corner is assumed as the origin.</doc>
1574 <return-value transfer-ownership="none">
1575 <type name="none" c:type="void"/>
1578 <parameter name="axis" transfer-ownership="none">
1579 <doc xml:whitespace="preserve">the axis of rotation</doc>
1580 <type name="RotateAxis" c:type="ClutterRotateAxis"/>
1582 <parameter name="angle" transfer-ownership="none">
1583 <doc xml:whitespace="preserve">the angle of rotation</doc>
1584 <type name="double" c:type="gdouble"/>
1586 <parameter name="x" transfer-ownership="none">
1587 <doc xml:whitespace="preserve">X coordinate of the rotation center</doc>
1588 <type name="float" c:type="gfloat"/>
1590 <parameter name="y" transfer-ownership="none">
1591 <doc xml:whitespace="preserve">Y coordinate of the rotation center</doc>
1592 <type name="float" c:type="gfloat"/>
1594 <parameter name="z" transfer-ownership="none">
1595 <doc xml:whitespace="preserve">Z coordinate of the rotation center</doc>
1596 <type name="float" c:type="gfloat"/>
1600 <method name="set_z_rotation_from_gravity"
1601 c:identifier="clutter_actor_set_z_rotation_from_gravity"
1603 <doc xml:whitespace="preserve">Sets the rotation angle of @self around the Z axis using the center
1604 point specified as a compass point. For example to rotate such that
1605 the center of the actor remains static you can use
1606 %CLUTTER_GRAVITY_CENTER. If the actor changes size the center point
1607 will move accordingly.</doc>
1608 <return-value transfer-ownership="none">
1609 <type name="none" c:type="void"/>
1612 <parameter name="angle" transfer-ownership="none">
1613 <doc xml:whitespace="preserve">the angle of rotation</doc>
1614 <type name="double" c:type="gdouble"/>
1616 <parameter name="gravity" transfer-ownership="none">
1617 <doc xml:whitespace="preserve">the center point of the rotation</doc>
1618 <type name="Gravity" c:type="ClutterGravity"/>
1622 <method name="get_rotation"
1623 c:identifier="clutter_actor_get_rotation"
1625 <doc xml:whitespace="preserve">Retrieves the angle and center of rotation on the given axis,
1626 set using clutter_actor_set_rotation().</doc>
1627 <return-value transfer-ownership="none">
1628 <doc xml:whitespace="preserve">the angle of rotation</doc>
1629 <type name="double" c:type="gdouble"/>
1632 <parameter name="axis" transfer-ownership="none">
1633 <doc xml:whitespace="preserve">the axis of rotation</doc>
1634 <type name="RotateAxis" c:type="ClutterRotateAxis"/>
1638 caller-allocates="0"
1639 transfer-ownership="full">
1640 <doc xml:whitespace="preserve">return value for the X coordinate of the center of rotation</doc>
1641 <type name="float" c:type="gfloat*"/>
1645 caller-allocates="0"
1646 transfer-ownership="full">
1647 <doc xml:whitespace="preserve">return value for the Y coordinate of the center of rotation</doc>
1648 <type name="float" c:type="gfloat*"/>
1652 caller-allocates="0"
1653 transfer-ownership="full">
1654 <doc xml:whitespace="preserve">return value for the Z coordinate of the center of rotation</doc>
1655 <type name="float" c:type="gfloat*"/>
1659 <method name="get_z_rotation_gravity"
1660 c:identifier="clutter_actor_get_z_rotation_gravity"
1662 <doc xml:whitespace="preserve">Retrieves the center for the rotation around the Z axis as a
1663 compass direction. If the center was specified in pixels or units
1664 this will return %CLUTTER_GRAVITY_NONE.</doc>
1665 <return-value transfer-ownership="full">
1666 <doc xml:whitespace="preserve">the Z rotation center</doc>
1667 <type name="Gravity" c:type="ClutterGravity"/>
1670 <method name="set_opacity" c:identifier="clutter_actor_set_opacity">
1671 <doc xml:whitespace="preserve">Sets the actor's opacity, with zero being completely transparent and
1672 255 (0xff) being fully opaque.</doc>
1673 <return-value transfer-ownership="none">
1674 <type name="none" c:type="void"/>
1677 <parameter name="opacity" transfer-ownership="none">
1678 <doc xml:whitespace="preserve">New opacity value for the actor.</doc>
1679 <type name="uint8" c:type="guint8"/>
1683 <method name="get_opacity" c:identifier="clutter_actor_get_opacity">
1684 <doc xml:whitespace="preserve">Retrieves the opacity value of an actor, as set by
1685 clutter_actor_set_opacity().
1686 For retrieving the absolute opacity of the actor inside a paint
1687 virtual function, see clutter_actor_get_paint_opacity().</doc>
1688 <return-value transfer-ownership="none">
1689 <doc xml:whitespace="preserve">the opacity of the actor</doc>
1690 <type name="uint8" c:type="guint8"/>
1693 <method name="get_paint_opacity"
1694 c:identifier="clutter_actor_get_paint_opacity"
1696 <doc xml:whitespace="preserve">Retrieves the absolute opacity of the actor, as it appears on the stage.
1697 This function traverses the hierarchy chain and composites the opacity of
1698 the actor with that of its parents.
1699 This function is intended for subclasses to use in the paint virtual
1700 function, to paint themselves with the correct opacity.</doc>
1701 <return-value transfer-ownership="none">
1702 <doc xml:whitespace="preserve">The actor opacity value.</doc>
1703 <type name="uint8" c:type="guint8"/>
1706 <method name="get_paint_visibility"
1707 c:identifier="clutter_actor_get_paint_visibility"
1709 <doc xml:whitespace="preserve">Retrieves the 'paint' visibility of an actor recursively checking for non
1711 This is by definition the same as CLUTTER_ACTOR_IS_MAPPED().</doc>
1712 <return-value transfer-ownership="none">
1713 <doc xml:whitespace="preserve">TRUE if the actor is visibile and will be painted.</doc>
1714 <type name="boolean" c:type="gboolean"/>
1717 <method name="set_name" c:identifier="clutter_actor_set_name">
1718 <doc xml:whitespace="preserve">Sets the given name to @self. The name can be used to identify
1719 a #ClutterActor.</doc>
1720 <return-value transfer-ownership="none">
1721 <type name="none" c:type="void"/>
1724 <parameter name="name" transfer-ownership="none">
1725 <doc xml:whitespace="preserve">Textual tag to apply to actor</doc>
1726 <type name="utf8" c:type="gchar*"/>
1730 <method name="get_name" c:identifier="clutter_actor_get_name">
1731 <doc xml:whitespace="preserve">Retrieves the name of @self.
1732 owned by the actor and should not be modified or freed.</doc>
1733 <return-value transfer-ownership="none">
1734 <doc xml:whitespace="preserve">the name of the actor, or %NULL. The returned string is</doc>
1735 <type name="utf8" c:type="gchar*"/>
1738 <method name="get_gid"
1739 c:identifier="clutter_actor_get_gid"
1741 <doc xml:whitespace="preserve">Retrieves the unique id for @self.</doc>
1742 <return-value transfer-ownership="none">
1743 <doc xml:whitespace="preserve">Globally unique value for this object instance.</doc>
1744 <type name="uint32" c:type="guint32"/>
1747 <method name="set_clip"
1748 c:identifier="clutter_actor_set_clip"
1750 <doc xml:whitespace="preserve">Sets clip area for @self. The clip area is always computed from the
1751 upper left corner of the actor, even if the anchor point is set
1753 <return-value transfer-ownership="none">
1754 <type name="none" c:type="void"/>
1757 <parameter name="xoff" transfer-ownership="none">
1758 <doc xml:whitespace="preserve">X offset of the clip rectangle</doc>
1759 <type name="float" c:type="gfloat"/>
1761 <parameter name="yoff" transfer-ownership="none">
1762 <doc xml:whitespace="preserve">Y offset of the clip rectangle</doc>
1763 <type name="float" c:type="gfloat"/>
1765 <parameter name="width" transfer-ownership="none">
1766 <doc xml:whitespace="preserve">Width of the clip rectangle</doc>
1767 <type name="float" c:type="gfloat"/>
1769 <parameter name="height" transfer-ownership="none">
1770 <doc xml:whitespace="preserve">Height of the clip rectangle</doc>
1771 <type name="float" c:type="gfloat"/>
1775 <method name="remove_clip" c:identifier="clutter_actor_remove_clip">
1776 <return-value transfer-ownership="none">
1777 <type name="none" c:type="void"/>
1780 <method name="has_clip"
1781 c:identifier="clutter_actor_has_clip"
1783 <doc xml:whitespace="preserve">Determines whether the actor has a clip area set or not.</doc>
1784 <return-value transfer-ownership="none">
1785 <doc xml:whitespace="preserve">%TRUE if the actor has a clip area set.</doc>
1786 <type name="boolean" c:type="gboolean"/>
1789 <method name="get_clip"
1790 c:identifier="clutter_actor_get_clip"
1792 <doc xml:whitespace="preserve">Gets the clip area for @self, if any is set</doc>
1793 <return-value transfer-ownership="none">
1794 <type name="none" c:type="void"/>
1797 <parameter name="xoff"
1799 caller-allocates="0"
1800 transfer-ownership="full"
1802 <doc xml:whitespace="preserve">return location for the X offset of the clip rectangle, or %NULL</doc>
1803 <type name="float" c:type="gfloat*"/>
1805 <parameter name="yoff"
1807 caller-allocates="0"
1808 transfer-ownership="full"
1810 <doc xml:whitespace="preserve">return location for the Y offset of the clip rectangle, or %NULL</doc>
1811 <type name="float" c:type="gfloat*"/>
1813 <parameter name="width"
1815 caller-allocates="0"
1816 transfer-ownership="full"
1818 <doc xml:whitespace="preserve">return location for the width of the clip rectangle, or %NULL</doc>
1819 <type name="float" c:type="gfloat*"/>
1821 <parameter name="height"
1823 caller-allocates="0"
1824 transfer-ownership="full"
1826 <doc xml:whitespace="preserve">return location for the height of the clip rectangle, or %NULL</doc>
1827 <type name="float" c:type="gfloat*"/>
1831 <method name="set_clip_to_allocation"
1832 c:identifier="clutter_actor_set_clip_to_allocation"
1834 <doc xml:whitespace="preserve">Sets whether @self should be clipped to the same size as its
1836 <return-value transfer-ownership="none">
1837 <type name="none" c:type="void"/>
1840 <parameter name="clip_set" transfer-ownership="none">
1841 <doc xml:whitespace="preserve">%TRUE to apply a clip tracking the allocation</doc>
1842 <type name="boolean" c:type="gboolean"/>
1846 <method name="get_clip_to_allocation"
1847 c:identifier="clutter_actor_get_clip_to_allocation"
1849 <doc xml:whitespace="preserve">Retrieves the value set using clutter_actor_set_clip_to_allocation()</doc>
1850 <return-value transfer-ownership="none">
1851 <doc xml:whitespace="preserve">%TRUE if the #ClutterActor is clipped to its allocation</doc>
1852 <type name="boolean" c:type="gboolean"/>
1855 <method name="set_parent" c:identifier="clutter_actor_set_parent">
1856 <doc xml:whitespace="preserve">Sets the parent of @self to @parent. The opposite function is
1857 clutter_actor_unparent().
1858 This function should not be used by applications, but by custom
1859 container actor subclasses.</doc>
1860 <return-value transfer-ownership="none">
1861 <type name="none" c:type="void"/>
1864 <parameter name="parent" transfer-ownership="none">
1865 <doc xml:whitespace="preserve">A new #ClutterActor parent</doc>
1866 <type name="Actor" c:type="ClutterActor*"/>
1870 <method name="get_parent" c:identifier="clutter_actor_get_parent">
1871 <doc xml:whitespace="preserve">Retrieves the parent of @self.
1872 if no parent is set</doc>
1873 <return-value transfer-ownership="none">
1874 <doc xml:whitespace="preserve">The #ClutterActor parent, or %NULL</doc>
1875 <type name="Actor" c:type="ClutterActor*"/>
1878 <method name="reparent"
1879 c:identifier="clutter_actor_reparent"
1881 <doc xml:whitespace="preserve">This function resets the parent actor of @self. It is
1882 logically equivalent to calling clutter_actor_unparent()
1883 and clutter_actor_set_parent(), but more efficiently
1884 implemented, ensures the child is not finalized
1885 when unparented, and emits the parent-set signal only
1887 <return-value transfer-ownership="none">
1888 <type name="none" c:type="void"/>
1891 <parameter name="new_parent" transfer-ownership="none">
1892 <doc xml:whitespace="preserve">the new #ClutterActor parent</doc>
1893 <type name="Actor" c:type="ClutterActor*"/>
1897 <method name="unparent"
1898 c:identifier="clutter_actor_unparent"
1900 <doc xml:whitespace="preserve">Removes the parent of @self.
1901 This function should not be used in applications. It should be called by
1902 implementations of container actors, to dissociate a child from the
1904 <return-value transfer-ownership="none">
1905 <type name="none" c:type="void"/>
1908 <method name="contains"
1909 c:identifier="clutter_actor_contains"
1911 <doc xml:whitespace="preserve">Determines if @descendant is contained inside @self (either as an
1912 immediate child, or as a deeper descendant).</doc>
1913 <return-value transfer-ownership="none">
1914 <doc xml:whitespace="preserve">whether @descendent is contained within @self</doc>
1915 <type name="boolean" c:type="gboolean"/>
1918 <parameter name="descendant" transfer-ownership="none">
1919 <doc xml:whitespace="preserve">A #ClutterActor, possibly contained in @self</doc>
1920 <type name="Actor" c:type="ClutterActor*"/>
1924 <method name="get_stage"
1925 c:identifier="clutter_actor_get_stage"
1927 <doc xml:whitespace="preserve">Retrieves the #ClutterStage where @actor is contained.</doc>
1928 <return-value transfer-ownership="none">
1929 <doc xml:whitespace="preserve">the stage containing the actor, or %NULL</doc>
1930 <type name="Actor" c:type="ClutterActor*"/>
1933 <method name="raise" c:identifier="clutter_actor_raise">
1934 <doc xml:whitespace="preserve">Puts @self above @below.
1935 Both actors must have the same parent, and the parent must implement
1936 the #ClutterContainer interface
1937 This function is the equivalent of clutter_container_raise_child().</doc>
1938 <return-value transfer-ownership="none">
1939 <type name="none" c:type="void"/>
1942 <parameter name="below" transfer-ownership="none" allow-none="1">
1943 <doc xml:whitespace="preserve">A #ClutterActor to raise above.</doc>
1944 <type name="Actor" c:type="ClutterActor*"/>
1948 <method name="lower" c:identifier="clutter_actor_lower">
1949 <doc xml:whitespace="preserve">Puts @self below @above.
1950 Both actors must have the same parent, and the parent must implement
1951 the #ClutterContainer interface.
1952 This function is the equivalent of clutter_container_lower_child().</doc>
1953 <return-value transfer-ownership="none">
1954 <type name="none" c:type="void"/>
1957 <parameter name="above" transfer-ownership="none" allow-none="1">
1958 <doc xml:whitespace="preserve">A #ClutterActor to lower below</doc>
1959 <type name="Actor" c:type="ClutterActor*"/>
1963 <method name="raise_top" c:identifier="clutter_actor_raise_top">
1964 <doc xml:whitespace="preserve">Raises @self to the top.
1965 This function calls clutter_actor_raise() internally.</doc>
1966 <return-value transfer-ownership="none">
1967 <type name="none" c:type="void"/>
1970 <method name="lower_bottom" c:identifier="clutter_actor_lower_bottom">
1971 <doc xml:whitespace="preserve">Lowers @self to the bottom.
1972 This function calls clutter_actor_lower() internally.</doc>
1973 <return-value transfer-ownership="none">
1974 <type name="none" c:type="void"/>
1977 <method name="set_depth" c:identifier="clutter_actor_set_depth">
1978 <doc xml:whitespace="preserve">Sets the Z coordinate of @self to @depth.
1979 The unit used by @depth is dependant on the perspective setup. See
1980 also clutter_stage_set_perspective().</doc>
1981 <return-value transfer-ownership="none">
1982 <type name="none" c:type="void"/>
1985 <parameter name="depth" transfer-ownership="none">
1986 <doc xml:whitespace="preserve">Z co-ord</doc>
1987 <type name="float" c:type="gfloat"/>
1991 <method name="get_depth" c:identifier="clutter_actor_get_depth">
1992 <doc xml:whitespace="preserve">Retrieves the depth of @self.</doc>
1993 <return-value transfer-ownership="none">
1994 <doc xml:whitespace="preserve">the depth of the actor</doc>
1995 <type name="float" c:type="gfloat"/>
1998 <method name="set_scale"
1999 c:identifier="clutter_actor_set_scale"
2001 <doc xml:whitespace="preserve">Scales an actor with the given factors. The scaling is relative to
2002 the scale center and the anchor point. The scale center is
2003 unchanged by this function and defaults to 0,0.</doc>
2004 <return-value transfer-ownership="none">
2005 <type name="none" c:type="void"/>
2008 <parameter name="scale_x" transfer-ownership="none">
2009 <doc xml:whitespace="preserve">double factor to scale actor by horizontally.</doc>
2010 <type name="double" c:type="gdouble"/>
2012 <parameter name="scale_y" transfer-ownership="none">
2013 <doc xml:whitespace="preserve">double factor to scale actor by vertically.</doc>
2014 <type name="double" c:type="gdouble"/>
2018 <method name="set_scale_full"
2019 c:identifier="clutter_actor_set_scale_full"
2021 <doc xml:whitespace="preserve">Scales an actor with the given factors around the given center
2022 point. The center point is specified in pixels relative to the
2023 anchor point (usually the top left corner of the actor).</doc>
2024 <return-value transfer-ownership="none">
2025 <type name="none" c:type="void"/>
2028 <parameter name="scale_x" transfer-ownership="none">
2029 <doc xml:whitespace="preserve">double factor to scale actor by horizontally.</doc>
2030 <type name="double" c:type="gdouble"/>
2032 <parameter name="scale_y" transfer-ownership="none">
2033 <doc xml:whitespace="preserve">double factor to scale actor by vertically.</doc>
2034 <type name="double" c:type="gdouble"/>
2036 <parameter name="center_x" transfer-ownership="none">
2037 <doc xml:whitespace="preserve">X coordinate of the center of the scale.</doc>
2038 <type name="float" c:type="gfloat"/>
2040 <parameter name="center_y" transfer-ownership="none">
2041 <doc xml:whitespace="preserve">Y coordinate of the center of the scale</doc>
2042 <type name="float" c:type="gfloat"/>
2046 <method name="set_scale_with_gravity"
2047 c:identifier="clutter_actor_set_scale_with_gravity"
2049 <doc xml:whitespace="preserve">Scales an actor with the given factors around the given
2050 center point. The center point is specified as one of the compass
2051 directions in #ClutterGravity. For example, setting it to north
2052 will cause the top of the actor to remain unchanged and the rest of
2053 the actor to expand left, right and downwards.</doc>
2054 <return-value transfer-ownership="none">
2055 <type name="none" c:type="void"/>
2058 <parameter name="scale_x" transfer-ownership="none">
2059 <doc xml:whitespace="preserve">double factor to scale actor by horizontally.</doc>
2060 <type name="double" c:type="gdouble"/>
2062 <parameter name="scale_y" transfer-ownership="none">
2063 <doc xml:whitespace="preserve">double factor to scale actor by vertically.</doc>
2064 <type name="double" c:type="gdouble"/>
2066 <parameter name="gravity" transfer-ownership="none">
2067 <doc xml:whitespace="preserve">the location of the scale center expressed as a compass direction.</doc>
2068 <type name="Gravity" c:type="ClutterGravity"/>
2072 <method name="get_scale"
2073 c:identifier="clutter_actor_get_scale"
2075 <doc xml:whitespace="preserve">Retrieves an actors scale factors.</doc>
2076 <return-value transfer-ownership="none">
2077 <type name="none" c:type="void"/>
2080 <parameter name="scale_x"
2082 caller-allocates="0"
2083 transfer-ownership="full"
2085 <doc xml:whitespace="preserve">Location to store horizonal scale factor, or %NULL.</doc>
2086 <type name="double" c:type="gdouble*"/>
2088 <parameter name="scale_y"
2090 caller-allocates="0"
2091 transfer-ownership="full"
2093 <doc xml:whitespace="preserve">Location to store vertical scale factor, or %NULL.</doc>
2094 <type name="double" c:type="gdouble*"/>
2098 <method name="get_scale_center"
2099 c:identifier="clutter_actor_get_scale_center"
2101 <doc xml:whitespace="preserve">Retrieves the scale center coordinate in pixels relative to the top
2102 left corner of the actor. If the scale center was specified using a
2103 #ClutterGravity this will calculate the pixel offset using the
2104 current size of the actor.</doc>
2105 <return-value transfer-ownership="none">
2106 <type name="none" c:type="void"/>
2109 <parameter name="center_x"
2111 caller-allocates="0"
2112 transfer-ownership="full"
2114 <doc xml:whitespace="preserve">Location to store the X position of the scale center, or %NULL.</doc>
2115 <type name="float" c:type="gfloat*"/>
2117 <parameter name="center_y"
2119 caller-allocates="0"
2120 transfer-ownership="full"
2122 <doc xml:whitespace="preserve">Location to store the Y position of the scale center, or %NULL.</doc>
2123 <type name="float" c:type="gfloat*"/>
2127 <method name="get_scale_gravity"
2128 c:identifier="clutter_actor_get_scale_gravity"
2130 <doc xml:whitespace="preserve">Retrieves the scale center as a compass direction. If the scale
2131 center was specified in pixels or units this will return
2132 %CLUTTER_GRAVITY_NONE.</doc>
2133 <return-value transfer-ownership="full">
2134 <doc xml:whitespace="preserve">the scale gravity</doc>
2135 <type name="Gravity" c:type="ClutterGravity"/>
2138 <method name="move_by"
2139 c:identifier="clutter_actor_move_by"
2141 <doc xml:whitespace="preserve">Moves an actor by the specified distance relative to its current
2143 This function modifies the fixed position of an actor and thus removes
2144 it from any layout management. Another way to move an actor is with an
2145 anchor point, see clutter_actor_set_anchor_point().</doc>
2146 <return-value transfer-ownership="none">
2147 <type name="none" c:type="void"/>
2150 <parameter name="dx" transfer-ownership="none">
2151 <doc xml:whitespace="preserve">Distance to move Actor on X axis.</doc>
2152 <type name="float" c:type="gfloat"/>
2154 <parameter name="dy" transfer-ownership="none">
2155 <doc xml:whitespace="preserve">Distance to move Actor on Y axis.</doc>
2156 <type name="float" c:type="gfloat"/>
2160 <method name="set_reactive"
2161 c:identifier="clutter_actor_set_reactive"
2163 <doc xml:whitespace="preserve">Sets @actor as reactive. Reactive actors will receive events.</doc>
2164 <return-value transfer-ownership="none">
2165 <type name="none" c:type="void"/>
2168 <parameter name="reactive" transfer-ownership="none">
2169 <doc xml:whitespace="preserve">whether the actor should be reactive to events</doc>
2170 <type name="boolean" c:type="gboolean"/>
2174 <method name="get_reactive"
2175 c:identifier="clutter_actor_get_reactive"
2177 <doc xml:whitespace="preserve">Checks whether @actor is marked as reactive.</doc>
2178 <return-value transfer-ownership="none">
2179 <doc xml:whitespace="preserve">%TRUE if the actor is reactive</doc>
2180 <type name="boolean" c:type="gboolean"/>
2183 <method name="event" c:identifier="clutter_actor_event" version="0.6">
2184 <doc xml:whitespace="preserve">This function is used to emit an event on the main stage.
2185 You should rarely need to use this function, except for
2186 synthetising events.
2187 if the actor handled the event, or %FALSE if the event was
2189 <return-value transfer-ownership="none">
2190 <doc xml:whitespace="preserve">the return value from the signal emission: %TRUE</doc>
2191 <type name="boolean" c:type="gboolean"/>
2194 <parameter name="event" transfer-ownership="none">
2195 <doc xml:whitespace="preserve">a #ClutterEvent</doc>
2196 <type name="Event" c:type="ClutterEvent*"/>
2198 <parameter name="capture" transfer-ownership="none">
2199 <doc xml:whitespace="preserve">TRUE if event in in capture phase, FALSE otherwise.</doc>
2200 <type name="boolean" c:type="gboolean"/>
2204 <method name="set_shader"
2205 c:identifier="clutter_actor_set_shader"
2207 <doc xml:whitespace="preserve">Sets the #ClutterShader to be used when rendering @self.
2208 If @shader is %NULL it will unset any currently set shader
2209 for the actor.</doc>
2210 <return-value transfer-ownership="none">
2211 <doc xml:whitespace="preserve">%TRUE if the shader was successfully applied</doc>
2212 <type name="boolean" c:type="gboolean"/>
2215 <parameter name="shader" transfer-ownership="none" allow-none="1">
2216 <doc xml:whitespace="preserve">a #ClutterShader or %NULL to unset the shader.</doc>
2217 <type name="Shader" c:type="ClutterShader*"/>
2221 <method name="get_shader"
2222 c:identifier="clutter_actor_get_shader"
2224 <doc xml:whitespace="preserve">Queries the currently set #ClutterShader on @self.
2225 or %NULL if no shader is set.</doc>
2226 <return-value transfer-ownership="none">
2227 <doc xml:whitespace="preserve">The currently set #ClutterShader</doc>
2228 <type name="Shader" c:type="ClutterShader*"/>
2231 <method name="set_shader_param"
2232 c:identifier="clutter_actor_set_shader_param"
2234 <doc xml:whitespace="preserve">Sets the value for a named parameter of the shader applied
2236 <return-value transfer-ownership="none">
2237 <type name="none" c:type="void"/>
2240 <parameter name="param" transfer-ownership="none">
2241 <doc xml:whitespace="preserve">the name of the parameter</doc>
2242 <type name="utf8" c:type="gchar*"/>
2244 <parameter name="value" transfer-ownership="none">
2245 <doc xml:whitespace="preserve">the value of the parameter</doc>
2246 <type name="GObject.Value" c:type="GValue*"/>
2250 <method name="set_shader_param_int"
2251 c:identifier="clutter_actor_set_shader_param_int"
2253 <doc xml:whitespace="preserve">Sets the value for a named int parameter of the shader applied to</doc>
2254 <return-value transfer-ownership="none">
2255 <type name="none" c:type="void"/>
2258 <parameter name="param" transfer-ownership="none">
2259 <doc xml:whitespace="preserve">the name of the parameter</doc>
2260 <type name="utf8" c:type="gchar*"/>
2262 <parameter name="value" transfer-ownership="none">
2263 <doc xml:whitespace="preserve">the value of the parameter</doc>
2264 <type name="int" c:type="gint"/>
2268 <method name="set_shader_param_float"
2269 c:identifier="clutter_actor_set_shader_param_float"
2271 <doc xml:whitespace="preserve">Sets the value for a named float parameter of the shader applied
2273 <return-value transfer-ownership="none">
2274 <type name="none" c:type="void"/>
2277 <parameter name="param" transfer-ownership="none">
2278 <doc xml:whitespace="preserve">the name of the parameter</doc>
2279 <type name="utf8" c:type="gchar*"/>
2281 <parameter name="value" transfer-ownership="none">
2282 <doc xml:whitespace="preserve">the value of the parameter</doc>
2283 <type name="float" c:type="gfloat"/>
2287 <method name="set_anchor_point"
2288 c:identifier="clutter_actor_set_anchor_point"
2290 <doc xml:whitespace="preserve">Sets an anchor point for @self. The anchor point is a point in the
2291 coordinate space of an actor to which the actor position within its
2292 parent is relative; the default is (0, 0), i.e. the top-left corner
2294 <return-value transfer-ownership="none">
2295 <type name="none" c:type="void"/>
2298 <parameter name="anchor_x" transfer-ownership="none">
2299 <doc xml:whitespace="preserve">X coordinate of the anchor point</doc>
2300 <type name="float" c:type="gfloat"/>
2302 <parameter name="anchor_y" transfer-ownership="none">
2303 <doc xml:whitespace="preserve">Y coordinate of the anchor point</doc>
2304 <type name="float" c:type="gfloat"/>
2308 <method name="move_anchor_point"
2309 c:identifier="clutter_actor_move_anchor_point"
2311 <doc xml:whitespace="preserve">Sets an anchor point for the actor, and adjusts the actor postion so that
2312 the relative position of the actor toward its parent remains the same.</doc>
2313 <return-value transfer-ownership="none">
2314 <type name="none" c:type="void"/>
2317 <parameter name="anchor_x" transfer-ownership="none">
2318 <doc xml:whitespace="preserve">X coordinate of the anchor point</doc>
2319 <type name="float" c:type="gfloat"/>
2321 <parameter name="anchor_y" transfer-ownership="none">
2322 <doc xml:whitespace="preserve">Y coordinate of the anchor point</doc>
2323 <type name="float" c:type="gfloat"/>
2327 <method name="get_anchor_point"
2328 c:identifier="clutter_actor_get_anchor_point"
2330 <doc xml:whitespace="preserve">Gets the current anchor point of the @actor in pixels.</doc>
2331 <return-value transfer-ownership="none">
2332 <type name="none" c:type="void"/>
2335 <parameter name="anchor_x"
2337 caller-allocates="0"
2338 transfer-ownership="full">
2339 <doc xml:whitespace="preserve">return location for the X coordinate of the anchor point</doc>
2340 <type name="float" c:type="gfloat*"/>
2342 <parameter name="anchor_y"
2344 caller-allocates="0"
2345 transfer-ownership="full">
2346 <doc xml:whitespace="preserve">return location for the Y coordinate of the anchor point</doc>
2347 <type name="float" c:type="gfloat*"/>
2351 <method name="get_anchor_point_gravity"
2352 c:identifier="clutter_actor_get_anchor_point_gravity"
2354 <doc xml:whitespace="preserve">Retrieves the anchor position expressed as a #ClutterGravity. If
2355 the anchor point was specified using pixels or units this will
2356 return %CLUTTER_GRAVITY_NONE.</doc>
2357 <return-value transfer-ownership="full">
2358 <doc xml:whitespace="preserve">the #ClutterGravity used by the anchor point</doc>
2359 <type name="Gravity" c:type="ClutterGravity"/>
2362 <method name="set_anchor_point_from_gravity"
2363 c:identifier="clutter_actor_set_anchor_point_from_gravity"
2365 <doc xml:whitespace="preserve">Sets an anchor point on the actor, based on the given gravity (this is a
2366 convenience function wrapping clutter_actor_set_anchor_point()).
2367 Since version 1.0 the anchor point will be stored as a gravity so
2368 that if the actor changes size then the anchor point will move. For
2369 example, if you set the anchor point to %CLUTTER_GRAVITY_SOUTH_EAST
2370 and later double the size of the actor, the anchor point will move
2371 to the bottom right.</doc>
2372 <return-value transfer-ownership="none">
2373 <type name="none" c:type="void"/>
2376 <parameter name="gravity" transfer-ownership="none">
2377 <doc xml:whitespace="preserve">#ClutterGravity.</doc>
2378 <type name="Gravity" c:type="ClutterGravity"/>
2382 <method name="move_anchor_point_from_gravity"
2383 c:identifier="clutter_actor_move_anchor_point_from_gravity"
2385 <doc xml:whitespace="preserve">Sets an anchor point on the actor based on the given gravity, adjusting the
2386 actor postion so that its relative position within its parent remains
2388 Since version 1.0 the anchor point will be stored as a gravity so
2389 that if the actor changes size then the anchor point will move. For
2390 example, if you set the anchor point to %CLUTTER_GRAVITY_SOUTH_EAST
2391 and later double the size of the actor, the anchor point will move
2392 to the bottom right.</doc>
2393 <return-value transfer-ownership="none">
2394 <type name="none" c:type="void"/>
2397 <parameter name="gravity" transfer-ownership="none">
2398 <doc xml:whitespace="preserve">#ClutterGravity.</doc>
2399 <type name="Gravity" c:type="ClutterGravity"/>
2403 <method name="transform_stage_point"
2404 c:identifier="clutter_actor_transform_stage_point">
2405 <return-value transfer-ownership="none">
2406 <type name="boolean" c:type="gboolean"/>
2409 <parameter name="x" transfer-ownership="none">
2410 <type name="float" c:type="gfloat"/>
2412 <parameter name="y" transfer-ownership="none">
2413 <type name="float" c:type="gfloat"/>
2415 <parameter name="x_out"
2417 caller-allocates="0"
2418 transfer-ownership="full">
2419 <type name="float" c:type="gfloat*"/>
2421 <parameter name="y_out"
2423 caller-allocates="0"
2424 transfer-ownership="full">
2425 <type name="float" c:type="gfloat*"/>
2429 <method name="is_rotated"
2430 c:identifier="clutter_actor_is_rotated"
2432 <doc xml:whitespace="preserve">Checks whether any rotation is applied to the actor.</doc>
2433 <return-value transfer-ownership="none">
2434 <doc xml:whitespace="preserve">%TRUE if the actor is rotated.</doc>
2435 <type name="boolean" c:type="gboolean"/>
2438 <method name="is_scaled"
2439 c:identifier="clutter_actor_is_scaled"
2441 <doc xml:whitespace="preserve">Checks whether the actor is scaled in either dimension.</doc>
2442 <return-value transfer-ownership="none">
2443 <doc xml:whitespace="preserve">%TRUE if the actor is scaled.</doc>
2444 <type name="boolean" c:type="gboolean"/>
2447 <method name="should_pick_paint"
2448 c:identifier="clutter_actor_should_pick_paint">
2449 <doc xml:whitespace="preserve">Should be called inside the implementation of the
2450 #ClutterActor::pick virtual function in order to check whether
2451 the actor should paint itself in pick mode or not.
2452 This function should never be called directly by applications.
2453 %FALSE otherwise</doc>
2454 <return-value transfer-ownership="none">
2455 <doc xml:whitespace="preserve">%TRUE if the actor should paint its silhouette,</doc>
2456 <type name="boolean" c:type="gboolean"/>
2459 <method name="get_abs_allocation_vertices"
2460 c:identifier="clutter_actor_get_abs_allocation_vertices"
2462 <doc xml:whitespace="preserve">Calculates the transformed screen coordinates of the four corners of
2463 the actor; the returned vertices relate to the #ClutterActorBox
2464 coordinates as follows:
2465 <itemizedlist>
2466 <listitem><para>v[0] contains (x1, y1)</para></listitem>
2467 <listitem><para>v[1] contains (x2, y1)</para></listitem>
2468 <listitem><para>v[2] contains (x1, y2)</para></listitem>
2469 <listitem><para>v[3] contains (x2, y2)</para></listitem>
2470 </itemizedlist></doc>
2471 <return-value transfer-ownership="none">
2472 <type name="none" c:type="void"/>
2475 <parameter name="verts"
2477 caller-allocates="1"
2478 transfer-ownership="none">
2479 <doc xml:whitespace="preserve">Pointer to a location of an array of 4 #ClutterVertex where to store the result.</doc>
2480 <array c:type="ClutterVertex" fixed-size="4">
2481 <type name="Vertex"/>
2486 <method name="apply_transform_to_point"
2487 c:identifier="clutter_actor_apply_transform_to_point"
2489 <doc xml:whitespace="preserve">Transforms @point in coordinates relative to the actor
2490 into screen-relative coordinates with the current actor
2491 transformation (i.e. scale, rotation, etc)</doc>
2492 <return-value transfer-ownership="none">
2493 <type name="none" c:type="void"/>
2496 <parameter name="point" transfer-ownership="none">
2497 <doc xml:whitespace="preserve">A point as #ClutterVertex</doc>
2498 <type name="Vertex" c:type="ClutterVertex*"/>
2500 <parameter name="vertex" transfer-ownership="none">
2501 <doc xml:whitespace="preserve">The translated #ClutterVertex</doc>
2502 <type name="Vertex" c:type="ClutterVertex*"/>
2506 <method name="apply_relative_transform_to_point"
2507 c:identifier="clutter_actor_apply_relative_transform_to_point"
2509 <doc xml:whitespace="preserve">Transforms @point in coordinates relative to the actor into
2510 ancestor-relative coordinates using the relevant transform
2511 stack (i.e. scale, rotation, etc).
2512 If @ancestor is %NULL the ancestor will be the #ClutterStage. In
2513 this case, the coordinates returned will be the coordinates on
2514 the stage before the projection is applied. This is different from
2515 the behaviour of clutter_actor_apply_transform_to_point().</doc>
2516 <return-value transfer-ownership="none">
2517 <type name="none" c:type="void"/>
2520 <parameter name="ancestor" transfer-ownership="none" allow-none="1">
2521 <doc xml:whitespace="preserve">A #ClutterActor ancestor, or %NULL to use the default #ClutterStage</doc>
2522 <type name="Actor" c:type="ClutterActor*"/>
2524 <parameter name="point" transfer-ownership="none">
2525 <doc xml:whitespace="preserve">A point as #ClutterVertex</doc>
2526 <type name="Vertex" c:type="ClutterVertex*"/>
2528 <parameter name="vertex" transfer-ownership="none">
2529 <doc xml:whitespace="preserve">The translated #ClutterVertex</doc>
2530 <type name="Vertex" c:type="ClutterVertex*"/>
2534 <method name="grab_key_focus"
2535 c:identifier="clutter_actor_grab_key_focus"
2537 <doc xml:whitespace="preserve">Sets the key focus of the #ClutterStage including @self
2538 to this #ClutterActor.</doc>
2539 <return-value transfer-ownership="none">
2540 <type name="none" c:type="void"/>
2543 <method name="get_pango_context"
2544 c:identifier="clutter_actor_get_pango_context"
2546 <doc xml:whitespace="preserve">Retrieves the #PangoContext for @self. The actor's #PangoContext
2547 is already configured using the appropriate font map, resolution
2549 Unlike clutter_actor_create_pango_context(), this context is owend
2550 by the #ClutterActor and it will be updated each time the options
2551 stored by the #ClutterBackend change.
2552 You can use the returned #PangoContext to create a #PangoLayout
2553 and render text using cogl_pango_render_layout() to reuse the
2554 glyphs cache also used by Clutter.
2555 The returned #PangoContext is owned by the actor and should not be
2556 unreferenced by the application code</doc>
2557 <return-value transfer-ownership="none">
2558 <doc xml:whitespace="preserve">the #PangoContext for a #ClutterActor.</doc>
2559 <type name="Pango.Context" c:type="PangoContext*"/>
2562 <method name="create_pango_context"
2563 c:identifier="clutter_actor_create_pango_context"
2565 <doc xml:whitespace="preserve">Creates a #PangoContext for the given actor. The #PangoContext
2566 is already configured using the appropriate font map, resolution
2568 See also clutter_actor_get_pango_context().
2569 on the returned value to deallocate its resources</doc>
2570 <return-value transfer-ownership="full">
2571 <doc xml:whitespace="preserve">the newly created #PangoContext. Use g_object_unref()</doc>
2572 <type name="Pango.Context" c:type="PangoContext*"/>
2575 <method name="create_pango_layout"
2576 c:identifier="clutter_actor_create_pango_layout"
2578 <doc xml:whitespace="preserve">Creates a new #PangoLayout from the same #PangoContext used
2579 by the #ClutterActor. The #PangoLayout is already configured
2580 with the font map, resolution and font options, and the
2582 If you want to keep around a #PangoLayout created by this
2583 function you will have to connect to the #ClutterBackend::font-changed
2584 and #ClutterBackend::resolution-changed signals, and call
2585 pango_layout_context_changed() in response to them.
2587 <return-value transfer-ownership="full">
2588 <doc xml:whitespace="preserve">the newly created #PangoLayout. Use g_object_unref()</doc>
2589 <type name="Pango.Layout" c:type="PangoLayout*"/>
2592 <parameter name="text" transfer-ownership="none">
2593 <doc xml:whitespace="preserve">(allow-none) the text to set on the #PangoLayout, or %NULL</doc>
2594 <type name="utf8" c:type="gchar*"/>
2598 <method name="get_transformation_matrix"
2599 c:identifier="clutter_actor_get_transformation_matrix"
2601 <doc xml:whitespace="preserve">Retrieves the transformations applied to @self</doc>
2602 <return-value transfer-ownership="none">
2603 <type name="none" c:type="void"/>
2606 <parameter name="matrix"
2608 caller-allocates="1"
2609 transfer-ownership="none">
2610 <doc xml:whitespace="preserve">the return location for a #CoglMatrix</doc>
2611 <type name="Cogl.Matrix" c:type="CoglMatrix*"/>
2615 <method name="is_in_clone_paint"
2616 c:identifier="clutter_actor_is_in_clone_paint"
2618 <doc xml:whitespace="preserve">Checks whether @self is being currently painted by a #ClutterClone
2619 This function is useful only inside the ::paint virtual function
2620 implementations or within handlers for the #ClutterActor::paint
2622 This function should not be used by applications
2623 by a #ClutterClone, and %FALSE otherwise</doc>
2624 <return-value transfer-ownership="none">
2625 <doc xml:whitespace="preserve">%TRUE if the #ClutterActor is currently being painted</doc>
2626 <type name="boolean" c:type="gboolean"/>
2629 <method name="has_pointer"
2630 c:identifier="clutter_actor_has_pointer"
2632 <doc xml:whitespace="preserve">Checks whether an actor contains the the pointer of a
2634 %FALSE otherwise</doc>
2635 <return-value transfer-ownership="none">
2636 <doc xml:whitespace="preserve">%TRUE if the actor contains the pointer, and</doc>
2637 <type name="boolean" c:type="gboolean"/>
2640 <method name="set_text_direction"
2641 c:identifier="clutter_actor_set_text_direction"
2643 <doc xml:whitespace="preserve">Sets the #ClutterTextDirection for an actor
2644 The passed text direction must not be %CLUTTER_TEXT_DIRECTION_DEFAULT
2645 If @self implements #ClutterContainer then this function will recurse
2646 inside all the children of @self (including the internal ones).
2647 Composite actors not implementing #ClutterContainer, or actors requiring
2648 special handling when the text direction changes, should connect to
2649 the #GObject::notify signal for the #ClutterActor:text-direction property</doc>
2650 <return-value transfer-ownership="none">
2651 <type name="none" c:type="void"/>
2654 <parameter name="text_dir" transfer-ownership="none">
2655 <doc xml:whitespace="preserve">the text direction for @self</doc>
2656 <type name="TextDirection" c:type="ClutterTextDirection"/>
2660 <method name="get_text_direction"
2661 c:identifier="clutter_actor_get_text_direction"
2663 <doc xml:whitespace="preserve">Retrieves the value set using clutter_actor_set_text_direction()
2664 If no text direction has been previously set, the default text
2665 direction, as returned by clutter_get_default_text_direction(), will
2666 be returned instead</doc>
2667 <return-value transfer-ownership="full">
2668 <doc xml:whitespace="preserve">the #ClutterTextDirection for the actor</doc>
2669 <type name="TextDirection" c:type="ClutterTextDirection"/>
2672 <method name="push_internal"
2673 c:identifier="clutter_actor_push_internal"
2675 <doc xml:whitespace="preserve">Should be used by actors implementing the #ClutterContainer and with
2676 internal children added through clutter_actor_set_parent(), for instance:
2679 my_actor_init (MyActor *self)
2681 self->priv = SELF_ACTOR_GET_PRIVATE (self);
2682 clutter_actor_push_internal (CLUTTER_ACTOR (self));
2683 /&ast; calling clutter_actor_set_parent() now will result in
2684 &ast; the internal flag being set on a child of MyActor
2686 /&ast; internal child - a background texture &ast;/
2687 self->priv->background_tex = clutter_texture_new ();
2688 clutter_actor_set_parent (self->priv->background_tex,
2689 CLUTTER_ACTOR (self));
2690 /&ast; internal child - a label &ast;/
2691 self->priv->label = clutter_text_new ();
2692 clutter_actor_set_parent (self->priv->label,
2693 CLUTTER_ACTOR (self));
2694 clutter_actor_pop_internal (CLUTTER_ACTOR (self));
2695 /&ast; calling clutter_actor_set_parent() now will not result in
2696 &ast; the internal flag being set on a child of MyActor
2700 This function will be used by Clutter to toggle an "internal child"
2701 flag whenever clutter_actor_set_parent() is called; internal children
2702 are handled differently by Clutter, specifically when destroying their
2704 Call clutter_actor_pop_internal() when you finished adding internal
2706 Nested calls to clutter_actor_push_internal() are allowed, but each
2707 one must by followed by a clutter_actor_pop_internal() call.</doc>
2708 <return-value transfer-ownership="none">
2709 <type name="none" c:type="void"/>
2712 <method name="pop_internal"
2713 c:identifier="clutter_actor_pop_internal"
2715 <doc xml:whitespace="preserve">Disables the effects of clutter_actor_pop_internal()</doc>
2716 <return-value transfer-ownership="none">
2717 <type name="none" c:type="void"/>
2720 <method name="has_allocation"
2721 c:identifier="clutter_actor_has_allocation"
2723 <doc xml:whitespace="preserve">Checks if the actor has an up-to-date allocation assigned to
2724 visible and has a parent. It also means that there is no
2725 outstanding relayout request in progress for the actor or its
2726 children (There might be other outstanding layout requests in
2727 progress that will cause the actor to get a new allocation
2728 when the stage is laid out, however).
2729 If this function returns %FALSE, then the actor will normally
2730 be allocated before it is next drawn on the screen.</doc>
2731 <return-value transfer-ownership="none">
2732 <doc xml:whitespace="preserve">%TRUE if the actor has an up-to-date allocation</doc>
2733 <type name="boolean" c:type="gboolean"/>
2736 <method name="get_accessible"
2737 c:identifier="clutter_actor_get_accessible">
2738 <doc xml:whitespace="preserve">Returns the accessible object that describes the actor to an
2739 assistive technology.
2740 If no class-specific #AtkObject implementation is available for the
2741 actor instance in question, it will inherit an #AtkObject
2742 implementation from the first ancestor class for which such an
2743 implementation is defined.
2744 The documentation of the <ulink
2745 url="http://developer.gnome.org/doc/API/2.0/atk/index.html">ATK</ulink>
2746 library contains more information about accessible objects and
2748 <return-value transfer-ownership="none">
2749 <doc xml:whitespace="preserve">the #AtkObject associated with @actor</doc>
2750 <type name="Atk.Object" c:type="AtkObject*"/>
2753 <method name="add_constraint"
2754 c:identifier="clutter_actor_add_constraint"
2756 <doc xml:whitespace="preserve">Adds @constraint to the list of #ClutterConstraint<!-- -->s applied
2758 The #ClutterActor will hold a reference on the @constraint until
2759 either clutter_actor_remove_constraint() or
2760 clutter_actor_clear_constraints() is called.</doc>
2761 <return-value transfer-ownership="none">
2762 <type name="none" c:type="void"/>
2765 <parameter name="constraint" transfer-ownership="none">
2766 <doc xml:whitespace="preserve">a #ClutterConstraint</doc>
2767 <type name="Constraint" c:type="ClutterConstraint*"/>
2771 <method name="add_constraint_with_name"
2772 c:identifier="clutter_actor_add_constraint_with_name"
2774 <doc xml:whitespace="preserve">A convenience function for setting the name of a #ClutterConstraint
2775 while adding it to the list of constraints applied to @self
2776 This function is the logical equivalent of:
2778 clutter_actor_meta_set_name (CLUTTER_ACTOR_META (constraint), name);
2779 clutter_actor_add_constraint (self, constraint);
2781 <return-value transfer-ownership="none">
2782 <type name="none" c:type="void"/>
2785 <parameter name="name" transfer-ownership="none">
2786 <doc xml:whitespace="preserve">the name to set on the constraint</doc>
2787 <type name="utf8" c:type="gchar*"/>
2789 <parameter name="constraint" transfer-ownership="none">
2790 <doc xml:whitespace="preserve">a #ClutterConstraint</doc>
2791 <type name="Constraint" c:type="ClutterConstraint*"/>
2795 <method name="remove_constraint"
2796 c:identifier="clutter_actor_remove_constraint"
2798 <doc xml:whitespace="preserve">Removes @constraint from the list of constraints applied to @self
2799 The reference held by @self on the #ClutterConstraint will be released</doc>
2800 <return-value transfer-ownership="none">
2801 <type name="none" c:type="void"/>
2804 <parameter name="constraint" transfer-ownership="none">
2805 <doc xml:whitespace="preserve">a #ClutterConstraint</doc>
2806 <type name="Constraint" c:type="ClutterConstraint*"/>
2810 <method name="remove_constraint_by_name"
2811 c:identifier="clutter_actor_remove_constraint_by_name"
2813 <doc xml:whitespace="preserve">Removes the #ClutterConstraint with the given name from the list
2814 of constraints applied to @self</doc>
2815 <return-value transfer-ownership="none">
2816 <type name="none" c:type="void"/>
2819 <parameter name="name" transfer-ownership="none">
2820 <doc xml:whitespace="preserve">the name of the constraint to remove</doc>
2821 <type name="utf8" c:type="gchar*"/>
2825 <method name="get_constraints"
2826 c:identifier="clutter_actor_get_constraints"
2828 <doc xml:whitespace="preserve">Retrieves the list of constraints applied to @self
2829 of the list of #ClutterConstraint<!-- -->s. The contents of the list are
2830 owned by the #ClutterActor. Use g_list_free() to free the resources
2831 allocated by the returned #GList</doc>
2832 <return-value transfer-ownership="container">
2833 <doc xml:whitespace="preserve">a copy</doc>
2834 <type name="GLib.List" c:type="GList*">
2835 <type name="Constraint"/>
2839 <method name="get_constraint"
2840 c:identifier="clutter_actor_get_constraint"
2842 <doc xml:whitespace="preserve">Retrieves the #ClutterConstraint with the given name in the list
2843 of constraints applied to @self
2844 name, or %NULL. The returned #ClutterConstraint is owned by the
2845 actor and it should not be unreferenced directly</doc>
2846 <return-value transfer-ownership="none">
2847 <doc xml:whitespace="preserve">a #ClutterConstraint for the given</doc>
2848 <type name="Constraint" c:type="ClutterConstraint*"/>
2851 <parameter name="name" transfer-ownership="none">
2852 <doc xml:whitespace="preserve">the name of the constraint to retrieve</doc>
2853 <type name="utf8" c:type="gchar*"/>
2857 <method name="clear_constraints"
2858 c:identifier="clutter_actor_clear_constraints"
2860 <doc xml:whitespace="preserve">Clears the list of constraints applied to @self</doc>
2861 <return-value transfer-ownership="none">
2862 <type name="none" c:type="void"/>
2865 <method name="animate"
2866 c:identifier="clutter_actor_animate"
2869 <doc xml:whitespace="preserve">Animates the given list of properties of @actor between the current
2870 value for each property and a new final value. The animation has a
2871 definite duration and a speed given by the @mode.
2874 clutter_actor_animate (rectangle, CLUTTER_LINEAR, 250,
2879 will make width and height properties of the #ClutterActor "rectangle"
2880 grow linearly between the current value and 100 pixels, in 250 milliseconds.
2881 The animation @mode is a logical id, either from the #ClutterAnimationMode
2882 enumeration of from clutter_alpha_register_func().
2883 All the properties specified will be animated between the current value
2884 and the final value. If a property should be set at the beginning of
2885 the animation but not updated during the animation, it should be prefixed
2886 by the "fixed::" string, for instance:
2888 clutter_actor_animate (actor, CLUTTER_EASE_IN_SINE, 100,
2889 "rotation-angle-z", 360.0,
2890 "fixed::rotation-center-z", &amp;center,
2893 Will animate the "rotation-angle-z" property between the current value
2894 and 360 degrees, and set the "rotation-center-z" property to the fixed
2895 value of the #ClutterVertex "center".
2896 This function will implicitly create a #ClutterAnimation object which
2897 will be assigned to the @actor and will be returned to the developer
2898 to control the animation or to know when the animation has been
2900 If a name argument starts with "signal::", "signal-after::",
2901 "signal-swapped::" or "signal-swapped-after::" the two following arguments
2902 are used as callback function and data for a signal handler installed on
2903 the #ClutterAnimation object for the specified signal name, for instance:
2906 on_animation_completed (ClutterAnimation *animation,
2907 ClutterActor *actor)
2909 clutter_actor_hide (actor);
2911 clutter_actor_animate (actor, CLUTTER_EASE_IN_CUBIC, 100,
2913 "signal::completed", on_animation_completed, actor,
2916 or, to automatically destroy an actor at the end of the animation:
2918 clutter_actor_animate (actor, CLUTTER_EASE_IN_CUBIC, 100,
2920 "signal-swapped-after::completed",
2921 clutter_actor_destroy,
2925 The "signal::" modifier is the equivalent of using g_signal_connect();
2926 the "signal-after::" modifier is the equivalent of using
2927 g_signal_connect_after() or g_signal_connect_data() with the
2928 %G_CONNECT_AFTER; the "signal-swapped::" modifier is the equivalent
2929 of using g_signal_connect_swapped() or g_signal_connect_data() with the
2930 %G_CONNECT_SWAPPED flah; finally, the "signal-swapped-after::" modifier
2931 is the equivalent of using g_signal_connect_data() with both the
2932 %G_CONNECT_AFTER and %G_CONNECT_SWAPPED flags. The clutter_actor_animate()
2933 function will not keep track of multiple connections to the same signal,
2934 so it is your responsability to avoid them when calling
2935 clutter_actor_animate() multiple times on the same actor.
2936 Calling this function on an actor that is already being animated
2937 will cause the current animation to change with the new final values,
2938 the new easing mode and the new duration - that is, this code:
2940 clutter_actor_animate (actor, CLUTTER_LINEAR, 250,
2944 clutter_actor_animate (actor, CLUTTER_EASE_IN_CUBIC, 500,
2950 is the equivalent of:
2952 clutter_actor_animate (actor, CLUTTER_EASE_IN_CUBIC, 500,
2959 <note>Unless the animation is looping, the #ClutterAnimation created by
2960 clutter_actor_animate() will become invalid as soon as it is
2961 complete.</note>
2962 Since the created #ClutterAnimation instance attached to @actor
2963 is guaranteed to be valid throughout the #ClutterAnimation::completed
2964 signal emission chain, you will not be able to create a new animation
2965 using clutter_actor_animate() on the same @actor from within the
2966 #ClutterAnimation::completed signal handler unless you use
2967 g_signal_connect_after() to connect the callback function, for instance:
2970 on_animation_completed (ClutterAnimation *animation,
2971 ClutterActor *actor)
2973 clutter_actor_animate (actor, CLUTTER_EASE_OUT_CUBIC, 250,
2979 animation = clutter_actor_animate (actor, CLUTTER_EASE_IN_CUBIC, 250,
2983 g_signal_connect (animation, "completed",
2984 G_CALLBACK (on_animation_completed),
2988 owned by the #ClutterActor and should not be unreferenced with
2989 g_object_unref()</doc>
2990 <return-value transfer-ownership="none">
2991 <doc xml:whitespace="preserve">a #ClutterAnimation object. The object is</doc>
2992 <type name="Animation" c:type="ClutterAnimation*"/>
2995 <parameter name="mode" transfer-ownership="none">
2996 <doc xml:whitespace="preserve">an animation mode logical id</doc>
2997 <type name="ulong" c:type="gulong"/>
2999 <parameter name="duration" transfer-ownership="none">
3000 <doc xml:whitespace="preserve">duration of the animation, in milliseconds</doc>
3001 <type name="uint" c:type="guint"/>
3003 <parameter name="first_property_name" transfer-ownership="none">
3004 <doc xml:whitespace="preserve">the name of a property</doc>
3005 <type name="utf8" c:type="gchar*"/>
3007 <parameter transfer-ownership="none">
3013 <method name="animate_with_timeline"
3014 c:identifier="clutter_actor_animate_with_timeline"
3017 <doc xml:whitespace="preserve">Animates the given list of properties of @actor between the current
3018 value for each property and a new final value. The animation has a
3019 definite duration given by @timeline and a speed given by the @mode.
3020 See clutter_actor_animate() for further details.
3021 This function is useful if you want to use an existing timeline
3023 owned by the #ClutterActor and should not be unreferenced with
3024 g_object_unref()</doc>
3025 <return-value transfer-ownership="none">
3026 <doc xml:whitespace="preserve">a #ClutterAnimation object. The object is</doc>
3027 <type name="Animation" c:type="ClutterAnimation*"/>
3030 <parameter name="mode" transfer-ownership="none">
3031 <doc xml:whitespace="preserve">an animation mode logical id</doc>
3032 <type name="ulong" c:type="gulong"/>
3034 <parameter name="timeline" transfer-ownership="none">
3035 <doc xml:whitespace="preserve">a #ClutterTimeline</doc>
3036 <type name="Timeline" c:type="ClutterTimeline*"/>
3038 <parameter name="first_property_name" transfer-ownership="none">
3039 <doc xml:whitespace="preserve">the name of a property</doc>
3040 <type name="utf8" c:type="gchar*"/>
3042 <parameter transfer-ownership="none">
3048 <method name="animate_with_alpha"
3049 c:identifier="clutter_actor_animate_with_alpha"
3052 <doc xml:whitespace="preserve">Animates the given list of properties of @actor between the current
3053 value for each property and a new final value. The animation has a
3054 definite behaviour given by the passed @alpha.
3055 See clutter_actor_animate() for further details.
3056 This function is useful if you want to use an existing #ClutterAlpha
3058 #ClutterActor and should not be unreferenced with g_object_unref()</doc>
3059 <return-value transfer-ownership="none">
3060 <doc xml:whitespace="preserve">a #ClutterAnimation object. The object is owned by the</doc>
3061 <type name="Animation" c:type="ClutterAnimation*"/>
3064 <parameter name="alpha" transfer-ownership="none">
3065 <doc xml:whitespace="preserve">a #ClutterAlpha</doc>
3066 <type name="Alpha" c:type="ClutterAlpha*"/>
3068 <parameter name="first_property_name" transfer-ownership="none">
3069 <doc xml:whitespace="preserve">the name of a property</doc>
3070 <type name="utf8" c:type="gchar*"/>
3072 <parameter transfer-ownership="none">
3078 <method name="animatev"
3079 c:identifier="clutter_actor_animatev"
3081 <doc xml:whitespace="preserve">Animates the given list of properties of @actor between the current
3082 value for each property and a new final value. The animation has a
3083 definite duration and a speed given by the @mode.
3084 This is the vector-based variant of clutter_actor_animate(), useful
3085 for language bindings.
3086 <warning>Unlike clutter_actor_animate(), this function will not
3087 allow you to specify "signal::" names and callbacks.</warning>
3088 owned by the #ClutterActor and should not be unreferenced with
3089 g_object_unref()</doc>
3090 <return-value transfer-ownership="none">
3091 <doc xml:whitespace="preserve">a #ClutterAnimation object. The object is</doc>
3092 <type name="Animation" c:type="ClutterAnimation*"/>
3095 <parameter name="mode" transfer-ownership="none">
3096 <doc xml:whitespace="preserve">an animation mode logical id</doc>
3097 <type name="ulong" c:type="gulong"/>
3099 <parameter name="duration" transfer-ownership="none">
3100 <doc xml:whitespace="preserve">duration of the animation, in milliseconds</doc>
3101 <type name="uint" c:type="guint"/>
3103 <parameter name="n_properties" transfer-ownership="none">
3104 <doc xml:whitespace="preserve">number of property names and values</doc>
3105 <type name="int" c:type="gint"/>
3107 <parameter name="properties" transfer-ownership="none">
3108 <doc xml:whitespace="preserve">a vector containing the property names to set</doc>
3109 <array length="3" c:type="gchar*">
3113 <parameter name="values" transfer-ownership="none">
3114 <doc xml:whitespace="preserve">a vector containing the property values to set</doc>
3115 <array length="3" c:type="GValue*">
3116 <type name="GObject.Value"/>
3121 <method name="animate_with_timelinev"
3122 c:identifier="clutter_actor_animate_with_timelinev"
3124 <doc xml:whitespace="preserve">Animates the given list of properties of @actor between the current
3125 value for each property and a new final value. The animation has a
3126 definite duration given by @timeline and a speed given by the @mode.
3127 See clutter_actor_animate() for further details.
3128 This function is useful if you want to use an existing timeline
3130 This is the vector-based variant of clutter_actor_animate_with_timeline(),
3131 useful for language bindings.
3132 <warning>Unlike clutter_actor_animate_with_timeline(), this function
3133 will not allow you to specify "signal::" names and callbacks.</warning>
3134 owned by the #ClutterActor and should not be unreferenced with
3135 g_object_unref()</doc>
3136 <return-value transfer-ownership="none">
3137 <doc xml:whitespace="preserve">a #ClutterAnimation object. The object is</doc>
3138 <type name="Animation" c:type="ClutterAnimation*"/>
3141 <parameter name="mode" transfer-ownership="none">
3142 <doc xml:whitespace="preserve">an animation mode logical id</doc>
3143 <type name="ulong" c:type="gulong"/>
3145 <parameter name="timeline" transfer-ownership="none">
3146 <doc xml:whitespace="preserve">a #ClutterTimeline</doc>
3147 <type name="Timeline" c:type="ClutterTimeline*"/>
3149 <parameter name="n_properties" transfer-ownership="none">
3150 <doc xml:whitespace="preserve">number of property names and values</doc>
3151 <type name="int" c:type="gint"/>
3153 <parameter name="properties" transfer-ownership="none">
3154 <doc xml:whitespace="preserve">a vector containing the property names to set</doc>
3155 <array length="3" c:type="gchar*">
3159 <parameter name="values" transfer-ownership="none">
3160 <doc xml:whitespace="preserve">a vector containing the property values to set</doc>
3161 <array length="3" c:type="GValue*">
3162 <type name="GObject.Value"/>
3167 <method name="animate_with_alphav"
3168 c:identifier="clutter_actor_animate_with_alphav"
3170 <doc xml:whitespace="preserve">Animates the given list of properties of @actor between the current
3171 value for each property and a new final value. The animation has a
3172 definite behaviour given by the passed @alpha.
3173 See clutter_actor_animate() for further details.
3174 This function is useful if you want to use an existing #ClutterAlpha
3176 This is the vector-based variant of clutter_actor_animate_with_alpha(),
3177 useful for language bindings.
3178 <warning>Unlike clutter_actor_animate_with_alpha(), this function will
3179 not allow you to specify "signal::" names and callbacks.</warning>
3180 #ClutterActor and should not be unreferenced with g_object_unref()</doc>
3181 <return-value transfer-ownership="none">
3182 <doc xml:whitespace="preserve">a #ClutterAnimation object. The object is owned by the</doc>
3183 <type name="Animation" c:type="ClutterAnimation*"/>
3186 <parameter name="alpha" transfer-ownership="none">
3187 <doc xml:whitespace="preserve">a #ClutterAlpha</doc>
3188 <type name="Alpha" c:type="ClutterAlpha*"/>
3190 <parameter name="n_properties" transfer-ownership="none">
3191 <doc xml:whitespace="preserve">number of property names and values</doc>
3192 <type name="int" c:type="gint"/>
3194 <parameter name="properties" transfer-ownership="none">
3195 <doc xml:whitespace="preserve">a vector containing the property names to set</doc>
3196 <array length="2" c:type="gchar*">
3200 <parameter name="values" transfer-ownership="none">
3201 <doc xml:whitespace="preserve">a vector containing the property values to set</doc>
3202 <array length="2" c:type="GValue*">
3203 <type name="GObject.Value"/>
3208 <method name="get_animation"
3209 c:identifier="clutter_actor_get_animation"
3211 <doc xml:whitespace="preserve">Retrieves the #ClutterAnimation used by @actor, if clutter_actor_animate()
3212 has been called on @actor.</doc>
3213 <return-value transfer-ownership="none">
3214 <doc xml:whitespace="preserve">a #ClutterAnimation, or %NULL</doc>
3215 <type name="Animation" c:type="ClutterAnimation*"/>
3218 <property name="actions"
3222 transfer-ownership="none">
3223 <doc xml:whitespace="preserve">Adds a #ClutterAction to the actor</doc>
3224 <type name="Action" c:type="ClutterAction"/>
3226 <property name="allocation" version="0.8" transfer-ownership="none">
3227 <doc xml:whitespace="preserve">The allocation for the actor, in pixels
3228 This is property is read-only, but you might monitor it to know when an
3229 actor moves or resizes</doc>
3230 <type name="ActorBox" c:type="ClutterActorBox"/>
3232 <property name="anchor-gravity"
3235 transfer-ownership="none">
3236 <doc xml:whitespace="preserve">The anchor point expressed as a #ClutterGravity</doc>
3237 <type name="Gravity" c:type="ClutterGravity"/>
3239 <property name="anchor-x"
3242 transfer-ownership="none">
3243 <doc xml:whitespace="preserve">The X coordinate of an actor's anchor point, relative to
3244 the actor coordinate space, in pixels</doc>
3245 <type name="float" c:type="gfloat"/>
3247 <property name="anchor-y"
3250 transfer-ownership="none">
3251 <doc xml:whitespace="preserve">The Y coordinate of an actor's anchor point, relative to
3252 the actor coordinate space, in pixels</doc>
3253 <type name="float" c:type="gfloat"/>
3255 <property name="clip" writable="1" transfer-ownership="none">
3256 <doc xml:whitespace="preserve">The clip region for the actor, in actor-relative coordinates
3257 Every part of the actor outside the clip region will not be
3259 <type name="Geometry" c:type="ClutterGeometry"/>
3261 <property name="clip-to-allocation"
3264 transfer-ownership="none">
3265 <doc xml:whitespace="preserve">Whether the clip region should track the allocated area
3267 This property is ignored if a clip area has been explicitly
3268 set using clutter_actor_set_clip().</doc>
3269 <type name="boolean" c:type="gboolean"/>
3271 <property name="constraints"
3275 transfer-ownership="none">
3276 <doc xml:whitespace="preserve">Adds a #ClutterConstaint to the actor</doc>
3277 <type name="Constraint" c:type="ClutterConstraint"/>
3279 <property name="depth"
3282 transfer-ownership="none">
3283 <doc xml:whitespace="preserve">The position of the actor on the Z axis</doc>
3284 <type name="float" c:type="gfloat"/>
3286 <property name="effect"
3290 transfer-ownership="none">
3291 <doc xml:whitespace="preserve">Adds #ClutterEffect to the list of effects be applied on a #ClutterActor</doc>
3292 <type name="Effect" c:type="ClutterEffect"/>
3294 <property name="fixed-position-set"
3297 transfer-ownership="none">
3298 <doc xml:whitespace="preserve">This flag controls whether the #ClutterActor:fixed-x and
3299 #ClutterActor:fixed-y properties are used</doc>
3300 <type name="boolean" c:type="gboolean"/>
3302 <property name="fixed-x"
3305 transfer-ownership="none">
3306 <doc xml:whitespace="preserve">The fixed X position of the actor in pixels.
3307 Writing this property sets #ClutterActor:fixed-position-set
3308 property as well, as a side effect</doc>
3309 <type name="float" c:type="gfloat"/>
3311 <property name="fixed-y"
3314 transfer-ownership="none">
3315 <doc xml:whitespace="preserve">The fixed Y position of the actor in pixels.
3316 Writing this property sets the #ClutterActor:fixed-position-set
3317 property as well, as a side effect</doc>
3318 <type name="float" c:type="gfloat"/>
3320 <property name="has-clip" transfer-ownership="none">
3321 <doc xml:whitespace="preserve">Whether the actor has the #ClutterActor:clip property set or not</doc>
3322 <type name="boolean" c:type="gboolean"/>
3324 <property name="has-pointer" version="1.2" transfer-ownership="none">
3325 <doc xml:whitespace="preserve">Whether the actor contains the pointer of a #ClutterInputDevice
3327 <type name="boolean" c:type="gboolean"/>
3329 <property name="height" writable="1" transfer-ownership="none">
3330 <doc xml:whitespace="preserve">Height of the actor (in pixels). If written, forces the minimum and
3331 natural size request of the actor to the given height. If read, returns
3332 the allocated height if available, otherwise the height request.</doc>
3333 <type name="float" c:type="gfloat"/>
3335 <property name="mapped" version="1.0" transfer-ownership="none">
3336 <doc xml:whitespace="preserve">Whether the actor is mapped (will be painted when the stage
3337 to which it belongs is mapped)</doc>
3338 <type name="boolean" c:type="gboolean"/>
3340 <property name="min-height"
3343 transfer-ownership="none">
3344 <doc xml:whitespace="preserve">A forced minimum height request for the actor, in pixels
3345 Writing this property sets the #ClutterActor:min-height-set property
3346 as well, as a side effect. This property overrides the usual height
3347 request of the actor.</doc>
3348 <type name="float" c:type="gfloat"/>
3350 <property name="min-height-set"
3353 transfer-ownership="none">
3354 <doc xml:whitespace="preserve">This flag controls whether the #ClutterActor:min-height property
3356 <type name="boolean" c:type="gboolean"/>
3358 <property name="min-width"
3361 transfer-ownership="none">
3362 <doc xml:whitespace="preserve">A forced minimum width request for the actor, in pixels
3363 Writing this property sets the #ClutterActor:min-width-set property
3364 as well, as a side effect.
3365 This property overrides the usual width request of the actor.</doc>
3366 <type name="float" c:type="gfloat"/>
3368 <property name="min-width-set"
3371 transfer-ownership="none">
3372 <doc xml:whitespace="preserve">This flag controls whether the #ClutterActor:min-width property
3374 <type name="boolean" c:type="gboolean"/>
3376 <property name="name"
3379 transfer-ownership="none">
3380 <doc xml:whitespace="preserve">The name of the actor</doc>
3381 <type name="utf8" c:type="gchararray"/>
3383 <property name="natural-height"
3386 transfer-ownership="none">
3387 <doc xml:whitespace="preserve">A forced natural height request for the actor, in pixels
3388 Writing this property sets the #ClutterActor:natural-height-set
3389 property as well, as a side effect. This property overrides the
3390 usual height request of the actor</doc>
3391 <type name="float" c:type="gfloat"/>
3393 <property name="natural-height-set"
3396 transfer-ownership="none">
3397 <doc xml:whitespace="preserve">This flag controls whether the #ClutterActor:natural-height property
3399 <type name="boolean" c:type="gboolean"/>
3401 <property name="natural-width"
3404 transfer-ownership="none">
3405 <doc xml:whitespace="preserve">A forced natural width request for the actor, in pixels
3406 Writing this property sets the #ClutterActor:natural-width-set
3407 property as well, as a side effect. This property overrides the
3408 usual width request of the actor</doc>
3409 <type name="float" c:type="gfloat"/>
3411 <property name="natural-width-set"
3414 transfer-ownership="none">
3415 <doc xml:whitespace="preserve">This flag controls whether the #ClutterActor:natural-width property
3417 <type name="boolean" c:type="gboolean"/>
3419 <property name="opacity" writable="1" transfer-ownership="none">
3420 <doc xml:whitespace="preserve">Opacity of an actor, between 0 (fully transparent) and
3421 255 (fully opaque)</doc>
3422 <type name="uint" c:type="guint"/>
3424 <property name="reactive"
3427 transfer-ownership="none">
3428 <doc xml:whitespace="preserve">Whether the actor is reactive to events or not
3429 Only reactive actors will emit event-related signals</doc>
3430 <type name="boolean" c:type="gboolean"/>
3432 <property name="realized" version="1.0" transfer-ownership="none">
3433 <doc xml:whitespace="preserve">Whether the actor has been realized</doc>
3434 <type name="boolean" c:type="gboolean"/>
3436 <property name="request-mode"
3439 transfer-ownership="none">
3440 <doc xml:whitespace="preserve">Request mode for the #ClutterActor. The request mode determines the
3441 type of geometry management used by the actor, either height for width
3442 (the default) or width for height.
3443 For actors implementing height for width, the parent container should get
3444 the preferred width first, and then the preferred height for that width.
3445 For actors implementing width for height, the parent container should get
3446 the preferred height first, and then the preferred width for that height.
3449 ClutterRequestMode mode;
3450 gfloat natural_width, min_width;
3451 gfloat natural_height, min_height;
3452 mode = clutter_actor_get_request_mode (child);
3453 if (mode == CLUTTER_REQUEST_HEIGHT_FOR_WIDTH)
3455 clutter_actor_get_preferred_width (child, -1,
3457 &amp;natural_width);
3458 clutter_actor_get_preferred_height (child, natural_width,
3459 &amp;min_height,
3460 &amp;natural_height);
3464 clutter_actor_get_preferred_height (child, -1,
3465 &amp;min_height,
3466 &amp;natural_height);
3467 clutter_actor_get_preferred_width (child, natural_height,
3469 &amp;natural_width);
3472 will retrieve the minimum and natural width and height depending on the
3473 preferred request mode of the #ClutterActor "child".
3474 The clutter_actor_get_preferred_size() function will implement this
3475 check for you.</doc>
3476 <type name="RequestMode" c:type="ClutterRequestMode"/>
3478 <property name="rotation-angle-x"
3481 transfer-ownership="none">
3482 <doc xml:whitespace="preserve">The rotation angle on the X axis</doc>
3483 <type name="double" c:type="gdouble"/>
3485 <property name="rotation-angle-y"
3488 transfer-ownership="none">
3489 <doc xml:whitespace="preserve">The rotation angle on the Y axis</doc>
3490 <type name="double" c:type="gdouble"/>
3492 <property name="rotation-angle-z"
3495 transfer-ownership="none">
3496 <doc xml:whitespace="preserve">The rotation angle on the Z axis</doc>
3497 <type name="double" c:type="gdouble"/>
3499 <property name="rotation-center-x"
3502 transfer-ownership="none">
3503 <doc xml:whitespace="preserve">The rotation center on the X axis.</doc>
3504 <type name="Vertex" c:type="ClutterVertex"/>
3506 <property name="rotation-center-y"
3509 transfer-ownership="none">
3510 <doc xml:whitespace="preserve">The rotation center on the Y axis.</doc>
3511 <type name="Vertex" c:type="ClutterVertex"/>
3513 <property name="rotation-center-z"
3516 transfer-ownership="none">
3517 <doc xml:whitespace="preserve">The rotation center on the Z axis.</doc>
3518 <type name="Vertex" c:type="ClutterVertex"/>
3520 <property name="rotation-center-z-gravity"
3523 transfer-ownership="none">
3524 <doc xml:whitespace="preserve">The rotation center on the Z axis expressed as a #ClutterGravity.</doc>
3525 <type name="Gravity" c:type="ClutterGravity"/>
3527 <property name="scale-center-x"
3530 transfer-ownership="none">
3531 <doc xml:whitespace="preserve">The horizontal center point for scaling</doc>
3532 <type name="float" c:type="gfloat"/>
3534 <property name="scale-center-y"
3537 transfer-ownership="none">
3538 <doc xml:whitespace="preserve">The vertical center point for scaling</doc>
3539 <type name="float" c:type="gfloat"/>
3541 <property name="scale-gravity"
3544 transfer-ownership="none">
3545 <doc xml:whitespace="preserve">The center point for scaling expressed as a #ClutterGravity</doc>
3546 <type name="Gravity" c:type="ClutterGravity"/>
3548 <property name="scale-x"
3551 transfer-ownership="none">
3552 <doc xml:whitespace="preserve">The horizontal scale of the actor</doc>
3553 <type name="double" c:type="gdouble"/>
3555 <property name="scale-y"
3558 transfer-ownership="none">
3559 <doc xml:whitespace="preserve">The vertical scale of the actor</doc>
3560 <type name="double" c:type="gdouble"/>
3562 <property name="show-on-set-parent"
3565 transfer-ownership="none">
3566 <doc xml:whitespace="preserve">If %TRUE, the actor is automatically shown when parented.
3567 Calling clutter_actor_hide() on an actor which has not been
3568 parented will set this property to %FALSE as a side effect.</doc>
3569 <type name="boolean" c:type="gboolean"/>
3571 <property name="text-direction" writable="1" transfer-ownership="none">
3572 <type name="TextDirection" c:type="ClutterTextDirection"/>
3574 <property name="visible" writable="1" transfer-ownership="none">
3575 <doc xml:whitespace="preserve">Whether the actor is set to be visible or not
3576 See also #ClutterActor:mapped</doc>
3577 <type name="boolean" c:type="gboolean"/>
3579 <property name="width" writable="1" transfer-ownership="none">
3580 <doc xml:whitespace="preserve">Width of the actor (in pixels). If written, forces the minimum and
3581 natural size request of the actor to the given width. If read, returns
3582 the allocated width if available, otherwise the width request.</doc>
3583 <type name="float" c:type="gfloat"/>
3585 <property name="x" writable="1" transfer-ownership="none">
3586 <doc xml:whitespace="preserve">X coordinate of the actor in pixels. If written, forces a fixed
3587 position for the actor. If read, returns the fixed position if any,
3588 otherwise the allocation if available, otherwise 0.</doc>
3589 <type name="float" c:type="gfloat"/>
3591 <property name="y" writable="1" transfer-ownership="none">
3592 <doc xml:whitespace="preserve">Y coordinate of the actor in pixels. If written, forces a fixed
3593 position for the actor. If read, returns the fixed position if
3594 any, otherwise the allocation if available, otherwise 0.</doc>
3595 <type name="float" c:type="gfloat"/>
3597 <field name="parent_instance">
3598 <type name="GObject.InitiallyUnowned" c:type="GInitiallyUnowned"/>
3600 <field name="flags">
3601 <type name="uint32" c:type="guint32"/>
3603 <field name="private_flags">
3604 <type name="uint32" c:type="guint32"/>
3607 <type name="ActorPrivate" c:type="ClutterActorPrivate*"/>
3609 <glib:signal name="allocation-changed" version="1.0">
3610 <doc xml:whitespace="preserve">The ::allocation-changed signal is emitted when the
3611 #ClutterActor:allocation property changes. Usually, application
3612 code should just use the notifications for the :allocation property
3613 but if you want to track the allocation flags as well, for instance
3614 to know whether the absolute origin of @actor changed, then you might
3615 want use this signal instead.</doc>
3616 <return-value transfer-ownership="full">
3617 <type name="none" c:type="void"/>
3620 <parameter name="box" transfer-ownership="none">
3621 <doc xml:whitespace="preserve">a #ClutterActorBox with the new allocation</doc>
3622 <type name="ActorBox" c:type="ClutterActorBox"/>
3624 <parameter name="flags" transfer-ownership="none">
3625 <doc xml:whitespace="preserve">#ClutterAllocationFlags for the allocation</doc>
3626 <type name="AllocationFlags" c:type="ClutterAllocationFlags"/>
3630 <glib:signal name="button-press-event" version="0.6">
3631 <doc xml:whitespace="preserve">The ::button-press-event signal is emitted each time a mouse button
3632 is pressed on @actor.
3633 or %FALSE to continue the emission.</doc>
3634 <return-value transfer-ownership="full">
3635 <doc xml:whitespace="preserve">%TRUE if the event has been handled by the actor,</doc>
3636 <type name="boolean" c:type="gboolean"/>
3639 <parameter name="event" transfer-ownership="none">
3640 <doc xml:whitespace="preserve">a #ClutterButtonEvent</doc>
3641 <type name="Event" c:type="ClutterEvent"/>
3645 <glib:signal name="button-release-event" version="0.6">
3646 <doc xml:whitespace="preserve">The ::button-release-event signal is emitted each time a mouse button
3647 is released on @actor.
3648 or %FALSE to continue the emission.</doc>
3649 <return-value transfer-ownership="full">
3650 <doc xml:whitespace="preserve">%TRUE if the event has been handled by the actor,</doc>
3651 <type name="boolean" c:type="gboolean"/>
3654 <parameter name="event" transfer-ownership="none">
3655 <doc xml:whitespace="preserve">a #ClutterButtonEvent</doc>
3656 <type name="Event" c:type="ClutterEvent"/>
3660 <glib:signal name="captured-event" version="0.6">
3661 <doc xml:whitespace="preserve">The ::captured-event signal is emitted when an event is captured
3662 by Clutter. This signal will be emitted starting from the top-level
3663 container (the #ClutterStage) to the actor which received the event
3664 going down the hierarchy. This signal can be used to intercept every
3665 event before the specialized events (like
3666 ClutterActor::button-press-event or ::key-released-event) are
3668 or %FALSE to continue the emission.</doc>
3669 <return-value transfer-ownership="full">
3670 <doc xml:whitespace="preserve">%TRUE if the event has been handled by the actor,</doc>
3671 <type name="boolean" c:type="gboolean"/>
3674 <parameter name="event" transfer-ownership="none">
3675 <doc xml:whitespace="preserve">a #ClutterEvent</doc>
3676 <type name="Event" c:type="ClutterEvent"/>
3680 <glib:signal name="destroy" version="0.2">
3681 <doc xml:whitespace="preserve">The ::destroy signal is emitted when an actor is destroyed,
3682 either by direct invocation of clutter_actor_destroy() or
3683 when the #ClutterGroup that contains the actor is destroyed.</doc>
3684 <return-value transfer-ownership="full">
3685 <type name="none" c:type="void"/>
3688 <glib:signal name="enter-event" version="0.6">
3689 <doc xml:whitespace="preserve">The ::enter-event signal is emitted when the pointer enters the @actor
3690 or %FALSE to continue the emission.</doc>
3691 <return-value transfer-ownership="full">
3692 <doc xml:whitespace="preserve">%TRUE if the event has been handled by the actor,</doc>
3693 <type name="boolean" c:type="gboolean"/>
3696 <parameter name="event" transfer-ownership="none">
3697 <doc xml:whitespace="preserve">a #ClutterCrossingEvent</doc>
3698 <type name="Event" c:type="ClutterEvent"/>
3702 <glib:signal name="event" version="0.6">
3703 <doc xml:whitespace="preserve">The ::event signal is emitted each time an event is received
3704 by the @actor. This signal will be emitted on every actor,
3705 following the hierarchy chain, until it reaches the top-level
3706 container (the #ClutterStage).
3707 or %FALSE to continue the emission.</doc>
3708 <return-value transfer-ownership="full">
3709 <doc xml:whitespace="preserve">%TRUE if the event has been handled by the actor,</doc>
3710 <type name="boolean" c:type="gboolean"/>
3713 <parameter name="event" transfer-ownership="none">
3714 <doc xml:whitespace="preserve">a #ClutterEvent</doc>
3715 <type name="Event" c:type="ClutterEvent"/>
3719 <glib:signal name="hide" version="0.2">
3720 <doc xml:whitespace="preserve">The ::hide signal is emitted when an actor is no longer rendered
3722 <return-value transfer-ownership="full">
3723 <type name="none" c:type="void"/>
3726 <glib:signal name="key-focus-in" version="0.6">
3727 <doc xml:whitespace="preserve">The ::key-focus-in signal is emitted when @actor receives key focus.</doc>
3728 <return-value transfer-ownership="full">
3729 <type name="none" c:type="void"/>
3732 <glib:signal name="key-focus-out" version="0.6">
3733 <doc xml:whitespace="preserve">The ::key-focus-out signal is emitted when @actor loses key focus.</doc>
3734 <return-value transfer-ownership="full">
3735 <type name="none" c:type="void"/>
3738 <glib:signal name="key-press-event" version="0.6">
3739 <doc xml:whitespace="preserve">The ::key-press-event signal is emitted each time a keyboard button
3740 is pressed while @actor has key focus (see clutter_stage_set_key_focus()).
3741 or %FALSE to continue the emission.</doc>
3742 <return-value transfer-ownership="full">
3743 <doc xml:whitespace="preserve">%TRUE if the event has been handled by the actor,</doc>
3744 <type name="boolean" c:type="gboolean"/>
3747 <parameter name="event" transfer-ownership="none">
3748 <doc xml:whitespace="preserve">a #ClutterKeyEvent</doc>
3749 <type name="Event" c:type="ClutterEvent"/>
3753 <glib:signal name="key-release-event" version="0.6">
3754 <doc xml:whitespace="preserve">The ::key-release-event signal is emitted each time a keyboard button
3755 is released while @actor has key focus (see
3756 clutter_stage_set_key_focus()).
3757 or %FALSE to continue the emission.</doc>
3758 <return-value transfer-ownership="full">
3759 <doc xml:whitespace="preserve">%TRUE if the event has been handled by the actor,</doc>
3760 <type name="boolean" c:type="gboolean"/>
3763 <parameter name="event" transfer-ownership="none">
3764 <doc xml:whitespace="preserve">a #ClutterKeyEvent</doc>
3765 <type name="Event" c:type="ClutterEvent"/>
3769 <glib:signal name="leave-event" version="0.6">
3770 <doc xml:whitespace="preserve">The ::leave-event signal is emitted when the pointer leaves the @actor.
3771 or %FALSE to continue the emission.</doc>
3772 <return-value transfer-ownership="full">
3773 <doc xml:whitespace="preserve">%TRUE if the event has been handled by the actor,</doc>
3774 <type name="boolean" c:type="gboolean"/>
3777 <parameter name="event" transfer-ownership="none">
3778 <doc xml:whitespace="preserve">a #ClutterCrossingEvent</doc>
3779 <type name="Event" c:type="ClutterEvent"/>
3783 <glib:signal name="motion-event" version="0.6">
3784 <doc xml:whitespace="preserve">The ::motion-event signal is emitted each time the mouse pointer is
3786 or %FALSE to continue the emission.</doc>
3787 <return-value transfer-ownership="full">
3788 <doc xml:whitespace="preserve">%TRUE if the event has been handled by the actor,</doc>
3789 <type name="boolean" c:type="gboolean"/>
3792 <parameter name="event" transfer-ownership="none">
3793 <doc xml:whitespace="preserve">a #ClutterMotionEvent</doc>
3794 <type name="Event" c:type="ClutterEvent"/>
3798 <glib:signal name="paint" version="0.8">
3799 <doc xml:whitespace="preserve">The ::paint signal is emitted each time an actor is being painted.
3800 Subclasses of #ClutterActor should override the class signal handler
3801 and paint themselves in that function.
3802 It is possible to connect a handler to the ::paint signal in order
3803 to set up some custom aspect of a paint.</doc>
3804 <return-value transfer-ownership="full">
3805 <type name="none" c:type="void"/>
3808 <glib:signal name="parent-set" version="0.2">
3809 <doc xml:whitespace="preserve">This signal is emitted when the parent of the actor changes.</doc>
3810 <return-value transfer-ownership="full">
3811 <type name="none" c:type="void"/>
3814 <parameter name="old_parent" transfer-ownership="none">
3815 <doc xml:whitespace="preserve">the previous parent of the actor, or %NULL</doc>
3816 <type name="Actor" c:type="ClutterActor"/>
3820 <glib:signal name="pick" version="1.0">
3821 <doc xml:whitespace="preserve">The ::pick signal is emitted each time an actor is being painted
3822 in "pick mode". The pick mode is used to identify the actor during
3823 the event handling phase, or by clutter_stage_get_actor_at_pos().
3824 The actor should paint its shape using the passed @pick_color.
3825 Subclasses of #ClutterActor should override the class signal handler
3826 and paint themselves in that function.
3827 It is possible to connect a handler to the ::pick signal in order
3828 to set up some custom aspect of a paint in pick mode.</doc>
3829 <return-value transfer-ownership="full">
3830 <type name="none" c:type="void"/>
3833 <parameter name="color" transfer-ownership="none">
3834 <doc xml:whitespace="preserve">the #ClutterColor to be used when picking</doc>
3835 <type name="Color" c:type="ClutterColor"/>
3839 <glib:signal name="queue-redraw" version="1.0">
3840 <doc xml:whitespace="preserve">The ::queue_redraw signal is emitted when clutter_actor_queue_redraw()
3841 is called on @origin.
3842 The default implementation for #ClutterActor chains up to the
3843 parent actor and queues a redraw on the parent, thus "bubbling"
3844 the redraw queue up through the actor graph. The default
3845 implementation for #ClutterStage queues a clutter_redraw() in a
3846 main loop idle handler.
3847 Note that the @origin actor may be the stage, or a container; it
3848 does not have to be a leaf node in the actor graph.
3849 Toolkits embedding a #ClutterStage which require a redraw and
3850 relayout cycle can stop the emission of this signal using the
3851 GSignal API, redraw the UI and then call clutter_redraw()
3855 on_redraw_complete (void)
3857 /&ast; execute the Clutter drawing pipeline &ast;/
3861 on_stage_queue_redraw (ClutterStage *stage)
3863 /&ast; this prevents the default handler to run &ast;/
3864 g_signal_stop_emission_by_name (stage, "queue-redraw");
3865 /&ast; queue a redraw with the host toolkit and call
3866 &ast; a function when the redraw has been completed
3868 queue_a_redraw (G_CALLBACK (on_redraw_complete));
3871 <note><para>This signal is emitted before the Clutter paint
3872 pipeline is executed. If you want to know when the pipeline has
3873 been completed you should connect to the ::paint signal on the
3874 Stage with g_signal_connect_after().</para></note></doc>
3875 <return-value transfer-ownership="full">
3876 <type name="none" c:type="void"/>
3879 <parameter name="origin" transfer-ownership="none">
3880 <doc xml:whitespace="preserve">the actor which initiated the redraw request</doc>
3881 <type name="Actor" c:type="ClutterActor"/>
3885 <glib:signal name="queue-relayout">
3886 <return-value transfer-ownership="full">
3887 <type name="none" c:type="void"/>
3890 <glib:signal name="realize" version="0.8">
3891 <doc xml:whitespace="preserve">The ::realize signal is emitted each time an actor is being
3893 <return-value transfer-ownership="full">
3894 <type name="none" c:type="void"/>
3897 <glib:signal name="scroll-event" version="0.6">
3898 <doc xml:whitespace="preserve">The ::scroll-event signal is emitted each time the mouse is
3900 or %FALSE to continue the emission.</doc>
3901 <return-value transfer-ownership="full">
3902 <doc xml:whitespace="preserve">%TRUE if the event has been handled by the actor,</doc>
3903 <type name="boolean" c:type="gboolean"/>
3906 <parameter name="event" transfer-ownership="none">
3907 <doc xml:whitespace="preserve">a #ClutterScrollEvent</doc>
3908 <type name="Event" c:type="ClutterEvent"/>
3912 <glib:signal name="show" version="0.2">
3913 <doc xml:whitespace="preserve">The ::show signal is emitted when an actor is visible and
3914 rendered on the stage.</doc>
3915 <return-value transfer-ownership="full">
3916 <type name="none" c:type="void"/>
3919 <glib:signal name="unrealize" version="0.8">
3920 <doc xml:whitespace="preserve">The ::unrealize signal is emitted each time an actor is being
3922 <return-value transfer-ownership="full">
3923 <type name="none" c:type="void"/>
3927 <record name="ActorBox"
3928 c:type="ClutterActorBox"
3929 glib:type-name="ClutterActorBox"
3930 glib:get-type="clutter_actor_box_get_type">
3931 <doc xml:whitespace="preserve">Bounding box of an actor. The coordinates of the top left and right bottom
3932 corners of an actor. The coordinates of the two points are expressed in
3933 pixels with sub-pixel precision</doc>
3934 <field name="x1" writable="1">
3935 <type name="float" c:type="gfloat"/>
3937 <field name="y1" writable="1">
3938 <type name="float" c:type="gfloat"/>
3940 <field name="x2" writable="1">
3941 <type name="float" c:type="gfloat"/>
3943 <field name="y2" writable="1">
3944 <type name="float" c:type="gfloat"/>
3946 <constructor name="new"
3947 c:identifier="clutter_actor_box_new"
3949 <doc xml:whitespace="preserve">Allocates a new #ClutterActorBox using the passed coordinates
3950 for the top left and bottom right points
3951 clutter_actor_box_free() to free the resources</doc>
3952 <return-value transfer-ownership="full">
3953 <doc xml:whitespace="preserve">the newly allocated #ClutterActorBox. Use</doc>
3954 <type name="ActorBox" c:type="ClutterActorBox*"/>
3957 <parameter name="x_1" transfer-ownership="none">
3958 <doc xml:whitespace="preserve">X coordinate of the top left point</doc>
3959 <type name="float" c:type="gfloat"/>
3961 <parameter name="y_1" transfer-ownership="none">
3962 <doc xml:whitespace="preserve">Y coordinate of the top left point</doc>
3963 <type name="float" c:type="gfloat"/>
3965 <parameter name="x_2" transfer-ownership="none">
3966 <doc xml:whitespace="preserve">X coordinate of the bottom right point</doc>
3967 <type name="float" c:type="gfloat"/>
3969 <parameter name="y_2" transfer-ownership="none">
3970 <doc xml:whitespace="preserve">Y coordinate of the bottom right point</doc>
3971 <type name="float" c:type="gfloat"/>
3975 <method name="copy" c:identifier="clutter_actor_box_copy" version="1.0">
3976 <doc xml:whitespace="preserve">Copies @box
3977 clutter_actor_box_free() to free the allocated resources</doc>
3978 <return-value transfer-ownership="full">
3979 <doc xml:whitespace="preserve">a newly allocated copy of #ClutterActorBox. Use</doc>
3980 <type name="ActorBox" c:type="ClutterActorBox*"/>
3983 <method name="free" c:identifier="clutter_actor_box_free" version="1.0">
3984 <doc xml:whitespace="preserve">Frees a #ClutterActorBox allocated using clutter_actor_box_new()
3985 or clutter_actor_box_copy()</doc>
3986 <return-value transfer-ownership="none">
3987 <type name="none" c:type="void"/>
3990 <method name="equal"
3991 c:identifier="clutter_actor_box_equal"
3993 <doc xml:whitespace="preserve">Checks @box_a and @box_b for equality</doc>
3994 <return-value transfer-ownership="none">
3995 <doc xml:whitespace="preserve">%TRUE if the passed #ClutterActorBox are equal</doc>
3996 <type name="boolean" c:type="gboolean"/>
3999 <parameter name="box_b" transfer-ownership="none">
4000 <doc xml:whitespace="preserve">a #ClutterActorBox</doc>
4001 <type name="ActorBox" c:type="ClutterActorBox*"/>
4005 <method name="get_x"
4006 c:identifier="clutter_actor_box_get_x"
4008 <doc xml:whitespace="preserve">Retrieves the X coordinate of the origin of @box</doc>
4009 <return-value transfer-ownership="none">
4010 <doc xml:whitespace="preserve">the X coordinate of the origin</doc>
4011 <type name="float" c:type="gfloat"/>
4014 <method name="get_y"
4015 c:identifier="clutter_actor_box_get_y"
4017 <doc xml:whitespace="preserve">Retrieves the Y coordinate of the origin of @box</doc>
4018 <return-value transfer-ownership="none">
4019 <doc xml:whitespace="preserve">the Y coordinate of the origin</doc>
4020 <type name="float" c:type="gfloat"/>
4023 <method name="get_width"
4024 c:identifier="clutter_actor_box_get_width"
4026 <doc xml:whitespace="preserve">Retrieves the width of the @box</doc>
4027 <return-value transfer-ownership="none">
4028 <doc xml:whitespace="preserve">the width of the box</doc>
4029 <type name="float" c:type="gfloat"/>
4032 <method name="get_height"
4033 c:identifier="clutter_actor_box_get_height"
4035 <doc xml:whitespace="preserve">Retrieves the height of the @box</doc>
4036 <return-value transfer-ownership="none">
4037 <doc xml:whitespace="preserve">the height of the box</doc>
4038 <type name="float" c:type="gfloat"/>
4041 <method name="get_origin"
4042 c:identifier="clutter_actor_box_get_origin"
4044 <doc xml:whitespace="preserve">Retrieves the origin of @box</doc>
4045 <return-value transfer-ownership="none">
4046 <type name="none" c:type="void"/>
4051 caller-allocates="0"
4052 transfer-ownership="full"
4054 <doc xml:whitespace="preserve">return location for the X coordinate, or %NULL</doc>
4055 <type name="float" c:type="gfloat*"/>
4059 caller-allocates="0"
4060 transfer-ownership="full"
4062 <doc xml:whitespace="preserve">return location for the Y coordinate, or %NULL</doc>
4063 <type name="float" c:type="gfloat*"/>
4067 <method name="get_size"
4068 c:identifier="clutter_actor_box_get_size"
4070 <doc xml:whitespace="preserve">Retrieves the size of @box</doc>
4071 <return-value transfer-ownership="none">
4072 <type name="none" c:type="void"/>
4075 <parameter name="width"
4077 caller-allocates="0"
4078 transfer-ownership="full"
4080 <doc xml:whitespace="preserve">return location for the width, or %NULL</doc>
4081 <type name="float" c:type="gfloat*"/>
4083 <parameter name="height"
4085 caller-allocates="0"
4086 transfer-ownership="full"
4088 <doc xml:whitespace="preserve">return location for the height, or %NULL</doc>
4089 <type name="float" c:type="gfloat*"/>
4093 <method name="get_area"
4094 c:identifier="clutter_actor_box_get_area"
4096 <doc xml:whitespace="preserve">Retrieves the area of @box</doc>
4097 <return-value transfer-ownership="none">
4098 <doc xml:whitespace="preserve">the area of a #ClutterActorBox, in pixels</doc>
4099 <type name="float" c:type="gfloat"/>
4102 <method name="contains"
4103 c:identifier="clutter_actor_box_contains"
4105 <doc xml:whitespace="preserve">Checks whether a point with @x, @y coordinates is contained
4107 <return-value transfer-ownership="none">
4108 <doc xml:whitespace="preserve">%TRUE if the point is contained by the #ClutterActorBox</doc>
4109 <type name="boolean" c:type="gboolean"/>
4112 <parameter name="x" transfer-ownership="none">
4113 <doc xml:whitespace="preserve">X coordinate of the point</doc>
4114 <type name="float" c:type="gfloat"/>
4116 <parameter name="y" transfer-ownership="none">
4117 <doc xml:whitespace="preserve">Y coordinate of the point</doc>
4118 <type name="float" c:type="gfloat"/>
4122 <method name="from_vertices"
4123 c:identifier="clutter_actor_box_from_vertices"
4125 <doc xml:whitespace="preserve">Calculates the bounding box represented by the four vertices; for details
4126 of the vertex array see clutter_actor_get_abs_allocation_vertices().</doc>
4127 <return-value transfer-ownership="none">
4128 <type name="none" c:type="void"/>
4131 <parameter name="verts" transfer-ownership="none">
4132 <doc xml:whitespace="preserve">array of four #ClutterVertex</doc>
4133 <array c:type="ClutterVertex" fixed-size="4">
4134 <type name="Vertex"/>
4139 <method name="interpolate"
4140 c:identifier="clutter_actor_box_interpolate"
4142 <doc xml:whitespace="preserve">Interpolates between @initial and @final #ClutterActorBox<!-- -->es
4143 using @progress</doc>
4144 <return-value transfer-ownership="none">
4145 <type name="none" c:type="void"/>
4148 <parameter name="final" transfer-ownership="none">
4149 <doc xml:whitespace="preserve">the final #ClutterActorBox</doc>
4150 <type name="ActorBox" c:type="ClutterActorBox*"/>
4152 <parameter name="progress" transfer-ownership="none">
4153 <doc xml:whitespace="preserve">the interpolation progress</doc>
4154 <type name="double" c:type="gdouble"/>
4156 <parameter name="result"
4158 caller-allocates="1"
4159 transfer-ownership="none">
4160 <doc xml:whitespace="preserve">return location for the interpolation</doc>
4161 <type name="ActorBox" c:type="ClutterActorBox*"/>
4165 <method name="clamp_to_pixel"
4166 c:identifier="clutter_actor_box_clamp_to_pixel"
4168 <doc xml:whitespace="preserve">Clamps the components of @box to the nearest integer</doc>
4169 <return-value transfer-ownership="none">
4170 <type name="none" c:type="void"/>
4174 <record name="ActorClass"
4175 c:type="ClutterActorClass"
4176 glib:is-gtype-struct-for="Actor">
4177 <doc xml:whitespace="preserve">Base class for actors.</doc>
4178 <field name="parent_class">
4179 <type name="GObject.InitiallyUnownedClass"
4180 c:type="GInitiallyUnownedClass"/>
4183 <callback name="show" c:type="show">
4184 <return-value transfer-ownership="none">
4185 <type name="none" c:type="void"/>
4188 <parameter name="actor" transfer-ownership="none">
4189 <type name="Actor" c:type="ClutterActor*"/>
4194 <field name="show_all">
4195 <callback name="show_all" c:type="show_all">
4196 <return-value transfer-ownership="none">
4197 <type name="none" c:type="void"/>
4200 <parameter name="actor" transfer-ownership="none">
4201 <type name="Actor" c:type="ClutterActor*"/>
4207 <callback name="hide" c:type="hide">
4208 <return-value transfer-ownership="none">
4209 <type name="none" c:type="void"/>
4212 <parameter name="actor" transfer-ownership="none">
4213 <type name="Actor" c:type="ClutterActor*"/>
4218 <field name="hide_all">
4219 <callback name="hide_all" c:type="hide_all">
4220 <return-value transfer-ownership="none">
4221 <type name="none" c:type="void"/>
4224 <parameter name="actor" transfer-ownership="none">
4225 <type name="Actor" c:type="ClutterActor*"/>
4230 <field name="realize">
4231 <callback name="realize" c:type="realize">
4232 <return-value transfer-ownership="none">
4233 <type name="none" c:type="void"/>
4236 <parameter name="actor" transfer-ownership="none">
4237 <type name="Actor" c:type="ClutterActor*"/>
4242 <field name="unrealize">
4243 <callback name="unrealize" c:type="unrealize">
4244 <return-value transfer-ownership="none">
4245 <type name="none" c:type="void"/>
4248 <parameter name="actor" transfer-ownership="none">
4249 <type name="Actor" c:type="ClutterActor*"/>
4255 <callback name="map" c:type="map">
4256 <return-value transfer-ownership="none">
4257 <type name="none" c:type="void"/>
4260 <parameter name="actor" transfer-ownership="none">
4261 <type name="Actor" c:type="ClutterActor*"/>
4266 <field name="unmap">
4267 <callback name="unmap" c:type="unmap">
4268 <return-value transfer-ownership="none">
4269 <type name="none" c:type="void"/>
4272 <parameter name="actor" transfer-ownership="none">
4273 <type name="Actor" c:type="ClutterActor*"/>
4278 <field name="paint">
4279 <callback name="paint" c:type="paint">
4280 <return-value transfer-ownership="none">
4281 <type name="none" c:type="void"/>
4284 <parameter name="actor" transfer-ownership="none">
4285 <type name="Actor" c:type="ClutterActor*"/>
4290 <field name="parent_set">
4291 <callback name="parent_set" c:type="parent_set">
4292 <return-value transfer-ownership="none">
4293 <type name="none" c:type="void"/>
4296 <parameter name="actor" transfer-ownership="none">
4297 <type name="Actor" c:type="ClutterActor*"/>
4299 <parameter name="old_parent" transfer-ownership="none">
4300 <type name="Actor" c:type="ClutterActor*"/>
4305 <field name="destroy">
4306 <callback name="destroy" c:type="destroy">
4307 <return-value transfer-ownership="none">
4308 <type name="none" c:type="void"/>
4311 <parameter name="actor" transfer-ownership="none">
4312 <type name="Actor" c:type="ClutterActor*"/>
4318 <callback name="pick" c:type="pick">
4319 <return-value transfer-ownership="none">
4320 <type name="none" c:type="void"/>
4323 <parameter name="actor" transfer-ownership="none">
4324 <type name="Actor" c:type="ClutterActor*"/>
4326 <parameter name="color" transfer-ownership="none">
4327 <type name="Color" c:type="ClutterColor*"/>
4332 <field name="queue_redraw">
4333 <callback name="queue_redraw" c:type="queue_redraw">
4334 <return-value transfer-ownership="none">
4335 <type name="none" c:type="void"/>
4338 <parameter name="actor" transfer-ownership="none">
4339 <type name="Actor" c:type="ClutterActor*"/>
4341 <parameter name="leaf_that_queued" transfer-ownership="none">
4342 <type name="Actor" c:type="ClutterActor*"/>
4347 <field name="get_preferred_width">
4348 <callback name="get_preferred_width" c:type="get_preferred_width">
4349 <return-value transfer-ownership="none">
4350 <type name="none" c:type="void"/>
4353 <parameter name="actor" transfer-ownership="none">
4354 <type name="Actor" c:type="ClutterActor*"/>
4356 <parameter name="for_height" transfer-ownership="none">
4357 <doc xml:whitespace="preserve">available height when computing the preferred width, or a negative value to indicate that no height is defined</doc>
4358 <type name="float" c:type="gfloat"/>
4360 <parameter name="min_width_p"
4362 caller-allocates="0"
4363 transfer-ownership="full"
4365 <doc xml:whitespace="preserve">return location for minimum width, or %NULL</doc>
4366 <type name="float" c:type="gfloat*"/>
4368 <parameter name="natural_width_p"
4370 caller-allocates="0"
4371 transfer-ownership="full"
4373 <doc xml:whitespace="preserve">return location for the natural width, or %NULL</doc>
4374 <type name="float" c:type="gfloat*"/>
4379 <field name="get_preferred_height">
4380 <callback name="get_preferred_height" c:type="get_preferred_height">
4381 <return-value transfer-ownership="none">
4382 <type name="none" c:type="void"/>
4385 <parameter name="actor" transfer-ownership="none">
4386 <type name="Actor" c:type="ClutterActor*"/>
4388 <parameter name="for_width" transfer-ownership="none">
4389 <doc xml:whitespace="preserve">available width to assume in computing desired height, or a negative value to indicate that no width is defined</doc>
4390 <type name="float" c:type="gfloat"/>
4392 <parameter name="min_height_p"
4394 caller-allocates="0"
4395 transfer-ownership="full"
4397 <doc xml:whitespace="preserve">return location for minimum height, or %NULL</doc>
4398 <type name="float" c:type="gfloat*"/>
4400 <parameter name="natural_height_p"
4402 caller-allocates="0"
4403 transfer-ownership="full"
4405 <doc xml:whitespace="preserve">return location for natural height, or %NULL</doc>
4406 <type name="float" c:type="gfloat*"/>
4411 <field name="allocate">
4412 <callback name="allocate" c:type="allocate">
4413 <return-value transfer-ownership="none">
4414 <type name="none" c:type="void"/>
4417 <parameter name="actor" transfer-ownership="none">
4418 <type name="Actor" c:type="ClutterActor*"/>
4420 <parameter name="box" transfer-ownership="none">
4421 <doc xml:whitespace="preserve">new allocation of the actor, in parent-relative coordinates</doc>
4422 <type name="ActorBox" c:type="ClutterActorBox*"/>
4424 <parameter name="flags" transfer-ownership="none">
4425 <doc xml:whitespace="preserve">flags that control the allocation</doc>
4426 <type name="AllocationFlags" c:type="ClutterAllocationFlags"/>
4431 <field name="apply_transform">
4432 <callback name="apply_transform" c:type="apply_transform">
4433 <return-value transfer-ownership="none">
4434 <type name="none" c:type="void"/>
4437 <parameter name="actor" transfer-ownership="none">
4438 <type name="Actor" c:type="ClutterActor*"/>
4440 <parameter name="matrix" transfer-ownership="none">
4441 <type name="Cogl.Matrix" c:type="CoglMatrix*"/>
4446 <field name="event">
4447 <callback name="event" c:type="event">
4448 <return-value transfer-ownership="none">
4449 <type name="boolean" c:type="gboolean"/>
4452 <parameter name="actor" transfer-ownership="none">
4453 <type name="Actor" c:type="ClutterActor*"/>
4455 <parameter name="event" transfer-ownership="none">
4456 <type name="Event" c:type="ClutterEvent*"/>
4461 <field name="button_press_event">
4462 <callback name="button_press_event" c:type="button_press_event">
4463 <return-value transfer-ownership="none">
4464 <type name="boolean" c:type="gboolean"/>
4467 <parameter name="actor" transfer-ownership="none">
4468 <type name="Actor" c:type="ClutterActor*"/>
4470 <parameter name="event" transfer-ownership="none">
4471 <type name="ButtonEvent" c:type="ClutterButtonEvent*"/>
4476 <field name="button_release_event">
4477 <callback name="button_release_event" c:type="button_release_event">
4478 <return-value transfer-ownership="none">
4479 <type name="boolean" c:type="gboolean"/>
4482 <parameter name="actor" transfer-ownership="none">
4483 <type name="Actor" c:type="ClutterActor*"/>
4485 <parameter name="event" transfer-ownership="none">
4486 <type name="ButtonEvent" c:type="ClutterButtonEvent*"/>
4491 <field name="scroll_event">
4492 <callback name="scroll_event" c:type="scroll_event">
4493 <return-value transfer-ownership="none">
4494 <type name="boolean" c:type="gboolean"/>
4497 <parameter name="actor" transfer-ownership="none">
4498 <type name="Actor" c:type="ClutterActor*"/>
4500 <parameter name="event" transfer-ownership="none">
4501 <type name="ScrollEvent" c:type="ClutterScrollEvent*"/>
4506 <field name="key_press_event">
4507 <callback name="key_press_event" c:type="key_press_event">
4508 <return-value transfer-ownership="none">
4509 <type name="boolean" c:type="gboolean"/>
4512 <parameter name="actor" transfer-ownership="none">
4513 <type name="Actor" c:type="ClutterActor*"/>
4515 <parameter name="event" transfer-ownership="none">
4516 <type name="KeyEvent" c:type="ClutterKeyEvent*"/>
4521 <field name="key_release_event">
4522 <callback name="key_release_event" c:type="key_release_event">
4523 <return-value transfer-ownership="none">
4524 <type name="boolean" c:type="gboolean"/>
4527 <parameter name="actor" transfer-ownership="none">
4528 <type name="Actor" c:type="ClutterActor*"/>
4530 <parameter name="event" transfer-ownership="none">
4531 <type name="KeyEvent" c:type="ClutterKeyEvent*"/>
4536 <field name="motion_event">
4537 <callback name="motion_event" c:type="motion_event">
4538 <return-value transfer-ownership="none">
4539 <type name="boolean" c:type="gboolean"/>
4542 <parameter name="actor" transfer-ownership="none">
4543 <type name="Actor" c:type="ClutterActor*"/>
4545 <parameter name="event" transfer-ownership="none">
4546 <type name="MotionEvent" c:type="ClutterMotionEvent*"/>
4551 <field name="enter_event">
4552 <callback name="enter_event" c:type="enter_event">
4553 <return-value transfer-ownership="none">
4554 <type name="boolean" c:type="gboolean"/>
4557 <parameter name="actor" transfer-ownership="none">
4558 <type name="Actor" c:type="ClutterActor*"/>
4560 <parameter name="event" transfer-ownership="none">
4561 <type name="CrossingEvent" c:type="ClutterCrossingEvent*"/>
4566 <field name="leave_event">
4567 <callback name="leave_event" c:type="leave_event">
4568 <return-value transfer-ownership="none">
4569 <type name="boolean" c:type="gboolean"/>
4572 <parameter name="actor" transfer-ownership="none">
4573 <type name="Actor" c:type="ClutterActor*"/>
4575 <parameter name="event" transfer-ownership="none">
4576 <type name="CrossingEvent" c:type="ClutterCrossingEvent*"/>
4581 <field name="captured_event">
4582 <callback name="captured_event" c:type="captured_event">
4583 <return-value transfer-ownership="none">
4584 <type name="boolean" c:type="gboolean"/>
4587 <parameter name="actor" transfer-ownership="none">
4588 <type name="Actor" c:type="ClutterActor*"/>
4590 <parameter name="event" transfer-ownership="none">
4591 <type name="Event" c:type="ClutterEvent*"/>
4596 <field name="key_focus_in">
4597 <callback name="key_focus_in" c:type="key_focus_in">
4598 <return-value transfer-ownership="none">
4599 <type name="none" c:type="void"/>
4602 <parameter name="actor" transfer-ownership="none">
4603 <type name="Actor" c:type="ClutterActor*"/>
4608 <field name="key_focus_out">
4609 <callback name="key_focus_out" c:type="key_focus_out">
4610 <return-value transfer-ownership="none">
4611 <type name="none" c:type="void"/>
4614 <parameter name="actor" transfer-ownership="none">
4615 <type name="Actor" c:type="ClutterActor*"/>
4620 <field name="queue_relayout">
4621 <callback name="queue_relayout" c:type="queue_relayout">
4622 <return-value transfer-ownership="none">
4623 <type name="none" c:type="void"/>
4626 <parameter name="actor" transfer-ownership="none">
4627 <type name="Actor" c:type="ClutterActor*"/>
4632 <field name="get_accessible">
4633 <callback name="get_accessible" c:type="get_accessible">
4634 <return-value transfer-ownership="none">
4635 <doc xml:whitespace="preserve">the #AtkObject associated with @actor</doc>
4636 <type name="Atk.Object" c:type="AtkObject*"/>
4639 <parameter name="actor" transfer-ownership="none">
4640 <type name="Actor" c:type="ClutterActor*"/>
4645 <field name="_padding_dummy">
4646 <array zero-terminated="0" c:type="gpointer" fixed-size="30">
4651 <bitfield name="ActorFlags"
4652 glib:type-name="ClutterActorFlags"
4653 glib:get-type="clutter_actor_flags_get_type"
4654 c:type="ClutterActorFlags">
4655 <doc xml:whitespace="preserve">Flags used to signal the state of an actor.</doc>
4656 <member name="mapped"
4658 c:identifier="CLUTTER_ACTOR_MAPPED"
4659 glib:nick="mapped"/>
4660 <member name="realized"
4662 c:identifier="CLUTTER_ACTOR_REALIZED"
4663 glib:nick="realized"/>
4664 <member name="reactive"
4666 c:identifier="CLUTTER_ACTOR_REACTIVE"
4667 glib:nick="reactive"/>
4668 <member name="visible"
4670 c:identifier="CLUTTER_ACTOR_VISIBLE"
4671 glib:nick="visible"/>
4672 <member name="no_layout"
4674 c:identifier="CLUTTER_ACTOR_NO_LAYOUT"
4675 glib:nick="no-layout"/>
4677 <class name="ActorMeta"
4678 c:type="ClutterActorMeta"
4680 parent="GObject.InitiallyUnowned"
4682 glib:type-name="ClutterActorMeta"
4683 glib:get-type="clutter_actor_meta_get_type"
4684 glib:type-struct="ActorMetaClass">
4685 <doc xml:whitespace="preserve">The <structname>ClutterActorMeta</structname> structure contains only
4686 private data and should be accessed using the provided API</doc>
4687 <virtual-method name="set_actor">
4688 <return-value transfer-ownership="none">
4689 <type name="none" c:type="void"/>
4692 <parameter name="actor" transfer-ownership="none">
4693 <type name="Actor" c:type="ClutterActor*"/>
4697 <method name="set_name"
4698 c:identifier="clutter_actor_meta_set_name"
4700 <doc xml:whitespace="preserve">Sets the name of @meta
4701 The name can be used to identify the #ClutterActorMeta instance</doc>
4702 <return-value transfer-ownership="none">
4703 <type name="none" c:type="void"/>
4706 <parameter name="name" transfer-ownership="none">
4707 <doc xml:whitespace="preserve">the name of @meta</doc>
4708 <type name="utf8" c:type="gchar*"/>
4712 <method name="get_name"
4713 c:identifier="clutter_actor_meta_get_name"
4715 <doc xml:whitespace="preserve">Retrieves the name set using clutter_actor_meta_set_name()
4716 instance, or %NULL if none was set. The returned string is owned
4717 by the #ClutterActorMeta instance and it should not be modified
4719 <return-value transfer-ownership="none">
4720 <doc xml:whitespace="preserve">the name of the #ClutterActorMeta</doc>
4721 <type name="utf8" c:type="gchar*"/>
4724 <method name="set_enabled"
4725 c:identifier="clutter_actor_meta_set_enabled"
4727 <doc xml:whitespace="preserve">Sets whether @meta should be enabled or not</doc>
4728 <return-value transfer-ownership="none">
4729 <type name="none" c:type="void"/>
4732 <parameter name="is_enabled" transfer-ownership="none">
4733 <doc xml:whitespace="preserve">whether @meta is enabled</doc>
4734 <type name="boolean" c:type="gboolean"/>
4738 <method name="get_enabled"
4739 c:identifier="clutter_actor_meta_get_enabled"
4741 <doc xml:whitespace="preserve">Retrieves whether @meta is enabled</doc>
4742 <return-value transfer-ownership="none">
4743 <doc xml:whitespace="preserve">%TRUE if the #ClutterActorMeta instance is enabled</doc>
4744 <type name="boolean" c:type="gboolean"/>
4747 <method name="get_actor"
4748 c:identifier="clutter_actor_meta_get_actor"
4750 <doc xml:whitespace="preserve">Retrieves a pointer to the #ClutterActor that owns @meta</doc>
4751 <return-value transfer-ownership="none">
4752 <doc xml:whitespace="preserve">a pointer to a #ClutterActor or %NULL</doc>
4753 <type name="Actor" c:type="ClutterActor*"/>
4756 <property name="actor" version="1.4" transfer-ownership="none">
4757 <doc xml:whitespace="preserve">The #ClutterActor attached to the #ClutterActorMeta instance</doc>
4758 <type name="Actor" c:type="ClutterActor"/>
4760 <property name="enabled"
4763 transfer-ownership="none">
4764 <doc xml:whitespace="preserve">Whether or not the #ClutterActorMeta is enabled</doc>
4765 <type name="boolean" c:type="gboolean"/>
4767 <property name="name"
4770 transfer-ownership="none">
4771 <doc xml:whitespace="preserve">The unique name to access the #ClutterActorMeta</doc>
4772 <type name="utf8" c:type="gchararray"/>
4774 <field name="parent_instance">
4775 <type name="GObject.InitiallyUnowned" c:type="GInitiallyUnowned"/>
4778 <type name="ActorMetaPrivate" c:type="ClutterActorMetaPrivate*"/>
4781 <record name="ActorMetaClass"
4782 c:type="ClutterActorMetaClass"
4783 glib:is-gtype-struct-for="ActorMeta"
4785 <doc xml:whitespace="preserve">The <structname>ClutterActorMetaClass</structname> structure contains
4786 only private data</doc>
4787 <field name="parent_class">
4788 <type name="GObject.InitiallyUnownedClass"
4789 c:type="GInitiallyUnownedClass"/>
4791 <field name="set_actor">
4792 <callback name="set_actor" c:type="set_actor">
4793 <return-value transfer-ownership="none">
4794 <type name="none" c:type="void"/>
4797 <parameter name="meta" transfer-ownership="none">
4798 <type name="ActorMeta" c:type="ClutterActorMeta*"/>
4800 <parameter name="actor" transfer-ownership="none">
4801 <type name="Actor" c:type="ClutterActor*"/>
4806 <field name="clutter_meta1">
4807 <callback name="clutter_meta1" c:type="_clutter_meta1">
4808 <return-value transfer-ownership="none">
4809 <type name="none" c:type="void"/>
4813 <field name="clutter_meta2">
4814 <callback name="clutter_meta2" c:type="_clutter_meta2">
4815 <return-value transfer-ownership="none">
4816 <type name="none" c:type="void"/>
4820 <field name="clutter_meta3">
4821 <callback name="clutter_meta3" c:type="_clutter_meta3">
4822 <return-value transfer-ownership="none">
4823 <type name="none" c:type="void"/>
4827 <field name="clutter_meta4">
4828 <callback name="clutter_meta4" c:type="_clutter_meta4">
4829 <return-value transfer-ownership="none">
4830 <type name="none" c:type="void"/>
4834 <field name="clutter_meta5">
4835 <callback name="clutter_meta5" c:type="_clutter_meta5">
4836 <return-value transfer-ownership="none">
4837 <type name="none" c:type="void"/>
4841 <field name="clutter_meta6">
4842 <callback name="clutter_meta6" c:type="_clutter_meta6">
4843 <return-value transfer-ownership="none">
4844 <type name="none" c:type="void"/>
4848 <field name="clutter_meta7">
4849 <callback name="clutter_meta7" c:type="_clutter_meta7">
4850 <return-value transfer-ownership="none">
4851 <type name="none" c:type="void"/>
4856 <record name="ActorMetaPrivate" c:type="ClutterActorMetaPrivate">
4858 <record name="ActorPrivate" c:type="ClutterActorPrivate">
4860 <constant name="Adiaeresis" value="196">
4863 <constant name="Agrave" value="192">
4866 <constant name="Ahook" value="16785058">
4869 <enumeration name="AlignAxis"
4871 glib:type-name="ClutterAlignAxis"
4872 glib:get-type="clutter_align_axis_get_type"
4873 c:type="ClutterAlignAxis">
4874 <doc xml:whitespace="preserve">Specifies the axis on which #ClutterAlignConstraint should maintain
4876 <member name="x_axis"
4878 c:identifier="CLUTTER_ALIGN_X_AXIS"
4879 glib:nick="x-axis"/>
4880 <member name="y_axis"
4882 c:identifier="CLUTTER_ALIGN_Y_AXIS"
4883 glib:nick="y-axis"/>
4885 <class name="AlignConstraint"
4886 c:type="ClutterAlignConstraint"
4889 glib:type-name="ClutterAlignConstraint"
4890 glib:get-type="clutter_align_constraint_get_type">
4891 <doc xml:whitespace="preserve"><structname>ClutterAlignConstraint</structname> is an opaque structure
4892 whose members cannot be directly accesses</doc>
4893 <constructor name="new"
4894 c:identifier="clutter_align_constraint_new"
4896 <doc xml:whitespace="preserve">Creates a new constraint, aligning a #ClutterActor's position with
4897 regards of the size of the actor to @source, with the given
4898 alignment @factor</doc>
4899 <return-value transfer-ownership="full">
4900 <doc xml:whitespace="preserve">the newly created #ClutterAlignConstraint</doc>
4901 <type name="AlignConstraint" c:type="ClutterConstraint*"/>
4904 <parameter name="source" transfer-ownership="none" allow-none="1">
4905 <doc xml:whitespace="preserve">the #ClutterActor to use as the source of the alignment, or %NULL</doc>
4906 <type name="Actor" c:type="ClutterActor*"/>
4908 <parameter name="axis" transfer-ownership="none">
4909 <doc xml:whitespace="preserve">the axis to be used to compute the alignment</doc>
4910 <type name="AlignAxis" c:type="ClutterAlignAxis"/>
4912 <parameter name="factor" transfer-ownership="none">
4913 <doc xml:whitespace="preserve">the alignment factor, between 0.0 and 1.0</doc>
4914 <type name="float" c:type="gfloat"/>
4918 <method name="set_source"
4919 c:identifier="clutter_align_constraint_set_source"
4921 <doc xml:whitespace="preserve">Sets the source of the alignment constraint</doc>
4922 <return-value transfer-ownership="none">
4923 <type name="none" c:type="void"/>
4926 <parameter name="source" transfer-ownership="none" allow-none="1">
4927 <doc xml:whitespace="preserve">a #ClutterActor, or %NULL to unset the source</doc>
4928 <type name="Actor" c:type="ClutterActor*"/>
4932 <method name="get_source"
4933 c:identifier="clutter_align_constraint_get_source"
4935 <doc xml:whitespace="preserve">Retrieves the source of the alignment
4936 of the alignment</doc>
4937 <return-value transfer-ownership="none">
4938 <doc xml:whitespace="preserve">the #ClutterActor used as the source</doc>
4939 <type name="Actor" c:type="ClutterActor*"/>
4942 <method name="set_align_axis"
4943 c:identifier="clutter_align_constraint_set_align_axis"
4945 <doc xml:whitespace="preserve">Sets the axis to which the alignment refers to</doc>
4946 <return-value transfer-ownership="none">
4947 <type name="none" c:type="void"/>
4950 <parameter name="axis" transfer-ownership="none">
4951 <doc xml:whitespace="preserve">the axis to which the alignment refers to</doc>
4952 <type name="AlignAxis" c:type="ClutterAlignAxis"/>
4956 <method name="get_align_axis"
4957 c:identifier="clutter_align_constraint_get_align_axis"
4959 <doc xml:whitespace="preserve">Retrieves the value set using clutter_align_constraint_set_align_axis()</doc>
4960 <return-value transfer-ownership="full">
4961 <doc xml:whitespace="preserve">the alignment axis</doc>
4962 <type name="AlignAxis" c:type="ClutterAlignAxis"/>
4965 <method name="set_factor"
4966 c:identifier="clutter_align_constraint_set_factor"
4968 <doc xml:whitespace="preserve">Sets the alignment factor of the constraint
4969 The factor depends on the #ClutterAlignConstraint:align-axis property
4970 and it is a value between 0.0 (meaning left, when
4971 #ClutterAlignConstraint:align-axis is set to %CLUTTER_ALIGN_X_AXIS; or
4972 meaning top, when #ClutterAlignConstraint:align-axis is set to
4973 %CLUTTER_ALIGN_Y_AXIS) and 1.0 (meaning right, when
4974 #ClutterAlignConstraint:align-axis is set to %CLUTTER_ALIGN_X_AXIS; or
4975 meaning bottom, when #ClutterAlignConstraint:align-axis is set to
4976 %CLUTTER_ALIGN_Y_AXIS). A value of 0.5 aligns in the middle in either
4978 <return-value transfer-ownership="none">
4979 <type name="none" c:type="void"/>
4982 <parameter name="factor" transfer-ownership="none">
4983 <doc xml:whitespace="preserve">the alignment factor, between 0.0 and 1.0</doc>
4984 <type name="float" c:type="gfloat"/>
4988 <method name="get_factor"
4989 c:identifier="clutter_align_constraint_get_factor"
4991 <doc xml:whitespace="preserve">Retrieves the factor set using clutter_align_constraint_set_factor()</doc>
4992 <return-value transfer-ownership="none">
4993 <doc xml:whitespace="preserve">the alignment factor</doc>
4994 <type name="float" c:type="gfloat"/>
4997 <property name="align-axis"
5001 transfer-ownership="none">
5002 <doc xml:whitespace="preserve">The axis to be used to compute the alignment</doc>
5003 <type name="AlignAxis" c:type="ClutterAlignAxis"/>
5005 <property name="factor"
5009 transfer-ownership="none">
5010 <doc xml:whitespace="preserve">The alignment factor, as a normalized value between 0.0 and 1.0
5011 The factor depends on the #ClutterAlignConstraint:align-axis property:
5012 with an align-axis value of %CLUTTER_ALIGN_X_AXIS, 0.0 means left and
5013 1.0 means right; with a value of %CLUTTER_ALIGN_Y_AXIS, 0.0 means top
5014 and 1.0 means bottom.</doc>
5015 <type name="float" c:type="gfloat"/>
5017 <property name="source"
5021 transfer-ownership="none">
5022 <doc xml:whitespace="preserve">The #ClutterActor used as the source for the alignment</doc>
5023 <type name="Actor" c:type="ClutterActor"/>
5026 <bitfield name="AllocationFlags"
5028 glib:type-name="ClutterAllocationFlags"
5029 glib:get-type="clutter_allocation_flags_get_type"
5030 c:type="ClutterAllocationFlags">
5031 <doc xml:whitespace="preserve">Flags passed to the #ClutterActor::allocate() virtual function and
5032 to the clutter_actor_allocate() function</doc>
5033 <member name="allocation_none"
5035 c:identifier="CLUTTER_ALLOCATION_NONE"
5036 glib:nick="allocation-none"/>
5037 <member name="absolute_origin_changed"
5039 c:identifier="CLUTTER_ABSOLUTE_ORIGIN_CHANGED"
5040 glib:nick="absolute-origin-changed"/>
5043 c:type="ClutterAlpha"
5045 parent="GObject.InitiallyUnowned"
5046 glib:type-name="ClutterAlpha"
5047 glib:get-type="clutter_alpha_get_type"
5048 glib:type-struct="AlphaClass">
5049 <doc xml:whitespace="preserve">#ClutterAlpha combines a #ClutterTimeline and a function.
5050 The contents of the #ClutterAlpha structure are private and should
5051 only be accessed using the provided API.</doc>
5052 <implements name="Scriptable"/>
5053 <constructor name="new" c:identifier="clutter_alpha_new" version="0.2">
5054 <doc xml:whitespace="preserve">Creates a new #ClutterAlpha instance. You must set a function
5055 to compute the alpha value using clutter_alpha_set_func() and
5056 bind a #ClutterTimeline object to the #ClutterAlpha instance
5057 using clutter_alpha_set_timeline().
5058 You should use the newly created #ClutterAlpha instance inside
5059 a #ClutterBehaviour object.</doc>
5060 <return-value transfer-ownership="full">
5061 <doc xml:whitespace="preserve">the newly created empty #ClutterAlpha instance.</doc>
5062 <type name="Alpha" c:type="ClutterAlpha*"/>
5065 <constructor name="new_full"
5066 c:identifier="clutter_alpha_new_full"
5068 <doc xml:whitespace="preserve">Creates a new #ClutterAlpha instance and sets the timeline
5070 See also clutter_alpha_set_timeline() and clutter_alpha_set_mode().</doc>
5071 <return-value transfer-ownership="full">
5072 <doc xml:whitespace="preserve">the newly created #ClutterAlpha</doc>
5073 <type name="Alpha" c:type="ClutterAlpha*"/>
5076 <parameter name="timeline" transfer-ownership="none">
5077 <doc xml:whitespace="preserve">#ClutterTimeline timeline</doc>
5078 <type name="Timeline" c:type="ClutterTimeline*"/>
5080 <parameter name="mode" transfer-ownership="none">
5081 <doc xml:whitespace="preserve">animation mode</doc>
5082 <type name="ulong" c:type="gulong"/>
5086 <constructor name="new_with_func"
5087 c:identifier="clutter_alpha_new_with_func"
5089 <doc xml:whitespace="preserve">Creates a new #ClutterAlpha instances and sets the timeline
5090 and the alpha function.
5091 This function will not register @func as a global alpha function.
5092 See also clutter_alpha_set_timeline() and clutter_alpha_set_func().</doc>
5093 <return-value transfer-ownership="full">
5094 <doc xml:whitespace="preserve">the newly created #ClutterAlpha</doc>
5095 <type name="Alpha" c:type="ClutterAlpha*"/>
5098 <parameter name="timeline" transfer-ownership="none">
5099 <doc xml:whitespace="preserve">a #ClutterTimeline</doc>
5100 <type name="Timeline" c:type="ClutterTimeline*"/>
5102 <parameter name="func"
5103 transfer-ownership="none"
5107 <doc xml:whitespace="preserve">a #ClutterAlphaFunc</doc>
5108 <type name="AlphaFunc" c:type="ClutterAlphaFunc"/>
5110 <parameter name="data" transfer-ownership="none">
5111 <doc xml:whitespace="preserve">data to pass to the function, or %NULL</doc>
5112 <type name="any" c:type="gpointer"/>
5114 <parameter name="destroy" transfer-ownership="none" scope="call">
5115 <doc xml:whitespace="preserve">function to call when removing the alpha function, or %NULL</doc>
5116 <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
5120 <function name="register_func"
5121 c:identifier="clutter_alpha_register_func"
5123 <doc xml:whitespace="preserve">Registers a global alpha function and returns its logical id
5124 to be used by clutter_alpha_set_mode() or by #ClutterAnimation.
5125 The logical id is always greater than %CLUTTER_ANIMATION_LAST.</doc>
5126 <return-value transfer-ownership="none">
5127 <doc xml:whitespace="preserve">the logical id of the alpha function</doc>
5128 <type name="ulong" c:type="gulong"/>
5131 <parameter name="func"
5132 transfer-ownership="none"
5135 <doc xml:whitespace="preserve">a #ClutterAlphaFunc</doc>
5136 <type name="AlphaFunc" c:type="ClutterAlphaFunc"/>
5138 <parameter name="data" transfer-ownership="none">
5139 <doc xml:whitespace="preserve">user data to pass to @func, or %NULL</doc>
5140 <type name="any" c:type="gpointer"/>
5144 <function name="register_closure"
5145 c:identifier="clutter_alpha_register_closure"
5147 <doc xml:whitespace="preserve">#GClosure variant of clutter_alpha_register_func().
5148 Registers a global alpha function and returns its logical id
5149 to be used by clutter_alpha_set_mode() or by #ClutterAnimation.
5150 The logical id is always greater than %CLUTTER_ANIMATION_LAST.</doc>
5151 <return-value transfer-ownership="none">
5152 <doc xml:whitespace="preserve">the logical id of the alpha function</doc>
5153 <type name="ulong" c:type="gulong"/>
5156 <parameter name="closure" transfer-ownership="none">
5157 <doc xml:whitespace="preserve">a #GClosure</doc>
5158 <type name="GObject.Closure" c:type="GClosure*"/>
5162 <method name="get_alpha"
5163 c:identifier="clutter_alpha_get_alpha"
5165 <doc xml:whitespace="preserve">Query the current alpha value.</doc>
5166 <return-value transfer-ownership="none">
5167 <doc xml:whitespace="preserve">The current alpha value for the alpha</doc>
5168 <type name="double" c:type="gdouble"/>
5171 <method name="set_func"
5172 c:identifier="clutter_alpha_set_func"
5174 <doc xml:whitespace="preserve">Sets the #ClutterAlphaFunc function used to compute
5175 the alpha value at each frame of the #ClutterTimeline
5177 This function will not register @func as a global alpha function.</doc>
5178 <return-value transfer-ownership="none">
5179 <type name="none" c:type="void"/>
5182 <parameter name="func"
5183 transfer-ownership="none"
5187 <doc xml:whitespace="preserve">A #ClutterAlphaFunc</doc>
5188 <type name="AlphaFunc" c:type="ClutterAlphaFunc"/>
5190 <parameter name="data" transfer-ownership="none">
5191 <doc xml:whitespace="preserve">user data to be passed to the alpha function, or %NULL</doc>
5192 <type name="any" c:type="gpointer"/>
5194 <parameter name="destroy" transfer-ownership="none" scope="call">
5195 <doc xml:whitespace="preserve">notify function used when disposing the alpha function</doc>
5196 <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
5200 <method name="set_closure"
5201 c:identifier="clutter_alpha_set_closure"
5203 <doc xml:whitespace="preserve">Sets the #GClosure used to compute the alpha value at each
5204 frame of the #ClutterTimeline bound to @alpha.</doc>
5205 <return-value transfer-ownership="none">
5206 <type name="none" c:type="void"/>
5209 <parameter name="closure" transfer-ownership="none">
5210 <doc xml:whitespace="preserve">A #GClosure</doc>
5211 <type name="GObject.Closure" c:type="GClosure*"/>
5215 <method name="set_timeline"
5216 c:identifier="clutter_alpha_set_timeline"
5218 <doc xml:whitespace="preserve">Binds @alpha to @timeline.</doc>
5219 <return-value transfer-ownership="none">
5220 <type name="none" c:type="void"/>
5223 <parameter name="timeline" transfer-ownership="none">
5224 <doc xml:whitespace="preserve">A #ClutterTimeline</doc>
5225 <type name="Timeline" c:type="ClutterTimeline*"/>
5229 <method name="get_timeline"
5230 c:identifier="clutter_alpha_get_timeline"
5232 <doc xml:whitespace="preserve">Gets the #ClutterTimeline bound to @alpha.</doc>
5233 <return-value transfer-ownership="none">
5234 <doc xml:whitespace="preserve">a #ClutterTimeline instance</doc>
5235 <type name="Timeline" c:type="ClutterTimeline*"/>
5238 <method name="set_mode"
5239 c:identifier="clutter_alpha_set_mode"
5241 <doc xml:whitespace="preserve">Sets the progress function of @alpha using the symbolic value
5242 of @mode, as taken by the #ClutterAnimationMode enumeration or
5243 using the value returned by clutter_alpha_register_func().</doc>
5244 <return-value transfer-ownership="none">
5245 <type name="none" c:type="void"/>
5248 <parameter name="mode" transfer-ownership="none">
5249 <doc xml:whitespace="preserve">a #ClutterAnimationMode</doc>
5250 <type name="ulong" c:type="gulong"/>
5254 <method name="get_mode"
5255 c:identifier="clutter_alpha_get_mode"
5257 <doc xml:whitespace="preserve">Retrieves the #ClutterAnimationMode used by @alpha.</doc>
5258 <return-value transfer-ownership="none">
5259 <doc xml:whitespace="preserve">the animation mode</doc>
5260 <type name="ulong" c:type="gulong"/>
5263 <property name="alpha" version="0.2" transfer-ownership="none">
5264 <doc xml:whitespace="preserve">The alpha value as computed by the alpha function. The linear
5265 interval is 0.0 to 1.0, but the Alpha allows overshooting by
5266 one unit in each direction, so the valid interval is -1.0 to 2.0.</doc>
5267 <type name="double" c:type="gdouble"/>
5269 <property name="mode"
5273 transfer-ownership="none">
5274 <doc xml:whitespace="preserve">The progress function logical id - either a value from the
5275 #ClutterAnimationMode enumeration or a value returned by
5276 clutter_alpha_register_func().
5277 If %CLUTTER_CUSTOM_MODE is used then the function set using
5278 clutter_alpha_set_closure() or clutter_alpha_set_func()
5280 <type name="ulong" c:type="gulong"/>
5282 <property name="timeline"
5285 transfer-ownership="none">
5286 <doc xml:whitespace="preserve">A #ClutterTimeline instance used to drive the alpha function.</doc>
5287 <type name="Timeline" c:type="ClutterTimeline"/>
5289 <field name="parent">
5290 <type name="GObject.InitiallyUnowned" c:type="GInitiallyUnowned"/>
5293 <type name="AlphaPrivate" c:type="ClutterAlphaPrivate*"/>
5296 <record name="AlphaClass"
5297 c:type="ClutterAlphaClass"
5298 glib:is-gtype-struct-for="Alpha"
5300 <doc xml:whitespace="preserve">Base class for #ClutterAlpha</doc>
5301 <field name="parent_class">
5302 <type name="GObject.InitiallyUnownedClass"
5303 c:type="GInitiallyUnownedClass"/>
5305 <field name="clutter_alpha_1">
5306 <callback name="clutter_alpha_1" c:type="_clutter_alpha_1">
5307 <return-value transfer-ownership="none">
5308 <type name="none" c:type="void"/>
5312 <field name="clutter_alpha_2">
5313 <callback name="clutter_alpha_2" c:type="_clutter_alpha_2">
5314 <return-value transfer-ownership="none">
5315 <type name="none" c:type="void"/>
5319 <field name="clutter_alpha_3">
5320 <callback name="clutter_alpha_3" c:type="_clutter_alpha_3">
5321 <return-value transfer-ownership="none">
5322 <type name="none" c:type="void"/>
5326 <field name="clutter_alpha_4">
5327 <callback name="clutter_alpha_4" c:type="_clutter_alpha_4">
5328 <return-value transfer-ownership="none">
5329 <type name="none" c:type="void"/>
5333 <field name="clutter_alpha_5">
5334 <callback name="clutter_alpha_5" c:type="_clutter_alpha_5">
5335 <return-value transfer-ownership="none">
5336 <type name="none" c:type="void"/>
5341 <callback name="AlphaFunc" c:type="ClutterAlphaFunc" version="0.2">
5342 <doc xml:whitespace="preserve">A function returning a value depending on the position of
5343 the #ClutterTimeline bound to @alpha.</doc>
5344 <return-value transfer-ownership="none">
5345 <doc xml:whitespace="preserve">a floating point value</doc>
5346 <type name="double" c:type="gdouble"/>
5349 <parameter name="alpha" transfer-ownership="none">
5350 <doc xml:whitespace="preserve">a #ClutterAlpha</doc>
5351 <type name="Alpha" c:type="ClutterAlpha*"/>
5353 <parameter name="user_data" transfer-ownership="none" closure="1">
5354 <doc xml:whitespace="preserve">user data passed to the function</doc>
5355 <type name="any" c:type="gpointer"/>
5359 <record name="AlphaPrivate" c:type="ClutterAlphaPrivate">
5361 <constant name="Alt_L" value="65513">
5364 <constant name="Alt_R" value="65514">
5367 <constant name="Amacron" value="960">
5370 <interface name="Animatable"
5371 c:type="ClutterAnimatable"
5373 glib:type-name="ClutterAnimatable"
5374 glib:get-type="clutter_animatable_get_type"
5375 glib:type-struct="AnimatableIface">
5376 <doc xml:whitespace="preserve">#ClutterAnimatable is an opaque structure whose members cannot be directly
5378 <virtual-method name="animate_property"
5379 invoker="animate_property"
5381 <doc xml:whitespace="preserve">Calls the animate_property() virtual function for @animatable.
5382 The @initial_value and @final_value #GValue<!-- -->s must contain
5383 the same type; @value must have been initialized to the same
5384 type of @initial_value and @final_value.
5385 All implementation of the #ClutterAnimatable interface must
5386 implement this function.
5387 be applied to the #ClutterAnimatable, and %FALSE otherwise</doc>
5388 <return-value transfer-ownership="none">
5389 <doc xml:whitespace="preserve">%TRUE if the value has been validated and can</doc>
5390 <type name="boolean" c:type="gboolean"/>
5393 <parameter name="animation" transfer-ownership="none">
5394 <doc xml:whitespace="preserve">a #ClutterAnimation</doc>
5395 <type name="Animation" c:type="ClutterAnimation*"/>
5397 <parameter name="property_name" transfer-ownership="none">
5398 <doc xml:whitespace="preserve">the name of the animated property</doc>
5399 <type name="utf8" c:type="gchar*"/>
5401 <parameter name="initial_value" transfer-ownership="none">
5402 <doc xml:whitespace="preserve">the initial value of the animation interval</doc>
5403 <type name="GObject.Value" c:type="GValue*"/>
5405 <parameter name="final_value" transfer-ownership="none">
5406 <doc xml:whitespace="preserve">the final value of the animation interval</doc>
5407 <type name="GObject.Value" c:type="GValue*"/>
5409 <parameter name="progress" transfer-ownership="none">
5410 <doc xml:whitespace="preserve">the progress factor</doc>
5411 <type name="double" c:type="gdouble"/>
5413 <parameter name="value" transfer-ownership="none">
5414 <doc xml:whitespace="preserve">return location for the animation value</doc>
5415 <type name="GObject.Value" c:type="GValue*"/>
5419 <virtual-method name="find_property"
5420 invoker="find_property"
5422 <doc xml:whitespace="preserve">Finds the #GParamSpec for @property_name
5424 <return-value transfer-ownership="none">
5425 <doc xml:whitespace="preserve">The #GParamSpec for the given property</doc>
5426 <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
5429 <parameter name="property_name" transfer-ownership="none">
5430 <doc xml:whitespace="preserve">the name of the animatable property to find</doc>
5431 <type name="utf8" c:type="gchar*"/>
5435 <virtual-method name="get_initial_state"
5436 invoker="get_initial_state"
5438 <doc xml:whitespace="preserve">Retrieves the current state of @property_name and sets @value with it</doc>
5439 <return-value transfer-ownership="none">
5440 <type name="none" c:type="void"/>
5443 <parameter name="property_name" transfer-ownership="none">
5444 <doc xml:whitespace="preserve">the name of the animatable property to retrieve</doc>
5445 <type name="utf8" c:type="gchar*"/>
5447 <parameter name="value" transfer-ownership="none">
5448 <doc xml:whitespace="preserve">a #GValue initialized to the type of the property to retrieve</doc>
5449 <type name="GObject.Value" c:type="GValue*"/>
5453 <virtual-method name="set_final_state"
5454 invoker="set_final_state"
5456 <doc xml:whitespace="preserve">Sets the current state of @property_name to @value</doc>
5457 <return-value transfer-ownership="none">
5458 <type name="none" c:type="void"/>
5461 <parameter name="property_name" transfer-ownership="none">
5462 <doc xml:whitespace="preserve">the name of the animatable property to set</doc>
5463 <type name="utf8" c:type="gchar*"/>
5465 <parameter name="value" transfer-ownership="none">
5466 <doc xml:whitespace="preserve">the value of the animatable property to set</doc>
5467 <type name="GObject.Value" c:type="GValue*"/>
5471 <method name="animate_property"
5472 c:identifier="clutter_animatable_animate_property"
5474 <doc xml:whitespace="preserve">Calls the animate_property() virtual function for @animatable.
5475 The @initial_value and @final_value #GValue<!-- -->s must contain
5476 the same type; @value must have been initialized to the same
5477 type of @initial_value and @final_value.
5478 All implementation of the #ClutterAnimatable interface must
5479 implement this function.
5480 be applied to the #ClutterAnimatable, and %FALSE otherwise</doc>
5481 <return-value transfer-ownership="none">
5482 <doc xml:whitespace="preserve">%TRUE if the value has been validated and can</doc>
5483 <type name="boolean" c:type="gboolean"/>
5486 <parameter name="animation" transfer-ownership="none">
5487 <doc xml:whitespace="preserve">a #ClutterAnimation</doc>
5488 <type name="Animation" c:type="ClutterAnimation*"/>
5490 <parameter name="property_name" transfer-ownership="none">
5491 <doc xml:whitespace="preserve">the name of the animated property</doc>
5492 <type name="utf8" c:type="gchar*"/>
5494 <parameter name="initial_value" transfer-ownership="none">
5495 <doc xml:whitespace="preserve">the initial value of the animation interval</doc>
5496 <type name="GObject.Value" c:type="GValue*"/>
5498 <parameter name="final_value" transfer-ownership="none">
5499 <doc xml:whitespace="preserve">the final value of the animation interval</doc>
5500 <type name="GObject.Value" c:type="GValue*"/>
5502 <parameter name="progress" transfer-ownership="none">
5503 <doc xml:whitespace="preserve">the progress factor</doc>
5504 <type name="double" c:type="gdouble"/>
5506 <parameter name="value" transfer-ownership="none">
5507 <doc xml:whitespace="preserve">return location for the animation value</doc>
5508 <type name="GObject.Value" c:type="GValue*"/>
5512 <method name="find_property"
5513 c:identifier="clutter_animatable_find_property"
5515 <doc xml:whitespace="preserve">Finds the #GParamSpec for @property_name
5517 <return-value transfer-ownership="none">
5518 <doc xml:whitespace="preserve">The #GParamSpec for the given property</doc>
5519 <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
5522 <parameter name="property_name" transfer-ownership="none">
5523 <doc xml:whitespace="preserve">the name of the animatable property to find</doc>
5524 <type name="utf8" c:type="gchar*"/>
5528 <method name="get_initial_state"
5529 c:identifier="clutter_animatable_get_initial_state"
5531 <doc xml:whitespace="preserve">Retrieves the current state of @property_name and sets @value with it</doc>
5532 <return-value transfer-ownership="none">
5533 <type name="none" c:type="void"/>
5536 <parameter name="property_name" transfer-ownership="none">
5537 <doc xml:whitespace="preserve">the name of the animatable property to retrieve</doc>
5538 <type name="utf8" c:type="gchar*"/>
5540 <parameter name="value" transfer-ownership="none">
5541 <doc xml:whitespace="preserve">a #GValue initialized to the type of the property to retrieve</doc>
5542 <type name="GObject.Value" c:type="GValue*"/>
5546 <method name="set_final_state"
5547 c:identifier="clutter_animatable_set_final_state"
5549 <doc xml:whitespace="preserve">Sets the current state of @property_name to @value</doc>
5550 <return-value transfer-ownership="none">
5551 <type name="none" c:type="void"/>
5554 <parameter name="property_name" transfer-ownership="none">
5555 <doc xml:whitespace="preserve">the name of the animatable property to set</doc>
5556 <type name="utf8" c:type="gchar*"/>
5558 <parameter name="value" transfer-ownership="none">
5559 <doc xml:whitespace="preserve">the value of the animatable property to set</doc>
5560 <type name="GObject.Value" c:type="GValue*"/>
5565 <record name="AnimatableIface"
5566 c:type="ClutterAnimatableIface"
5567 glib:is-gtype-struct-for="Animatable"
5569 <doc xml:whitespace="preserve">Base interface for #GObject<!-- -->s that can be animated by a
5570 a #ClutterAnimation.</doc>
5571 <field name="parent_iface">
5572 <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
5574 <field name="animate_property">
5575 <callback name="animate_property" c:type="animate_property">
5576 <return-value transfer-ownership="none">
5577 <doc xml:whitespace="preserve">%TRUE if the value has been validated and can</doc>
5578 <type name="boolean" c:type="gboolean"/>
5581 <parameter name="animatable" transfer-ownership="none">
5582 <type name="Animatable" c:type="ClutterAnimatable*"/>
5584 <parameter name="animation" transfer-ownership="none">
5585 <doc xml:whitespace="preserve">a #ClutterAnimation</doc>
5586 <type name="Animation" c:type="ClutterAnimation*"/>
5588 <parameter name="property_name" transfer-ownership="none">
5589 <doc xml:whitespace="preserve">the name of the animated property</doc>
5590 <type name="utf8" c:type="gchar*"/>
5592 <parameter name="initial_value" transfer-ownership="none">
5593 <doc xml:whitespace="preserve">the initial value of the animation interval</doc>
5594 <type name="GObject.Value" c:type="GValue*"/>
5596 <parameter name="final_value" transfer-ownership="none">
5597 <doc xml:whitespace="preserve">the final value of the animation interval</doc>
5598 <type name="GObject.Value" c:type="GValue*"/>
5600 <parameter name="progress" transfer-ownership="none">
5601 <doc xml:whitespace="preserve">the progress factor</doc>
5602 <type name="double" c:type="gdouble"/>
5604 <parameter name="value" transfer-ownership="none">
5605 <doc xml:whitespace="preserve">return location for the animation value</doc>
5606 <type name="GObject.Value" c:type="GValue*"/>
5611 <field name="find_property">
5612 <callback name="find_property" c:type="find_property">
5613 <return-value transfer-ownership="none">
5614 <doc xml:whitespace="preserve">The #GParamSpec for the given property</doc>
5615 <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
5618 <parameter name="animatable" transfer-ownership="none">
5619 <type name="Animatable" c:type="ClutterAnimatable*"/>
5621 <parameter name="property_name" transfer-ownership="none">
5622 <doc xml:whitespace="preserve">the name of the animatable property to find</doc>
5623 <type name="utf8" c:type="gchar*"/>
5628 <field name="get_initial_state">
5629 <callback name="get_initial_state" c:type="get_initial_state">
5630 <return-value transfer-ownership="none">
5631 <type name="none" c:type="void"/>
5634 <parameter name="animatable" transfer-ownership="none">
5635 <type name="Animatable" c:type="ClutterAnimatable*"/>
5637 <parameter name="property_name" transfer-ownership="none">
5638 <doc xml:whitespace="preserve">the name of the animatable property to retrieve</doc>
5639 <type name="utf8" c:type="gchar*"/>
5641 <parameter name="value" transfer-ownership="none">
5642 <doc xml:whitespace="preserve">a #GValue initialized to the type of the property to retrieve</doc>
5643 <type name="GObject.Value" c:type="GValue*"/>
5648 <field name="set_final_state">
5649 <callback name="set_final_state" c:type="set_final_state">
5650 <return-value transfer-ownership="none">
5651 <type name="none" c:type="void"/>
5654 <parameter name="animatable" transfer-ownership="none">
5655 <type name="Animatable" c:type="ClutterAnimatable*"/>
5657 <parameter name="property_name" transfer-ownership="none">
5658 <doc xml:whitespace="preserve">the name of the animatable property to set</doc>
5659 <type name="utf8" c:type="gchar*"/>
5661 <parameter name="value" transfer-ownership="none">
5662 <doc xml:whitespace="preserve">the value of the animatable property to set</doc>
5663 <type name="GObject.Value" c:type="GValue*"/>
5669 <class name="Animation"
5670 c:type="ClutterAnimation"
5672 parent="GObject.Object"
5673 glib:type-name="ClutterAnimation"
5674 glib:get-type="clutter_animation_get_type"
5675 glib:type-struct="AnimationClass">
5676 <doc xml:whitespace="preserve">The #ClutterAnimation structure contains only private data and should
5677 be accessed using the provided functions.</doc>
5678 <implements name="Scriptable"/>
5679 <constructor name="new"
5680 c:identifier="clutter_animation_new"
5682 <doc xml:whitespace="preserve">Creates a new #ClutterAnimation instance. You should set the
5683 #GObject to be animated using clutter_animation_set_object(),
5684 set the duration with clutter_animation_set_duration() and the
5685 easing mode using clutter_animation_set_mode().
5686 Use clutter_animation_bind() or clutter_animation_bind_interval()
5687 to define the properties to be animated. The interval and the
5688 animated properties can be updated at runtime.
5689 The clutter_actor_animate() and relative family of functions provide
5690 an easy way to animate a #ClutterActor and automatically manage the
5691 lifetime of a #ClutterAnimation instance, so you should consider using
5692 those functions instead of manually creating an animation.
5693 to release the associated resources</doc>
5694 <return-value transfer-ownership="full">
5695 <doc xml:whitespace="preserve">the newly created #ClutterAnimation. Use g_object_unref()</doc>
5696 <type name="Animation" c:type="ClutterAnimation*"/>
5699 <method name="set_object"
5700 c:identifier="clutter_animation_set_object"
5702 <doc xml:whitespace="preserve">Attaches @animation to @object. The #ClutterAnimation will take a
5703 reference on @object.</doc>
5704 <return-value transfer-ownership="none">
5705 <type name="none" c:type="void"/>
5708 <parameter name="object" transfer-ownership="none">
5709 <doc xml:whitespace="preserve">a #GObject</doc>
5710 <type name="GObject.Object" c:type="GObject*"/>
5714 <method name="get_object"
5715 c:identifier="clutter_animation_get_object"
5717 <doc xml:whitespace="preserve">Retrieves the #GObject attached to @animation.</doc>
5718 <return-value transfer-ownership="none">
5719 <doc xml:whitespace="preserve">a #GObject</doc>
5720 <type name="GObject.Object" c:type="GObject*"/>
5723 <method name="set_mode"
5724 c:identifier="clutter_animation_set_mode"
5726 <doc xml:whitespace="preserve">Sets the animation @mode of @animation. The animation @mode is
5727 a logical id, either coming from the #ClutterAnimationMode enumeration
5728 or the return value of clutter_alpha_register_func().
5729 This function will also set #ClutterAnimation:alpha if needed.</doc>
5730 <return-value transfer-ownership="none">
5731 <type name="none" c:type="void"/>
5734 <parameter name="mode" transfer-ownership="none">
5735 <doc xml:whitespace="preserve">an animation mode logical id</doc>
5736 <type name="ulong" c:type="gulong"/>
5740 <method name="get_mode"
5741 c:identifier="clutter_animation_get_mode"
5743 <doc xml:whitespace="preserve">Retrieves the animation mode of @animation, as set by
5744 clutter_animation_set_mode().</doc>
5745 <return-value transfer-ownership="none">
5746 <doc xml:whitespace="preserve">the mode for the animation</doc>
5747 <type name="ulong" c:type="gulong"/>
5750 <method name="set_duration"
5751 c:identifier="clutter_animation_set_duration"
5753 <doc xml:whitespace="preserve">Sets the duration of @animation in milliseconds.
5754 This function will set #ClutterAnimation:alpha and
5755 #ClutterAnimation:timeline if needed.</doc>
5756 <return-value transfer-ownership="none">
5757 <type name="none" c:type="void"/>
5760 <parameter name="msecs" transfer-ownership="none">
5761 <doc xml:whitespace="preserve">the duration in milliseconds</doc>
5762 <type name="uint" c:type="guint"/>
5766 <method name="get_duration"
5767 c:identifier="clutter_animation_get_duration"
5769 <doc xml:whitespace="preserve">Retrieves the duration of @animation, in milliseconds.</doc>
5770 <return-value transfer-ownership="none">
5771 <doc xml:whitespace="preserve">the duration of the animation</doc>
5772 <type name="uint" c:type="guint"/>
5775 <method name="set_loop"
5776 c:identifier="clutter_animation_set_loop"
5778 <doc xml:whitespace="preserve">Sets whether @animation should loop over itself once finished.
5779 A looping #ClutterAnimation will not emit the #ClutterAnimation::completed
5780 signal when finished.
5781 This function will set #ClutterAnimation:alpha and
5782 #ClutterAnimation:timeline if needed.</doc>
5783 <return-value transfer-ownership="none">
5784 <type name="none" c:type="void"/>
5787 <parameter name="loop" transfer-ownership="none">
5788 <doc xml:whitespace="preserve">%TRUE if the animation should loop</doc>
5789 <type name="boolean" c:type="gboolean"/>
5793 <method name="get_loop"
5794 c:identifier="clutter_animation_get_loop"
5796 <doc xml:whitespace="preserve">Retrieves whether @animation is looping.</doc>
5797 <return-value transfer-ownership="none">
5798 <doc xml:whitespace="preserve">%TRUE if the animation is looping</doc>
5799 <type name="boolean" c:type="gboolean"/>
5802 <method name="set_timeline"
5803 c:identifier="clutter_animation_set_timeline"
5805 <doc xml:whitespace="preserve">Sets the #ClutterTimeline used by @animation.</doc>
5806 <return-value transfer-ownership="none">
5807 <type name="none" c:type="void"/>
5810 <parameter name="timeline" transfer-ownership="none">
5811 <doc xml:whitespace="preserve">a #ClutterTimeline, or %NULL to unset the current #ClutterTimeline</doc>
5812 <type name="Timeline" c:type="ClutterTimeline*"/>
5816 <method name="get_timeline"
5817 c:identifier="clutter_animation_get_timeline"
5819 <doc xml:whitespace="preserve">Retrieves the #ClutterTimeline used by @animation</doc>
5820 <return-value transfer-ownership="none">
5821 <doc xml:whitespace="preserve">the timeline used by the animation</doc>
5822 <type name="Timeline" c:type="ClutterTimeline*"/>
5825 <method name="set_alpha"
5826 c:identifier="clutter_animation_set_alpha"
5828 <doc xml:whitespace="preserve">Sets @alpha as the #ClutterAlpha used by @animation.
5829 If @alpha is not %NULL, the #ClutterAnimation will take ownership
5830 of the #ClutterAlpha instance.</doc>
5831 <return-value transfer-ownership="none">
5832 <type name="none" c:type="void"/>
5835 <parameter name="alpha" transfer-ownership="none">
5836 <doc xml:whitespace="preserve">a #ClutterAlpha, or %NULL to unset the current #ClutterAlpha</doc>
5837 <type name="Alpha" c:type="ClutterAlpha*"/>
5841 <method name="get_alpha"
5842 c:identifier="clutter_animation_get_alpha"
5844 <doc xml:whitespace="preserve">Retrieves the #ClutterAlpha used by @animation.</doc>
5845 <return-value transfer-ownership="none">
5846 <doc xml:whitespace="preserve">the alpha object used by the animation</doc>
5847 <type name="Alpha" c:type="ClutterAlpha*"/>
5850 <method name="bind" c:identifier="clutter_animation_bind" version="1.0">
5851 <doc xml:whitespace="preserve">Adds a single property with name @property_name to the
5852 animation @animation. For more information about animations,
5853 see clutter_actor_animate().
5854 This method returns the animation primarily to make chained
5855 calls convenient in language bindings.</doc>
5856 <return-value transfer-ownership="none">
5857 <doc xml:whitespace="preserve">The animation itself.</doc>
5858 <type name="Animation" c:type="ClutterAnimation*"/>
5861 <parameter name="property_name" transfer-ownership="none">
5862 <doc xml:whitespace="preserve">the property to control</doc>
5863 <type name="utf8" c:type="gchar*"/>
5865 <parameter name="final" transfer-ownership="none">
5866 <doc xml:whitespace="preserve">The final value of the property</doc>
5867 <type name="GObject.Value" c:type="GValue*"/>
5871 <method name="bind_interval"
5872 c:identifier="clutter_animation_bind_interval"
5874 <doc xml:whitespace="preserve">Binds @interval to the @property_name of the #GObject
5875 attached to @animation. The #ClutterAnimation will take
5876 ownership of the passed #ClutterInterval. For more information
5877 about animations, see clutter_actor_animate().
5878 If you need to update the interval instance use
5879 clutter_animation_update_property() instead.</doc>
5880 <return-value transfer-ownership="none">
5881 <doc xml:whitespace="preserve">The animation itself.</doc>
5882 <type name="Animation" c:type="ClutterAnimation*"/>
5885 <parameter name="property_name" transfer-ownership="none">
5886 <doc xml:whitespace="preserve">the property to control</doc>
5887 <type name="utf8" c:type="gchar*"/>
5889 <parameter name="interval" transfer-ownership="full">
5890 <doc xml:whitespace="preserve">a #ClutterInterval</doc>
5891 <type name="Interval" c:type="ClutterInterval*"/>
5895 <method name="has_property"
5896 c:identifier="clutter_animation_has_property"
5898 <doc xml:whitespace="preserve">Checks whether @animation is controlling @property_name.
5899 #ClutterAnimation, %FALSE otherwise</doc>
5900 <return-value transfer-ownership="none">
5901 <doc xml:whitespace="preserve">%TRUE if the property is animated by the</doc>
5902 <type name="boolean" c:type="gboolean"/>
5905 <parameter name="property_name" transfer-ownership="none">
5906 <doc xml:whitespace="preserve">name of the property</doc>
5907 <type name="utf8" c:type="gchar*"/>
5911 <method name="update"
5912 c:identifier="clutter_animation_update"
5914 <doc xml:whitespace="preserve">Updates the @final value of the interval for @property_name</doc>
5915 <return-value transfer-ownership="none">
5916 <doc xml:whitespace="preserve">The animation itself.</doc>
5917 <type name="Animation" c:type="ClutterAnimation*"/>
5920 <parameter name="property_name" transfer-ownership="none">
5921 <doc xml:whitespace="preserve">name of the property</doc>
5922 <type name="utf8" c:type="gchar*"/>
5924 <parameter name="final" transfer-ownership="none">
5925 <doc xml:whitespace="preserve">The final value of the property</doc>
5926 <type name="GObject.Value" c:type="GValue*"/>
5930 <method name="update_interval"
5931 c:identifier="clutter_animation_update_interval"
5933 <doc xml:whitespace="preserve">Changes the @interval for @property_name. The #ClutterAnimation
5934 will take ownership of the passed #ClutterInterval.</doc>
5935 <return-value transfer-ownership="none">
5936 <type name="none" c:type="void"/>
5939 <parameter name="property_name" transfer-ownership="none">
5940 <doc xml:whitespace="preserve">name of the property</doc>
5941 <type name="utf8" c:type="gchar*"/>
5943 <parameter name="interval" transfer-ownership="none">
5944 <doc xml:whitespace="preserve">a #ClutterInterval</doc>
5945 <type name="Interval" c:type="ClutterInterval*"/>
5949 <method name="unbind_property"
5950 c:identifier="clutter_animation_unbind_property"
5952 <doc xml:whitespace="preserve">Removes @property_name from the list of animated properties.</doc>
5953 <return-value transfer-ownership="none">
5954 <type name="none" c:type="void"/>
5957 <parameter name="property_name" transfer-ownership="none">
5958 <doc xml:whitespace="preserve">name of the property</doc>
5959 <type name="utf8" c:type="gchar*"/>
5963 <method name="get_interval"
5964 c:identifier="clutter_animation_get_interval"
5966 <doc xml:whitespace="preserve">Retrieves the #ClutterInterval associated to @property_name
5968 property with the same name was found. The returned interval is
5969 owned by the #ClutterAnimation and should not be unreferenced</doc>
5970 <return-value transfer-ownership="none">
5971 <doc xml:whitespace="preserve">a #ClutterInterval or %NULL if no</doc>
5972 <type name="Interval" c:type="ClutterInterval*"/>
5975 <parameter name="property_name" transfer-ownership="none">
5976 <doc xml:whitespace="preserve">name of the property</doc>
5977 <type name="utf8" c:type="gchar*"/>
5981 <method name="completed"
5982 c:identifier="clutter_animation_completed"
5984 <doc xml:whitespace="preserve">Emits the ::completed signal on @animation
5985 When using this function with a #ClutterAnimation created
5986 by the clutter_actor_animate() family of functions, @animation
5987 will be unreferenced and it will not be valid anymore,
5988 unless g_object_ref() was called before calling this function
5989 or unless a reference was taken inside a handler for the
5990 #ClutterAnimation::completed signal</doc>
5991 <return-value transfer-ownership="none">
5992 <type name="none" c:type="void"/>
5995 <property name="alpha"
5998 transfer-ownership="none">
5999 <doc xml:whitespace="preserve">The #ClutterAlpha used by the animation.</doc>
6000 <type name="Alpha" c:type="ClutterAlpha"/>
6002 <property name="duration"
6005 transfer-ownership="none">
6006 <doc xml:whitespace="preserve">The duration of the animation, expressed in milliseconds.</doc>
6007 <type name="uint" c:type="guint"/>
6009 <property name="loop"
6012 transfer-ownership="none">
6013 <doc xml:whitespace="preserve">Whether the animation should loop.</doc>
6014 <type name="boolean" c:type="gboolean"/>
6016 <property name="mode"
6019 transfer-ownership="none">
6020 <doc xml:whitespace="preserve">The animation mode, either a value from #ClutterAnimationMode
6021 or a value returned by clutter_alpha_register_func(). The
6022 default value is %CLUTTER_LINEAR.</doc>
6023 <type name="ulong" c:type="gulong"/>
6025 <property name="object"
6028 transfer-ownership="none">
6029 <doc xml:whitespace="preserve">The #GObject to which the animation applies.</doc>
6030 <type name="GObject.Object" c:type="GObject"/>
6032 <property name="timeline"
6035 transfer-ownership="none">
6036 <doc xml:whitespace="preserve">The #ClutterTimeline used by the animation.</doc>
6037 <type name="Timeline" c:type="ClutterTimeline"/>
6039 <field name="parent_instance">
6040 <type name="GObject.Object" c:type="GObject"/>
6043 <type name="AnimationPrivate" c:type="ClutterAnimationPrivate*"/>
6045 <glib:signal name="completed" version="1.0">
6046 <doc xml:whitespace="preserve">The ::completed signal is emitted once the animation has
6048 The @animation instance is guaranteed to be valid for the entire
6049 duration of the signal emission chain.</doc>
6050 <return-value transfer-ownership="full">
6051 <type name="none" c:type="void"/>
6054 <glib:signal name="started" version="1.0">
6055 <doc xml:whitespace="preserve">The ::started signal is emitted once the animation has been
6057 <return-value transfer-ownership="full">
6058 <type name="none" c:type="void"/>
6062 <record name="AnimationClass"
6063 c:type="ClutterAnimationClass"
6064 glib:is-gtype-struct-for="Animation"
6066 <doc xml:whitespace="preserve">The #ClutterAnimationClass structure contains only private data and
6067 should be accessed using the provided functions.</doc>
6068 <field name="parent_class">
6069 <type name="GObject.ObjectClass" c:type="GObjectClass"/>
6071 <field name="started">
6072 <callback name="started" c:type="started">
6073 <return-value transfer-ownership="none">
6074 <type name="none" c:type="void"/>
6077 <parameter name="animation" transfer-ownership="none">
6078 <type name="Animation" c:type="ClutterAnimation*"/>
6083 <field name="completed">
6084 <callback name="completed" c:type="completed">
6085 <return-value transfer-ownership="none">
6086 <type name="none" c:type="void"/>
6089 <parameter name="animation" transfer-ownership="none">
6090 <type name="Animation" c:type="ClutterAnimation*"/>
6095 <field name="clutter_reserved1">
6096 <callback name="clutter_reserved1" c:type="_clutter_reserved1">
6097 <return-value transfer-ownership="none">
6098 <type name="none" c:type="void"/>
6102 <field name="clutter_reserved2">
6103 <callback name="clutter_reserved2" c:type="_clutter_reserved2">
6104 <return-value transfer-ownership="none">
6105 <type name="none" c:type="void"/>
6109 <field name="clutter_reserved3">
6110 <callback name="clutter_reserved3" c:type="_clutter_reserved3">
6111 <return-value transfer-ownership="none">
6112 <type name="none" c:type="void"/>
6116 <field name="clutter_reserved4">
6117 <callback name="clutter_reserved4" c:type="_clutter_reserved4">
6118 <return-value transfer-ownership="none">
6119 <type name="none" c:type="void"/>
6123 <field name="clutter_reserved5">
6124 <callback name="clutter_reserved5" c:type="_clutter_reserved5">
6125 <return-value transfer-ownership="none">
6126 <type name="none" c:type="void"/>
6130 <field name="clutter_reserved6">
6131 <callback name="clutter_reserved6" c:type="_clutter_reserved6">
6132 <return-value transfer-ownership="none">
6133 <type name="none" c:type="void"/>
6137 <field name="clutter_reserved7">
6138 <callback name="clutter_reserved7" c:type="_clutter_reserved7">
6139 <return-value transfer-ownership="none">
6140 <type name="none" c:type="void"/>
6144 <field name="clutter_reserved8">
6145 <callback name="clutter_reserved8" c:type="_clutter_reserved8">
6146 <return-value transfer-ownership="none">
6147 <type name="none" c:type="void"/>
6152 <enumeration name="AnimationMode"
6154 glib:type-name="ClutterAnimationMode"
6155 glib:get-type="clutter_animation_mode_get_type"
6156 c:type="ClutterAnimationMode">
6157 <doc xml:whitespace="preserve">The animation modes used by #ClutterAlpha and #ClutterAnimation. This
6158 enumeration can be expanded in later versions of Clutter. See the
6159 #ClutterAlpha documentation for a graph of all the animation modes.
6160 Every global alpha function registered using clutter_alpha_register_func()
6161 or clutter_alpha_register_closure() will have a logical id greater than
6162 %CLUTTER_ANIMATION_LAST.</doc>
6163 <member name="custom_mode"
6165 c:identifier="CLUTTER_CUSTOM_MODE"
6166 glib:nick="custom-mode"/>
6167 <member name="linear"
6169 c:identifier="CLUTTER_LINEAR"
6170 glib:nick="linear"/>
6171 <member name="ease_in_quad"
6173 c:identifier="CLUTTER_EASE_IN_QUAD"
6174 glib:nick="ease-in-quad"/>
6175 <member name="ease_out_quad"
6177 c:identifier="CLUTTER_EASE_OUT_QUAD"
6178 glib:nick="ease-out-quad"/>
6179 <member name="ease_in_out_quad"
6181 c:identifier="CLUTTER_EASE_IN_OUT_QUAD"
6182 glib:nick="ease-in-out-quad"/>
6183 <member name="ease_in_cubic"
6185 c:identifier="CLUTTER_EASE_IN_CUBIC"
6186 glib:nick="ease-in-cubic"/>
6187 <member name="ease_out_cubic"
6189 c:identifier="CLUTTER_EASE_OUT_CUBIC"
6190 glib:nick="ease-out-cubic"/>
6191 <member name="ease_in_out_cubic"
6193 c:identifier="CLUTTER_EASE_IN_OUT_CUBIC"
6194 glib:nick="ease-in-out-cubic"/>
6195 <member name="ease_in_quart"
6197 c:identifier="CLUTTER_EASE_IN_QUART"
6198 glib:nick="ease-in-quart"/>
6199 <member name="ease_out_quart"
6201 c:identifier="CLUTTER_EASE_OUT_QUART"
6202 glib:nick="ease-out-quart"/>
6203 <member name="ease_in_out_quart"
6205 c:identifier="CLUTTER_EASE_IN_OUT_QUART"
6206 glib:nick="ease-in-out-quart"/>
6207 <member name="ease_in_quint"
6209 c:identifier="CLUTTER_EASE_IN_QUINT"
6210 glib:nick="ease-in-quint"/>
6211 <member name="ease_out_quint"
6213 c:identifier="CLUTTER_EASE_OUT_QUINT"
6214 glib:nick="ease-out-quint"/>
6215 <member name="ease_in_out_quint"
6217 c:identifier="CLUTTER_EASE_IN_OUT_QUINT"
6218 glib:nick="ease-in-out-quint"/>
6219 <member name="ease_in_sine"
6221 c:identifier="CLUTTER_EASE_IN_SINE"
6222 glib:nick="ease-in-sine"/>
6223 <member name="ease_out_sine"
6225 c:identifier="CLUTTER_EASE_OUT_SINE"
6226 glib:nick="ease-out-sine"/>
6227 <member name="ease_in_out_sine"
6229 c:identifier="CLUTTER_EASE_IN_OUT_SINE"
6230 glib:nick="ease-in-out-sine"/>
6231 <member name="ease_in_expo"
6233 c:identifier="CLUTTER_EASE_IN_EXPO"
6234 glib:nick="ease-in-expo"/>
6235 <member name="ease_out_expo"
6237 c:identifier="CLUTTER_EASE_OUT_EXPO"
6238 glib:nick="ease-out-expo"/>
6239 <member name="ease_in_out_expo"
6241 c:identifier="CLUTTER_EASE_IN_OUT_EXPO"
6242 glib:nick="ease-in-out-expo"/>
6243 <member name="ease_in_circ"
6245 c:identifier="CLUTTER_EASE_IN_CIRC"
6246 glib:nick="ease-in-circ"/>
6247 <member name="ease_out_circ"
6249 c:identifier="CLUTTER_EASE_OUT_CIRC"
6250 glib:nick="ease-out-circ"/>
6251 <member name="ease_in_out_circ"
6253 c:identifier="CLUTTER_EASE_IN_OUT_CIRC"
6254 glib:nick="ease-in-out-circ"/>
6255 <member name="ease_in_elastic"
6257 c:identifier="CLUTTER_EASE_IN_ELASTIC"
6258 glib:nick="ease-in-elastic"/>
6259 <member name="ease_out_elastic"
6261 c:identifier="CLUTTER_EASE_OUT_ELASTIC"
6262 glib:nick="ease-out-elastic"/>
6263 <member name="ease_in_out_elastic"
6265 c:identifier="CLUTTER_EASE_IN_OUT_ELASTIC"
6266 glib:nick="ease-in-out-elastic"/>
6267 <member name="ease_in_back"
6269 c:identifier="CLUTTER_EASE_IN_BACK"
6270 glib:nick="ease-in-back"/>
6271 <member name="ease_out_back"
6273 c:identifier="CLUTTER_EASE_OUT_BACK"
6274 glib:nick="ease-out-back"/>
6275 <member name="ease_in_out_back"
6277 c:identifier="CLUTTER_EASE_IN_OUT_BACK"
6278 glib:nick="ease-in-out-back"/>
6279 <member name="ease_in_bounce"
6281 c:identifier="CLUTTER_EASE_IN_BOUNCE"
6282 glib:nick="ease-in-bounce"/>
6283 <member name="ease_out_bounce"
6285 c:identifier="CLUTTER_EASE_OUT_BOUNCE"
6286 glib:nick="ease-out-bounce"/>
6287 <member name="ease_in_out_bounce"
6289 c:identifier="CLUTTER_EASE_IN_OUT_BOUNCE"
6290 glib:nick="ease-in-out-bounce"/>
6291 <member name="animation_last"
6293 c:identifier="CLUTTER_ANIMATION_LAST"
6294 glib:nick="animation-last"/>
6296 <record name="AnimationPrivate" c:type="ClutterAnimationPrivate">
6298 <class name="Animator"
6299 c:type="ClutterAnimator"
6301 parent="GObject.Object"
6302 glib:type-name="ClutterAnimator"
6303 glib:get-type="clutter_animator_get_type"
6304 glib:type-struct="AnimatorClass">
6305 <doc xml:whitespace="preserve">The #ClutterAnimator structure contains only private data and
6306 should be accessed using the provided API</doc>
6307 <implements name="Scriptable"/>
6308 <constructor name="new"
6309 c:identifier="clutter_animator_new"
6311 <doc xml:whitespace="preserve">Creates a new #ClutterAnimator instance</doc>
6312 <return-value transfer-ownership="full">
6313 <doc xml:whitespace="preserve">a new #ClutterAnimator.</doc>
6314 <type name="Animator" c:type="ClutterAnimator*"/>
6317 <method name="set_key"
6318 c:identifier="clutter_animator_set_key"
6320 <doc xml:whitespace="preserve">Sets a single key in the #ClutterAnimator for the @property_name of</doc>
6321 <return-value transfer-ownership="none">
6322 <doc xml:whitespace="preserve">The animator instance</doc>
6323 <type name="Animator" c:type="ClutterAnimator*"/>
6326 <parameter name="object" transfer-ownership="none">
6327 <doc xml:whitespace="preserve">a #GObject</doc>
6328 <type name="GObject.Object" c:type="GObject*"/>
6330 <parameter name="property_name" transfer-ownership="none">
6331 <doc xml:whitespace="preserve">the property to specify a key for</doc>
6332 <type name="utf8" c:type="gchar*"/>
6334 <parameter name="mode" transfer-ownership="none">
6335 <doc xml:whitespace="preserve">the id of the alpha function to use</doc>
6336 <type name="uint" c:type="guint"/>
6338 <parameter name="progress" transfer-ownership="none">
6339 <doc xml:whitespace="preserve">the normalized range at which stage of the animation this value applies</doc>
6340 <type name="double" c:type="gdouble"/>
6342 <parameter name="value" transfer-ownership="none">
6343 <doc xml:whitespace="preserve">the value property_name should have at progress.</doc>
6344 <type name="GObject.Value" c:type="GValue*"/>
6349 c:identifier="clutter_animator_set"
6352 <doc xml:whitespace="preserve">Adds multiple keys to a #ClutterAnimator, specifying the value a given
6353 property should have at a given progress of the animation. The mode
6354 specified is the mode used when going to this key from the previous key of
6356 If a given (object, property, progress) tuple already exist the mode and
6357 value will be replaced with the new values.</doc>
6358 <return-value transfer-ownership="none">
6359 <type name="none" c:type="void"/>
6362 <parameter name="first_object" transfer-ownership="none">
6363 <doc xml:whitespace="preserve">a #GObject</doc>
6364 <type name="any" c:type="gpointer"/>
6366 <parameter name="first_property_name" transfer-ownership="none">
6367 <doc xml:whitespace="preserve">the property to specify a key for</doc>
6368 <type name="utf8" c:type="gchar*"/>
6370 <parameter name="first_mode" transfer-ownership="none">
6371 <doc xml:whitespace="preserve">the id of the alpha function to use</doc>
6372 <type name="uint" c:type="guint"/>
6374 <parameter name="first_progress" transfer-ownership="none">
6375 <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>
6376 <type name="double" c:type="gdouble"/>
6378 <parameter transfer-ownership="none">
6384 <method name="get_keys"
6385 c:identifier="clutter_animator_get_keys"
6387 <doc xml:whitespace="preserve">Returns a list of pointers to opaque structures with accessor functions
6388 that describe the keys added to an animator.
6389 list of #ClutterAnimatorKey<!-- -->s; the contents of the list are owned
6390 by the #ClutterAnimator, but you should free the returned list when done,
6391 using g_list_free()</doc>
6392 <return-value transfer-ownership="container">
6393 <doc xml:whitespace="preserve">a</doc>
6394 <type name="GLib.List" c:type="GList*">
6395 <type name="AnimatorKey"/>
6399 <parameter name="object" transfer-ownership="none" allow-none="1">
6400 <doc xml:whitespace="preserve">a #GObject to search for, or %NULL for all objects</doc>
6401 <type name="GObject.Object" c:type="GObject*"/>
6403 <parameter name="property_name"
6404 transfer-ownership="none"
6406 <doc xml:whitespace="preserve">a specific property name to query for, or %NULL for all properties</doc>
6407 <type name="utf8" c:type="gchar*"/>
6409 <parameter name="progress" transfer-ownership="none">
6410 <doc xml:whitespace="preserve">a specific progress to search for, or a negative value for all progresses</doc>
6411 <type name="double" c:type="gdouble"/>
6415 <method name="remove_key"
6416 c:identifier="clutter_animator_remove_key"
6418 <doc xml:whitespace="preserve">Removes all keys matching the conditions specificed in the arguments.</doc>
6419 <return-value transfer-ownership="none">
6420 <type name="none" c:type="void"/>
6423 <parameter name="object" transfer-ownership="none" allow-none="1">
6424 <doc xml:whitespace="preserve">a #GObject to search for, or %NULL for all</doc>
6425 <type name="GObject.Object" c:type="GObject*"/>
6427 <parameter name="property_name"
6428 transfer-ownership="none"
6430 <doc xml:whitespace="preserve">a specific property name to query for, or %NULL for all</doc>
6431 <type name="utf8" c:type="gchar*"/>
6433 <parameter name="progress" transfer-ownership="none">
6434 <doc xml:whitespace="preserve">a specific progress to search for or a negative value for all</doc>
6435 <type name="double" c:type="gdouble"/>
6439 <method name="start" c:identifier="clutter_animator_start" version="1.2">
6440 <doc xml:whitespace="preserve">Start the ClutterAnimator, this is a thin wrapper that rewinds
6441 and starts the animators current timeline.</doc>
6442 <return-value transfer-ownership="full">
6443 <doc xml:whitespace="preserve">the #ClutterTimeline that drives the animator.</doc>
6444 <type name="Timeline" c:type="ClutterTimeline*"/>
6447 <method name="compute_value"
6448 c:identifier="clutter_animator_compute_value"
6450 <doc xml:whitespace="preserve">Compute the value for a managed property at a given progress.
6451 If the property is an ease-in property, the current value of the property
6452 on the object will be used as the starting point for computation.
6453 an error occurs or the progress is before any of the keys) %FALSE is
6454 returned and the #GValue is left untouched</doc>
6455 <return-value transfer-ownership="none">
6456 <doc xml:whitespace="preserve">%TRUE if the computation yields has a value, otherwise (when</doc>
6457 <type name="boolean" c:type="gboolean"/>
6460 <parameter name="object" transfer-ownership="none">
6461 <doc xml:whitespace="preserve">a #GObject</doc>
6462 <type name="GObject.Object" c:type="GObject*"/>
6464 <parameter name="property_name" transfer-ownership="none">
6465 <doc xml:whitespace="preserve">the name of the property on object to check</doc>
6466 <type name="utf8" c:type="gchar*"/>
6468 <parameter name="progress" transfer-ownership="none">
6469 <doc xml:whitespace="preserve">a value between 0.0 and 1.0</doc>
6470 <type name="double" c:type="gdouble"/>
6472 <parameter name="value" transfer-ownership="none">
6473 <doc xml:whitespace="preserve">an initialized value to store the computed result</doc>
6474 <type name="GObject.Value" c:type="GValue*"/>
6478 <method name="get_timeline"
6479 c:identifier="clutter_animator_get_timeline"
6481 <doc xml:whitespace="preserve">Get the timeline hooked up for driving the #ClutterAnimator</doc>
6482 <return-value transfer-ownership="none">
6483 <doc xml:whitespace="preserve">the #ClutterTimeline that drives the animator</doc>
6484 <type name="Timeline" c:type="ClutterTimeline*"/>
6487 <method name="set_timeline"
6488 c:identifier="clutter_animator_set_timeline"
6490 <doc xml:whitespace="preserve">Sets an external timeline that will be used for driving the animation</doc>
6491 <return-value transfer-ownership="none">
6492 <type name="none" c:type="void"/>
6495 <parameter name="timeline" transfer-ownership="none">
6496 <doc xml:whitespace="preserve">a #ClutterTimeline</doc>
6497 <type name="Timeline" c:type="ClutterTimeline*"/>
6501 <method name="get_duration"
6502 c:identifier="clutter_animator_get_duration"
6504 <doc xml:whitespace="preserve">Retrieves the current duration of an animator</doc>
6505 <return-value transfer-ownership="none">
6506 <doc xml:whitespace="preserve">the duration of the animation, in milliseconds</doc>
6507 <type name="uint" c:type="guint"/>
6510 <method name="set_duration"
6511 c:identifier="clutter_animator_set_duration"
6513 <doc xml:whitespace="preserve">Runs the timeline of the #ClutterAnimator with a duration in msecs
6515 <return-value transfer-ownership="none">
6516 <type name="none" c:type="void"/>
6519 <parameter name="duration" transfer-ownership="none">
6520 <doc xml:whitespace="preserve">milliseconds a run of the animator should last.</doc>
6521 <type name="uint" c:type="guint"/>
6525 <method name="property_get_ease_in"
6526 c:identifier="clutter_animator_property_get_ease_in"
6528 <doc xml:whitespace="preserve">Checks if a property value is to be eased into the animation.</doc>
6529 <return-value transfer-ownership="none">
6530 <doc xml:whitespace="preserve">%TRUE if the property is eased in</doc>
6531 <type name="boolean" c:type="gboolean"/>
6534 <parameter name="object" transfer-ownership="none">
6535 <doc xml:whitespace="preserve">a #GObject</doc>
6536 <type name="GObject.Object" c:type="GObject*"/>
6538 <parameter name="property_name" transfer-ownership="none">
6539 <doc xml:whitespace="preserve">the name of a property on object</doc>
6540 <type name="utf8" c:type="gchar*"/>
6544 <method name="property_set_ease_in"
6545 c:identifier="clutter_animator_property_set_ease_in"
6547 <doc xml:whitespace="preserve">Sets whether a property value is to be eased into the animation.</doc>
6548 <return-value transfer-ownership="none">
6549 <type name="none" c:type="void"/>
6552 <parameter name="object" transfer-ownership="none">
6553 <doc xml:whitespace="preserve">a #GObject</doc>
6554 <type name="GObject.Object" c:type="GObject*"/>
6556 <parameter name="property_name" transfer-ownership="none">
6557 <doc xml:whitespace="preserve">the name of a property on object</doc>
6558 <type name="utf8" c:type="gchar*"/>
6560 <parameter name="ease_in" transfer-ownership="none">
6561 <doc xml:whitespace="preserve">we are going to be easing in this property</doc>
6562 <type name="boolean" c:type="gboolean"/>
6566 <method name="property_get_interpolation"
6567 c:identifier="clutter_animator_property_get_interpolation"
6569 <doc xml:whitespace="preserve">Get the interpolation used by animator for a property on a particular
6571 <return-value transfer-ownership="full">
6572 <doc xml:whitespace="preserve">a ClutterInterpolation value.</doc>
6573 <type name="Interpolation" c:type="ClutterInterpolation"/>
6576 <parameter name="object" transfer-ownership="none">
6577 <doc xml:whitespace="preserve">a #GObject</doc>
6578 <type name="GObject.Object" c:type="GObject*"/>
6580 <parameter name="property_name" transfer-ownership="none">
6581 <doc xml:whitespace="preserve">the name of a property on object</doc>
6582 <type name="utf8" c:type="gchar*"/>
6586 <method name="property_set_interpolation"
6587 c:identifier="clutter_animator_property_set_interpolation"
6589 <doc xml:whitespace="preserve">Set the interpolation method to use, %CLUTTER_INTERPOLATION_LINEAR causes
6590 the values to linearly change between the values, and
6591 %CLUTTER_INTERPOLATION_CUBIC causes the values to smoothly change between
6593 <return-value transfer-ownership="none">
6594 <type name="none" c:type="void"/>
6597 <parameter name="object" transfer-ownership="none">
6598 <doc xml:whitespace="preserve">a #GObject</doc>
6599 <type name="GObject.Object" c:type="GObject*"/>
6601 <parameter name="property_name" transfer-ownership="none">
6602 <doc xml:whitespace="preserve">the name of a property on object</doc>
6603 <type name="utf8" c:type="gchar*"/>
6605 <parameter name="interpolation" transfer-ownership="none">
6606 <doc xml:whitespace="preserve">the #ClutterInterpolation to use</doc>
6607 <type name="Interpolation" c:type="ClutterInterpolation"/>
6611 <property name="duration"
6614 transfer-ownership="none">
6615 <doc xml:whitespace="preserve">The duration of the #ClutterTimeline used by the #ClutterAnimator
6616 to drive the animation</doc>
6617 <type name="uint" c:type="guint"/>
6619 <property name="timeline"
6622 transfer-ownership="none">
6623 <doc xml:whitespace="preserve">The #ClutterTimeline used by the #ClutterAnimator to drive the
6625 <type name="Timeline" c:type="ClutterTimeline"/>
6627 <field name="parent_instance">
6628 <type name="GObject.Object" c:type="GObject"/>
6631 <type name="AnimatorPrivate" c:type="ClutterAnimatorPrivate*"/>
6634 <record name="AnimatorClass"
6635 c:type="ClutterAnimatorClass"
6636 glib:is-gtype-struct-for="Animator"
6638 <doc xml:whitespace="preserve">The #ClutterAnimatorClass structure contains only private data</doc>
6639 <field name="parent_class">
6640 <type name="GObject.ObjectClass" c:type="GObjectClass"/>
6642 <field name="_padding_dummy">
6643 <array zero-terminated="0" c:type="gpointer" fixed-size="16">
6648 <record name="AnimatorKey"
6649 c:type="ClutterAnimatorKey"
6651 glib:type-name="ClutterAnimatorKey"
6652 glib:get-type="clutter_animator_key_get_type">
6653 <doc xml:whitespace="preserve">A key frame inside a #ClutterAnimator</doc>
6654 <method name="get_object"
6655 c:identifier="clutter_animator_key_get_object"
6657 <doc xml:whitespace="preserve">Retrieves the object a key applies to.</doc>
6658 <return-value transfer-ownership="none">
6659 <doc xml:whitespace="preserve">the object an animator_key exist for.</doc>
6660 <type name="GObject.Object" c:type="GObject*"/>
6663 <method name="get_property_name"
6664 c:identifier="clutter_animator_key_get_property_name"
6666 <doc xml:whitespace="preserve">Retrieves the name of the property a key applies to.</doc>
6667 <return-value transfer-ownership="none">
6668 <doc xml:whitespace="preserve">the name of the property an animator_key exist for.</doc>
6669 <type name="utf8" c:type="gchar*"/>
6672 <method name="get_property_type"
6673 c:identifier="clutter_animator_key_get_property_type"
6675 <doc xml:whitespace="preserve">Retrieves the #GType of the property a key applies to
6676 You can use this type to initialize the #GValue to pass to
6677 clutter_animator_key_get_value()</doc>
6678 <return-value transfer-ownership="none">
6679 <doc xml:whitespace="preserve">the #GType of the property</doc>
6680 <type name="GType" c:type="GType"/>
6683 <method name="get_mode"
6684 c:identifier="clutter_animator_key_get_mode"
6686 <doc xml:whitespace="preserve">Retrieves the mode of a #ClutterAnimator key, for the first key of a
6687 property for an object this represents the whether the animation is
6688 open ended and or curved for the remainding keys for the property it
6689 represents the easing mode.</doc>
6690 <return-value transfer-ownership="none">
6691 <doc xml:whitespace="preserve">the mode of a #ClutterAnimatorKey</doc>
6692 <type name="ulong" c:type="gulong"/>
6695 <method name="get_progress"
6696 c:identifier="clutter_animator_key_get_progress"
6698 <doc xml:whitespace="preserve">Retrieves the progress of an clutter_animator_key</doc>
6699 <return-value transfer-ownership="none">
6700 <doc xml:whitespace="preserve">the progress defined for a #ClutterAnimator key.</doc>
6701 <type name="double" c:type="gdouble"/>
6704 <method name="get_value"
6705 c:identifier="clutter_animator_key_get_value"
6707 <doc xml:whitespace="preserve">Retrieves a copy of the value for a #ClutterAnimatorKey.
6708 The passed in #GValue needs to be already initialized for the value
6709 type of the key or to a type that allow transformation from the value
6711 Use g_value_unset() when done.
6712 %FALSE otherwise</doc>
6713 <return-value transfer-ownership="none">
6714 <doc xml:whitespace="preserve">%TRUE if the passed #GValue was successfully set, and</doc>
6715 <type name="boolean" c:type="gboolean"/>
6718 <parameter name="value" transfer-ownership="none">
6719 <doc xml:whitespace="preserve">a #GValue initialized with the correct type for the animator key</doc>
6720 <type name="GObject.Value" c:type="GValue*"/>
6725 <record name="AnimatorPrivate" c:type="ClutterAnimatorPrivate">
6727 <record name="AnyEvent" c:type="ClutterAnyEvent" version="0.2">
6728 <doc xml:whitespace="preserve">Common members for a #ClutterEvent</doc>
6729 <field name="type" writable="1">
6730 <type name="EventType" c:type="ClutterEventType"/>
6732 <field name="time" writable="1">
6733 <type name="uint32" c:type="guint32"/>
6735 <field name="flags" writable="1">
6736 <type name="EventFlags" c:type="ClutterEventFlags"/>
6738 <field name="stage" writable="1">
6739 <type name="Stage" c:type="ClutterStage*"/>
6741 <field name="source" writable="1">
6742 <type name="Actor" c:type="ClutterActor*"/>
6745 <constant name="Aogonek" value="417">
6748 <constant name="Arabic_0" value="16778848">
6751 <constant name="Arabic_1" value="16778849">
6754 <constant name="Arabic_2" value="16778850">
6757 <constant name="Arabic_3" value="16778851">
6760 <constant name="Arabic_4" value="16778852">
6763 <constant name="Arabic_5" value="16778853">
6766 <constant name="Arabic_6" value="16778854">
6769 <constant name="Arabic_7" value="16778855">
6772 <constant name="Arabic_8" value="16778856">
6775 <constant name="Arabic_9" value="16778857">
6778 <constant name="Arabic_ain" value="1497">
6781 <constant name="Arabic_alef" value="1479">
6784 <constant name="Arabic_alefmaksura" value="1513">
6787 <constant name="Arabic_beh" value="1480">
6790 <constant name="Arabic_comma" value="1452">
6793 <constant name="Arabic_dad" value="1494">
6796 <constant name="Arabic_dal" value="1487">
6799 <constant name="Arabic_damma" value="1519">
6802 <constant name="Arabic_dammatan" value="1516">
6805 <constant name="Arabic_ddal" value="16778888">
6808 <constant name="Arabic_farsi_yeh" value="16778956">
6811 <constant name="Arabic_fatha" value="1518">
6814 <constant name="Arabic_fathatan" value="1515">
6817 <constant name="Arabic_feh" value="1505">
6820 <constant name="Arabic_fullstop" value="16778964">
6823 <constant name="Arabic_gaf" value="16778927">
6826 <constant name="Arabic_ghain" value="1498">
6829 <constant name="Arabic_ha" value="1511">
6832 <constant name="Arabic_hah" value="1485">
6835 <constant name="Arabic_hamza" value="1473">
6838 <constant name="Arabic_hamza_above" value="16778836">
6841 <constant name="Arabic_hamza_below" value="16778837">
6844 <constant name="Arabic_hamzaonalef" value="1475">
6847 <constant name="Arabic_hamzaonwaw" value="1476">
6850 <constant name="Arabic_hamzaonyeh" value="1478">
6853 <constant name="Arabic_hamzaunderalef" value="1477">
6856 <constant name="Arabic_heh" value="1511">
6859 <constant name="Arabic_heh_doachashmee" value="16778942">
6862 <constant name="Arabic_heh_goal" value="16778945">
6865 <constant name="Arabic_jeem" value="1484">
6868 <constant name="Arabic_jeh" value="16778904">
6871 <constant name="Arabic_kaf" value="1507">
6874 <constant name="Arabic_kasra" value="1520">
6877 <constant name="Arabic_kasratan" value="1517">
6880 <constant name="Arabic_keheh" value="16778921">
6883 <constant name="Arabic_khah" value="1486">
6886 <constant name="Arabic_lam" value="1508">
6889 <constant name="Arabic_madda_above" value="16778835">
6892 <constant name="Arabic_maddaonalef" value="1474">
6895 <constant name="Arabic_meem" value="1509">
6898 <constant name="Arabic_noon" value="1510">
6901 <constant name="Arabic_noon_ghunna" value="16778938">
6904 <constant name="Arabic_peh" value="16778878">
6907 <constant name="Arabic_percent" value="16778858">
6910 <constant name="Arabic_qaf" value="1506">
6913 <constant name="Arabic_question_mark" value="1471">
6916 <constant name="Arabic_ra" value="1489">
6919 <constant name="Arabic_rreh" value="16778897">
6922 <constant name="Arabic_sad" value="1493">
6925 <constant name="Arabic_seen" value="1491">
6928 <constant name="Arabic_semicolon" value="1467">
6931 <constant name="Arabic_shadda" value="1521">
6934 <constant name="Arabic_sheen" value="1492">
6937 <constant name="Arabic_sukun" value="1522">
6940 <constant name="Arabic_superscript_alef" value="16778864">
6943 <constant name="Arabic_switch" value="65406">
6946 <constant name="Arabic_tah" value="1495">
6949 <constant name="Arabic_tatweel" value="1504">
6952 <constant name="Arabic_tcheh" value="16778886">
6955 <constant name="Arabic_teh" value="1482">
6958 <constant name="Arabic_tehmarbuta" value="1481">
6961 <constant name="Arabic_thal" value="1488">
6964 <constant name="Arabic_theh" value="1483">
6967 <constant name="Arabic_tteh" value="16778873">
6970 <constant name="Arabic_veh" value="16778916">
6973 <constant name="Arabic_waw" value="1512">
6976 <constant name="Arabic_yeh" value="1514">
6979 <constant name="Arabic_yeh_baree" value="16778962">
6982 <constant name="Arabic_zah" value="1496">
6985 <constant name="Arabic_zain" value="1490">
6988 <constant name="Aring" value="197">
6991 <constant name="Armenian_AT" value="16778552">
6994 <constant name="Armenian_AYB" value="16778545">
6997 <constant name="Armenian_BEN" value="16778546">
7000 <constant name="Armenian_CHA" value="16778569">
7003 <constant name="Armenian_DA" value="16778548">
7006 <constant name="Armenian_DZA" value="16778561">
7009 <constant name="Armenian_E" value="16778551">
7012 <constant name="Armenian_FE" value="16778582">
7015 <constant name="Armenian_GHAT" value="16778562">
7018 <constant name="Armenian_GIM" value="16778547">
7021 <constant name="Armenian_HI" value="16778565">
7024 <constant name="Armenian_HO" value="16778560">
7027 <constant name="Armenian_INI" value="16778555">
7030 <constant name="Armenian_JE" value="16778571">
7033 <constant name="Armenian_KE" value="16778580">
7036 <constant name="Armenian_KEN" value="16778559">
7039 <constant name="Armenian_KHE" value="16778557">
7042 <constant name="Armenian_LYUN" value="16778556">
7045 <constant name="Armenian_MEN" value="16778564">
7048 <constant name="Armenian_NU" value="16778566">
7051 <constant name="Armenian_O" value="16778581">
7054 <constant name="Armenian_PE" value="16778570">
7057 <constant name="Armenian_PYUR" value="16778579">
7060 <constant name="Armenian_RA" value="16778572">
7063 <constant name="Armenian_RE" value="16778576">
7066 <constant name="Armenian_SE" value="16778573">
7069 <constant name="Armenian_SHA" value="16778567">
7072 <constant name="Armenian_TCHE" value="16778563">
7075 <constant name="Armenian_TO" value="16778553">
7078 <constant name="Armenian_TSA" value="16778558">
7081 <constant name="Armenian_TSO" value="16778577">
7084 <constant name="Armenian_TYUN" value="16778575">
7087 <constant name="Armenian_VEV" value="16778574">
7090 <constant name="Armenian_VO" value="16778568">
7093 <constant name="Armenian_VYUN" value="16778578">
7096 <constant name="Armenian_YECH" value="16778549">
7099 <constant name="Armenian_ZA" value="16778550">
7102 <constant name="Armenian_ZHE" value="16778554">
7105 <constant name="Armenian_accent" value="16778587">
7108 <constant name="Armenian_amanak" value="16778588">
7111 <constant name="Armenian_apostrophe" value="16778586">
7114 <constant name="Armenian_at" value="16778600">
7117 <constant name="Armenian_ayb" value="16778593">
7120 <constant name="Armenian_ben" value="16778594">
7123 <constant name="Armenian_but" value="16778589">
7126 <constant name="Armenian_cha" value="16778617">
7129 <constant name="Armenian_da" value="16778596">
7132 <constant name="Armenian_dza" value="16778609">
7135 <constant name="Armenian_e" value="16778599">
7138 <constant name="Armenian_exclam" value="16778588">
7141 <constant name="Armenian_fe" value="16778630">
7144 <constant name="Armenian_full_stop" value="16778633">
7147 <constant name="Armenian_ghat" value="16778610">
7150 <constant name="Armenian_gim" value="16778595">
7153 <constant name="Armenian_hi" value="16778613">
7156 <constant name="Armenian_ho" value="16778608">
7159 <constant name="Armenian_hyphen" value="16778634">
7162 <constant name="Armenian_ini" value="16778603">
7165 <constant name="Armenian_je" value="16778619">
7168 <constant name="Armenian_ke" value="16778628">
7171 <constant name="Armenian_ken" value="16778607">
7174 <constant name="Armenian_khe" value="16778605">
7177 <constant name="Armenian_ligature_ew" value="16778631">
7180 <constant name="Armenian_lyun" value="16778604">
7183 <constant name="Armenian_men" value="16778612">
7186 <constant name="Armenian_nu" value="16778614">
7189 <constant name="Armenian_o" value="16778629">
7192 <constant name="Armenian_paruyk" value="16778590">
7195 <constant name="Armenian_pe" value="16778618">
7198 <constant name="Armenian_pyur" value="16778627">
7201 <constant name="Armenian_question" value="16778590">
7204 <constant name="Armenian_ra" value="16778620">
7207 <constant name="Armenian_re" value="16778624">
7210 <constant name="Armenian_se" value="16778621">
7213 <constant name="Armenian_separation_mark" value="16778589">
7216 <constant name="Armenian_sha" value="16778615">
7219 <constant name="Armenian_shesht" value="16778587">
7222 <constant name="Armenian_tche" value="16778611">
7225 <constant name="Armenian_to" value="16778601">
7228 <constant name="Armenian_tsa" value="16778606">
7231 <constant name="Armenian_tso" value="16778625">
7234 <constant name="Armenian_tyun" value="16778623">
7237 <constant name="Armenian_verjaket" value="16778633">
7240 <constant name="Armenian_vev" value="16778622">
7243 <constant name="Armenian_vo" value="16778616">
7246 <constant name="Armenian_vyun" value="16778626">
7249 <constant name="Armenian_yech" value="16778597">
7252 <constant name="Armenian_yentamna" value="16778634">
7255 <constant name="Armenian_za" value="16778598">
7258 <constant name="Armenian_zhe" value="16778602">
7261 <constant name="Atilde" value="195">
7264 <constant name="AudibleBell_Enable" value="65146">
7267 <constant name="B" value="66">
7270 <constant name="Babovedot" value="16784898">
7273 <constant name="BackSpace" value="65288">
7276 <class name="Backend"
7277 c:type="ClutterBackend"
7278 parent="GObject.Object"
7280 glib:type-name="ClutterBackend"
7281 glib:get-type="clutter_backend_get_type"
7282 glib:type-struct="BackendClass">
7283 <virtual-method name="pre_parse" throws="1">
7284 <return-value transfer-ownership="none">
7285 <type name="boolean" c:type="gboolean"/>
7288 <virtual-method name="post_parse" throws="1">
7289 <return-value transfer-ownership="none">
7290 <type name="boolean" c:type="gboolean"/>
7293 <virtual-method name="create_stage" throws="1">
7294 <return-value transfer-ownership="full">
7295 <type name="StageWindow" c:type="ClutterStageWindow*"/>
7298 <parameter name="wrapper" transfer-ownership="none">
7299 <type name="Stage" c:type="ClutterStage*"/>
7303 <virtual-method name="init_events">
7304 <return-value transfer-ownership="none">
7305 <type name="none" c:type="void"/>
7308 <virtual-method name="init_features">
7309 <return-value transfer-ownership="none">
7310 <type name="none" c:type="void"/>
7313 <virtual-method name="add_options">
7314 <return-value transfer-ownership="none">
7315 <type name="none" c:type="void"/>
7318 <parameter name="group" transfer-ownership="none">
7319 <type name="GLib.OptionGroup" c:type="GOptionGroup*"/>
7323 <virtual-method name="get_features">
7324 <return-value transfer-ownership="full">
7325 <type name="FeatureFlags" c:type="ClutterFeatureFlags"/>
7328 <virtual-method name="redraw">
7329 <return-value transfer-ownership="none">
7330 <type name="none" c:type="void"/>
7333 <parameter name="stage" transfer-ownership="none">
7334 <type name="Stage" c:type="ClutterStage*"/>
7338 <virtual-method name="create_context" throws="1">
7339 <return-value transfer-ownership="none">
7340 <type name="boolean" c:type="gboolean"/>
7343 <virtual-method name="ensure_context">
7344 <return-value transfer-ownership="none">
7345 <type name="none" c:type="void"/>
7348 <parameter name="stage" transfer-ownership="none">
7349 <type name="Stage" c:type="ClutterStage*"/>
7353 <virtual-method name="get_device_manager">
7354 <return-value transfer-ownership="full">
7355 <type name="DeviceManager" c:type="ClutterDeviceManager*"/>
7358 <virtual-method name="copy_event_data">
7359 <return-value transfer-ownership="none">
7360 <type name="none" c:type="void"/>
7363 <parameter name="src" transfer-ownership="none">
7364 <type name="Event" c:type="ClutterEvent*"/>
7366 <parameter name="dest" transfer-ownership="none">
7367 <type name="Event" c:type="ClutterEvent*"/>
7371 <virtual-method name="free_event_data">
7372 <return-value transfer-ownership="none">
7373 <type name="none" c:type="void"/>
7376 <parameter name="event" transfer-ownership="none">
7377 <type name="Event" c:type="ClutterEvent*"/>
7381 <method name="set_resolution"
7382 c:identifier="clutter_backend_set_resolution"
7384 deprecated="Use #ClutterSettings:font-dpi instead">
7385 <doc xml:whitespace="preserve">Sets the resolution for font handling on the screen. This is a
7386 scale factor between points specified in a #PangoFontDescription
7387 and cairo units. The default value is 96, meaning that a 10 point
7388 font will be 13 units high. (10 * 96. / 72. = 13.3).
7389 Applications should never need to call this function.</doc>
7390 <return-value transfer-ownership="none">
7391 <type name="none" c:type="void"/>
7394 <parameter name="dpi" transfer-ownership="none">
7395 <doc xml:whitespace="preserve">the resolution in "dots per inch" (Physical inches aren't actually involved; the terminology is conventional).</doc>
7396 <type name="double" c:type="gdouble"/>
7400 <method name="set_double_click_time"
7401 c:identifier="clutter_backend_set_double_click_time"
7403 deprecated="Use #ClutterSettings:double-click-time instead"
7404 deprecated-version="1.4">
7405 <doc xml:whitespace="preserve">Sets the maximum time between two button press events, used to
7406 verify whether it's a double click event or not.</doc>
7407 <return-value transfer-ownership="none">
7408 <type name="none" c:type="void"/>
7411 <parameter name="msec" transfer-ownership="none">
7412 <doc xml:whitespace="preserve">milliseconds between two button press events</doc>
7413 <type name="uint" c:type="guint"/>
7417 <method name="get_double_click_time"
7418 c:identifier="clutter_backend_get_double_click_time"
7420 deprecated="Use #ClutterSettings:double-click-time instead"
7421 deprecated-version="1.4">
7422 <doc xml:whitespace="preserve">Gets the maximum time between two button press events, as set
7423 by clutter_backend_set_double_click_time().</doc>
7424 <return-value transfer-ownership="none">
7425 <doc xml:whitespace="preserve">a time in milliseconds</doc>
7426 <type name="uint" c:type="guint"/>
7429 <method name="set_double_click_distance"
7430 c:identifier="clutter_backend_set_double_click_distance"
7432 deprecated="Use #ClutterSettings:double-click-distance instead"
7433 deprecated-version="1.4">
7434 <doc xml:whitespace="preserve">Sets the maximum distance used to verify a double click event.</doc>
7435 <return-value transfer-ownership="none">
7436 <type name="none" c:type="void"/>
7439 <parameter name="distance" transfer-ownership="none">
7440 <doc xml:whitespace="preserve">a distance, in pixels</doc>
7441 <type name="uint" c:type="guint"/>
7445 <method name="get_double_click_distance"
7446 c:identifier="clutter_backend_get_double_click_distance"
7448 deprecated="Use #ClutterSettings:double-click-distance instead"
7449 deprecated-version="1.4">
7450 <doc xml:whitespace="preserve">Retrieves the distance used to verify a double click event</doc>
7451 <return-value transfer-ownership="none">
7452 <doc xml:whitespace="preserve">a distance, in pixels.</doc>
7453 <type name="uint" c:type="guint"/>
7456 <method name="set_font_name"
7457 c:identifier="clutter_backend_set_font_name"
7459 deprecated="Use #ClutterSettings:font-name instead"
7460 deprecated-version="1.4">
7461 <doc xml:whitespace="preserve">Sets the default font to be used by Clutter. The @font_name string
7462 must either be %NULL, which means that the font name from the
7463 default #ClutterBackend will be used; or be something that can
7464 be parsed by the pango_font_description_from_string() function.</doc>
7465 <return-value transfer-ownership="none">
7466 <type name="none" c:type="void"/>
7469 <parameter name="font_name" transfer-ownership="none">
7470 <doc xml:whitespace="preserve">the name of the font</doc>
7471 <type name="utf8" c:type="gchar*"/>
7475 <method name="get_font_name"
7476 c:identifier="clutter_backend_get_font_name"
7478 deprecated="Use #ClutterSettings:font-name instead"
7479 deprecated-version="1.4">
7480 <doc xml:whitespace="preserve">Retrieves the default font name as set by
7481 clutter_backend_set_font_name().
7482 owned by the #ClutterBackend and should never be modified or freed</doc>
7483 <return-value transfer-ownership="none">
7484 <doc xml:whitespace="preserve">the font name for the backend. The returned string is</doc>
7485 <type name="utf8" c:type="gchar*"/>
7488 <method name="get_resolution"
7489 c:identifier="clutter_backend_get_resolution"
7491 <doc xml:whitespace="preserve">Gets the resolution for font handling on the screen.
7492 The resolution is a scale factor between points specified in a
7493 #PangoFontDescription and cairo units. The default value is 96.0,
7494 meaning that a 10 point font will be 13 units
7495 high (10 * 96. / 72. = 13.3).
7496 Clutter will set the resolution using the current backend when
7497 initializing; the resolution is also stored in the
7498 #ClutterSettings:font-dpi property.
7500 <return-value transfer-ownership="none">
7501 <doc xml:whitespace="preserve">the current resolution, or -1 if no resolution</doc>
7502 <type name="double" c:type="gdouble"/>
7505 <method name="set_font_options"
7506 c:identifier="clutter_backend_set_font_options"
7508 <doc xml:whitespace="preserve">Sets the new font options for @backend. The #ClutterBackend will
7509 copy the #cairo_font_options_t.
7510 If @options is %NULL, the first following call to
7511 clutter_backend_get_font_options() will return the default font
7512 options for @backend.
7513 This function is intended for actors creating a Pango layout
7514 using the PangoCairo API.</doc>
7515 <return-value transfer-ownership="none">
7516 <type name="none" c:type="void"/>
7519 <parameter name="options" transfer-ownership="none">
7520 <doc xml:whitespace="preserve">Cairo font options for the backend, or %NULL</doc>
7521 <type name="cairo.FontOptions" c:type="cairo_font_options_t*"/>
7525 <method name="get_font_options"
7526 c:identifier="clutter_backend_get_font_options"
7528 <doc xml:whitespace="preserve">Retrieves the font options for @backend.
7529 The returned #cairo_font_options_t is owned by the backend and should
7530 not be modified or freed</doc>
7531 <return-value transfer-ownership="none">
7532 <doc xml:whitespace="preserve">the font options of the #ClutterBackend.</doc>
7533 <type name="cairo.FontOptions" c:type="cairo_font_options_t*"/>
7536 <field name="parent_instance">
7537 <type name="GObject.Object" c:type="GObject"/>
7540 <type name="BackendPrivate" c:type="ClutterBackendPrivate*"/>
7542 <glib:signal name="font-changed">
7543 <return-value transfer-ownership="full">
7544 <type name="none" c:type="void"/>
7547 <glib:signal name="resolution-changed">
7548 <return-value transfer-ownership="full">
7549 <type name="none" c:type="void"/>
7552 <glib:signal name="settings-changed">
7553 <return-value transfer-ownership="full">
7554 <type name="none" c:type="void"/>
7558 <record name="BackendClass"
7559 c:type="ClutterBackendClass"
7560 glib:is-gtype-struct-for="Backend">
7561 <field name="parent_class">
7562 <type name="GObject.ObjectClass" c:type="GObjectClass"/>
7564 <field name="pre_parse">
7565 <callback name="pre_parse" c:type="pre_parse" throws="1">
7566 <return-value transfer-ownership="none">
7567 <type name="boolean" c:type="gboolean"/>
7570 <parameter name="backend" transfer-ownership="none">
7571 <type name="Backend" c:type="ClutterBackend*"/>
7576 <field name="post_parse">
7577 <callback name="post_parse" c:type="post_parse" throws="1">
7578 <return-value transfer-ownership="none">
7579 <type name="boolean" c:type="gboolean"/>
7582 <parameter name="backend" transfer-ownership="none">
7583 <type name="Backend" c:type="ClutterBackend*"/>
7588 <field name="create_stage">
7589 <callback name="create_stage" c:type="create_stage" throws="1">
7590 <return-value transfer-ownership="full">
7591 <type name="StageWindow" c:type="ClutterStageWindow*"/>
7594 <parameter name="backend" transfer-ownership="none">
7595 <type name="Backend" c:type="ClutterBackend*"/>
7597 <parameter name="wrapper" transfer-ownership="none">
7598 <type name="Stage" c:type="ClutterStage*"/>
7603 <field name="init_events">
7604 <callback name="init_events" c:type="init_events">
7605 <return-value transfer-ownership="none">
7606 <type name="none" c:type="void"/>
7609 <parameter name="backend" transfer-ownership="none">
7610 <type name="Backend" c:type="ClutterBackend*"/>
7615 <field name="init_features">
7616 <callback name="init_features" c:type="init_features">
7617 <return-value transfer-ownership="none">
7618 <type name="none" c:type="void"/>
7621 <parameter name="backend" transfer-ownership="none">
7622 <type name="Backend" c:type="ClutterBackend*"/>
7627 <field name="add_options">
7628 <callback name="add_options" c:type="add_options">
7629 <return-value transfer-ownership="none">
7630 <type name="none" c:type="void"/>
7633 <parameter name="backend" transfer-ownership="none">
7634 <type name="Backend" c:type="ClutterBackend*"/>
7636 <parameter name="group" transfer-ownership="none">
7637 <type name="GLib.OptionGroup" c:type="GOptionGroup*"/>
7642 <field name="get_features">
7643 <callback name="get_features" c:type="get_features">
7644 <return-value transfer-ownership="full">
7645 <type name="FeatureFlags" c:type="ClutterFeatureFlags"/>
7648 <parameter name="backend" transfer-ownership="none">
7649 <type name="Backend" c:type="ClutterBackend*"/>
7654 <field name="redraw">
7655 <callback name="redraw" c:type="redraw">
7656 <return-value transfer-ownership="none">
7657 <type name="none" c:type="void"/>
7660 <parameter name="backend" transfer-ownership="none">
7661 <type name="Backend" c:type="ClutterBackend*"/>
7663 <parameter name="stage" transfer-ownership="none">
7664 <type name="Stage" c:type="ClutterStage*"/>
7669 <field name="create_context">
7670 <callback name="create_context" c:type="create_context" throws="1">
7671 <return-value transfer-ownership="none">
7672 <type name="boolean" c:type="gboolean"/>
7675 <parameter name="backend" transfer-ownership="none">
7676 <type name="Backend" c:type="ClutterBackend*"/>
7681 <field name="ensure_context">
7682 <callback name="ensure_context" c:type="ensure_context">
7683 <return-value transfer-ownership="none">
7684 <type name="none" c:type="void"/>
7687 <parameter name="backend" transfer-ownership="none">
7688 <type name="Backend" c:type="ClutterBackend*"/>
7690 <parameter name="stage" transfer-ownership="none">
7691 <type name="Stage" c:type="ClutterStage*"/>
7696 <field name="get_device_manager">
7697 <callback name="get_device_manager" c:type="get_device_manager">
7698 <return-value transfer-ownership="full">
7699 <type name="DeviceManager" c:type="ClutterDeviceManager*"/>
7702 <parameter name="backend" transfer-ownership="none">
7703 <type name="Backend" c:type="ClutterBackend*"/>
7708 <field name="copy_event_data">
7709 <callback name="copy_event_data" c:type="copy_event_data">
7710 <return-value transfer-ownership="none">
7711 <type name="none" c:type="void"/>
7714 <parameter name="backend" transfer-ownership="none">
7715 <type name="Backend" c:type="ClutterBackend*"/>
7717 <parameter name="src" transfer-ownership="none">
7718 <type name="Event" c:type="ClutterEvent*"/>
7720 <parameter name="dest" transfer-ownership="none">
7721 <type name="Event" c:type="ClutterEvent*"/>
7726 <field name="free_event_data">
7727 <callback name="free_event_data" c:type="free_event_data">
7728 <return-value transfer-ownership="none">
7729 <type name="none" c:type="void"/>
7732 <parameter name="backend" transfer-ownership="none">
7733 <type name="Backend" c:type="ClutterBackend*"/>
7735 <parameter name="event" transfer-ownership="none">
7736 <type name="Event" c:type="ClutterEvent*"/>
7741 <field name="resolution_changed">
7742 <callback name="resolution_changed" c:type="resolution_changed">
7743 <return-value transfer-ownership="none">
7744 <type name="none" c:type="void"/>
7747 <parameter name="backend" transfer-ownership="none">
7748 <type name="Backend" c:type="ClutterBackend*"/>
7753 <field name="font_changed">
7754 <callback name="font_changed" c:type="font_changed">
7755 <return-value transfer-ownership="none">
7756 <type name="none" c:type="void"/>
7759 <parameter name="backend" transfer-ownership="none">
7760 <type name="Backend" c:type="ClutterBackend*"/>
7765 <field name="settings_changed">
7766 <callback name="settings_changed" c:type="settings_changed">
7767 <return-value transfer-ownership="none">
7768 <type name="none" c:type="void"/>
7771 <parameter name="backend" transfer-ownership="none">
7772 <type name="Backend" c:type="ClutterBackend*"/>
7778 <record name="BackendPrivate" c:type="ClutterBackendPrivate">
7780 <constant name="Begin" value="65368">
7783 <class name="Behaviour"
7784 c:type="ClutterBehaviour"
7786 parent="GObject.Object"
7788 glib:type-name="ClutterBehaviour"
7789 glib:get-type="clutter_behaviour_get_type"
7790 glib:type-struct="BehaviourClass">
7791 <doc xml:whitespace="preserve">#ClutterBehaviour-struct contains only private data and should
7792 be accessed with the functions below.</doc>
7793 <implements name="Scriptable"/>
7794 <virtual-method name="alpha_notify">
7795 <return-value transfer-ownership="none">
7796 <type name="none" c:type="void"/>
7799 <parameter name="alpha_value" transfer-ownership="none">
7800 <type name="double" c:type="gdouble"/>
7804 <method name="apply"
7805 c:identifier="clutter_behaviour_apply"
7807 <doc xml:whitespace="preserve">Applies @behave to @actor. This function adds a reference on
7809 <return-value transfer-ownership="none">
7810 <type name="none" c:type="void"/>
7813 <parameter name="actor" transfer-ownership="none">
7814 <doc xml:whitespace="preserve">a #ClutterActor</doc>
7815 <type name="Actor" c:type="ClutterActor*"/>
7819 <method name="remove"
7820 c:identifier="clutter_behaviour_remove"
7822 <doc xml:whitespace="preserve">Removes @actor from the list of #ClutterActor<!-- -->s to which</doc>
7823 <return-value transfer-ownership="none">
7824 <type name="none" c:type="void"/>
7827 <parameter name="actor" transfer-ownership="none">
7828 <doc xml:whitespace="preserve">a #ClutterActor</doc>
7829 <type name="Actor" c:type="ClutterActor*"/>
7833 <method name="remove_all"
7834 c:identifier="clutter_behaviour_remove_all"
7836 <doc xml:whitespace="preserve">Removes every actor from the list that @behave holds.</doc>
7837 <return-value transfer-ownership="none">
7838 <type name="none" c:type="void"/>
7841 <method name="actors_foreach"
7842 c:identifier="clutter_behaviour_actors_foreach"
7844 <doc xml:whitespace="preserve">Calls @func for every actor driven by @behave.</doc>
7845 <return-value transfer-ownership="none">
7846 <type name="none" c:type="void"/>
7849 <parameter name="func"
7850 transfer-ownership="none"
7853 <doc xml:whitespace="preserve">a function called for each actor</doc>
7854 <type name="BehaviourForeachFunc"
7855 c:type="ClutterBehaviourForeachFunc"/>
7857 <parameter name="data" transfer-ownership="none">
7858 <doc xml:whitespace="preserve">optional data to be passed to the function, or %NULL</doc>
7859 <type name="any" c:type="gpointer"/>
7863 <method name="get_n_actors"
7864 c:identifier="clutter_behaviour_get_n_actors"
7866 <doc xml:whitespace="preserve">Gets the number of actors this behaviour is applied too.</doc>
7867 <return-value transfer-ownership="none">
7868 <doc xml:whitespace="preserve">The number of applied actors</doc>
7869 <type name="int" c:type="gint"/>
7872 <method name="get_nth_actor"
7873 c:identifier="clutter_behaviour_get_nth_actor"
7875 <doc xml:whitespace="preserve">Gets an actor the behaviour was applied to referenced by index num.</doc>
7876 <return-value transfer-ownership="none">
7877 <doc xml:whitespace="preserve">A Clutter actor or NULL if @index_ is invalid.</doc>
7878 <type name="Actor" c:type="ClutterActor*"/>
7881 <parameter name="index_" transfer-ownership="none">
7882 <doc xml:whitespace="preserve">the index of an actor this behaviour is applied too.</doc>
7883 <type name="int" c:type="gint"/>
7887 <method name="get_actors"
7888 c:identifier="clutter_behaviour_get_actors"
7890 <doc xml:whitespace="preserve">Retrieves all the actors to which @behave applies. It is not recommended
7891 for derived classes to use this in there alpha notify method but use
7892 #clutter_behaviour_actors_foreach as it avoids alot of needless allocations.
7893 actors. You should free the returned list with g_slist_free() when
7894 finished using it.</doc>
7895 <return-value transfer-ownership="container">
7896 <doc xml:whitespace="preserve">a list of</doc>
7897 <type name="GLib.SList" c:type="GSList*">
7898 <type name="Actor"/>
7902 <method name="get_alpha"
7903 c:identifier="clutter_behaviour_get_alpha"
7905 <doc xml:whitespace="preserve">Retrieves the #ClutterAlpha object bound to @behave.
7906 object has been bound to this behaviour.</doc>
7907 <return-value transfer-ownership="none">
7908 <doc xml:whitespace="preserve">a #ClutterAlpha object, or %NULL if no alpha</doc>
7909 <type name="Alpha" c:type="ClutterAlpha*"/>
7912 <method name="set_alpha"
7913 c:identifier="clutter_behaviour_set_alpha"
7915 <doc xml:whitespace="preserve">Binds @alpha to a #ClutterBehaviour. The #ClutterAlpha object
7916 used by #ClutterAlpha a new value of the alpha parameter is
7917 computed by the alpha function; the value should be used by
7918 the #ClutterBehaviour to update one or more properties of the
7919 actors to which the behaviour applies.
7920 If @alpha is not %NULL, the #ClutterBehaviour will take ownership
7921 of the #ClutterAlpha instance.</doc>
7922 <return-value transfer-ownership="none">
7923 <type name="none" c:type="void"/>
7926 <parameter name="alpha" transfer-ownership="none">
7927 <doc xml:whitespace="preserve">a #ClutterAlpha or %NULL to unset a previously set alpha</doc>
7928 <type name="Alpha" c:type="ClutterAlpha*"/>
7932 <method name="is_applied"
7933 c:identifier="clutter_behaviour_is_applied"
7935 <doc xml:whitespace="preserve">Check if @behave applied to @actor.</doc>
7936 <return-value transfer-ownership="none">
7937 <doc xml:whitespace="preserve">TRUE if actor has behaviour. FALSE otherwise.</doc>
7938 <type name="boolean" c:type="gboolean"/>
7941 <parameter name="actor" transfer-ownership="none">
7942 <doc xml:whitespace="preserve">a #ClutterActor</doc>
7943 <type name="Actor" c:type="ClutterActor*"/>
7947 <property name="alpha"
7950 transfer-ownership="none">
7951 <doc xml:whitespace="preserve">The #ClutterAlpha object used to drive this behaviour. A #ClutterAlpha
7952 object binds a #ClutterTimeline and a function which computes a value
7953 (the "alpha") depending on the time. Each time the alpha value changes
7954 the alpha-notify virtual function is called.</doc>
7955 <type name="Alpha" c:type="ClutterAlpha"/>
7957 <field name="parent">
7958 <type name="GObject.Object" c:type="GObject"/>
7961 <type name="BehaviourPrivate" c:type="ClutterBehaviourPrivate*"/>
7963 <glib:signal name="applied" version="0.4">
7964 <doc xml:whitespace="preserve">The ::apply signal is emitted each time the behaviour is applied
7966 <return-value transfer-ownership="full">
7967 <type name="none" c:type="void"/>
7970 <parameter name="actor" transfer-ownership="none">
7971 <doc xml:whitespace="preserve">the actor the behaviour was applied to.</doc>
7972 <type name="Actor" c:type="ClutterActor"/>
7976 <glib:signal name="removed" version="0.4">
7977 <doc xml:whitespace="preserve">The ::removed signal is emitted each time a behaviour is not applied
7978 to an actor anymore.</doc>
7979 <return-value transfer-ownership="full">
7980 <type name="none" c:type="void"/>
7983 <parameter name="actor" transfer-ownership="none">
7984 <doc xml:whitespace="preserve">the removed actor</doc>
7985 <type name="Actor" c:type="ClutterActor"/>
7990 <record name="BehaviourClass"
7991 c:type="ClutterBehaviourClass"
7992 glib:is-gtype-struct-for="Behaviour">
7993 <field name="parent_class">
7994 <type name="GObject.ObjectClass" c:type="GObjectClass"/>
7996 <field name="alpha_notify">
7997 <callback name="alpha_notify" c:type="alpha_notify">
7998 <return-value transfer-ownership="none">
7999 <type name="none" c:type="void"/>
8002 <parameter name="behave" transfer-ownership="none">
8003 <type name="Behaviour" c:type="ClutterBehaviour*"/>
8005 <parameter name="alpha_value" transfer-ownership="none">
8006 <type name="double" c:type="gdouble"/>
8011 <field name="applied">
8012 <callback name="applied" c:type="applied">
8013 <return-value transfer-ownership="none">
8014 <type name="none" c:type="void"/>
8017 <parameter name="behave" transfer-ownership="none">
8018 <type name="Behaviour" c:type="ClutterBehaviour*"/>
8020 <parameter name="actor" transfer-ownership="none">
8021 <type name="Actor" c:type="ClutterActor*"/>
8026 <field name="removed">
8027 <callback name="removed" c:type="removed">
8028 <return-value transfer-ownership="none">
8029 <type name="none" c:type="void"/>
8032 <parameter name="behave" transfer-ownership="none">
8033 <type name="Behaviour" c:type="ClutterBehaviour*"/>
8035 <parameter name="actor" transfer-ownership="none">
8036 <type name="Actor" c:type="ClutterActor*"/>
8041 <field name="clutter_behaviour1">
8042 <callback name="clutter_behaviour1" c:type="_clutter_behaviour1">
8043 <return-value transfer-ownership="none">
8044 <type name="none" c:type="void"/>
8048 <field name="clutter_behaviour2">
8049 <callback name="clutter_behaviour2" c:type="_clutter_behaviour2">
8050 <return-value transfer-ownership="none">
8051 <type name="none" c:type="void"/>
8055 <field name="clutter_behaviour3">
8056 <callback name="clutter_behaviour3" c:type="_clutter_behaviour3">
8057 <return-value transfer-ownership="none">
8058 <type name="none" c:type="void"/>
8062 <field name="clutter_behaviour4">
8063 <callback name="clutter_behaviour4" c:type="_clutter_behaviour4">
8064 <return-value transfer-ownership="none">
8065 <type name="none" c:type="void"/>
8069 <field name="clutter_behaviour5">
8070 <callback name="clutter_behaviour5" c:type="_clutter_behaviour5">
8071 <return-value transfer-ownership="none">
8072 <type name="none" c:type="void"/>
8076 <field name="clutter_behaviour6">
8077 <callback name="clutter_behaviour6" c:type="_clutter_behaviour6">
8078 <return-value transfer-ownership="none">
8079 <type name="none" c:type="void"/>
8084 <class name="BehaviourDepth"
8085 c:type="ClutterBehaviourDepth"
8088 glib:type-name="ClutterBehaviourDepth"
8089 glib:get-type="clutter_behaviour_depth_get_type"
8090 glib:type-struct="BehaviourDepthClass">
8091 <doc xml:whitespace="preserve">The #ClutterBehaviourDepth structure contains only private data
8092 and should be accessed using the provided API</doc>
8093 <implements name="Scriptable"/>
8094 <constructor name="new"
8095 c:identifier="clutter_behaviour_depth_new"
8097 <doc xml:whitespace="preserve">Creates a new #ClutterBehaviourDepth which can be used to control
8098 the ClutterActor:depth property of a set of #ClutterActor<!-- -->s.</doc>
8099 <return-value transfer-ownership="full">
8100 <doc xml:whitespace="preserve">the newly created behaviour</doc>
8101 <type name="BehaviourDepth" c:type="ClutterBehaviour*"/>
8104 <parameter name="alpha" transfer-ownership="none">
8105 <doc xml:whitespace="preserve">a #ClutterAlpha or %NULL</doc>
8106 <type name="Alpha" c:type="ClutterAlpha*"/>
8108 <parameter name="depth_start" transfer-ownership="none">
8109 <doc xml:whitespace="preserve">initial value of the depth</doc>
8110 <type name="int" c:type="gint"/>
8112 <parameter name="depth_end" transfer-ownership="none">
8113 <doc xml:whitespace="preserve">final value of the depth</doc>
8114 <type name="int" c:type="gint"/>
8118 <method name="set_bounds"
8119 c:identifier="clutter_behaviour_depth_set_bounds"
8121 <doc xml:whitespace="preserve">Sets the boundaries of the @behaviour.</doc>
8122 <return-value transfer-ownership="none">
8123 <type name="none" c:type="void"/>
8126 <parameter name="depth_start" transfer-ownership="none">
8127 <doc xml:whitespace="preserve">initial value of the depth</doc>
8128 <type name="int" c:type="gint"/>
8130 <parameter name="depth_end" transfer-ownership="none">
8131 <doc xml:whitespace="preserve">final value of the depth</doc>
8132 <type name="int" c:type="gint"/>
8136 <method name="get_bounds"
8137 c:identifier="clutter_behaviour_depth_get_bounds"
8139 <doc xml:whitespace="preserve">Gets the boundaries of the @behaviour</doc>
8140 <return-value transfer-ownership="none">
8141 <type name="none" c:type="void"/>
8144 <parameter name="depth_start"
8146 caller-allocates="0"
8147 transfer-ownership="full">
8148 <doc xml:whitespace="preserve">return location for the initial depth value, or %NULL</doc>
8149 <type name="int" c:type="gint*"/>
8151 <parameter name="depth_end"
8153 caller-allocates="0"
8154 transfer-ownership="full">
8155 <doc xml:whitespace="preserve">return location for the final depth value, or %NULL</doc>
8156 <type name="int" c:type="gint*"/>
8160 <property name="depth-end"
8163 transfer-ownership="none">
8164 <doc xml:whitespace="preserve">End depth level to apply to the actors.</doc>
8165 <type name="int" c:type="gint"/>
8167 <property name="depth-start"
8170 transfer-ownership="none">
8171 <doc xml:whitespace="preserve">Start depth level to apply to the actors.</doc>
8172 <type name="int" c:type="gint"/>
8174 <field name="parent_instance">
8175 <type name="Behaviour" c:type="ClutterBehaviour"/>
8178 <type name="BehaviourDepthPrivate"
8179 c:type="ClutterBehaviourDepthPrivate*"/>
8182 <record name="BehaviourDepthClass"
8183 c:type="ClutterBehaviourDepthClass"
8184 glib:is-gtype-struct-for="BehaviourDepth"
8186 <doc xml:whitespace="preserve">The #ClutterBehaviourDepthClass structure contains only private data</doc>
8187 <field name="parent_class">
8188 <type name="BehaviourClass" c:type="ClutterBehaviourClass"/>
8191 <record name="BehaviourDepthPrivate" c:type="ClutterBehaviourDepthPrivate">
8193 <class name="BehaviourEllipse"
8194 c:type="ClutterBehaviourEllipse"
8197 glib:type-name="ClutterBehaviourEllipse"
8198 glib:get-type="clutter_behaviour_ellipse_get_type"
8199 glib:type-struct="BehaviourEllipseClass">
8200 <doc xml:whitespace="preserve">The #ClutterBehaviourEllipse struct contains only private data
8201 and should be accessed using the provided API</doc>
8202 <implements name="Scriptable"/>
8203 <constructor name="new"
8204 c:identifier="clutter_behaviour_ellipse_new"
8206 <doc xml:whitespace="preserve">Creates a behaviour that drives actors along an elliptical path with
8207 given center, width and height; the movement starts at @start
8208 degrees (with 0 corresponding to 12 o'clock) and ends at @end
8209 degrees. Angles greated than 360 degrees get clamped to the canonical
8210 interval <0, 360); if @start is equal to @end, the behaviour will
8211 rotate by exacly 360 degrees.</doc>
8212 <return-value transfer-ownership="full">
8213 <doc xml:whitespace="preserve">the newly created #ClutterBehaviourEllipse</doc>
8214 <type name="BehaviourEllipse" c:type="ClutterBehaviour*"/>
8217 <parameter name="alpha" transfer-ownership="none">
8218 <doc xml:whitespace="preserve">a #ClutterAlpha, or %NULL</doc>
8219 <type name="Alpha" c:type="ClutterAlpha*"/>
8221 <parameter name="x" transfer-ownership="none">
8222 <doc xml:whitespace="preserve">x coordinace of the center</doc>
8223 <type name="int" c:type="gint"/>
8225 <parameter name="y" transfer-ownership="none">
8226 <doc xml:whitespace="preserve">y coordiance of the center</doc>
8227 <type name="int" c:type="gint"/>
8229 <parameter name="width" transfer-ownership="none">
8230 <doc xml:whitespace="preserve">width of the ellipse</doc>
8231 <type name="int" c:type="gint"/>
8233 <parameter name="height" transfer-ownership="none">
8234 <doc xml:whitespace="preserve">height of the ellipse</doc>
8235 <type name="int" c:type="gint"/>
8237 <parameter name="direction" transfer-ownership="none">
8238 <doc xml:whitespace="preserve">#ClutterRotateDirection of rotation</doc>
8239 <type name="RotateDirection" c:type="ClutterRotateDirection"/>
8241 <parameter name="start" transfer-ownership="none">
8242 <doc xml:whitespace="preserve">angle in degrees at which movement starts, between 0 and 360</doc>
8243 <type name="double" c:type="gdouble"/>
8245 <parameter name="end" transfer-ownership="none">
8246 <doc xml:whitespace="preserve">angle in degrees at which movement ends, between 0 and 360</doc>
8247 <type name="double" c:type="gdouble"/>
8251 <method name="set_center"
8252 c:identifier="clutter_behaviour_ellipse_set_center"
8254 <doc xml:whitespace="preserve">Sets the center of the elliptical path to the point represented by knot.</doc>
8255 <return-value transfer-ownership="none">
8256 <type name="none" c:type="void"/>
8259 <parameter name="x" transfer-ownership="none">
8260 <doc xml:whitespace="preserve">x coordinace of centre</doc>
8261 <type name="int" c:type="gint"/>
8263 <parameter name="y" transfer-ownership="none">
8264 <doc xml:whitespace="preserve">y coordinace of centre</doc>
8265 <type name="int" c:type="gint"/>
8269 <method name="get_center"
8270 c:identifier="clutter_behaviour_ellipse_get_center"
8272 <doc xml:whitespace="preserve">Gets the center of the elliptical path path.</doc>
8273 <return-value transfer-ownership="none">
8274 <type name="none" c:type="void"/>
8279 caller-allocates="0"
8280 transfer-ownership="full">
8281 <doc xml:whitespace="preserve">return location for the X coordinate of the center, or %NULL</doc>
8282 <type name="int" c:type="gint*"/>
8286 caller-allocates="0"
8287 transfer-ownership="full">
8288 <doc xml:whitespace="preserve">return location for the Y coordinate of the center, or %NULL</doc>
8289 <type name="int" c:type="gint*"/>
8293 <method name="set_width"
8294 c:identifier="clutter_behaviour_ellipse_set_width"
8296 <doc xml:whitespace="preserve">Sets the width of the elliptical path.</doc>
8297 <return-value transfer-ownership="none">
8298 <type name="none" c:type="void"/>
8301 <parameter name="width" transfer-ownership="none">
8302 <doc xml:whitespace="preserve">width of the ellipse</doc>
8303 <type name="int" c:type="gint"/>
8307 <method name="get_width"
8308 c:identifier="clutter_behaviour_ellipse_get_width"
8310 <doc xml:whitespace="preserve">Gets the width of the elliptical path.</doc>
8311 <return-value transfer-ownership="none">
8312 <doc xml:whitespace="preserve">the width of the path</doc>
8313 <type name="int" c:type="gint"/>
8316 <method name="set_height"
8317 c:identifier="clutter_behaviour_ellipse_set_height"
8319 <doc xml:whitespace="preserve">Sets the height of the elliptical path.</doc>
8320 <return-value transfer-ownership="none">
8321 <type name="none" c:type="void"/>
8324 <parameter name="height" transfer-ownership="none">
8325 <doc xml:whitespace="preserve">height of the ellipse</doc>
8326 <type name="int" c:type="gint"/>
8330 <method name="get_height"
8331 c:identifier="clutter_behaviour_ellipse_get_height"
8333 <doc xml:whitespace="preserve">Gets the height of the elliptical path.</doc>
8334 <return-value transfer-ownership="none">
8335 <doc xml:whitespace="preserve">the height of the path</doc>
8336 <type name="int" c:type="gint"/>
8339 <method name="set_angle_start"
8340 c:identifier="clutter_behaviour_ellipse_set_angle_start"
8342 <doc xml:whitespace="preserve">Sets the angle at which movement starts; angles >= 360 degress get clamped
8343 to the canonical interval <0, 360).</doc>
8344 <return-value transfer-ownership="none">
8345 <type name="none" c:type="void"/>
8348 <parameter name="angle_start" transfer-ownership="none">
8349 <doc xml:whitespace="preserve">angle at which movement starts in degrees, between 0 and 360.</doc>
8350 <type name="double" c:type="gdouble"/>
8354 <method name="get_angle_start"
8355 c:identifier="clutter_behaviour_ellipse_get_angle_start"
8357 <doc xml:whitespace="preserve">Gets the angle at which movements starts.</doc>
8358 <return-value transfer-ownership="none">
8359 <doc xml:whitespace="preserve">angle in degrees</doc>
8360 <type name="double" c:type="gdouble"/>
8363 <method name="set_angle_end"
8364 c:identifier="clutter_behaviour_ellipse_set_angle_end"
8366 <doc xml:whitespace="preserve">Sets the angle at which movement ends; angles >= 360 degress get clamped
8367 to the canonical interval <0, 360).</doc>
8368 <return-value transfer-ownership="none">
8369 <type name="none" c:type="void"/>
8372 <parameter name="angle_end" transfer-ownership="none">
8373 <doc xml:whitespace="preserve">angle at which movement ends in degrees, between 0 and 360.</doc>
8374 <type name="double" c:type="gdouble"/>
8378 <method name="get_angle_end"
8379 c:identifier="clutter_behaviour_ellipse_get_angle_end"
8381 <doc xml:whitespace="preserve">Gets the at which movements ends.</doc>
8382 <return-value transfer-ownership="none">
8383 <doc xml:whitespace="preserve">angle in degrees</doc>
8384 <type name="double" c:type="gdouble"/>
8387 <method name="set_angle_tilt"
8388 c:identifier="clutter_behaviour_ellipse_set_angle_tilt"
8390 <doc xml:whitespace="preserve">Sets the angle at which the ellipse should be tilted around it's center.</doc>
8391 <return-value transfer-ownership="none">
8392 <type name="none" c:type="void"/>
8395 <parameter name="axis" transfer-ownership="none">
8396 <doc xml:whitespace="preserve">a #ClutterRotateAxis</doc>
8397 <type name="RotateAxis" c:type="ClutterRotateAxis"/>
8399 <parameter name="angle_tilt" transfer-ownership="none">
8400 <doc xml:whitespace="preserve">tilt of the elipse around the center in the given axis in degrees.</doc>
8401 <type name="double" c:type="gdouble"/>
8405 <method name="get_angle_tilt"
8406 c:identifier="clutter_behaviour_ellipse_get_angle_tilt"
8408 <doc xml:whitespace="preserve">Gets the tilt of the ellipse around the center in the given axis.</doc>
8409 <return-value transfer-ownership="none">
8410 <doc xml:whitespace="preserve">angle in degrees.</doc>
8411 <type name="double" c:type="gdouble"/>
8414 <parameter name="axis" transfer-ownership="none">
8415 <doc xml:whitespace="preserve">a #ClutterRotateAxis</doc>
8416 <type name="RotateAxis" c:type="ClutterRotateAxis"/>
8420 <method name="set_tilt"
8421 c:identifier="clutter_behaviour_ellipse_set_tilt"
8423 <doc xml:whitespace="preserve">Sets the angles at which the ellipse should be tilted around it's center.</doc>
8424 <return-value transfer-ownership="none">
8425 <type name="none" c:type="void"/>
8428 <parameter name="angle_tilt_x" transfer-ownership="none">
8429 <doc xml:whitespace="preserve">tilt of the elipse around the center in X axis in degrees.</doc>
8430 <type name="double" c:type="gdouble"/>
8432 <parameter name="angle_tilt_y" transfer-ownership="none">
8433 <doc xml:whitespace="preserve">tilt of the elipse around the center in Y axis in degrees.</doc>
8434 <type name="double" c:type="gdouble"/>
8436 <parameter name="angle_tilt_z" transfer-ownership="none">
8437 <doc xml:whitespace="preserve">tilt of the elipse around the center in Z axis in degrees.</doc>
8438 <type name="double" c:type="gdouble"/>
8442 <method name="get_tilt"
8443 c:identifier="clutter_behaviour_ellipse_get_tilt"
8445 <doc xml:whitespace="preserve">Gets the tilt of the ellipse around the center in Y axis.</doc>
8446 <return-value transfer-ownership="none">
8447 <type name="none" c:type="void"/>
8450 <parameter name="angle_tilt_x"
8452 caller-allocates="0"
8453 transfer-ownership="full">
8454 <doc xml:whitespace="preserve">return location for tilt angle on the X axis, or %NULL.</doc>
8455 <type name="double" c:type="gdouble*"/>
8457 <parameter name="angle_tilt_y"
8459 caller-allocates="0"
8460 transfer-ownership="full">
8461 <doc xml:whitespace="preserve">return location for tilt angle on the Y axis, or %NULL.</doc>
8462 <type name="double" c:type="gdouble*"/>
8464 <parameter name="angle_tilt_z"
8466 caller-allocates="0"
8467 transfer-ownership="full">
8468 <doc xml:whitespace="preserve">return location for tilt angle on the Z axis, or %NULL.</doc>
8469 <type name="double" c:type="gdouble*"/>
8473 <method name="get_direction"
8474 c:identifier="clutter_behaviour_ellipse_get_direction"
8476 <doc xml:whitespace="preserve">Retrieves the #ClutterRotateDirection used by the ellipse behaviour.</doc>
8477 <return-value transfer-ownership="full">
8478 <doc xml:whitespace="preserve">the rotation direction</doc>
8479 <type name="RotateDirection" c:type="ClutterRotateDirection"/>
8482 <method name="set_direction"
8483 c:identifier="clutter_behaviour_ellipse_set_direction"
8485 <doc xml:whitespace="preserve">Sets the rotation direction used by the ellipse behaviour.</doc>
8486 <return-value transfer-ownership="none">
8487 <type name="none" c:type="void"/>
8490 <parameter name="direction" transfer-ownership="none">
8491 <doc xml:whitespace="preserve">the rotation direction</doc>
8492 <type name="RotateDirection" c:type="ClutterRotateDirection"/>
8496 <property name="angle-end"
8499 transfer-ownership="none">
8500 <doc xml:whitespace="preserve">The final angle to where the rotation should end.</doc>
8501 <type name="double" c:type="gdouble"/>
8503 <property name="angle-start"
8506 transfer-ownership="none">
8507 <doc xml:whitespace="preserve">The initial angle from where the rotation should start.</doc>
8508 <type name="double" c:type="gdouble"/>
8510 <property name="angle-tilt-x"
8513 transfer-ownership="none">
8514 <doc xml:whitespace="preserve">The tilt angle for the rotation around center in X axis</doc>
8515 <type name="double" c:type="gdouble"/>
8517 <property name="angle-tilt-y"
8520 transfer-ownership="none">
8521 <doc xml:whitespace="preserve">The tilt angle for the rotation around center in Y axis</doc>
8522 <type name="double" c:type="gdouble"/>
8524 <property name="angle-tilt-z"
8527 transfer-ownership="none">
8528 <doc xml:whitespace="preserve">The tilt angle for the rotation on the Z axis</doc>
8529 <type name="double" c:type="gdouble"/>
8531 <property name="center"
8534 transfer-ownership="none">
8535 <doc xml:whitespace="preserve">The center of the ellipse.</doc>
8536 <type name="Knot" c:type="ClutterKnot"/>
8538 <property name="direction"
8541 transfer-ownership="none">
8542 <doc xml:whitespace="preserve">The direction of the rotation.</doc>
8543 <type name="RotateDirection" c:type="ClutterRotateDirection"/>
8545 <property name="height"
8548 transfer-ownership="none">
8549 <doc xml:whitespace="preserve">Height of the ellipse, in pixels</doc>
8550 <type name="int" c:type="gint"/>
8552 <property name="width"
8555 transfer-ownership="none">
8556 <doc xml:whitespace="preserve">Width of the ellipse, in pixels</doc>
8557 <type name="int" c:type="gint"/>
8559 <field name="parent_instance">
8560 <type name="Behaviour" c:type="ClutterBehaviour"/>
8563 <type name="BehaviourEllipsePrivate"
8564 c:type="ClutterBehaviourEllipsePrivate*"/>
8567 <record name="BehaviourEllipseClass"
8568 c:type="ClutterBehaviourEllipseClass"
8569 glib:is-gtype-struct-for="BehaviourEllipse"
8571 <doc xml:whitespace="preserve">The #ClutterBehaviourEllipseClass struct contains only private data</doc>
8572 <field name="parent_class">
8573 <type name="BehaviourClass" c:type="ClutterBehaviourClass"/>
8576 <record name="BehaviourEllipsePrivate"
8577 c:type="ClutterBehaviourEllipsePrivate">
8579 <callback name="BehaviourForeachFunc"
8580 c:type="ClutterBehaviourForeachFunc"
8582 <doc xml:whitespace="preserve">This function is passed to clutter_behaviour_foreach_actor() and
8583 will be called for each actor driven by @behaviour.</doc>
8584 <return-value transfer-ownership="none">
8585 <type name="none" c:type="void"/>
8588 <parameter name="behaviour" transfer-ownership="none">
8589 <doc xml:whitespace="preserve">the #ClutterBehaviour</doc>
8590 <type name="Behaviour" c:type="ClutterBehaviour*"/>
8592 <parameter name="actor" transfer-ownership="none">
8593 <doc xml:whitespace="preserve">an actor driven by @behaviour</doc>
8594 <type name="Actor" c:type="ClutterActor*"/>
8596 <parameter name="data" transfer-ownership="none">
8597 <doc xml:whitespace="preserve">optional data passed to the function</doc>
8598 <type name="any" c:type="gpointer"/>
8602 <class name="BehaviourOpacity"
8603 c:type="ClutterBehaviourOpacity"
8606 glib:type-name="ClutterBehaviourOpacity"
8607 glib:get-type="clutter_behaviour_opacity_get_type"
8608 glib:type-struct="BehaviourOpacityClass">
8609 <doc xml:whitespace="preserve">The #ClutterBehaviourOpacity structure contains only private data and
8610 should be accessed using the provided API</doc>
8611 <implements name="Scriptable"/>
8612 <constructor name="new"
8613 c:identifier="clutter_behaviour_opacity_new"
8615 <doc xml:whitespace="preserve">Creates a new #ClutterBehaviourOpacity object, driven by @alpha
8616 which controls the opacity property of every actor, making it
8617 change in the interval between @opacity_start and @opacity_end.</doc>
8618 <return-value transfer-ownership="full">
8619 <doc xml:whitespace="preserve">the newly created #ClutterBehaviourOpacity</doc>
8620 <type name="BehaviourOpacity" c:type="ClutterBehaviour*"/>
8623 <parameter name="alpha" transfer-ownership="none">
8624 <doc xml:whitespace="preserve">a #ClutterAlpha instance, or %NULL</doc>
8625 <type name="Alpha" c:type="ClutterAlpha*"/>
8627 <parameter name="opacity_start" transfer-ownership="none">
8628 <doc xml:whitespace="preserve">minimum level of opacity</doc>
8629 <type name="uint8" c:type="guint8"/>
8631 <parameter name="opacity_end" transfer-ownership="none">
8632 <doc xml:whitespace="preserve">maximum level of opacity</doc>
8633 <type name="uint8" c:type="guint8"/>
8637 <method name="set_bounds"
8638 c:identifier="clutter_behaviour_opacity_set_bounds"
8640 <doc xml:whitespace="preserve">Sets the initial and final levels of the opacity applied by @behaviour
8641 on each actor it controls.</doc>
8642 <return-value transfer-ownership="none">
8643 <type name="none" c:type="void"/>
8646 <parameter name="opacity_start" transfer-ownership="none">
8647 <doc xml:whitespace="preserve">minimum level of opacity</doc>
8648 <type name="uint8" c:type="guint8"/>
8650 <parameter name="opacity_end" transfer-ownership="none">
8651 <doc xml:whitespace="preserve">maximum level of opacity</doc>
8652 <type name="uint8" c:type="guint8"/>
8656 <method name="get_bounds"
8657 c:identifier="clutter_behaviour_opacity_get_bounds"
8659 <doc xml:whitespace="preserve">Gets the initial and final levels of the opacity applied by @behaviour
8660 on each actor it controls.</doc>
8661 <return-value transfer-ownership="none">
8662 <type name="none" c:type="void"/>
8665 <parameter name="opacity_start" transfer-ownership="none">
8666 <doc xml:whitespace="preserve">return location for the minimum level of opacity, or %NULL</doc>
8667 <array c:type="guint8*">
8668 <type name="uint8"/>
8671 <parameter name="opacity_end" transfer-ownership="none">
8672 <doc xml:whitespace="preserve">return location for the maximum level of opacity, or %NULL</doc>
8673 <array c:type="guint8*">
8674 <type name="uint8"/>
8679 <property name="opacity-end"
8682 transfer-ownership="none">
8683 <doc xml:whitespace="preserve">Final opacity level of the behaviour.</doc>
8684 <type name="uint" c:type="guint"/>
8686 <property name="opacity-start"
8689 transfer-ownership="none">
8690 <doc xml:whitespace="preserve">Initial opacity level of the behaviour.</doc>
8691 <type name="uint" c:type="guint"/>
8693 <field name="parent">
8694 <type name="Behaviour" c:type="ClutterBehaviour"/>
8697 <type name="BehaviourOpacityPrivate"
8698 c:type="ClutterBehaviourOpacityPrivate*"/>
8701 <record name="BehaviourOpacityClass"
8702 c:type="ClutterBehaviourOpacityClass"
8703 glib:is-gtype-struct-for="BehaviourOpacity"
8705 <doc xml:whitespace="preserve">The #ClutterBehaviourOpacityClass structure contains only private data</doc>
8706 <field name="parent_class">
8707 <type name="BehaviourClass" c:type="ClutterBehaviourClass"/>
8710 <record name="BehaviourOpacityPrivate"
8711 c:type="ClutterBehaviourOpacityPrivate">
8713 <class name="BehaviourPath"
8714 c:type="ClutterBehaviourPath"
8717 glib:type-name="ClutterBehaviourPath"
8718 glib:get-type="clutter_behaviour_path_get_type"
8719 glib:type-struct="BehaviourPathClass">
8720 <doc xml:whitespace="preserve">The #ClutterBehaviourPath structure contains only private data
8721 and should be accessed using the provided API</doc>
8722 <implements name="Scriptable"/>
8723 <constructor name="new"
8724 c:identifier="clutter_behaviour_path_new"
8726 <doc xml:whitespace="preserve">Creates a new path behaviour. You can use this behaviour to drive
8727 actors along the nodes of a path, described by @path.
8728 This will claim the floating reference on the #ClutterPath so you
8729 do not need to unref if it.</doc>
8730 <return-value transfer-ownership="full">
8731 <doc xml:whitespace="preserve">a #ClutterBehaviour</doc>
8732 <type name="BehaviourPath" c:type="ClutterBehaviour*"/>
8735 <parameter name="alpha" transfer-ownership="none">
8736 <doc xml:whitespace="preserve">a #ClutterAlpha, or %NULL</doc>
8737 <type name="Alpha" c:type="ClutterAlpha*"/>
8739 <parameter name="path" transfer-ownership="none">
8740 <doc xml:whitespace="preserve">a #ClutterPath or %NULL for an empty path</doc>
8741 <type name="Path" c:type="ClutterPath*"/>
8745 <constructor name="new_with_description"
8746 c:identifier="clutter_behaviour_path_new_with_description"
8748 <doc xml:whitespace="preserve">Creates a new path behaviour using the path described by @desc. See
8749 clutter_path_add_string() for a description of the format.</doc>
8750 <return-value transfer-ownership="full">
8751 <doc xml:whitespace="preserve">a #ClutterBehaviour</doc>
8752 <type name="BehaviourPath" c:type="ClutterBehaviour*"/>
8755 <parameter name="alpha" transfer-ownership="none">
8756 <doc xml:whitespace="preserve">a #ClutterAlpha</doc>
8757 <type name="Alpha" c:type="ClutterAlpha*"/>
8759 <parameter name="desc" transfer-ownership="none">
8760 <doc xml:whitespace="preserve">a string description of the path</doc>
8761 <type name="utf8" c:type="gchar*"/>
8765 <constructor name="new_with_knots"
8766 c:identifier="clutter_behaviour_path_new_with_knots"
8768 <doc xml:whitespace="preserve">Creates a new path behaviour that will make the actors visit all of
8769 the given knots in order with straight lines in between.
8770 A path will be created where the first knot is used in a
8771 %CLUTTER_PATH_MOVE_TO and the subsequent knots are used in
8772 %CLUTTER_PATH_LINE_TO<!-- -->s.</doc>
8773 <return-value transfer-ownership="full">
8774 <doc xml:whitespace="preserve">a #ClutterBehaviour</doc>
8775 <type name="BehaviourPath" c:type="ClutterBehaviour*"/>
8778 <parameter name="alpha" transfer-ownership="none">
8779 <doc xml:whitespace="preserve">a #ClutterAlpha</doc>
8780 <type name="Alpha" c:type="ClutterAlpha*"/>
8782 <parameter name="knots" transfer-ownership="none">
8783 <doc xml:whitespace="preserve">an array of #ClutterKnot<!-- -->s</doc>
8784 <type name="Knot" c:type="ClutterKnot*"/>
8786 <parameter name="n_knots" transfer-ownership="none">
8787 <doc xml:whitespace="preserve">number of entries in @knots</doc>
8788 <type name="uint" c:type="guint"/>
8792 <method name="set_path"
8793 c:identifier="clutter_behaviour_path_set_path"
8795 <doc xml:whitespace="preserve">Change the path that the actors will follow. This will take the
8796 floating reference on the #ClutterPath so you do not need to unref
8798 <return-value transfer-ownership="none">
8799 <type name="none" c:type="void"/>
8802 <parameter name="path" transfer-ownership="none">
8803 <doc xml:whitespace="preserve">the new path to follow</doc>
8804 <type name="Path" c:type="ClutterPath*"/>
8808 <method name="get_path"
8809 c:identifier="clutter_behaviour_path_get_path"
8811 <doc xml:whitespace="preserve">Get the current path of the behaviour</doc>
8812 <return-value transfer-ownership="none">
8813 <doc xml:whitespace="preserve">the path</doc>
8814 <type name="Path" c:type="ClutterPath*"/>
8817 <property name="path" writable="1" transfer-ownership="none">
8818 <type name="Path" c:type="ClutterPath"/>
8820 <field name="parent">
8821 <type name="Behaviour" c:type="ClutterBehaviour"/>
8824 <type name="BehaviourPathPrivate"
8825 c:type="ClutterBehaviourPathPrivate*"/>
8827 <glib:signal name="knot-reached" version="0.2">
8828 <doc xml:whitespace="preserve">This signal is emitted each time a node defined inside the path
8830 <return-value transfer-ownership="full">
8831 <type name="none" c:type="void"/>
8834 <parameter name="knot_num" transfer-ownership="none">
8835 <doc xml:whitespace="preserve">the index of the #ClutterKnot reached</doc>
8836 <type name="uint" c:type="guint"/>
8841 <record name="BehaviourPathClass"
8842 c:type="ClutterBehaviourPathClass"
8843 glib:is-gtype-struct-for="BehaviourPath">
8844 <field name="parent_class">
8845 <type name="BehaviourClass" c:type="ClutterBehaviourClass"/>
8847 <field name="knot_reached">
8848 <callback name="knot_reached" c:type="knot_reached">
8849 <return-value transfer-ownership="none">
8850 <type name="none" c:type="void"/>
8853 <parameter name="pathb" transfer-ownership="none">
8854 <type name="BehaviourPath" c:type="ClutterBehaviourPath*"/>
8856 <parameter name="knot_num" transfer-ownership="none">
8857 <type name="uint" c:type="guint"/>
8862 <field name="clutter_path_1">
8863 <callback name="clutter_path_1" c:type="_clutter_path_1">
8864 <return-value transfer-ownership="none">
8865 <type name="none" c:type="void"/>
8869 <field name="clutter_path_2">
8870 <callback name="clutter_path_2" c:type="_clutter_path_2">
8871 <return-value transfer-ownership="none">
8872 <type name="none" c:type="void"/>
8876 <field name="clutter_path_3">
8877 <callback name="clutter_path_3" c:type="_clutter_path_3">
8878 <return-value transfer-ownership="none">
8879 <type name="none" c:type="void"/>
8883 <field name="clutter_path_4">
8884 <callback name="clutter_path_4" c:type="_clutter_path_4">
8885 <return-value transfer-ownership="none">
8886 <type name="none" c:type="void"/>
8891 <record name="BehaviourPathPrivate" c:type="ClutterBehaviourPathPrivate">
8893 <record name="BehaviourPrivate" c:type="ClutterBehaviourPrivate">
8895 <class name="BehaviourRotate"
8896 c:type="ClutterBehaviourRotate"
8899 glib:type-name="ClutterBehaviourRotate"
8900 glib:get-type="clutter_behaviour_rotate_get_type"
8901 glib:type-struct="BehaviourRotateClass">
8902 <doc xml:whitespace="preserve">The #ClutterBehaviourRotate struct contains only private data and
8903 should be accessed using the provided API</doc>
8904 <implements name="Scriptable"/>
8905 <constructor name="new"
8906 c:identifier="clutter_behaviour_rotate_new"
8908 <doc xml:whitespace="preserve">Creates a new #ClutterBehaviourRotate. This behaviour will rotate actors
8909 bound to it on @axis, following @direction, between @angle_start and
8910 <0, 360), if angle_start == angle_end, the behaviour will carry out a
8911 single rotation of 360 degrees.</doc>
8912 <return-value transfer-ownership="full">
8913 <doc xml:whitespace="preserve">the newly created #ClutterBehaviourRotate.</doc>
8914 <type name="BehaviourRotate" c:type="ClutterBehaviour*"/>
8917 <parameter name="alpha" transfer-ownership="none">
8918 <doc xml:whitespace="preserve">a #ClutterAlpha, or %NULL</doc>
8919 <type name="Alpha" c:type="ClutterAlpha*"/>
8921 <parameter name="axis" transfer-ownership="none">
8922 <doc xml:whitespace="preserve">the rotation axis</doc>
8923 <type name="RotateAxis" c:type="ClutterRotateAxis"/>
8925 <parameter name="direction" transfer-ownership="none">
8926 <doc xml:whitespace="preserve">the rotation direction</doc>
8927 <type name="RotateDirection" c:type="ClutterRotateDirection"/>
8929 <parameter name="angle_start" transfer-ownership="none">
8930 <doc xml:whitespace="preserve">the starting angle in degrees, between 0 and 360.</doc>
8931 <type name="double" c:type="gdouble"/>
8933 <parameter name="angle_end" transfer-ownership="none">
8934 <doc xml:whitespace="preserve">the final angle in degrees, between 0 and 360.</doc>
8935 <type name="double" c:type="gdouble"/>
8939 <method name="get_center"
8940 c:identifier="clutter_behaviour_rotate_get_center"
8942 <doc xml:whitespace="preserve">Retrieves the center of rotation set using
8943 clutter_behaviour_rotate_set_center().</doc>
8944 <return-value transfer-ownership="none">
8945 <type name="none" c:type="void"/>
8950 caller-allocates="0"
8951 transfer-ownership="full">
8952 <doc xml:whitespace="preserve">return location for the X center of rotation</doc>
8953 <type name="int" c:type="gint*"/>
8957 caller-allocates="0"
8958 transfer-ownership="full">
8959 <doc xml:whitespace="preserve">return location for the Y center of rotation</doc>
8960 <type name="int" c:type="gint*"/>
8964 caller-allocates="0"
8965 transfer-ownership="full">
8966 <doc xml:whitespace="preserve">return location for the Z center of rotation</doc>
8967 <type name="int" c:type="gint*"/>
8971 <method name="set_center"
8972 c:identifier="clutter_behaviour_rotate_set_center"
8974 <doc xml:whitespace="preserve">Sets the center of rotation. The coordinates are relative to the plane
8975 normal to the rotation axis set with clutter_behaviour_rotate_set_axis().</doc>
8976 <return-value transfer-ownership="none">
8977 <type name="none" c:type="void"/>
8980 <parameter name="x" transfer-ownership="none">
8981 <doc xml:whitespace="preserve">X axis center of rotation</doc>
8982 <type name="int" c:type="gint"/>
8984 <parameter name="y" transfer-ownership="none">
8985 <doc xml:whitespace="preserve">Y axis center of rotation</doc>
8986 <type name="int" c:type="gint"/>
8988 <parameter name="z" transfer-ownership="none">
8989 <doc xml:whitespace="preserve">Z axis center of rotation</doc>
8990 <type name="int" c:type="gint"/>
8994 <method name="get_axis"
8995 c:identifier="clutter_behaviour_rotate_get_axis"
8997 <doc xml:whitespace="preserve">Retrieves the #ClutterRotateAxis used by the rotate behaviour.</doc>
8998 <return-value transfer-ownership="full">
8999 <doc xml:whitespace="preserve">the rotation axis</doc>
9000 <type name="RotateAxis" c:type="ClutterRotateAxis"/>
9003 <method name="set_axis"
9004 c:identifier="clutter_behaviour_rotate_set_axis"
9006 <doc xml:whitespace="preserve">Sets the axis used by the rotate behaviour.</doc>
9007 <return-value transfer-ownership="none">
9008 <type name="none" c:type="void"/>
9011 <parameter name="axis" transfer-ownership="none">
9012 <doc xml:whitespace="preserve">a #ClutterRotateAxis</doc>
9013 <type name="RotateAxis" c:type="ClutterRotateAxis"/>
9017 <method name="get_direction"
9018 c:identifier="clutter_behaviour_rotate_get_direction"
9020 <doc xml:whitespace="preserve">Retrieves the #ClutterRotateDirection used by the rotate behaviour.</doc>
9021 <return-value transfer-ownership="full">
9022 <doc xml:whitespace="preserve">the rotation direction</doc>
9023 <type name="RotateDirection" c:type="ClutterRotateDirection"/>
9026 <method name="set_direction"
9027 c:identifier="clutter_behaviour_rotate_set_direction"
9029 <doc xml:whitespace="preserve">Sets the rotation direction used by the rotate behaviour.</doc>
9030 <return-value transfer-ownership="none">
9031 <type name="none" c:type="void"/>
9034 <parameter name="direction" transfer-ownership="none">
9035 <doc xml:whitespace="preserve">the rotation direction</doc>
9036 <type name="RotateDirection" c:type="ClutterRotateDirection"/>
9040 <method name="get_bounds"
9041 c:identifier="clutter_behaviour_rotate_get_bounds"
9043 <doc xml:whitespace="preserve">Retrieves the rotation boundaries of the rotate behaviour.</doc>
9044 <return-value transfer-ownership="none">
9045 <type name="none" c:type="void"/>
9048 <parameter name="angle_start"
9050 caller-allocates="0"
9051 transfer-ownership="full">
9052 <doc xml:whitespace="preserve">return value for the initial angle</doc>
9053 <type name="double" c:type="gdouble*"/>
9055 <parameter name="angle_end"
9057 caller-allocates="0"
9058 transfer-ownership="full">
9059 <doc xml:whitespace="preserve">return value for the final angle</doc>
9060 <type name="double" c:type="gdouble*"/>
9064 <method name="set_bounds"
9065 c:identifier="clutter_behaviour_rotate_set_bounds"
9067 <doc xml:whitespace="preserve">Sets the initial and final angles of a rotation behaviour; angles >= 360
9068 degrees get clamped to the canonical interval <0, 360).</doc>
9069 <return-value transfer-ownership="none">
9070 <type name="none" c:type="void"/>
9073 <parameter name="angle_start" transfer-ownership="none">
9074 <doc xml:whitespace="preserve">initial angle in degrees, between 0 and 360.</doc>
9075 <type name="double" c:type="gdouble"/>
9077 <parameter name="angle_end" transfer-ownership="none">
9078 <doc xml:whitespace="preserve">final angle in degrees, between 0 and 360.</doc>
9079 <type name="double" c:type="gdouble"/>
9083 <property name="angle-end"
9086 transfer-ownership="none">
9087 <doc xml:whitespace="preserve">The final angle to where the rotation should end.</doc>
9088 <type name="double" c:type="gdouble"/>
9090 <property name="angle-start"
9093 transfer-ownership="none">
9094 <doc xml:whitespace="preserve">The initial angle from whence the rotation should start.</doc>
9095 <type name="double" c:type="gdouble"/>
9097 <property name="axis"
9100 transfer-ownership="none">
9101 <doc xml:whitespace="preserve">The axis of rotation.</doc>
9102 <type name="RotateAxis" c:type="ClutterRotateAxis"/>
9104 <property name="center-x"
9107 transfer-ownership="none">
9108 <doc xml:whitespace="preserve">The x center of rotation.</doc>
9109 <type name="int" c:type="gint"/>
9111 <property name="center-y"
9114 transfer-ownership="none">
9115 <doc xml:whitespace="preserve">The y center of rotation.</doc>
9116 <type name="int" c:type="gint"/>
9118 <property name="center-z"
9121 transfer-ownership="none">
9122 <doc xml:whitespace="preserve">The z center of rotation.</doc>
9123 <type name="int" c:type="gint"/>
9125 <property name="direction"
9128 transfer-ownership="none">
9129 <doc xml:whitespace="preserve">The direction of the rotation.</doc>
9130 <type name="RotateDirection" c:type="ClutterRotateDirection"/>
9132 <field name="parent_instance">
9133 <type name="Behaviour" c:type="ClutterBehaviour"/>
9136 <type name="BehaviourRotatePrivate"
9137 c:type="ClutterBehaviourRotatePrivate*"/>
9140 <record name="BehaviourRotateClass"
9141 c:type="ClutterBehaviourRotateClass"
9142 glib:is-gtype-struct-for="BehaviourRotate"
9144 <doc xml:whitespace="preserve">The #ClutterBehaviourRotateClass struct contains only private data</doc>
9145 <field name="parent_class">
9146 <type name="BehaviourClass" c:type="ClutterBehaviourClass"/>
9149 <record name="BehaviourRotatePrivate"
9150 c:type="ClutterBehaviourRotatePrivate">
9152 <class name="BehaviourScale"
9153 c:type="ClutterBehaviourScale"
9156 glib:type-name="ClutterBehaviourScale"
9157 glib:get-type="clutter_behaviour_scale_get_type"
9158 glib:type-struct="BehaviourScaleClass">
9159 <doc xml:whitespace="preserve">The #ClutterBehaviourScale struct contains only private data and
9160 should be accessed using the provided API</doc>
9161 <implements name="Scriptable"/>
9162 <constructor name="new"
9163 c:identifier="clutter_behaviour_scale_new"
9165 <doc xml:whitespace="preserve">Creates a new #ClutterBehaviourScale instance.</doc>
9166 <return-value transfer-ownership="full">
9167 <doc xml:whitespace="preserve">the newly created #ClutterBehaviourScale</doc>
9168 <type name="BehaviourScale" c:type="ClutterBehaviour*"/>
9171 <parameter name="alpha" transfer-ownership="none">
9172 <doc xml:whitespace="preserve">a #ClutterAlpha</doc>
9173 <type name="Alpha" c:type="ClutterAlpha*"/>
9175 <parameter name="x_scale_start" transfer-ownership="none">
9176 <doc xml:whitespace="preserve">initial scale factor on the X axis</doc>
9177 <type name="double" c:type="gdouble"/>
9179 <parameter name="y_scale_start" transfer-ownership="none">
9180 <doc xml:whitespace="preserve">initial scale factor on the Y axis</doc>
9181 <type name="double" c:type="gdouble"/>
9183 <parameter name="x_scale_end" transfer-ownership="none">
9184 <doc xml:whitespace="preserve">final scale factor on the X axis</doc>
9185 <type name="double" c:type="gdouble"/>
9187 <parameter name="y_scale_end" transfer-ownership="none">
9188 <doc xml:whitespace="preserve">final scale factor on the Y axis</doc>
9189 <type name="double" c:type="gdouble"/>
9193 <method name="set_bounds"
9194 c:identifier="clutter_behaviour_scale_set_bounds"
9196 <doc xml:whitespace="preserve">Sets the bounds used by scale behaviour.</doc>
9197 <return-value transfer-ownership="none">
9198 <type name="none" c:type="void"/>
9201 <parameter name="x_scale_start" transfer-ownership="none">
9202 <doc xml:whitespace="preserve">initial scale factor on the X axis</doc>
9203 <type name="double" c:type="gdouble"/>
9205 <parameter name="y_scale_start" transfer-ownership="none">
9206 <doc xml:whitespace="preserve">initial scale factor on the Y axis</doc>
9207 <type name="double" c:type="gdouble"/>
9209 <parameter name="x_scale_end" transfer-ownership="none">
9210 <doc xml:whitespace="preserve">final scale factor on the X axis</doc>
9211 <type name="double" c:type="gdouble"/>
9213 <parameter name="y_scale_end" transfer-ownership="none">
9214 <doc xml:whitespace="preserve">final scale factor on the Y axis</doc>
9215 <type name="double" c:type="gdouble"/>
9219 <method name="get_bounds"
9220 c:identifier="clutter_behaviour_scale_get_bounds"
9222 <doc xml:whitespace="preserve">Retrieves the bounds used by scale behaviour.</doc>
9223 <return-value transfer-ownership="none">
9224 <type name="none" c:type="void"/>
9227 <parameter name="x_scale_start"
9229 caller-allocates="0"
9230 transfer-ownership="full">
9231 <doc xml:whitespace="preserve">return location for the initial scale factor on the X axis, or %NULL</doc>
9232 <type name="double" c:type="gdouble*"/>
9234 <parameter name="y_scale_start"
9236 caller-allocates="0"
9237 transfer-ownership="full">
9238 <doc xml:whitespace="preserve">return location for the initial scale factor on the Y axis, or %NULL</doc>
9239 <type name="double" c:type="gdouble*"/>
9241 <parameter name="x_scale_end"
9243 caller-allocates="0"
9244 transfer-ownership="full">
9245 <doc xml:whitespace="preserve">return location for the final scale factor on the X axis, or %NULL</doc>
9246 <type name="double" c:type="gdouble*"/>
9248 <parameter name="y_scale_end"
9250 caller-allocates="0"
9251 transfer-ownership="full">
9252 <doc xml:whitespace="preserve">return location for the final scale factor on the Y axis, or %NULL</doc>
9253 <type name="double" c:type="gdouble*"/>
9257 <property name="x-scale-end"
9260 transfer-ownership="none">
9261 <doc xml:whitespace="preserve">The final scaling factor on the X axis for the actors.</doc>
9262 <type name="double" c:type="gdouble"/>
9264 <property name="x-scale-start"
9267 transfer-ownership="none">
9268 <doc xml:whitespace="preserve">The initial scaling factor on the X axis for the actors.</doc>
9269 <type name="double" c:type="gdouble"/>
9271 <property name="y-scale-end"
9274 transfer-ownership="none">
9275 <doc xml:whitespace="preserve">The final scaling factor on the Y axis for the actors.</doc>
9276 <type name="double" c:type="gdouble"/>
9278 <property name="y-scale-start"
9281 transfer-ownership="none">
9282 <doc xml:whitespace="preserve">The initial scaling factor on the Y axis for the actors.</doc>
9283 <type name="double" c:type="gdouble"/>
9285 <field name="parent_instance">
9286 <type name="Behaviour" c:type="ClutterBehaviour"/>
9289 <type name="BehaviourScalePrivate"
9290 c:type="ClutterBehaviourScalePrivate*"/>
9293 <record name="BehaviourScaleClass"
9294 c:type="ClutterBehaviourScaleClass"
9295 glib:is-gtype-struct-for="BehaviourScale"
9297 <doc xml:whitespace="preserve">The #ClutterBehaviourScaleClass struct contains only private data</doc>
9298 <field name="parent_class">
9299 <type name="BehaviourClass" c:type="ClutterBehaviourClass"/>
9302 <record name="BehaviourScalePrivate" c:type="ClutterBehaviourScalePrivate">
9304 <enumeration name="BinAlignment"
9306 glib:type-name="ClutterBinAlignment"
9307 glib:get-type="clutter_bin_alignment_get_type"
9308 c:type="ClutterBinAlignment">
9309 <doc xml:whitespace="preserve">The alignment policies available on each axis for #ClutterBinLayout</doc>
9310 <member name="fixed"
9312 c:identifier="CLUTTER_BIN_ALIGNMENT_FIXED"
9316 c:identifier="CLUTTER_BIN_ALIGNMENT_FILL"
9318 <member name="start"
9320 c:identifier="CLUTTER_BIN_ALIGNMENT_START"
9324 c:identifier="CLUTTER_BIN_ALIGNMENT_END"
9326 <member name="center"
9328 c:identifier="CLUTTER_BIN_ALIGNMENT_CENTER"
9329 glib:nick="center"/>
9331 <class name="BinLayout"
9332 c:type="ClutterBinLayout"
9334 parent="LayoutManager"
9335 glib:type-name="ClutterBinLayout"
9336 glib:get-type="clutter_bin_layout_get_type"
9337 glib:type-struct="BinLayoutClass">
9338 <doc xml:whitespace="preserve">The #ClutterBinLayout structure contains only private data
9339 and should be accessed using the provided API</doc>
9340 <constructor name="new"
9341 c:identifier="clutter_bin_layout_new"
9343 <doc xml:whitespace="preserve">Creates a new #ClutterBinLayout layout manager</doc>
9344 <return-value transfer-ownership="full">
9345 <doc xml:whitespace="preserve">the newly created layout manager</doc>
9346 <type name="BinLayout" c:type="ClutterLayoutManager*"/>
9349 <parameter name="x_align" transfer-ownership="none">
9350 <doc xml:whitespace="preserve">the default alignment policy to be used on the horizontal axis</doc>
9351 <type name="BinAlignment" c:type="ClutterBinAlignment"/>
9353 <parameter name="y_align" transfer-ownership="none">
9354 <doc xml:whitespace="preserve">the default alignment policy to be used on the vertical axis</doc>
9355 <type name="BinAlignment" c:type="ClutterBinAlignment"/>
9359 <method name="set_alignment"
9360 c:identifier="clutter_bin_layout_set_alignment"
9362 <doc xml:whitespace="preserve">Sets the horizontal and vertical alignment policies to be applied
9363 to a @child of @self
9364 If @child is %NULL then the @x_align and @y_align values will
9365 be set as the default alignment policies</doc>
9366 <return-value transfer-ownership="none">
9367 <type name="none" c:type="void"/>
9370 <parameter name="child" transfer-ownership="none" allow-none="1">
9371 <doc xml:whitespace="preserve">a child of @container</doc>
9372 <type name="Actor" c:type="ClutterActor*"/>
9374 <parameter name="x_align" transfer-ownership="none">
9375 <doc xml:whitespace="preserve">the horizontal alignment policy to be used for the @child inside @container</doc>
9376 <type name="BinAlignment" c:type="ClutterBinAlignment"/>
9378 <parameter name="y_align" transfer-ownership="none">
9379 <doc xml:whitespace="preserve">the vertical aligment policy to be used on the @child inside @container</doc>
9380 <type name="BinAlignment" c:type="ClutterBinAlignment"/>
9384 <method name="get_alignment"
9385 c:identifier="clutter_bin_layout_get_alignment"
9387 <doc xml:whitespace="preserve">Retrieves the horizontal and vertical alignment policies for
9389 If @child is %NULL the default alignment policies will be returned
9391 <return-value transfer-ownership="none">
9392 <type name="none" c:type="void"/>
9395 <parameter name="child" transfer-ownership="none" allow-none="1">
9396 <doc xml:whitespace="preserve">a child of @container</doc>
9397 <type name="Actor" c:type="ClutterActor*"/>
9399 <parameter name="x_align"
9401 caller-allocates="1"
9402 transfer-ownership="none"
9404 <doc xml:whitespace="preserve">return location for the horizontal alignment policy</doc>
9405 <type name="BinAlignment" c:type="ClutterBinAlignment*"/>
9407 <parameter name="y_align"
9409 caller-allocates="1"
9410 transfer-ownership="none"
9412 <doc xml:whitespace="preserve">return location for the vertical alignment policy</doc>
9413 <type name="BinAlignment" c:type="ClutterBinAlignment*"/>
9417 <method name="add" c:identifier="clutter_bin_layout_add" version="1.2">
9418 <doc xml:whitespace="preserve">Adds a #ClutterActor to the container using @self and
9419 sets the alignment policies for it
9420 This function is equivalent to clutter_container_add_actor()
9421 and clutter_layout_manager_child_set_property() but it does not
9422 require a pointer to the #ClutterContainer associated to the
9423 #ClutterBinLayout</doc>
9424 <return-value transfer-ownership="none">
9425 <type name="none" c:type="void"/>
9428 <parameter name="child" transfer-ownership="none">
9429 <doc xml:whitespace="preserve">a #ClutterActor</doc>
9430 <type name="Actor" c:type="ClutterActor*"/>
9432 <parameter name="x_align" transfer-ownership="none">
9433 <doc xml:whitespace="preserve">horizontal alignment policy for @child</doc>
9434 <type name="BinAlignment" c:type="ClutterBinAlignment"/>
9436 <parameter name="y_align" transfer-ownership="none">
9437 <doc xml:whitespace="preserve">vertical alignment policy for @child</doc>
9438 <type name="BinAlignment" c:type="ClutterBinAlignment"/>
9442 <property name="x-align"
9445 transfer-ownership="none">
9446 <doc xml:whitespace="preserve">The default horizontal alignment policy for actors managed
9447 by the #ClutterBinLayout</doc>
9448 <type name="BinAlignment" c:type="ClutterBinAlignment"/>
9450 <property name="y-align"
9453 transfer-ownership="none">
9454 <doc xml:whitespace="preserve">The default vertical alignment policy for actors managed
9455 by the #ClutterBinLayout</doc>
9456 <type name="BinAlignment" c:type="ClutterBinAlignment"/>
9458 <field name="parent_instance">
9459 <type name="LayoutManager" c:type="ClutterLayoutManager"/>
9462 <type name="BinLayoutPrivate" c:type="ClutterBinLayoutPrivate*"/>
9465 <record name="BinLayoutClass"
9466 c:type="ClutterBinLayoutClass"
9467 glib:is-gtype-struct-for="BinLayout"
9469 <doc xml:whitespace="preserve">The #ClutterBinLayoutClass structure contains only private
9470 data and should be accessed using the provided API</doc>
9471 <field name="parent_class">
9472 <type name="LayoutManagerClass" c:type="ClutterLayoutManagerClass"/>
9475 <record name="BinLayoutPrivate" c:type="ClutterBinLayoutPrivate">
9477 <class name="BindConstraint"
9478 c:type="ClutterBindConstraint"
9481 glib:type-name="ClutterBindConstraint"
9482 glib:get-type="clutter_bind_constraint_get_type">
9483 <doc xml:whitespace="preserve"><structname>ClutterBindConstraint</structname> is an opaque structure
9484 whose members cannot be directly accessed</doc>
9485 <constructor name="new"
9486 c:identifier="clutter_bind_constraint_new"
9488 <doc xml:whitespace="preserve">Creates a new constraint, binding a #ClutterActor's position to
9489 the given @coordinate of the position of @source</doc>
9490 <return-value transfer-ownership="full">
9491 <doc xml:whitespace="preserve">the newly created #ClutterBindConstraint</doc>
9492 <type name="BindConstraint" c:type="ClutterConstraint*"/>
9495 <parameter name="source" transfer-ownership="none" allow-none="1">
9496 <doc xml:whitespace="preserve">the #ClutterActor to use as the source of the binding, or %NULL</doc>
9497 <type name="Actor" c:type="ClutterActor*"/>
9499 <parameter name="coordinate" transfer-ownership="none">
9500 <doc xml:whitespace="preserve">the coordinate to bind</doc>
9501 <type name="BindCoordinate" c:type="ClutterBindCoordinate"/>
9503 <parameter name="offset" transfer-ownership="none">
9504 <doc xml:whitespace="preserve">the offset to apply to the binding, in pixels</doc>
9505 <type name="float" c:type="gfloat"/>
9509 <method name="set_source"
9510 c:identifier="clutter_bind_constraint_set_source"
9512 <doc xml:whitespace="preserve">Sets the source #ClutterActor for the constraint</doc>
9513 <return-value transfer-ownership="none">
9514 <type name="none" c:type="void"/>
9517 <parameter name="source" transfer-ownership="none" allow-none="1">
9518 <doc xml:whitespace="preserve">a #ClutterActor, or %NULL to unset the source</doc>
9519 <type name="Actor" c:type="ClutterActor*"/>
9523 <method name="get_source"
9524 c:identifier="clutter_bind_constraint_get_source"
9526 <doc xml:whitespace="preserve">Retrieves the #ClutterActor set using clutter_bind_constraint_set_source()</doc>
9527 <return-value transfer-ownership="none">
9528 <doc xml:whitespace="preserve">a pointer to the source actor</doc>
9529 <type name="Actor" c:type="ClutterActor*"/>
9532 <method name="set_coordinate"
9533 c:identifier="clutter_bind_constraint_set_coordinate"
9535 <doc xml:whitespace="preserve">Sets the coordinate to bind in the constraint</doc>
9536 <return-value transfer-ownership="none">
9537 <type name="none" c:type="void"/>
9540 <parameter name="coordinate" transfer-ownership="none">
9541 <doc xml:whitespace="preserve">the coordinate to bind</doc>
9542 <type name="BindCoordinate" c:type="ClutterBindCoordinate"/>
9546 <method name="get_coordinate"
9547 c:identifier="clutter_bind_constraint_get_coordinate"
9549 <doc xml:whitespace="preserve">Retrieves the bound coordinate of the constraint</doc>
9550 <return-value transfer-ownership="full">
9551 <doc xml:whitespace="preserve">the bound coordinate</doc>
9552 <type name="BindCoordinate" c:type="ClutterBindCoordinate"/>
9555 <method name="set_offset"
9556 c:identifier="clutter_bind_constraint_set_offset"
9558 <doc xml:whitespace="preserve">Sets the offset to be applied to the constraint</doc>
9559 <return-value transfer-ownership="none">
9560 <type name="none" c:type="void"/>
9563 <parameter name="offset" transfer-ownership="none">
9564 <doc xml:whitespace="preserve">the offset to apply, in pixels</doc>
9565 <type name="float" c:type="gfloat"/>
9569 <method name="get_offset"
9570 c:identifier="clutter_bind_constraint_get_offset"
9572 <doc xml:whitespace="preserve">Retrieves the offset set using clutter_bind_constraint_set_offset()</doc>
9573 <return-value transfer-ownership="none">
9574 <doc xml:whitespace="preserve">the offset, in pixels</doc>
9575 <type name="float" c:type="gfloat"/>
9578 <property name="coordinate"
9582 transfer-ownership="none">
9583 <doc xml:whitespace="preserve">The coordinate to be bound</doc>
9584 <type name="BindCoordinate" c:type="ClutterBindCoordinate"/>
9586 <property name="offset"
9590 transfer-ownership="none">
9591 <doc xml:whitespace="preserve">The offset, in pixels, to be applied to the binding</doc>
9592 <type name="float" c:type="gfloat"/>
9594 <property name="source"
9598 transfer-ownership="none">
9599 <doc xml:whitespace="preserve">The #ClutterActor used as the source for the binding</doc>
9600 <type name="Actor" c:type="ClutterActor"/>
9603 <enumeration name="BindCoordinate"
9605 glib:type-name="ClutterBindCoordinate"
9606 glib:get-type="clutter_bind_coordinate_get_type"
9607 c:type="ClutterBindCoordinate">
9608 <doc xml:whitespace="preserve">Specifies which property should be used in a binding</doc>
9609 <member name="x" value="0" c:identifier="CLUTTER_BIND_X" glib:nick="x"/>
9610 <member name="y" value="1" c:identifier="CLUTTER_BIND_Y" glib:nick="y"/>
9611 <member name="z" value="2" c:identifier="CLUTTER_BIND_Z" glib:nick="z"/>
9612 <member name="width"
9614 c:identifier="CLUTTER_BIND_WIDTH"
9616 <member name="height"
9618 c:identifier="CLUTTER_BIND_HEIGHT"
9619 glib:nick="height"/>
9621 <callback name="BindingActionFunc"
9622 c:type="ClutterBindingActionFunc"
9624 <doc xml:whitespace="preserve">The prototype for the callback function registered with
9625 clutter_binding_pool_install_action() and invoked by
9626 clutter_binding_pool_activate().
9627 binding has been handled, and return %FALSE otherwise</doc>
9628 <return-value transfer-ownership="none">
9629 <doc xml:whitespace="preserve">the function should return %TRUE if the key</doc>
9630 <type name="boolean" c:type="gboolean"/>
9633 <parameter name="gobject" transfer-ownership="none">
9634 <doc xml:whitespace="preserve">a #GObject</doc>
9635 <type name="GObject.Object" c:type="GObject*"/>
9637 <parameter name="action_name" transfer-ownership="none">
9638 <doc xml:whitespace="preserve">the name of the action</doc>
9639 <type name="utf8" c:type="gchar*"/>
9641 <parameter name="key_val" transfer-ownership="none">
9642 <doc xml:whitespace="preserve">the key symbol</doc>
9643 <type name="uint" c:type="guint"/>
9645 <parameter name="modifiers" transfer-ownership="none">
9646 <doc xml:whitespace="preserve">bitmask of the modifier flags</doc>
9647 <type name="ModifierType" c:type="ClutterModifierType"/>
9651 <class name="BindingPool"
9652 c:type="ClutterBindingPool"
9654 parent="GObject.Object"
9655 glib:type-name="ClutterBindingPool"
9656 glib:get-type="clutter_binding_pool_get_type">
9657 <doc xml:whitespace="preserve">Container of key bindings. The #ClutterBindingPool struct is
9659 <constructor name="new"
9660 c:identifier="clutter_binding_pool_new"
9662 <doc xml:whitespace="preserve">Creates a new #ClutterBindingPool that can be used to store
9663 key bindings for an actor. The @name must be a unique identifier
9664 for the binding pool, so that clutter_binding_pool_find() will
9665 be able to return the correct binding pool.
9666 name. Use g_object_unref() when done.</doc>
9667 <return-value transfer-ownership="full">
9668 <doc xml:whitespace="preserve">the newly created binding pool with the given</doc>
9669 <type name="BindingPool" c:type="ClutterBindingPool*"/>
9672 <parameter name="name" transfer-ownership="none">
9673 <doc xml:whitespace="preserve">the name of the binding pool</doc>
9674 <type name="utf8" c:type="gchar*"/>
9678 <function name="get_for_class"
9679 c:identifier="clutter_binding_pool_get_for_class"
9681 <doc xml:whitespace="preserve">Retrieves the #ClutterBindingPool for the given #GObject class
9682 and, eventually, creates it. This function is a wrapper around
9683 clutter_binding_pool_new() and uses the class type name as the
9684 unique name for the binding pool.
9685 Calling this function multiple times will return the same
9686 #ClutterBindingPool.
9687 A binding pool for a class can also be retrieved using
9688 clutter_binding_pool_find() with the class type name:
9690 pool = clutter_binding_pool_find (G_OBJECT_TYPE_NAME (instance));
9692 The returned #ClutterBindingPool is owned by Clutter and should not
9693 be freed directly</doc>
9694 <return-value transfer-ownership="none">
9695 <doc xml:whitespace="preserve">the binding pool for the given class.</doc>
9696 <type name="BindingPool" c:type="ClutterBindingPool*"/>
9699 <parameter name="klass" transfer-ownership="none">
9700 <doc xml:whitespace="preserve">a #GObjectClass pointer</doc>
9701 <type name="any" c:type="gpointer"/>
9705 <function name="find"
9706 c:identifier="clutter_binding_pool_find"
9708 <doc xml:whitespace="preserve">Finds the #ClutterBindingPool with @name.</doc>
9709 <return-value transfer-ownership="none">
9710 <doc xml:whitespace="preserve">a pointer to the #ClutterBindingPool, or %NULL</doc>
9711 <type name="BindingPool" c:type="ClutterBindingPool*"/>
9714 <parameter name="name" transfer-ownership="none">
9715 <doc xml:whitespace="preserve">the name of the binding pool to find</doc>
9716 <type name="utf8" c:type="gchar*"/>
9720 <method name="install_action"
9721 c:identifier="clutter_binding_pool_install_action"
9723 <doc xml:whitespace="preserve">Installs a new action inside a #ClutterBindingPool. The action
9724 is bound to @key_val and @modifiers.
9725 The same action name can be used for multiple @key_val, @modifiers
9727 When an action has been activated using clutter_binding_pool_activate()
9728 the passed @callback will be invoked (with @data).
9729 Actions can be blocked with clutter_binding_pool_block_action()
9730 and then unblocked using clutter_binding_pool_unblock_action().</doc>
9731 <return-value transfer-ownership="none">
9732 <type name="none" c:type="void"/>
9735 <parameter name="action_name" transfer-ownership="none">
9736 <doc xml:whitespace="preserve">the name of the action</doc>
9737 <type name="utf8" c:type="gchar*"/>
9739 <parameter name="key_val" transfer-ownership="none">
9740 <doc xml:whitespace="preserve">key symbol</doc>
9741 <type name="uint" c:type="guint"/>
9743 <parameter name="modifiers" transfer-ownership="none">
9744 <doc xml:whitespace="preserve">bitmask of modifiers</doc>
9745 <type name="ModifierType" c:type="ClutterModifierType"/>
9747 <parameter name="callback"
9748 transfer-ownership="none"
9752 <doc xml:whitespace="preserve">function to be called when the action is activated</doc>
9753 <type name="GObject.Callback" c:type="GCallback"/>
9755 <parameter name="data" transfer-ownership="none">
9756 <doc xml:whitespace="preserve">data to be passed to @callback</doc>
9757 <type name="any" c:type="gpointer"/>
9759 <parameter name="notify" transfer-ownership="none" scope="call">
9760 <doc xml:whitespace="preserve">function to be called when the action is removed from the pool</doc>
9761 <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
9765 <method name="install_closure"
9766 c:identifier="clutter_binding_pool_install_closure"
9768 <doc xml:whitespace="preserve">A #GClosure variant of clutter_binding_pool_install_action().
9769 Installs a new action inside a #ClutterBindingPool. The action
9770 is bound to @key_val and @modifiers.
9771 The same action name can be used for multiple @key_val, @modifiers
9773 When an action has been activated using clutter_binding_pool_activate()
9774 the passed @closure will be invoked.
9775 Actions can be blocked with clutter_binding_pool_block_action()
9776 and then unblocked using clutter_binding_pool_unblock_action().</doc>
9777 <return-value transfer-ownership="none">
9778 <type name="none" c:type="void"/>
9781 <parameter name="action_name" transfer-ownership="none">
9782 <doc xml:whitespace="preserve">the name of the action</doc>
9783 <type name="utf8" c:type="gchar*"/>
9785 <parameter name="key_val" transfer-ownership="none">
9786 <doc xml:whitespace="preserve">key symbol</doc>
9787 <type name="uint" c:type="guint"/>
9789 <parameter name="modifiers" transfer-ownership="none">
9790 <doc xml:whitespace="preserve">bitmask of modifiers</doc>
9791 <type name="ModifierType" c:type="ClutterModifierType"/>
9793 <parameter name="closure" transfer-ownership="none">
9794 <doc xml:whitespace="preserve">a #GClosure</doc>
9795 <type name="GObject.Closure" c:type="GClosure*"/>
9799 <method name="override_action"
9800 c:identifier="clutter_binding_pool_override_action"
9802 <doc xml:whitespace="preserve">Allows overriding the action for @key_val and @modifiers inside a
9803 #ClutterBindingPool. See clutter_binding_pool_install_action().
9804 When an action has been activated using clutter_binding_pool_activate()
9805 the passed @callback will be invoked (with @data).
9806 Actions can be blocked with clutter_binding_pool_block_action()
9807 and then unblocked using clutter_binding_pool_unblock_action().</doc>
9808 <return-value transfer-ownership="none">
9809 <type name="none" c:type="void"/>
9812 <parameter name="key_val" transfer-ownership="none">
9813 <doc xml:whitespace="preserve">key symbol</doc>
9814 <type name="uint" c:type="guint"/>
9816 <parameter name="modifiers" transfer-ownership="none">
9817 <doc xml:whitespace="preserve">bitmask of modifiers</doc>
9818 <type name="ModifierType" c:type="ClutterModifierType"/>
9820 <parameter name="callback"
9821 transfer-ownership="none"
9825 <doc xml:whitespace="preserve">function to be called when the action is activated</doc>
9826 <type name="GObject.Callback" c:type="GCallback"/>
9828 <parameter name="data" transfer-ownership="none">
9829 <doc xml:whitespace="preserve">data to be passed to @callback</doc>
9830 <type name="any" c:type="gpointer"/>
9832 <parameter name="notify" transfer-ownership="none" scope="call">
9833 <doc xml:whitespace="preserve">function to be called when the action is removed from the pool</doc>
9834 <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
9838 <method name="override_closure"
9839 c:identifier="clutter_binding_pool_override_closure"
9841 <doc xml:whitespace="preserve">A #GClosure variant of clutter_binding_pool_override_action().
9842 Allows overriding the action for @key_val and @modifiers inside a
9843 #ClutterBindingPool. See clutter_binding_pool_install_closure().
9844 When an action has been activated using clutter_binding_pool_activate()
9845 the passed @callback will be invoked (with @data).
9846 Actions can be blocked with clutter_binding_pool_block_action()
9847 and then unblocked using clutter_binding_pool_unblock_action().</doc>
9848 <return-value transfer-ownership="none">
9849 <type name="none" c:type="void"/>
9852 <parameter name="key_val" transfer-ownership="none">
9853 <doc xml:whitespace="preserve">key symbol</doc>
9854 <type name="uint" c:type="guint"/>
9856 <parameter name="modifiers" transfer-ownership="none">
9857 <doc xml:whitespace="preserve">bitmask of modifiers</doc>
9858 <type name="ModifierType" c:type="ClutterModifierType"/>
9860 <parameter name="closure" transfer-ownership="none">
9861 <doc xml:whitespace="preserve">a #GClosure</doc>
9862 <type name="GObject.Closure" c:type="GClosure*"/>
9866 <method name="find_action"
9867 c:identifier="clutter_binding_pool_find_action"
9869 <doc xml:whitespace="preserve">Retrieves the name of the action matching the given key symbol
9870 and modifiers bitmask.
9871 returned string is owned by the binding pool and should never
9872 be modified or freed</doc>
9873 <return-value transfer-ownership="none">
9874 <doc xml:whitespace="preserve">the name of the action, if found, or %NULL. The</doc>
9875 <type name="utf8" c:type="gchar*"/>
9878 <parameter name="key_val" transfer-ownership="none">
9879 <doc xml:whitespace="preserve">a key symbol</doc>
9880 <type name="uint" c:type="guint"/>
9882 <parameter name="modifiers" transfer-ownership="none">
9883 <doc xml:whitespace="preserve">a bitmask for the modifiers</doc>
9884 <type name="ModifierType" c:type="ClutterModifierType"/>
9888 <method name="remove_action"
9889 c:identifier="clutter_binding_pool_remove_action"
9891 <doc xml:whitespace="preserve">Removes the action matching the given @key_val, @modifiers pair,
9892 if any exists.</doc>
9893 <return-value transfer-ownership="none">
9894 <type name="none" c:type="void"/>
9897 <parameter name="key_val" transfer-ownership="none">
9898 <doc xml:whitespace="preserve">a key symbol</doc>
9899 <type name="uint" c:type="guint"/>
9901 <parameter name="modifiers" transfer-ownership="none">
9902 <doc xml:whitespace="preserve">a bitmask for the modifiers</doc>
9903 <type name="ModifierType" c:type="ClutterModifierType"/>
9907 <method name="activate"
9908 c:identifier="clutter_binding_pool_activate"
9910 <doc xml:whitespace="preserve">Activates the callback associated to the action that is
9911 bound to the @key_val and @modifiers pair.
9912 The callback has the following signature:
9914 void (* callback) (GObject *gobject,
9915 const gchar *action_name,
9917 ClutterModifierType modifiers,
9918 gpointer user_data);
9920 Where the #GObject instance is @gobject and the user data
9921 is the one passed when installing the action with
9922 clutter_binding_pool_install_action().
9923 If the action bound to the @key_val, @modifiers pair has been
9924 blocked using clutter_binding_pool_block_action(), the callback
9925 will not be invoked, and this function will return %FALSE.</doc>
9926 <return-value transfer-ownership="none">
9927 <doc xml:whitespace="preserve">%TRUE if an action was found and was activated</doc>
9928 <type name="boolean" c:type="gboolean"/>
9931 <parameter name="key_val" transfer-ownership="none">
9932 <doc xml:whitespace="preserve">the key symbol</doc>
9933 <type name="uint" c:type="guint"/>
9935 <parameter name="modifiers" transfer-ownership="none">
9936 <doc xml:whitespace="preserve">bitmask for the modifiers</doc>
9937 <type name="ModifierType" c:type="ClutterModifierType"/>
9939 <parameter name="gobject" transfer-ownership="none">
9940 <doc xml:whitespace="preserve">a #GObject</doc>
9941 <type name="GObject.Object" c:type="GObject*"/>
9945 <method name="block_action"
9946 c:identifier="clutter_binding_pool_block_action"
9948 <doc xml:whitespace="preserve">Blocks all the actions with name @action_name inside @pool.</doc>
9949 <return-value transfer-ownership="none">
9950 <type name="none" c:type="void"/>
9953 <parameter name="action_name" transfer-ownership="none">
9954 <doc xml:whitespace="preserve">an action name</doc>
9955 <type name="utf8" c:type="gchar*"/>
9959 <method name="unblock_action"
9960 c:identifier="clutter_binding_pool_unblock_action"
9962 <doc xml:whitespace="preserve">Unblockes all the actions with name @action_name inside @pool.
9963 Unblocking an action does not cause the callback bound to it to
9964 be invoked in case clutter_binding_pool_activate() was called on
9965 an action previously blocked with clutter_binding_pool_block_action().</doc>
9966 <return-value transfer-ownership="none">
9967 <type name="none" c:type="void"/>
9970 <parameter name="action_name" transfer-ownership="none">
9971 <doc xml:whitespace="preserve">an action name</doc>
9972 <type name="utf8" c:type="gchar*"/>
9976 <property name="name"
9980 transfer-ownership="none">
9981 <doc xml:whitespace="preserve">The unique name of the #ClutterBindingPool.</doc>
9982 <type name="utf8" c:type="gchararray"/>
9985 <class name="BlurEffect"
9986 c:type="ClutterBlurEffect"
9988 parent="OffscreenEffect"
9989 glib:type-name="ClutterBlurEffect"
9990 glib:get-type="clutter_blur_effect_get_type">
9991 <doc xml:whitespace="preserve"><structname>ClutterBlurEffect</structname> is an opaque structure
9992 whose members cannot be accessed directly</doc>
9993 <constructor name="new"
9994 c:identifier="clutter_blur_effect_new"
9996 <doc xml:whitespace="preserve">Creates a new #ClutterBlurEffect to be used with
9997 clutter_actor_add_effect()</doc>
9998 <return-value transfer-ownership="full">
9999 <doc xml:whitespace="preserve">the newly created #ClutterBlurEffect or %NULL</doc>
10000 <type name="BlurEffect" c:type="ClutterEffect*"/>
10004 <constant name="BounceKeys_Enable" value="65140">
10008 c:type="ClutterBox"
10011 glib:type-name="ClutterBox"
10012 glib:get-type="clutter_box_get_type"
10013 glib:type-struct="BoxClass">
10014 <doc xml:whitespace="preserve">The #ClutterBox structure contains only private data and should
10015 be accessed using the provided API</doc>
10016 <implements name="Animatable"/>
10017 <implements name="Atk.ImplementorIface"/>
10018 <implements name="Container"/>
10019 <implements name="Scriptable"/>
10020 <constructor name="new" c:identifier="clutter_box_new" version="1.0">
10021 <doc xml:whitespace="preserve">Creates a new #ClutterBox. The children of the box will be layed
10022 out by the passed @manager</doc>
10023 <return-value transfer-ownership="full">
10024 <doc xml:whitespace="preserve">the newly created #ClutterBox actor</doc>
10025 <type name="Box" c:type="ClutterActor*"/>
10028 <parameter name="manager" transfer-ownership="none">
10029 <doc xml:whitespace="preserve">a #ClutterLayoutManager</doc>
10030 <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
10034 <method name="set_layout_manager"
10035 c:identifier="clutter_box_set_layout_manager"
10037 <doc xml:whitespace="preserve">Sets the #ClutterLayoutManager for @box
10038 A #ClutterLayoutManager is a delegate object that controls the
10039 layout of the children of @box</doc>
10040 <return-value transfer-ownership="none">
10041 <type name="none" c:type="void"/>
10044 <parameter name="manager" transfer-ownership="none">
10045 <doc xml:whitespace="preserve">a #ClutterLayoutManager</doc>
10046 <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
10050 <method name="get_layout_manager"
10051 c:identifier="clutter_box_get_layout_manager"
10053 <doc xml:whitespace="preserve">Retrieves the #ClutterLayoutManager instance used by @box</doc>
10054 <return-value transfer-ownership="full">
10055 <doc xml:whitespace="preserve">a #ClutterLayoutManager</doc>
10056 <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
10059 <method name="set_color"
10060 c:identifier="clutter_box_set_color"
10062 <doc xml:whitespace="preserve">Sets (or unsets) the background color for @box</doc>
10063 <return-value transfer-ownership="none">
10064 <type name="none" c:type="void"/>
10067 <parameter name="color" transfer-ownership="none" allow-none="1">
10068 <doc xml:whitespace="preserve">the background color, or %NULL to unset</doc>
10069 <type name="Color" c:type="ClutterColor*"/>
10073 <method name="get_color"
10074 c:identifier="clutter_box_get_color"
10076 <doc xml:whitespace="preserve">Retrieves the background color of @box
10077 If the #ClutterBox:color-set property is set to %FALSE the
10078 returned #ClutterColor is undefined</doc>
10079 <return-value transfer-ownership="none">
10080 <type name="none" c:type="void"/>
10083 <parameter name="color"
10085 caller-allocates="1"
10086 transfer-ownership="none">
10087 <doc xml:whitespace="preserve">return location for a #ClutterColor</doc>
10088 <type name="Color" c:type="ClutterColor*"/>
10092 <method name="pack"
10093 c:identifier="clutter_box_pack"
10095 introspectable="0">
10096 <doc xml:whitespace="preserve">Adds @actor to @box and sets layout properties at the same time,
10097 if the #ClutterLayoutManager used by @box has them
10098 This function is a wrapper around clutter_container_add_actor()
10099 and clutter_layout_manager_child_set()
10100 Language bindings should use the vector-based clutter_box_addv()
10101 variant instead</doc>
10102 <return-value transfer-ownership="none">
10103 <type name="none" c:type="void"/>
10106 <parameter name="actor" transfer-ownership="none">
10107 <doc xml:whitespace="preserve">a #ClutterActor</doc>
10108 <type name="Actor" c:type="ClutterActor*"/>
10110 <parameter name="first_property" transfer-ownership="none">
10111 <doc xml:whitespace="preserve">the name of the first property to set, or %NULL</doc>
10112 <type name="utf8" c:type="gchar*"/>
10114 <parameter transfer-ownership="none">
10120 <method name="packv" c:identifier="clutter_box_packv" version="1.2">
10121 <doc xml:whitespace="preserve">Vector-based variant of clutter_box_pack(), intended for language
10122 bindings to use</doc>
10123 <return-value transfer-ownership="none">
10124 <type name="none" c:type="void"/>
10127 <parameter name="actor" transfer-ownership="none">
10128 <doc xml:whitespace="preserve">a #ClutterActor</doc>
10129 <type name="Actor" c:type="ClutterActor*"/>
10131 <parameter name="n_properties" transfer-ownership="none">
10132 <doc xml:whitespace="preserve">the number of properties to set</doc>
10133 <type name="uint" c:type="guint"/>
10135 <parameter name="properties" transfer-ownership="none">
10136 <doc xml:whitespace="preserve">a vector containing the property names to set</doc>
10137 <array length="2" c:type="gchar*">
10138 <type name="utf8"/>
10141 <parameter name="values" transfer-ownership="none">
10142 <doc xml:whitespace="preserve">a vector containing the property values to set</doc>
10143 <array length="2" c:type="GValue*">
10144 <type name="GObject.Value"/>
10149 <method name="pack_after"
10150 c:identifier="clutter_box_pack_after"
10152 introspectable="0">
10153 <doc xml:whitespace="preserve">Adds @actor to @box, placing it after @sibling, and sets layout
10154 properties at the same time, if the #ClutterLayoutManager used by
10155 If @sibling is %NULL then @actor is placed at the end of the
10156 list of children, to be allocated and painted after every other child
10157 This function is a wrapper around clutter_container_add_actor(),
10158 clutter_container_raise_child() and clutter_layout_manager_child_set()</doc>
10159 <return-value transfer-ownership="none">
10160 <type name="none" c:type="void"/>
10163 <parameter name="actor" transfer-ownership="none">
10164 <doc xml:whitespace="preserve">a #ClutterActor</doc>
10165 <type name="Actor" c:type="ClutterActor*"/>
10167 <parameter name="sibling" transfer-ownership="none" allow-none="1">
10168 <doc xml:whitespace="preserve">a #ClutterActor or %NULL</doc>
10169 <type name="Actor" c:type="ClutterActor*"/>
10171 <parameter name="first_property" transfer-ownership="none">
10172 <doc xml:whitespace="preserve">the name of the first property to set, or %NULL</doc>
10173 <type name="utf8" c:type="gchar*"/>
10175 <parameter transfer-ownership="none">
10181 <method name="pack_before"
10182 c:identifier="clutter_box_pack_before"
10184 introspectable="0">
10185 <doc xml:whitespace="preserve">Adds @actor to @box, placing it before @sibling, and sets layout
10186 properties at the same time, if the #ClutterLayoutManager used by
10187 If @sibling is %NULL then @actor is placed at the beginning of the
10188 list of children, to be allocated and painted below every other child
10189 This function is a wrapper around clutter_container_add_actor(),
10190 clutter_container_lower_child() and clutter_layout_manager_child_set()</doc>
10191 <return-value transfer-ownership="none">
10192 <type name="none" c:type="void"/>
10195 <parameter name="actor" transfer-ownership="none">
10196 <doc xml:whitespace="preserve">a #ClutterActor</doc>
10197 <type name="Actor" c:type="ClutterActor*"/>
10199 <parameter name="sibling" transfer-ownership="none" allow-none="1">
10200 <doc xml:whitespace="preserve">a #ClutterActor or %NULL</doc>
10201 <type name="Actor" c:type="ClutterActor*"/>
10203 <parameter name="first_property" transfer-ownership="none">
10204 <doc xml:whitespace="preserve">the name of the first property to set, or %NULL</doc>
10205 <type name="utf8" c:type="gchar*"/>
10207 <parameter transfer-ownership="none">
10213 <method name="pack_at"
10214 c:identifier="clutter_box_pack_at"
10216 introspectable="0">
10217 <doc xml:whitespace="preserve">Adds @actor to @box, placing it at @position, and sets layout
10218 properties at the same time, if the #ClutterLayoutManager used by
10219 If @position is a negative number, or is larger than the number of
10220 children of @box, the new child is added at the end of the list of
10222 <return-value transfer-ownership="none">
10223 <type name="none" c:type="void"/>
10226 <parameter name="actor" transfer-ownership="none">
10227 <doc xml:whitespace="preserve">a #ClutterActor</doc>
10228 <type name="Actor" c:type="ClutterActor*"/>
10230 <parameter name="position" transfer-ownership="none">
10231 <doc xml:whitespace="preserve">the position to insert the @actor at</doc>
10232 <type name="int" c:type="gint"/>
10234 <parameter name="first_property" transfer-ownership="none">
10235 <doc xml:whitespace="preserve">the name of the first property to set, or %NULL</doc>
10236 <type name="utf8" c:type="gchar*"/>
10238 <parameter transfer-ownership="none">
10244 <property name="color"
10247 transfer-ownership="none">
10248 <doc xml:whitespace="preserve">The color to be used to paint the background of the
10249 #ClutterBox. Setting this property will set the
10250 #ClutterBox:color-set property as a side effect</doc>
10251 <type name="Color" c:type="ClutterColor"/>
10253 <property name="color-set"
10256 transfer-ownership="none">
10257 <doc xml:whitespace="preserve">Whether the #ClutterBox:color property has been set</doc>
10258 <type name="boolean" c:type="gboolean"/>
10260 <property name="layout-manager"
10264 transfer-ownership="none">
10265 <doc xml:whitespace="preserve">The #ClutterLayoutManager used by the #ClutterBox</doc>
10266 <type name="LayoutManager" c:type="ClutterLayoutManager"/>
10268 <field name="parent_instance">
10269 <type name="Actor" c:type="ClutterActor"/>
10271 <field name="priv">
10272 <type name="BoxPrivate" c:type="ClutterBoxPrivate*"/>
10275 <enumeration name="BoxAlignment"
10277 glib:type-name="ClutterBoxAlignment"
10278 glib:get-type="clutter_box_alignment_get_type"
10279 c:type="ClutterBoxAlignment">
10280 <doc xml:whitespace="preserve">The alignment policies available on each axis of the #ClutterBoxLayout</doc>
10281 <member name="start"
10283 c:identifier="CLUTTER_BOX_ALIGNMENT_START"
10284 glib:nick="start"/>
10287 c:identifier="CLUTTER_BOX_ALIGNMENT_END"
10289 <member name="center"
10291 c:identifier="CLUTTER_BOX_ALIGNMENT_CENTER"
10292 glib:nick="center"/>
10294 <record name="BoxClass"
10295 c:type="ClutterBoxClass"
10296 glib:is-gtype-struct-for="Box"
10298 <doc xml:whitespace="preserve">The #ClutterBoxClass structure contains only private data</doc>
10299 <field name="parent_class">
10300 <type name="ActorClass" c:type="ClutterActorClass"/>
10302 <field name="padding_1">
10303 <callback name="padding_1" c:type="clutter_padding_1">
10304 <return-value transfer-ownership="none">
10305 <type name="none" c:type="void"/>
10309 <field name="padding_2">
10310 <callback name="padding_2" c:type="clutter_padding_2">
10311 <return-value transfer-ownership="none">
10312 <type name="none" c:type="void"/>
10316 <field name="padding_3">
10317 <callback name="padding_3" c:type="clutter_padding_3">
10318 <return-value transfer-ownership="none">
10319 <type name="none" c:type="void"/>
10323 <field name="padding_4">
10324 <callback name="padding_4" c:type="clutter_padding_4">
10325 <return-value transfer-ownership="none">
10326 <type name="none" c:type="void"/>
10330 <field name="padding_5">
10331 <callback name="padding_5" c:type="clutter_padding_5">
10332 <return-value transfer-ownership="none">
10333 <type name="none" c:type="void"/>
10337 <field name="padding_6">
10338 <callback name="padding_6" c:type="clutter_padding_6">
10339 <return-value transfer-ownership="none">
10340 <type name="none" c:type="void"/>
10345 <class name="BoxLayout"
10346 c:type="ClutterBoxLayout"
10348 parent="LayoutManager"
10349 glib:type-name="ClutterBoxLayout"
10350 glib:get-type="clutter_box_layout_get_type"
10351 glib:type-struct="BoxLayoutClass">
10352 <doc xml:whitespace="preserve">The #ClutterBoxLayout structure contains only private data
10353 and should be accessed using the provided API</doc>
10354 <constructor name="new"
10355 c:identifier="clutter_box_layout_new"
10357 <doc xml:whitespace="preserve">Creates a new #ClutterBoxLayout layout manager</doc>
10358 <return-value transfer-ownership="full">
10359 <doc xml:whitespace="preserve">the newly created #ClutterBoxLayout</doc>
10360 <type name="BoxLayout" c:type="ClutterLayoutManager*"/>
10363 <method name="set_spacing"
10364 c:identifier="clutter_box_layout_set_spacing"
10366 <doc xml:whitespace="preserve">Sets the spacing between children of @layout</doc>
10367 <return-value transfer-ownership="none">
10368 <type name="none" c:type="void"/>
10371 <parameter name="spacing" transfer-ownership="none">
10372 <doc xml:whitespace="preserve">the spacing between children of the layout, in pixels</doc>
10373 <type name="uint" c:type="guint"/>
10377 <method name="get_spacing"
10378 c:identifier="clutter_box_layout_get_spacing"
10380 <doc xml:whitespace="preserve">Retrieves the spacing set using clutter_box_layout_set_spacing()</doc>
10381 <return-value transfer-ownership="none">
10382 <doc xml:whitespace="preserve">the spacing between children of the #ClutterBoxLayout</doc>
10383 <type name="uint" c:type="guint"/>
10386 <method name="set_vertical"
10387 c:identifier="clutter_box_layout_set_vertical"
10389 <doc xml:whitespace="preserve">Sets whether @layout should arrange its children vertically alongside
10390 the Y axis, instead of horizontally alongside the X axis</doc>
10391 <return-value transfer-ownership="none">
10392 <type name="none" c:type="void"/>
10395 <parameter name="vertical" transfer-ownership="none">
10396 <doc xml:whitespace="preserve">%TRUE if the layout should be vertical</doc>
10397 <type name="boolean" c:type="gboolean"/>
10401 <method name="get_vertical"
10402 c:identifier="clutter_box_layout_get_vertical"
10404 <doc xml:whitespace="preserve">Retrieves the orientation of the @layout as set using the
10405 clutter_box_layout_set_vertical() function
10406 vertically, and %FALSE otherwise</doc>
10407 <return-value transfer-ownership="none">
10408 <doc xml:whitespace="preserve">%TRUE if the #ClutterBoxLayout is arranging its children</doc>
10409 <type name="boolean" c:type="gboolean"/>
10412 <method name="set_homogeneous"
10413 c:identifier="clutter_box_layout_set_homogeneous"
10415 <doc xml:whitespace="preserve">Sets whether the size of @layout children should be
10417 <return-value transfer-ownership="none">
10418 <type name="none" c:type="void"/>
10421 <parameter name="homogeneous" transfer-ownership="none">
10422 <doc xml:whitespace="preserve">%TRUE if the layout should be homogeneous</doc>
10423 <type name="boolean" c:type="gboolean"/>
10427 <method name="get_homogeneous"
10428 c:identifier="clutter_box_layout_get_homogeneous"
10430 <doc xml:whitespace="preserve">Retrieves if the children sizes are allocated homogeneously.
10431 homogeneously, and %FALSE otherwise</doc>
10432 <return-value transfer-ownership="none">
10433 <doc xml:whitespace="preserve">%TRUE if the #ClutterBoxLayout is arranging its children</doc>
10434 <type name="boolean" c:type="gboolean"/>
10437 <method name="set_pack_start"
10438 c:identifier="clutter_box_layout_set_pack_start"
10440 <doc xml:whitespace="preserve">Sets whether children of @layout should be layed out by appending
10441 them or by prepending them</doc>
10442 <return-value transfer-ownership="none">
10443 <type name="none" c:type="void"/>
10446 <parameter name="pack_start" transfer-ownership="none">
10447 <doc xml:whitespace="preserve">%TRUE if the @layout should pack children at the beginning of the layout</doc>
10448 <type name="boolean" c:type="gboolean"/>
10452 <method name="get_pack_start"
10453 c:identifier="clutter_box_layout_get_pack_start"
10455 <doc xml:whitespace="preserve">Retrieves the value set using clutter_box_layout_set_pack_start()
10456 at the beginning of the layout, and %FALSE otherwise</doc>
10457 <return-value transfer-ownership="none">
10458 <doc xml:whitespace="preserve">%TRUE if the #ClutterBoxLayout should pack children</doc>
10459 <type name="boolean" c:type="gboolean"/>
10462 <method name="pack" c:identifier="clutter_box_layout_pack" version="1.2">
10463 <doc xml:whitespace="preserve">Packs @actor inside the #ClutterContainer associated to @layout
10464 and sets the layout properties</doc>
10465 <return-value transfer-ownership="none">
10466 <type name="none" c:type="void"/>
10469 <parameter name="actor" transfer-ownership="none">
10470 <doc xml:whitespace="preserve">a #ClutterActor</doc>
10471 <type name="Actor" c:type="ClutterActor*"/>
10473 <parameter name="expand" transfer-ownership="none">
10474 <doc xml:whitespace="preserve">whether the @actor should expand</doc>
10475 <type name="boolean" c:type="gboolean"/>
10477 <parameter name="x_fill" transfer-ownership="none">
10478 <doc xml:whitespace="preserve">whether the @actor should fill horizontally</doc>
10479 <type name="boolean" c:type="gboolean"/>
10481 <parameter name="y_fill" transfer-ownership="none">
10482 <doc xml:whitespace="preserve">whether the @actor should fill vertically</doc>
10483 <type name="boolean" c:type="gboolean"/>
10485 <parameter name="x_align" transfer-ownership="none">
10486 <doc xml:whitespace="preserve">the horizontal alignment policy for @actor</doc>
10487 <type name="BoxAlignment" c:type="ClutterBoxAlignment"/>
10489 <parameter name="y_align" transfer-ownership="none">
10490 <doc xml:whitespace="preserve">the vertical alignment policy for @actor</doc>
10491 <type name="BoxAlignment" c:type="ClutterBoxAlignment"/>
10495 <method name="set_alignment"
10496 c:identifier="clutter_box_layout_set_alignment"
10498 <doc xml:whitespace="preserve">Sets the horizontal and vertical alignment policies for @actor
10499 inside @layout</doc>
10500 <return-value transfer-ownership="none">
10501 <type name="none" c:type="void"/>
10504 <parameter name="actor" transfer-ownership="none">
10505 <doc xml:whitespace="preserve">a #ClutterActor child of @layout</doc>
10506 <type name="Actor" c:type="ClutterActor*"/>
10508 <parameter name="x_align" transfer-ownership="none">
10509 <doc xml:whitespace="preserve">Horizontal alignment policy for @actor</doc>
10510 <type name="BoxAlignment" c:type="ClutterBoxAlignment"/>
10512 <parameter name="y_align" transfer-ownership="none">
10513 <doc xml:whitespace="preserve">Vertical alignment policy for @actor</doc>
10514 <type name="BoxAlignment" c:type="ClutterBoxAlignment"/>
10518 <method name="get_alignment"
10519 c:identifier="clutter_box_layout_get_alignment"
10521 <doc xml:whitespace="preserve">Retrieves the horizontal and vertical alignment policies for @actor
10522 as set using clutter_box_layout_pack() or clutter_box_layout_set_alignment()</doc>
10523 <return-value transfer-ownership="none">
10524 <type name="none" c:type="void"/>
10527 <parameter name="actor" transfer-ownership="none">
10528 <doc xml:whitespace="preserve">a #ClutterActor child of @layout</doc>
10529 <type name="Actor" c:type="ClutterActor*"/>
10531 <parameter name="x_align"
10533 caller-allocates="1"
10534 transfer-ownership="none">
10535 <doc xml:whitespace="preserve">return location for the horizontal alignment policy</doc>
10536 <type name="BoxAlignment" c:type="ClutterBoxAlignment*"/>
10538 <parameter name="y_align"
10540 caller-allocates="1"
10541 transfer-ownership="none">
10542 <doc xml:whitespace="preserve">return location for the vertical alignment policy</doc>
10543 <type name="BoxAlignment" c:type="ClutterBoxAlignment*"/>
10547 <method name="set_fill"
10548 c:identifier="clutter_box_layout_set_fill"
10550 <doc xml:whitespace="preserve">Sets the horizontal and vertical fill policies for @actor
10551 inside @layout</doc>
10552 <return-value transfer-ownership="none">
10553 <type name="none" c:type="void"/>
10556 <parameter name="actor" transfer-ownership="none">
10557 <doc xml:whitespace="preserve">a #ClutterActor child of @layout</doc>
10558 <type name="Actor" c:type="ClutterActor*"/>
10560 <parameter name="x_fill" transfer-ownership="none">
10561 <doc xml:whitespace="preserve">whether @actor should fill horizontally the allocated space</doc>
10562 <type name="boolean" c:type="gboolean"/>
10564 <parameter name="y_fill" transfer-ownership="none">
10565 <doc xml:whitespace="preserve">whether @actor should fill vertically the allocated space</doc>
10566 <type name="boolean" c:type="gboolean"/>
10570 <method name="get_fill"
10571 c:identifier="clutter_box_layout_get_fill"
10573 <doc xml:whitespace="preserve">Retrieves the horizontal and vertical fill policies for @actor
10574 as set using clutter_box_layout_pack() or clutter_box_layout_set_fill()</doc>
10575 <return-value transfer-ownership="none">
10576 <type name="none" c:type="void"/>
10579 <parameter name="actor" transfer-ownership="none">
10580 <doc xml:whitespace="preserve">a #ClutterActor child of @layout</doc>
10581 <type name="Actor" c:type="ClutterActor*"/>
10583 <parameter name="x_fill"
10585 caller-allocates="0"
10586 transfer-ownership="full">
10587 <doc xml:whitespace="preserve">return location for the horizontal fill policy</doc>
10588 <type name="boolean" c:type="gboolean*"/>
10590 <parameter name="y_fill"
10592 caller-allocates="0"
10593 transfer-ownership="full">
10594 <doc xml:whitespace="preserve">return location for the vertical fill policy</doc>
10595 <type name="boolean" c:type="gboolean*"/>
10599 <method name="set_expand"
10600 c:identifier="clutter_box_layout_set_expand"
10602 <doc xml:whitespace="preserve">Sets whether @actor should expand inside @layout</doc>
10603 <return-value transfer-ownership="none">
10604 <type name="none" c:type="void"/>
10607 <parameter name="actor" transfer-ownership="none">
10608 <doc xml:whitespace="preserve">a #ClutterActor child of @layout</doc>
10609 <type name="Actor" c:type="ClutterActor*"/>
10611 <parameter name="expand" transfer-ownership="none">
10612 <doc xml:whitespace="preserve">whether @actor should expand</doc>
10613 <type name="boolean" c:type="gboolean"/>
10617 <method name="get_expand"
10618 c:identifier="clutter_box_layout_get_expand"
10620 <doc xml:whitespace="preserve">Retrieves whether @actor should expand inside @layout</doc>
10621 <return-value transfer-ownership="none">
10622 <doc xml:whitespace="preserve">%TRUE if the #ClutterActor should expand, %FALSE otherwise</doc>
10623 <type name="boolean" c:type="gboolean"/>
10626 <parameter name="actor" transfer-ownership="none">
10627 <doc xml:whitespace="preserve">a #ClutterActor child of @layout</doc>
10628 <type name="Actor" c:type="ClutterActor*"/>
10632 <method name="set_use_animations"
10633 c:identifier="clutter_box_layout_set_use_animations"
10635 <doc xml:whitespace="preserve">Sets whether @layout should animate changes in the layout properties
10636 The duration of the animations is controlled by
10637 clutter_box_layout_set_easing_duration(); the easing mode to be used
10638 by the animations is controlled by clutter_box_layout_set_easing_mode()</doc>
10639 <return-value transfer-ownership="none">
10640 <type name="none" c:type="void"/>
10643 <parameter name="animate" transfer-ownership="none">
10644 <doc xml:whitespace="preserve">%TRUE if the @layout should use animations</doc>
10645 <type name="boolean" c:type="gboolean"/>
10649 <method name="get_use_animations"
10650 c:identifier="clutter_box_layout_get_use_animations"
10652 <doc xml:whitespace="preserve">Retrieves whether @layout should animate changes in the layout properties
10653 Since clutter_box_layout_set_use_animations()</doc>
10654 <return-value transfer-ownership="none">
10655 <doc xml:whitespace="preserve">%TRUE if the animations should be used, %FALSE otherwise</doc>
10656 <type name="boolean" c:type="gboolean"/>
10659 <method name="set_easing_mode"
10660 c:identifier="clutter_box_layout_set_easing_mode"
10662 <doc xml:whitespace="preserve">Sets the easing mode to be used by @layout when animating changes in layout
10664 Use clutter_box_layout_set_use_animations() to enable and disable the
10666 <return-value transfer-ownership="none">
10667 <type name="none" c:type="void"/>
10670 <parameter name="mode" transfer-ownership="none">
10671 <doc xml:whitespace="preserve">an easing mode, either from #ClutterAnimationMode or a logical id from clutter_alpha_register_func()</doc>
10672 <type name="ulong" c:type="gulong"/>
10676 <method name="get_easing_mode"
10677 c:identifier="clutter_box_layout_get_easing_mode"
10679 <doc xml:whitespace="preserve">Retrieves the easing mode set using clutter_box_layout_set_easing_mode()</doc>
10680 <return-value transfer-ownership="none">
10681 <doc xml:whitespace="preserve">an easing mode</doc>
10682 <type name="ulong" c:type="gulong"/>
10685 <method name="set_easing_duration"
10686 c:identifier="clutter_box_layout_set_easing_duration"
10688 <doc xml:whitespace="preserve">Sets the duration of the animations used by @layout when animating changes
10689 in the layout properties
10690 Use clutter_box_layout_set_use_animations() to enable and disable the
10692 <return-value transfer-ownership="none">
10693 <type name="none" c:type="void"/>
10696 <parameter name="msecs" transfer-ownership="none">
10697 <doc xml:whitespace="preserve">the duration of the animations, in milliseconds</doc>
10698 <type name="uint" c:type="guint"/>
10702 <method name="get_easing_duration"
10703 c:identifier="clutter_box_layout_get_easing_duration"
10705 <doc xml:whitespace="preserve">Retrieves the duration set using clutter_box_layout_set_easing_duration()</doc>
10706 <return-value transfer-ownership="none">
10707 <doc xml:whitespace="preserve">the duration of the animations, in milliseconds</doc>
10708 <type name="uint" c:type="guint"/>
10711 <property name="easing-duration"
10714 transfer-ownership="none">
10715 <doc xml:whitespace="preserve">The duration of the animations, in case #ClutterBoxLayout:use-animations
10717 The duration is expressed in milliseconds</doc>
10718 <type name="uint" c:type="guint"/>
10720 <property name="easing-mode"
10723 transfer-ownership="none">
10724 <doc xml:whitespace="preserve">The easing mode for the animations, in case
10725 #ClutterBoxLayout:use-animations is set to %TRUE
10726 either be a value from the #ClutterAnimationMode enumeration, like
10727 %CLUTTER_EASE_OUT_CUBIC, or a logical id as returned by
10728 clutter_alpha_register_func()
10729 The default value is %CLUTTER_EASE_OUT_CUBIC</doc>
10730 <type name="ulong" c:type="gulong"/>
10732 <property name="homogeneous"
10735 transfer-ownership="none">
10736 <doc xml:whitespace="preserve">Whether the #ClutterBoxLayout should arrange its children
10737 homogeneously, i.e. all childs get the same size</doc>
10738 <type name="boolean" c:type="gboolean"/>
10740 <property name="pack-start"
10743 transfer-ownership="none">
10744 <doc xml:whitespace="preserve">Whether the #ClutterBoxLayout should pack items at the start
10745 or append them at the end</doc>
10746 <type name="boolean" c:type="gboolean"/>
10748 <property name="spacing"
10751 transfer-ownership="none">
10752 <doc xml:whitespace="preserve">The spacing between children of the #ClutterBoxLayout, in pixels</doc>
10753 <type name="uint" c:type="guint"/>
10755 <property name="use-animations"
10758 transfer-ownership="none">
10759 <doc xml:whitespace="preserve">Whether the #ClutterBoxLayout should animate changes in the
10760 layout properties</doc>
10761 <type name="boolean" c:type="gboolean"/>
10763 <property name="vertical"
10766 transfer-ownership="none">
10767 <doc xml:whitespace="preserve">Whether the #ClutterBoxLayout should arrange its children
10768 alongside the Y axis, instead of alongside the X axis</doc>
10769 <type name="boolean" c:type="gboolean"/>
10771 <field name="parent_instance">
10772 <type name="LayoutManager" c:type="ClutterLayoutManager"/>
10774 <field name="priv">
10775 <type name="BoxLayoutPrivate" c:type="ClutterBoxLayoutPrivate*"/>
10778 <record name="BoxLayoutClass"
10779 c:type="ClutterBoxLayoutClass"
10780 glib:is-gtype-struct-for="BoxLayout"
10782 <doc xml:whitespace="preserve">The #ClutterBoxLayoutClass structure contains only private
10783 data and should be accessed using the provided API</doc>
10784 <field name="parent_class">
10785 <type name="LayoutManagerClass" c:type="ClutterLayoutManagerClass"/>
10788 <record name="BoxLayoutPrivate" c:type="ClutterBoxLayoutPrivate">
10790 <record name="BoxPrivate" c:type="ClutterBoxPrivate">
10792 <constant name="Break" value="65387">
10795 <record name="ButtonEvent" c:type="ClutterButtonEvent" version="0.2">
10796 <doc xml:whitespace="preserve">Button event.
10797 The event coordinates are relative to the stage that received the
10798 event, and can be transformed into actor-relative coordinates by
10799 using clutter_actor_transform_stage_point().</doc>
10800 <field name="type" writable="1">
10801 <type name="EventType" c:type="ClutterEventType"/>
10803 <field name="time" writable="1">
10804 <type name="uint32" c:type="guint32"/>
10806 <field name="flags" writable="1">
10807 <type name="EventFlags" c:type="ClutterEventFlags"/>
10809 <field name="stage" writable="1">
10810 <type name="Stage" c:type="ClutterStage*"/>
10812 <field name="source" writable="1">
10813 <type name="Actor" c:type="ClutterActor*"/>
10815 <field name="x" writable="1">
10816 <type name="float" c:type="gfloat"/>
10818 <field name="y" writable="1">
10819 <type name="float" c:type="gfloat"/>
10821 <field name="modifier_state" writable="1">
10822 <type name="ModifierType" c:type="ClutterModifierType"/>
10824 <field name="button" writable="1">
10825 <type name="uint32" c:type="guint32"/>
10827 <field name="click_count" writable="1">
10828 <type name="uint" c:type="guint"/>
10830 <field name="axes" writable="1">
10831 <type name="any" c:type="gdouble*"/>
10833 <field name="device" writable="1">
10834 <type name="InputDevice" c:type="ClutterInputDevice*"/>
10837 <constant name="Byelorussian_SHORTU" value="1726">
10840 <constant name="Byelorussian_shortu" value="1710">
10843 <constant name="C" value="67">
10846 <constant name="COGL" value="gl">
10847 <type name="utf8"/>
10849 <constant name="CURRENT_TIME" value="0">
10852 <constant name="Cabovedot" value="709">
10855 <constant name="Cacute" value="454">
10858 <class name="CairoTexture"
10859 c:type="ClutterCairoTexture"
10862 glib:type-name="ClutterCairoTexture"
10863 glib:get-type="clutter_cairo_texture_get_type"
10864 glib:type-struct="CairoTextureClass">
10865 <doc xml:whitespace="preserve">The #ClutterCairoTexture struct contains only private data.</doc>
10866 <implements name="Animatable"/>
10867 <implements name="Atk.ImplementorIface"/>
10868 <implements name="Scriptable"/>
10869 <constructor name="new"
10870 c:identifier="clutter_cairo_texture_new"
10872 <doc xml:whitespace="preserve">Creates a new #ClutterCairoTexture actor, with a surface of @width by</doc>
10873 <return-value transfer-ownership="full">
10874 <doc xml:whitespace="preserve">the newly created #ClutterCairoTexture actor</doc>
10875 <type name="CairoTexture" c:type="ClutterActor*"/>
10878 <parameter name="width" transfer-ownership="none">
10879 <doc xml:whitespace="preserve">the width of the surface</doc>
10880 <type name="uint" c:type="guint"/>
10882 <parameter name="height" transfer-ownership="none">
10883 <doc xml:whitespace="preserve">the height of the surface</doc>
10884 <type name="uint" c:type="guint"/>
10888 <method name="create_region"
10889 c:identifier="clutter_cairo_texture_create_region"
10891 <doc xml:whitespace="preserve">Creates a new Cairo context that will updat the region defined
10892 by @x_offset, @y_offset, @width and @height.
10893 <warning><para>Do not call this function within the paint virtual
10894 function or from a callback to the #ClutterActor::paint
10895 signal.</para></warning>
10896 to upload the contents of the context when done drawing</doc>
10897 <return-value transfer-ownership="full">
10898 <doc xml:whitespace="preserve">a newly created Cairo context. Use cairo_destroy()</doc>
10899 <type name="cairo.Context" c:type="cairo_t*"/>
10902 <parameter name="x_offset" transfer-ownership="none">
10903 <doc xml:whitespace="preserve">offset of the region on the X axis</doc>
10904 <type name="int" c:type="gint"/>
10906 <parameter name="y_offset" transfer-ownership="none">
10907 <doc xml:whitespace="preserve">offset of the region on the Y axis</doc>
10908 <type name="int" c:type="gint"/>
10910 <parameter name="width" transfer-ownership="none">
10911 <doc xml:whitespace="preserve">width of the region, or -1 for the full surface width</doc>
10912 <type name="int" c:type="gint"/>
10914 <parameter name="height" transfer-ownership="none">
10915 <doc xml:whitespace="preserve">height of the region, or -1 for the full surface height</doc>
10916 <type name="int" c:type="gint"/>
10920 <method name="create"
10921 c:identifier="clutter_cairo_texture_create"
10923 <doc xml:whitespace="preserve">Creates a new Cairo context for the @cairo texture. It is
10924 similar to using clutter_cairo_texture_create_region() with @x_offset
10925 and @y_offset of 0, @width equal to the @cairo texture surface width
10926 and @height equal to the @cairo texture surface height.
10927 <warning><para>Do not call this function within the paint virtual
10928 function or from a callback to the #ClutterActor::paint
10929 signal.</para></warning>
10930 to upload the contents of the context when done drawing</doc>
10931 <return-value transfer-ownership="full">
10932 <doc xml:whitespace="preserve">a newly created Cairo context. Use cairo_destroy()</doc>
10933 <type name="cairo.Context" c:type="cairo_t*"/>
10936 <method name="set_surface_size"
10937 c:identifier="clutter_cairo_texture_set_surface_size"
10939 <doc xml:whitespace="preserve">Resizes the Cairo surface used by @self to @width and @height.</doc>
10940 <return-value transfer-ownership="none">
10941 <type name="none" c:type="void"/>
10944 <parameter name="width" transfer-ownership="none">
10945 <doc xml:whitespace="preserve">the new width of the surface</doc>
10946 <type name="uint" c:type="guint"/>
10948 <parameter name="height" transfer-ownership="none">
10949 <doc xml:whitespace="preserve">the new height of the surface</doc>
10950 <type name="uint" c:type="guint"/>
10954 <method name="get_surface_size"
10955 c:identifier="clutter_cairo_texture_get_surface_size"
10957 <doc xml:whitespace="preserve">Retrieves the surface width and height for @self.</doc>
10958 <return-value transfer-ownership="none">
10959 <type name="none" c:type="void"/>
10962 <parameter name="width"
10964 caller-allocates="0"
10965 transfer-ownership="full">
10966 <doc xml:whitespace="preserve">return location for the surface width, or %NULL</doc>
10967 <type name="uint" c:type="guint*"/>
10969 <parameter name="height"
10971 caller-allocates="0"
10972 transfer-ownership="full">
10973 <doc xml:whitespace="preserve">return location for the surface height, or %NULL</doc>
10974 <type name="uint" c:type="guint*"/>
10978 <method name="clear"
10979 c:identifier="clutter_cairo_texture_clear"
10981 <doc xml:whitespace="preserve">Clears @self's internal drawing surface, so that the next upload
10982 will replace the previous contents of the #ClutterCairoTexture
10983 rather than adding to it.</doc>
10984 <return-value transfer-ownership="none">
10985 <type name="none" c:type="void"/>
10988 <property name="surface-height"
10991 transfer-ownership="none">
10992 <doc xml:whitespace="preserve">The height of the Cairo surface used by the #ClutterCairoTexture
10993 actor, in pixels.</doc>
10994 <type name="uint" c:type="guint"/>
10996 <property name="surface-width"
10999 transfer-ownership="none">
11000 <doc xml:whitespace="preserve">The width of the Cairo surface used by the #ClutterCairoTexture
11001 actor, in pixels.</doc>
11002 <type name="uint" c:type="guint"/>
11004 <field name="parent_instance">
11005 <type name="Texture" c:type="ClutterTexture"/>
11007 <field name="priv">
11008 <type name="CairoTexturePrivate" c:type="ClutterCairoTexturePrivate*"/>
11011 <record name="CairoTextureClass"
11012 c:type="ClutterCairoTextureClass"
11013 glib:is-gtype-struct-for="CairoTexture"
11015 <doc xml:whitespace="preserve">The #ClutterCairoTextureClass struct contains only private data.</doc>
11016 <field name="parent_class">
11017 <type name="TextureClass" c:type="ClutterTextureClass"/>
11019 <field name="clutter_cairo_1">
11020 <callback name="clutter_cairo_1" c:type="_clutter_cairo_1">
11021 <return-value transfer-ownership="none">
11022 <type name="none" c:type="void"/>
11026 <field name="clutter_cairo_2">
11027 <callback name="clutter_cairo_2" c:type="_clutter_cairo_2">
11028 <return-value transfer-ownership="none">
11029 <type name="none" c:type="void"/>
11033 <field name="clutter_cairo_3">
11034 <callback name="clutter_cairo_3" c:type="_clutter_cairo_3">
11035 <return-value transfer-ownership="none">
11036 <type name="none" c:type="void"/>
11040 <field name="clutter_cairo_4">
11041 <callback name="clutter_cairo_4" c:type="_clutter_cairo_4">
11042 <return-value transfer-ownership="none">
11043 <type name="none" c:type="void"/>
11048 <record name="CairoTexturePrivate" c:type="ClutterCairoTexturePrivate">
11050 <callback name="Callback" c:type="ClutterCallback">
11051 <doc xml:whitespace="preserve">Generic callback</doc>
11052 <return-value transfer-ownership="none">
11053 <type name="none" c:type="void"/>
11056 <parameter name="actor" transfer-ownership="none">
11057 <doc xml:whitespace="preserve">a #ClutterActor</doc>
11058 <type name="Actor" c:type="ClutterActor*"/>
11060 <parameter name="data" transfer-ownership="none">
11061 <doc xml:whitespace="preserve">user data</doc>
11062 <type name="any" c:type="gpointer"/>
11066 <constant name="Cancel" value="65385">
11069 <constant name="Caps_Lock" value="65509">
11072 <constant name="Ccaron" value="456">
11075 <constant name="Ccedilla" value="199">
11078 <constant name="Ccircumflex" value="710">
11081 <class name="ChildMeta"
11082 c:type="ClutterChildMeta"
11084 parent="GObject.Object"
11086 glib:type-name="ClutterChildMeta"
11087 glib:get-type="clutter_child_meta_get_type"
11088 glib:type-struct="ChildMetaClass">
11089 <doc xml:whitespace="preserve">Base interface for container specific state for child actors. A child
11090 data is meant to be used when you need to keep track of information
11091 about each individual child added to a container.
11092 In order to use it you should create your own subclass of
11093 #ClutterChildMeta and set the #ClutterContainerIface::child_meta_type
11094 interface member to your subclass type, like:
11097 my_container_iface_init (ClutterContainerIface *iface)
11099 /&ast; set the rest of the #ClutterContainer vtable &ast;/
11100 container_iface->child_meta_type = MY_TYPE_CHILD_META;
11103 This will automatically create a #ClutterChildMeta of type
11104 MY_TYPE_CHILD_META for every actor that is added to the container.
11105 The child data for an actor can be retrieved using the
11106 clutter_container_get_child_meta() function.
11107 The properties of the data and your subclass can be manipulated with
11108 clutter_container_child_set() and clutter_container_child_get() which
11109 act like g_object_set() and g_object_get().
11110 You can provide hooks for your own storage as well as control the
11111 instantiation by overriding #ClutterContainerIface::create_child_meta,
11112 #ClutterContainerIface::destroy_child_meta and
11113 #ClutterContainerIface::get_child_meta.</doc>
11114 <method name="get_container"
11115 c:identifier="clutter_child_meta_get_container"
11117 <doc xml:whitespace="preserve">Retrieves the container using @data</doc>
11118 <return-value transfer-ownership="none">
11119 <doc xml:whitespace="preserve">a #ClutterContainer</doc>
11120 <type name="Container" c:type="ClutterContainer*"/>
11123 <method name="get_actor"
11124 c:identifier="clutter_child_meta_get_actor"
11126 <doc xml:whitespace="preserve">Retrieves the actor wrapped by @data</doc>
11127 <return-value transfer-ownership="none">
11128 <doc xml:whitespace="preserve">a #ClutterActor</doc>
11129 <type name="Actor" c:type="ClutterActor*"/>
11132 <property name="actor"
11136 transfer-ownership="none">
11137 <doc xml:whitespace="preserve">The #ClutterActor being wrapped by this #ClutterChildMeta</doc>
11138 <type name="Actor" c:type="ClutterActor"/>
11140 <property name="container"
11144 transfer-ownership="none">
11145 <doc xml:whitespace="preserve">The #ClutterContainer that created this #ClutterChildMeta.</doc>
11146 <type name="Container" c:type="ClutterContainer"/>
11148 <field name="parent_instance">
11149 <type name="GObject.Object" c:type="GObject"/>
11151 <field name="container">
11152 <type name="Container" c:type="ClutterContainer*"/>
11154 <field name="actor">
11155 <type name="Actor" c:type="ClutterActor*"/>
11158 <record name="ChildMetaClass"
11159 c:type="ClutterChildMetaClass"
11160 glib:is-gtype-struct-for="ChildMeta"
11162 <doc xml:whitespace="preserve">The #ClutterChildMetaClass contains only private data</doc>
11163 <field name="parent_class">
11164 <type name="GObject.ObjectClass" c:type="GObjectClass"/>
11167 <constant name="Clear" value="65291">
11170 <class name="ClickAction"
11171 c:type="ClutterClickAction"
11174 glib:type-name="ClutterClickAction"
11175 glib:get-type="clutter_click_action_get_type"
11176 glib:type-struct="ClickActionClass">
11177 <doc xml:whitespace="preserve">The <structname>ClutterClickAction</structname> structure contains
11178 only private data and should be accessed using the provided API</doc>
11179 <constructor name="new"
11180 c:identifier="clutter_click_action_new"
11182 <doc xml:whitespace="preserve">Creates a new #ClutterClickAction instance</doc>
11183 <return-value transfer-ownership="full">
11184 <doc xml:whitespace="preserve">the newly created #ClutterClickAction</doc>
11185 <type name="ClickAction" c:type="ClutterAction*"/>
11188 <method name="get_button"
11189 c:identifier="clutter_click_action_get_button"
11191 <doc xml:whitespace="preserve">Retrieves the button that was pressed.</doc>
11192 <return-value transfer-ownership="none">
11193 <doc xml:whitespace="preserve">the button value</doc>
11194 <type name="uint" c:type="guint"/>
11197 <method name="release"
11198 c:identifier="clutter_click_action_release"
11200 <doc xml:whitespace="preserve">Emulates a release of the pointer button, which ungrabs the pointer
11201 and unsets the #ClutterClickAction:pressed state.
11202 This function is useful to break a grab, for instance after a certain
11203 amount of time has passed.</doc>
11204 <return-value transfer-ownership="none">
11205 <type name="none" c:type="void"/>
11208 <property name="held" version="1.4" transfer-ownership="none">
11209 <doc xml:whitespace="preserve">Whether the clickable actor has the pointer grabbed</doc>
11210 <type name="boolean" c:type="gboolean"/>
11212 <property name="pressed" version="1.4" transfer-ownership="none">
11213 <doc xml:whitespace="preserve">Whether the clickable actor should be in "pressed" state</doc>
11214 <type name="boolean" c:type="gboolean"/>
11216 <field name="parent_instance">
11217 <type name="Action" c:type="ClutterAction"/>
11219 <field name="priv">
11220 <type name="ClickActionPrivate" c:type="ClutterClickActionPrivate*"/>
11222 <glib:signal name="clicked" version="1.4">
11223 <doc xml:whitespace="preserve">The ::clicked signal is emitted when the #ClutterActor to which
11224 a #ClutterClickAction has been applied should respond to a
11225 pointer button press and release events</doc>
11226 <return-value transfer-ownership="full">
11227 <type name="none" c:type="void"/>
11230 <parameter name="actor" transfer-ownership="none">
11231 <doc xml:whitespace="preserve">the #ClutterActor attached to the @action</doc>
11232 <type name="Actor" c:type="ClutterActor"/>
11237 <record name="ClickActionClass"
11238 c:type="ClutterClickActionClass"
11239 glib:is-gtype-struct-for="ClickAction"
11241 <doc xml:whitespace="preserve">The <structname>ClutterClickActionClass</structname> structure
11242 contains only private data</doc>
11243 <field name="parent_class">
11244 <type name="ActionClass" c:type="ClutterActionClass"/>
11246 <field name="clicked">
11247 <callback name="clicked" c:type="clicked">
11248 <return-value transfer-ownership="none">
11249 <type name="none" c:type="void"/>
11252 <parameter name="action" transfer-ownership="none">
11253 <type name="ClickAction" c:type="ClutterClickAction*"/>
11255 <parameter name="actor" transfer-ownership="none">
11256 <type name="Actor" c:type="ClutterActor*"/>
11261 <field name="clutter_click_action1">
11262 <callback name="clutter_click_action1" c:type="_clutter_click_action1">
11263 <return-value transfer-ownership="none">
11264 <type name="none" c:type="void"/>
11268 <field name="clutter_click_action2">
11269 <callback name="clutter_click_action2" c:type="_clutter_click_action2">
11270 <return-value transfer-ownership="none">
11271 <type name="none" c:type="void"/>
11275 <field name="clutter_click_action3">
11276 <callback name="clutter_click_action3" c:type="_clutter_click_action3">
11277 <return-value transfer-ownership="none">
11278 <type name="none" c:type="void"/>
11282 <field name="clutter_click_action4">
11283 <callback name="clutter_click_action4" c:type="_clutter_click_action4">
11284 <return-value transfer-ownership="none">
11285 <type name="none" c:type="void"/>
11289 <field name="clutter_click_action5">
11290 <callback name="clutter_click_action5" c:type="_clutter_click_action5">
11291 <return-value transfer-ownership="none">
11292 <type name="none" c:type="void"/>
11296 <field name="clutter_click_action6">
11297 <callback name="clutter_click_action6" c:type="_clutter_click_action6">
11298 <return-value transfer-ownership="none">
11299 <type name="none" c:type="void"/>
11303 <field name="clutter_click_action7">
11304 <callback name="clutter_click_action7" c:type="_clutter_click_action7">
11305 <return-value transfer-ownership="none">
11306 <type name="none" c:type="void"/>
11311 <record name="ClickActionPrivate" c:type="ClutterClickActionPrivate">
11313 <class name="Clone"
11314 c:type="ClutterClone"
11317 glib:type-name="ClutterClone"
11318 glib:get-type="clutter_clone_get_type"
11319 glib:type-struct="CloneClass">
11320 <doc xml:whitespace="preserve">The #ClutterClone structure contains only private data
11321 and should be accessed using the provided API</doc>
11322 <implements name="Animatable"/>
11323 <implements name="Atk.ImplementorIface"/>
11324 <implements name="Scriptable"/>
11325 <constructor name="new" c:identifier="clutter_clone_new" version="1.0">
11326 <doc xml:whitespace="preserve">Creates a new #ClutterActor which clones @source/</doc>
11327 <return-value transfer-ownership="full">
11328 <doc xml:whitespace="preserve">the newly created #ClutterClone</doc>
11329 <type name="Clone" c:type="ClutterActor*"/>
11332 <parameter name="source" transfer-ownership="none">
11333 <doc xml:whitespace="preserve">a #ClutterActor, or %NULL</doc>
11334 <type name="Actor" c:type="ClutterActor*"/>
11338 <method name="set_source"
11339 c:identifier="clutter_clone_set_source"
11341 <doc xml:whitespace="preserve">Sets @source as the source actor to be cloned by @clone.</doc>
11342 <return-value transfer-ownership="none">
11343 <type name="none" c:type="void"/>
11346 <parameter name="source" transfer-ownership="none">
11347 <doc xml:whitespace="preserve">a #ClutterActor, or %NULL</doc>
11348 <type name="Actor" c:type="ClutterActor*"/>
11352 <method name="get_source"
11353 c:identifier="clutter_clone_get_source"
11355 <doc xml:whitespace="preserve">Retrieves the source #ClutterActor being cloned by @clone</doc>
11356 <return-value transfer-ownership="none">
11357 <doc xml:whitespace="preserve">the actor source for the clone</doc>
11358 <type name="Actor" c:type="ClutterActor*"/>
11361 <property name="source"
11365 transfer-ownership="none">
11366 <doc xml:whitespace="preserve">This property specifies the source actor being cloned.</doc>
11367 <type name="Actor" c:type="ClutterActor"/>
11369 <field name="parent_instance">
11370 <type name="Actor" c:type="ClutterActor"/>
11372 <field name="priv">
11373 <type name="ClonePrivate" c:type="ClutterClonePrivate*"/>
11376 <record name="CloneClass"
11377 c:type="ClutterCloneClass"
11378 glib:is-gtype-struct-for="Clone"
11380 <doc xml:whitespace="preserve">The #ClutterCloneClass structure contains only private data</doc>
11381 <field name="parent_class">
11382 <type name="ActorClass" c:type="ClutterActorClass"/>
11384 <field name="clutter_actor_clone1">
11385 <callback name="clutter_actor_clone1" c:type="_clutter_actor_clone1">
11386 <return-value transfer-ownership="none">
11387 <type name="none" c:type="void"/>
11391 <field name="clutter_actor_clone2">
11392 <callback name="clutter_actor_clone2" c:type="_clutter_actor_clone2">
11393 <return-value transfer-ownership="none">
11394 <type name="none" c:type="void"/>
11398 <field name="clutter_actor_clone3">
11399 <callback name="clutter_actor_clone3" c:type="_clutter_actor_clone3">
11400 <return-value transfer-ownership="none">
11401 <type name="none" c:type="void"/>
11405 <field name="clutter_actor_clone4">
11406 <callback name="clutter_actor_clone4" c:type="_clutter_actor_clone4">
11407 <return-value transfer-ownership="none">
11408 <type name="none" c:type="void"/>
11413 <record name="ClonePrivate" c:type="ClutterClonePrivate">
11415 <constant name="Codeinput" value="65335">
11418 <constant name="ColonSign" value="16785569">
11421 <record name="Color"
11422 c:type="ClutterColor"
11423 glib:type-name="ClutterColor"
11424 glib:get-type="clutter_color_get_type">
11425 <doc xml:whitespace="preserve">Color representation.</doc>
11426 <field name="red" writable="1">
11427 <type name="uint8" c:type="guint8"/>
11429 <field name="green" writable="1">
11430 <type name="uint8" c:type="guint8"/>
11432 <field name="blue" writable="1">
11433 <type name="uint8" c:type="guint8"/>
11435 <field name="alpha" writable="1">
11436 <type name="uint8" c:type="guint8"/>
11438 <constructor name="new" c:identifier="clutter_color_new" version="0.8.4">
11439 <doc xml:whitespace="preserve">Creates a new #ClutterColor with the given values.
11441 <return-value transfer-ownership="full">
11442 <doc xml:whitespace="preserve">the newly allocated color. Use clutter_color_free()</doc>
11443 <type name="Color" c:type="ClutterColor*"/>
11446 <parameter name="red" transfer-ownership="none">
11447 <doc xml:whitespace="preserve">red component of the color, between 0 and 255</doc>
11448 <type name="uint8" c:type="guint8"/>
11450 <parameter name="green" transfer-ownership="none">
11451 <doc xml:whitespace="preserve">green component of the color, between 0 and 255</doc>
11452 <type name="uint8" c:type="guint8"/>
11454 <parameter name="blue" transfer-ownership="none">
11455 <doc xml:whitespace="preserve">blue component of the color, between 0 and 255</doc>
11456 <type name="uint8" c:type="guint8"/>
11458 <parameter name="alpha" transfer-ownership="none">
11459 <doc xml:whitespace="preserve">alpha component of the color, between 0 and 255</doc>
11460 <type name="uint8" c:type="guint8"/>
11464 <method name="copy" c:identifier="clutter_color_copy" version="0.2">
11465 <doc xml:whitespace="preserve">Makes a copy of the color structure. The result must be
11466 freed using clutter_color_free().</doc>
11467 <return-value transfer-ownership="full">
11468 <doc xml:whitespace="preserve">an allocated copy of @color.</doc>
11469 <type name="Color" c:type="ClutterColor*"/>
11472 <method name="free" c:identifier="clutter_color_free" version="0.2">
11473 <doc xml:whitespace="preserve">Frees a color structure created with clutter_color_copy().</doc>
11474 <return-value transfer-ownership="none">
11475 <type name="none" c:type="void"/>
11478 <method name="add" c:identifier="clutter_color_add">
11479 <doc xml:whitespace="preserve">Adds @a to @b and saves the resulting color inside @result.
11480 The alpha channel of @result is set as as the maximum value
11481 between the alpha channels of @a and @b.</doc>
11482 <return-value transfer-ownership="none">
11483 <type name="none" c:type="void"/>
11486 <parameter name="b" transfer-ownership="none">
11487 <doc xml:whitespace="preserve">a #ClutterColor</doc>
11488 <type name="Color" c:type="ClutterColor*"/>
11490 <parameter name="result"
11492 caller-allocates="1"
11493 transfer-ownership="none">
11494 <doc xml:whitespace="preserve">return location for the result</doc>
11495 <type name="Color" c:type="ClutterColor*"/>
11499 <method name="subtract" c:identifier="clutter_color_subtract">
11500 <doc xml:whitespace="preserve">Subtracts @b from @a and saves the resulting color inside @result.
11501 This function assumes that the components of @a are greater than the
11502 components of @b; the result is, otherwise, undefined.
11503 The alpha channel of @result is set as the minimum value
11504 between the alpha channels of @a and @b.</doc>
11505 <return-value transfer-ownership="none">
11506 <type name="none" c:type="void"/>
11509 <parameter name="b" transfer-ownership="none">
11510 <doc xml:whitespace="preserve">a #ClutterColor</doc>
11511 <type name="Color" c:type="ClutterColor*"/>
11513 <parameter name="result"
11515 caller-allocates="1"
11516 transfer-ownership="none">
11517 <doc xml:whitespace="preserve">return location for the result</doc>
11518 <type name="Color" c:type="ClutterColor*"/>
11522 <method name="lighten" c:identifier="clutter_color_lighten">
11523 <doc xml:whitespace="preserve">Lightens @color by a fixed amount, and saves the changed color
11525 <return-value transfer-ownership="none">
11526 <type name="none" c:type="void"/>
11529 <parameter name="result"
11531 caller-allocates="1"
11532 transfer-ownership="none">
11533 <doc xml:whitespace="preserve">return location for the lighter color</doc>
11534 <type name="Color" c:type="ClutterColor*"/>
11538 <method name="darken" c:identifier="clutter_color_darken">
11539 <doc xml:whitespace="preserve">Darkens @color by a fixed amount, and saves the changed color
11541 <return-value transfer-ownership="none">
11542 <type name="none" c:type="void"/>
11545 <parameter name="result"
11547 caller-allocates="1"
11548 transfer-ownership="none">
11549 <doc xml:whitespace="preserve">return location for the darker color</doc>
11550 <type name="Color" c:type="ClutterColor*"/>
11554 <method name="shade" c:identifier="clutter_color_shade">
11555 <doc xml:whitespace="preserve">Shades @color by @factor and saves the modified color into @result.</doc>
11556 <return-value transfer-ownership="none">
11557 <type name="none" c:type="void"/>
11560 <parameter name="factor" transfer-ownership="none">
11561 <doc xml:whitespace="preserve">the shade factor to apply</doc>
11562 <type name="double" c:type="gdouble"/>
11564 <parameter name="result"
11566 caller-allocates="1"
11567 transfer-ownership="none">
11568 <doc xml:whitespace="preserve">return location for the shaded color</doc>
11569 <type name="Color" c:type="ClutterColor*"/>
11573 <method name="to_string"
11574 c:identifier="clutter_color_to_string"
11576 <doc xml:whitespace="preserve">Returns a textual specification of @color in the hexadecimal form
11577 <literal>&num;rrggbbaa</literal>, where <literal>r</literal>,
11578 <literal>g</literal>, <literal>b</literal> and <literal>a</literal> are
11579 hex digits representing the red, green, blue and alpha components
11580 respectively.</doc>
11581 <return-value transfer-ownership="full">
11582 <doc xml:whitespace="preserve">a newly-allocated text string</doc>
11583 <type name="utf8" c:type="gchar*"/>
11586 <method name="from_string"
11587 c:identifier="clutter_color_from_string"
11589 <doc xml:whitespace="preserve">Parses a string definition of a color, filling the
11590 <structfield>red</structfield>, <structfield>green</structfield>,
11591 <structfield>blue</structfield> and <structfield>alpha</structfield>
11592 channels of @color. If alpha is not specified it will be set full opaque.
11593 The @color is not allocated.
11594 The color may be defined by any of the formats understood by
11595 pango_color_from_string(); these include literal color names, like
11596 <literal>Red</literal> or <literal>DarkSlateGray</literal>, or
11597 hexadecimal specifications like <literal>&num;3050b2</literal> or
11598 <literal>&num;333</literal>.</doc>
11599 <return-value transfer-ownership="none">
11600 <doc xml:whitespace="preserve">%TRUE if parsing succeeded.</doc>
11601 <type name="boolean" c:type="gboolean"/>
11604 <parameter name="str" transfer-ownership="none">
11605 <doc xml:whitespace="preserve">a string specifiying a color (named color or #RRGGBBAA)</doc>
11606 <type name="utf8" c:type="gchar*"/>
11610 <method name="to_hls" c:identifier="clutter_color_to_hls">
11611 <doc xml:whitespace="preserve">Converts @color to the HLS format.
11612 The @hue value is in the 0 .. 360 range. The @luminance and</doc>
11613 <return-value transfer-ownership="none">
11614 <type name="none" c:type="void"/>
11617 <parameter name="hue"
11619 caller-allocates="0"
11620 transfer-ownership="full">
11621 <doc xml:whitespace="preserve">return location for the hue value or %NULL</doc>
11622 <type name="float" c:type="gfloat*"/>
11624 <parameter name="luminance"
11626 caller-allocates="0"
11627 transfer-ownership="full">
11628 <doc xml:whitespace="preserve">return location for the luminance value or %NULL</doc>
11629 <type name="float" c:type="gfloat*"/>
11631 <parameter name="saturation"
11633 caller-allocates="0"
11634 transfer-ownership="full">
11635 <doc xml:whitespace="preserve">return location for the saturation value or %NULL</doc>
11636 <type name="float" c:type="gfloat*"/>
11640 <method name="from_hls" c:identifier="clutter_color_from_hls">
11641 <doc xml:whitespace="preserve">Converts a color expressed in HLS (hue, luminance and saturation)
11642 values into a #ClutterColor.</doc>
11643 <return-value transfer-ownership="none">
11644 <type name="none" c:type="void"/>
11647 <parameter name="hue" transfer-ownership="none">
11648 <doc xml:whitespace="preserve">hue value, in the 0 .. 360 range</doc>
11649 <type name="float" c:type="gfloat"/>
11651 <parameter name="luminance" transfer-ownership="none">
11652 <doc xml:whitespace="preserve">luminance value, in the 0 .. 1 range</doc>
11653 <type name="float" c:type="gfloat"/>
11655 <parameter name="saturation" transfer-ownership="none">
11656 <doc xml:whitespace="preserve">saturation value, in the 0 .. 1 range</doc>
11657 <type name="float" c:type="gfloat"/>
11661 <method name="to_pixel" c:identifier="clutter_color_to_pixel">
11662 <doc xml:whitespace="preserve">Converts @color into a packed 32 bit integer, containing
11663 all the four 8 bit channels used by #ClutterColor.</doc>
11664 <return-value transfer-ownership="none">
11665 <doc xml:whitespace="preserve">a packed color</doc>
11666 <type name="uint32" c:type="guint32"/>
11669 <method name="from_pixel" c:identifier="clutter_color_from_pixel">
11670 <doc xml:whitespace="preserve">Converts @pixel from the packed representation of a four 8 bit channel
11671 color to a #ClutterColor.</doc>
11672 <return-value transfer-ownership="none">
11673 <type name="none" c:type="void"/>
11676 <parameter name="pixel" transfer-ownership="none">
11677 <doc xml:whitespace="preserve">a 32 bit packed integer containing a color</doc>
11678 <type name="uint32" c:type="guint32"/>
11683 <class name="ColorizeEffect"
11684 c:type="ClutterColorizeEffect"
11685 parent="OffscreenEffect"
11686 glib:type-name="ClutterColorizeEffect"
11687 glib:get-type="clutter_colorize_effect_get_type">
11688 <doc xml:whitespace="preserve"><structname>ClutterColorizeEffect</structname> is an opaque structure
11689 whose members cannot be directly accessed
11691 <constructor name="new"
11692 c:identifier="clutter_colorize_effect_new"
11694 <doc xml:whitespace="preserve">Creates a new #ClutterColorizeEffect to be used with
11695 clutter_actor_add_effect()</doc>
11696 <return-value transfer-ownership="full">
11697 <doc xml:whitespace="preserve">the newly created #ClutterColorizeEffect or %NULL</doc>
11698 <type name="ColorizeEffect" c:type="ClutterEffect*"/>
11701 <parameter name="tint" transfer-ownership="none">
11702 <doc xml:whitespace="preserve">the color to be used</doc>
11703 <type name="Color" c:type="ClutterColor*"/>
11707 <method name="set_tint"
11708 c:identifier="clutter_colorize_effect_set_tint"
11710 <doc xml:whitespace="preserve">Sets the tint to be used when colorizing</doc>
11711 <return-value transfer-ownership="none">
11712 <type name="none" c:type="void"/>
11715 <parameter name="tint" transfer-ownership="none">
11716 <doc xml:whitespace="preserve">the color to be used</doc>
11717 <type name="Color" c:type="ClutterColor*"/>
11721 <method name="get_tint"
11722 c:identifier="clutter_colorize_effect_get_tint"
11724 <doc xml:whitespace="preserve">Retrieves the tint used by @effect</doc>
11725 <return-value transfer-ownership="none">
11726 <type name="none" c:type="void"/>
11729 <parameter name="tint"
11731 caller-allocates="1"
11732 transfer-ownership="none">
11733 <doc xml:whitespace="preserve">return location for the color used</doc>
11734 <type name="Color" c:type="ClutterColor*"/>
11738 <property name="tint"
11741 transfer-ownership="none">
11742 <doc xml:whitespace="preserve">The tint to apply to the actor</doc>
11743 <type name="Color" c:type="ClutterColor"/>
11746 <class name="Constraint"
11747 c:type="ClutterConstraint"
11751 glib:type-name="ClutterConstraint"
11752 glib:get-type="clutter_constraint_get_type"
11753 glib:type-struct="ConstraintClass">
11754 <doc xml:whitespace="preserve">The <structname>ClutterConstraint</structname> structure contains only
11755 private data and should be accessed using the provided API</doc>
11756 <field name="parent_instance">
11757 <type name="ActorMeta" c:type="ClutterActorMeta"/>
11760 <record name="ConstraintClass"
11761 c:type="ClutterConstraintClass"
11762 glib:is-gtype-struct-for="Constraint"
11764 <doc xml:whitespace="preserve">The <structname>ClutterConstraintClass</structname> structure contains
11765 only private data</doc>
11766 <field name="parent_class">
11767 <type name="ActorMetaClass" c:type="ClutterActorMetaClass"/>
11769 <field name="clutter_constraint1">
11770 <callback name="clutter_constraint1" c:type="_clutter_constraint1">
11771 <return-value transfer-ownership="none">
11772 <type name="none" c:type="void"/>
11776 <field name="clutter_constraint2">
11777 <callback name="clutter_constraint2" c:type="_clutter_constraint2">
11778 <return-value transfer-ownership="none">
11779 <type name="none" c:type="void"/>
11783 <field name="clutter_constraint3">
11784 <callback name="clutter_constraint3" c:type="_clutter_constraint3">
11785 <return-value transfer-ownership="none">
11786 <type name="none" c:type="void"/>
11790 <field name="clutter_constraint4">
11791 <callback name="clutter_constraint4" c:type="_clutter_constraint4">
11792 <return-value transfer-ownership="none">
11793 <type name="none" c:type="void"/>
11797 <field name="clutter_constraint5">
11798 <callback name="clutter_constraint5" c:type="_clutter_constraint5">
11799 <return-value transfer-ownership="none">
11800 <type name="none" c:type="void"/>
11804 <field name="clutter_constraint6">
11805 <callback name="clutter_constraint6" c:type="_clutter_constraint6">
11806 <return-value transfer-ownership="none">
11807 <type name="none" c:type="void"/>
11811 <field name="clutter_constraint7">
11812 <callback name="clutter_constraint7" c:type="_clutter_constraint7">
11813 <return-value transfer-ownership="none">
11814 <type name="none" c:type="void"/>
11818 <field name="clutter_constraint8">
11819 <callback name="clutter_constraint8" c:type="_clutter_constraint8">
11820 <return-value transfer-ownership="none">
11821 <type name="none" c:type="void"/>
11826 <interface name="Container"
11827 c:type="ClutterContainer"
11829 glib:type-name="ClutterContainer"
11830 glib:get-type="clutter_container_get_type"
11831 glib:type-struct="ContainerIface">
11832 <doc xml:whitespace="preserve">#ClutterContainer is an opaque structure whose members cannot be directly
11834 <virtual-method name="add">
11835 <return-value transfer-ownership="none">
11836 <type name="none" c:type="void"/>
11839 <parameter name="actor" transfer-ownership="none">
11840 <type name="Actor" c:type="ClutterActor*"/>
11844 <virtual-method name="remove">
11845 <return-value transfer-ownership="none">
11846 <type name="none" c:type="void"/>
11849 <parameter name="actor" transfer-ownership="none">
11850 <type name="Actor" c:type="ClutterActor*"/>
11854 <virtual-method name="foreach" invoker="foreach" version="0.4">
11855 <doc xml:whitespace="preserve">Calls @callback for each child of @container that was added
11856 by the application (with clutter_container_add_actor()). Does
11857 not iterate over "internal" children that are part of the
11858 container's own implementation, if any.</doc>
11859 <return-value transfer-ownership="none">
11860 <type name="none" c:type="void"/>
11863 <parameter name="callback" transfer-ownership="none">
11864 <doc xml:whitespace="preserve">a function to be called for each child</doc>
11865 <type name="Callback" c:type="ClutterCallback"/>
11867 <parameter name="user_data" transfer-ownership="none" closure="2">
11868 <doc xml:whitespace="preserve">data to be passed to the function, or %NULL</doc>
11869 <type name="any" c:type="gpointer"/>
11873 <virtual-method name="foreach_with_internals"
11874 invoker="foreach_with_internals"
11876 <doc xml:whitespace="preserve">Calls @callback for each child of @container, including "internal"
11877 children built in to the container itself that were never added
11878 by the application.</doc>
11879 <return-value transfer-ownership="none">
11880 <type name="none" c:type="void"/>
11883 <parameter name="callback" transfer-ownership="none">
11884 <doc xml:whitespace="preserve">a function to be called for each child</doc>
11885 <type name="Callback" c:type="ClutterCallback"/>
11887 <parameter name="user_data" transfer-ownership="none" closure="2">
11888 <doc xml:whitespace="preserve">data to be passed to the function, or %NULL</doc>
11889 <type name="any" c:type="gpointer"/>
11893 <virtual-method name="raise">
11894 <return-value transfer-ownership="none">
11895 <type name="none" c:type="void"/>
11898 <parameter name="actor" transfer-ownership="none">
11899 <type name="Actor" c:type="ClutterActor*"/>
11901 <parameter name="sibling" transfer-ownership="none">
11902 <type name="Actor" c:type="ClutterActor*"/>
11906 <virtual-method name="lower">
11907 <return-value transfer-ownership="none">
11908 <type name="none" c:type="void"/>
11911 <parameter name="actor" transfer-ownership="none">
11912 <type name="Actor" c:type="ClutterActor*"/>
11914 <parameter name="sibling" transfer-ownership="none">
11915 <type name="Actor" c:type="ClutterActor*"/>
11919 <virtual-method name="sort_depth_order"
11920 invoker="sort_depth_order"
11922 <doc xml:whitespace="preserve">Sorts a container's children using their depth. This function should not
11923 be normally used by applications.</doc>
11924 <return-value transfer-ownership="none">
11925 <type name="none" c:type="void"/>
11928 <virtual-method name="create_child_meta"
11929 invoker="create_child_meta"
11931 <doc xml:whitespace="preserve">Creates the #ClutterChildMeta wrapping @actor inside the
11932 class member is not set to %G_TYPE_INVALID.
11933 This function is only useful when adding a #ClutterActor to
11934 a #ClutterContainer implementation outside of the
11935 #ClutterContainer::add() virtual function implementation.
11936 Applications should not call this function.</doc>
11937 <return-value transfer-ownership="none">
11938 <type name="none" c:type="void"/>
11941 <parameter name="actor" transfer-ownership="none">
11942 <doc xml:whitespace="preserve">a #ClutterActor</doc>
11943 <type name="Actor" c:type="ClutterActor*"/>
11947 <virtual-method name="destroy_child_meta"
11948 invoker="destroy_child_meta"
11950 <doc xml:whitespace="preserve">Destroys the #ClutterChildMeta wrapping @actor inside the
11951 This function is only useful when removing a #ClutterActor to
11952 a #ClutterContainer implementation outside of the
11953 #ClutterContainer::add() virtual function implementation.
11954 Applications should not call this function.</doc>
11955 <return-value transfer-ownership="none">
11956 <type name="none" c:type="void"/>
11959 <parameter name="actor" transfer-ownership="none">
11960 <doc xml:whitespace="preserve">a #ClutterActor</doc>
11961 <type name="Actor" c:type="ClutterActor*"/>
11965 <virtual-method name="get_child_meta"
11966 invoker="get_child_meta"
11968 <doc xml:whitespace="preserve">Retrieves the #ClutterChildMeta which contains the data about the
11969 of @container or %NULL if the specifiec actor does not exist or the
11970 container is not configured to provide #ClutterChildMeta<!-- -->s</doc>
11971 <return-value transfer-ownership="none">
11972 <doc xml:whitespace="preserve">the #ClutterChildMeta for the @actor child</doc>
11973 <type name="ChildMeta" c:type="ClutterChildMeta*"/>
11976 <parameter name="actor" transfer-ownership="none">
11977 <doc xml:whitespace="preserve">a #ClutterActor that is a child of @container.</doc>
11978 <type name="Actor" c:type="ClutterActor*"/>
11983 c:identifier="clutter_container_add"
11985 introspectable="0">
11986 <doc xml:whitespace="preserve">Adds a list of #ClutterActor<!-- -->s to @container. Each time and
11987 actor is added, the "actor-added" signal is emitted. Each actor should
11988 be parented to @container, which takes a reference on the actor. You
11989 cannot add a #ClutterActor to more than one #ClutterContainer.</doc>
11990 <return-value transfer-ownership="none">
11991 <type name="none" c:type="void"/>
11994 <parameter name="first_actor" transfer-ownership="none">
11995 <doc xml:whitespace="preserve">the first #ClutterActor to add</doc>
11996 <type name="Actor" c:type="ClutterActor*"/>
11998 <parameter transfer-ownership="none">
12004 <method name="add_actor"
12005 c:identifier="clutter_container_add_actor"
12007 <doc xml:whitespace="preserve">Adds a #ClutterActor to @container. This function will emit the
12008 "actor-added" signal. The actor should be parented to
12009 #ClutterContainer.</doc>
12010 <return-value transfer-ownership="none">
12011 <type name="none" c:type="void"/>
12014 <parameter name="actor" transfer-ownership="none">
12015 <doc xml:whitespace="preserve">the first #ClutterActor to add</doc>
12016 <type name="Actor" c:type="ClutterActor*"/>
12020 <method name="remove"
12021 c:identifier="clutter_container_remove"
12023 introspectable="0">
12024 <doc xml:whitespace="preserve">Removes a %NULL terminated list of #ClutterActor<!-- -->s from
12025 around you must hold a reference to it yourself, using g_object_ref().
12026 Each time an actor is removed, the "actor-removed" signal is
12027 emitted by @container.</doc>
12028 <return-value transfer-ownership="none">
12029 <type name="none" c:type="void"/>
12032 <parameter name="first_actor" transfer-ownership="none">
12033 <doc xml:whitespace="preserve">first #ClutterActor to remove</doc>
12034 <type name="Actor" c:type="ClutterActor*"/>
12036 <parameter transfer-ownership="none">
12042 <method name="remove_actor"
12043 c:identifier="clutter_container_remove_actor"
12045 <doc xml:whitespace="preserve">Removes @actor from @container. The actor should be unparented, so
12046 if you want to keep it around you must hold a reference to it
12047 yourself, using g_object_ref(). When the actor has been removed,
12048 the "actor-removed" signal is emitted by @container.</doc>
12049 <return-value transfer-ownership="none">
12050 <type name="none" c:type="void"/>
12053 <parameter name="actor" transfer-ownership="none">
12054 <doc xml:whitespace="preserve">a #ClutterActor</doc>
12055 <type name="Actor" c:type="ClutterActor*"/>
12059 <method name="get_children"
12060 c:identifier="clutter_container_get_children"
12062 <doc xml:whitespace="preserve">Retrieves all the children of @container.
12063 of #ClutterActor<!-- -->s. Use g_list_free() on the returned
12064 list when done.</doc>
12065 <return-value transfer-ownership="container">
12066 <doc xml:whitespace="preserve">a list</doc>
12067 <type name="GLib.List" c:type="GList*">
12068 <type name="Actor"/>
12072 <method name="foreach"
12073 c:identifier="clutter_container_foreach"
12075 <doc xml:whitespace="preserve">Calls @callback for each child of @container that was added
12076 by the application (with clutter_container_add_actor()). Does
12077 not iterate over "internal" children that are part of the
12078 container's own implementation, if any.</doc>
12079 <return-value transfer-ownership="none">
12080 <type name="none" c:type="void"/>
12083 <parameter name="callback"
12084 transfer-ownership="none"
12087 <doc xml:whitespace="preserve">a function to be called for each child</doc>
12088 <type name="Callback" c:type="ClutterCallback"/>
12090 <parameter name="user_data" transfer-ownership="none">
12091 <doc xml:whitespace="preserve">data to be passed to the function, or %NULL</doc>
12092 <type name="any" c:type="gpointer"/>
12096 <method name="foreach_with_internals"
12097 c:identifier="clutter_container_foreach_with_internals"
12099 <doc xml:whitespace="preserve">Calls @callback for each child of @container, including "internal"
12100 children built in to the container itself that were never added
12101 by the application.</doc>
12102 <return-value transfer-ownership="none">
12103 <type name="none" c:type="void"/>
12106 <parameter name="callback"
12107 transfer-ownership="none"
12110 <doc xml:whitespace="preserve">a function to be called for each child</doc>
12111 <type name="Callback" c:type="ClutterCallback"/>
12113 <parameter name="user_data" transfer-ownership="none">
12114 <doc xml:whitespace="preserve">data to be passed to the function, or %NULL</doc>
12115 <type name="any" c:type="gpointer"/>
12119 <method name="find_child_by_name"
12120 c:identifier="clutter_container_find_child_by_name"
12122 <doc xml:whitespace="preserve">Finds a child actor of a container by its name. Search recurses
12123 into any child container.
12124 or %NULL if no actor with that name was found.</doc>
12125 <return-value transfer-ownership="none">
12126 <doc xml:whitespace="preserve">The child actor with the requested name,</doc>
12127 <type name="Actor" c:type="ClutterActor*"/>
12130 <parameter name="child_name" transfer-ownership="none">
12131 <doc xml:whitespace="preserve">the name of the requested child.</doc>
12132 <type name="utf8" c:type="gchar*"/>
12136 <method name="raise_child"
12137 c:identifier="clutter_container_raise_child"
12139 <doc xml:whitespace="preserve">Raises @actor to @sibling level, in the depth ordering.</doc>
12140 <return-value transfer-ownership="none">
12141 <type name="none" c:type="void"/>
12144 <parameter name="actor" transfer-ownership="none">
12145 <doc xml:whitespace="preserve">the actor to raise</doc>
12146 <type name="Actor" c:type="ClutterActor*"/>
12148 <parameter name="sibling" transfer-ownership="none">
12149 <doc xml:whitespace="preserve">the sibling to raise to, or %NULL to raise to the top</doc>
12150 <type name="Actor" c:type="ClutterActor*"/>
12154 <method name="lower_child"
12155 c:identifier="clutter_container_lower_child"
12157 <doc xml:whitespace="preserve">Lowers @actor to @sibling level, in the depth ordering.</doc>
12158 <return-value transfer-ownership="none">
12159 <type name="none" c:type="void"/>
12162 <parameter name="actor" transfer-ownership="none">
12163 <doc xml:whitespace="preserve">the actor to raise</doc>
12164 <type name="Actor" c:type="ClutterActor*"/>
12166 <parameter name="sibling" transfer-ownership="none">
12167 <doc xml:whitespace="preserve">the sibling to lower to, or %NULL to lower to the bottom</doc>
12168 <type name="Actor" c:type="ClutterActor*"/>
12172 <method name="sort_depth_order"
12173 c:identifier="clutter_container_sort_depth_order"
12175 <doc xml:whitespace="preserve">Sorts a container's children using their depth. This function should not
12176 be normally used by applications.</doc>
12177 <return-value transfer-ownership="none">
12178 <type name="none" c:type="void"/>
12181 <method name="create_child_meta"
12182 c:identifier="clutter_container_create_child_meta"
12184 <doc xml:whitespace="preserve">Creates the #ClutterChildMeta wrapping @actor inside the
12185 class member is not set to %G_TYPE_INVALID.
12186 This function is only useful when adding a #ClutterActor to
12187 a #ClutterContainer implementation outside of the
12188 #ClutterContainer::add() virtual function implementation.
12189 Applications should not call this function.</doc>
12190 <return-value transfer-ownership="none">
12191 <type name="none" c:type="void"/>
12194 <parameter name="actor" transfer-ownership="none">
12195 <doc xml:whitespace="preserve">a #ClutterActor</doc>
12196 <type name="Actor" c:type="ClutterActor*"/>
12200 <method name="destroy_child_meta"
12201 c:identifier="clutter_container_destroy_child_meta"
12203 <doc xml:whitespace="preserve">Destroys the #ClutterChildMeta wrapping @actor inside the
12204 This function is only useful when removing a #ClutterActor to
12205 a #ClutterContainer implementation outside of the
12206 #ClutterContainer::add() virtual function implementation.
12207 Applications should not call this function.</doc>
12208 <return-value transfer-ownership="none">
12209 <type name="none" c:type="void"/>
12212 <parameter name="actor" transfer-ownership="none">
12213 <doc xml:whitespace="preserve">a #ClutterActor</doc>
12214 <type name="Actor" c:type="ClutterActor*"/>
12218 <method name="get_child_meta"
12219 c:identifier="clutter_container_get_child_meta"
12221 <doc xml:whitespace="preserve">Retrieves the #ClutterChildMeta which contains the data about the
12222 of @container or %NULL if the specifiec actor does not exist or the
12223 container is not configured to provide #ClutterChildMeta<!-- -->s</doc>
12224 <return-value transfer-ownership="none">
12225 <doc xml:whitespace="preserve">the #ClutterChildMeta for the @actor child</doc>
12226 <type name="ChildMeta" c:type="ClutterChildMeta*"/>
12229 <parameter name="actor" transfer-ownership="none">
12230 <doc xml:whitespace="preserve">a #ClutterActor that is a child of @container.</doc>
12231 <type name="Actor" c:type="ClutterActor*"/>
12235 <method name="child_set_property"
12236 c:identifier="clutter_container_child_set_property"
12238 <doc xml:whitespace="preserve">Sets a container-specific property on a child of @container.</doc>
12239 <return-value transfer-ownership="none">
12240 <type name="none" c:type="void"/>
12243 <parameter name="child" transfer-ownership="none">
12244 <doc xml:whitespace="preserve">a #ClutterActor that is a child of @container.</doc>
12245 <type name="Actor" c:type="ClutterActor*"/>
12247 <parameter name="property" transfer-ownership="none">
12248 <doc xml:whitespace="preserve">the name of the property to set.</doc>
12249 <type name="utf8" c:type="gchar*"/>
12251 <parameter name="value" transfer-ownership="none">
12252 <doc xml:whitespace="preserve">the value.</doc>
12253 <type name="GObject.Value" c:type="GValue*"/>
12257 <method name="child_get_property"
12258 c:identifier="clutter_container_child_get_property"
12260 <doc xml:whitespace="preserve">Gets a container specific property of a child of @container, In general,
12261 a copy is made of the property contents and the caller is responsible for
12262 freeing the memory by calling g_value_unset().
12263 Note that clutter_container_child_set_property() is really intended for
12264 language bindings, clutter_container_child_set() is much more convenient
12265 for C programming.</doc>
12266 <return-value transfer-ownership="none">
12267 <type name="none" c:type="void"/>
12270 <parameter name="child" transfer-ownership="none">
12271 <doc xml:whitespace="preserve">a #ClutterActor that is a child of @container.</doc>
12272 <type name="Actor" c:type="ClutterActor*"/>
12274 <parameter name="property" transfer-ownership="none">
12275 <doc xml:whitespace="preserve">the name of the property to set.</doc>
12276 <type name="utf8" c:type="gchar*"/>
12278 <parameter name="value" transfer-ownership="none">
12279 <doc xml:whitespace="preserve">the value.</doc>
12280 <type name="GObject.Value" c:type="GValue*"/>
12284 <method name="child_set"
12285 c:identifier="clutter_container_child_set"
12287 introspectable="0">
12288 <doc xml:whitespace="preserve">Sets container specific properties on the child of a container.</doc>
12289 <return-value transfer-ownership="none">
12290 <type name="none" c:type="void"/>
12293 <parameter name="actor" transfer-ownership="none">
12294 <doc xml:whitespace="preserve">a #ClutterActor that is a child of @container.</doc>
12295 <type name="Actor" c:type="ClutterActor*"/>
12297 <parameter name="first_prop" transfer-ownership="none">
12298 <doc xml:whitespace="preserve">name of the first property to be set.</doc>
12299 <type name="utf8" c:type="gchar*"/>
12301 <parameter transfer-ownership="none">
12307 <method name="child_get"
12308 c:identifier="clutter_container_child_get"
12310 introspectable="0">
12311 <doc xml:whitespace="preserve">Gets @container specific properties of an actor.
12312 In general, a copy is made of the property contents and the caller is
12313 responsible for freeing the memory in the appropriate manner for the type, for
12314 instance by calling g_free() or g_object_unref().</doc>
12315 <return-value transfer-ownership="none">
12316 <type name="none" c:type="void"/>
12319 <parameter name="actor" transfer-ownership="none">
12320 <doc xml:whitespace="preserve">a #ClutterActor that is a child of @container.</doc>
12321 <type name="Actor" c:type="ClutterActor*"/>
12323 <parameter name="first_prop" transfer-ownership="none">
12324 <doc xml:whitespace="preserve">name of the first property to be set.</doc>
12325 <type name="utf8" c:type="gchar*"/>
12327 <parameter transfer-ownership="none">
12333 <glib:signal name="actor-added" version="0.4">
12334 <doc xml:whitespace="preserve">The ::actor-added signal is emitted each time an actor
12335 has been added to @container.</doc>
12336 <return-value transfer-ownership="full">
12337 <type name="none" c:type="void"/>
12340 <parameter name="actor" transfer-ownership="none">
12341 <doc xml:whitespace="preserve">the new child that has been added to @container</doc>
12342 <type name="Actor" c:type="ClutterActor"/>
12346 <glib:signal name="actor-removed" version="0.4">
12347 <doc xml:whitespace="preserve">The ::actor-removed signal is emitted each time an actor
12348 is removed from @container.</doc>
12349 <return-value transfer-ownership="full">
12350 <type name="none" c:type="void"/>
12353 <parameter name="actor" transfer-ownership="none">
12354 <doc xml:whitespace="preserve">the child that has been removed from @container</doc>
12355 <type name="Actor" c:type="ClutterActor"/>
12359 <glib:signal name="child-notify" version="0.8">
12360 <doc xml:whitespace="preserve">The ::child-notify signal is emitted each time a property is
12361 being set through the clutter_container_child_set() and
12362 clutter_container_child_set_property() calls.</doc>
12363 <return-value transfer-ownership="full">
12364 <type name="none" c:type="void"/>
12367 <parameter name="actor" transfer-ownership="none">
12368 <doc xml:whitespace="preserve">the child that has had a property set.</doc>
12369 <type name="Actor" c:type="ClutterActor"/>
12371 <parameter name="since" transfer-ownership="none">
12372 <type name="GObject.ParamSpec" c:type="GParam"/>
12377 <record name="ContainerIface"
12378 c:type="ClutterContainerIface"
12379 glib:is-gtype-struct-for="Container"
12381 <doc xml:whitespace="preserve">Base interface for container actors. The @add, @remove and @foreach
12382 virtual functions must be provided by any implementation; the other
12383 virtual functions are optional.</doc>
12384 <field name="g_iface">
12385 <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
12388 <callback name="add" c:type="add">
12389 <return-value transfer-ownership="none">
12390 <type name="none" c:type="void"/>
12393 <parameter name="container" transfer-ownership="none">
12394 <type name="Container" c:type="ClutterContainer*"/>
12396 <parameter name="actor" transfer-ownership="none">
12397 <type name="Actor" c:type="ClutterActor*"/>
12402 <field name="remove">
12403 <callback name="remove" c:type="remove">
12404 <return-value transfer-ownership="none">
12405 <type name="none" c:type="void"/>
12408 <parameter name="container" transfer-ownership="none">
12409 <type name="Container" c:type="ClutterContainer*"/>
12411 <parameter name="actor" transfer-ownership="none">
12412 <type name="Actor" c:type="ClutterActor*"/>
12417 <field name="foreach">
12418 <callback name="foreach" c:type="foreach">
12419 <return-value transfer-ownership="none">
12420 <type name="none" c:type="void"/>
12423 <parameter name="container" transfer-ownership="none">
12424 <type name="Container" c:type="ClutterContainer*"/>
12426 <parameter name="callback" transfer-ownership="none">
12427 <doc xml:whitespace="preserve">a function to be called for each child</doc>
12428 <type name="Callback" c:type="ClutterCallback"/>
12430 <parameter name="user_data" transfer-ownership="none" closure="2">
12431 <doc xml:whitespace="preserve">data to be passed to the function, or %NULL</doc>
12432 <type name="any" c:type="gpointer"/>
12437 <field name="foreach_with_internals">
12438 <callback name="foreach_with_internals"
12439 c:type="foreach_with_internals">
12440 <return-value transfer-ownership="none">
12441 <type name="none" c:type="void"/>
12444 <parameter name="container" transfer-ownership="none">
12445 <type name="Container" c:type="ClutterContainer*"/>
12447 <parameter name="callback" transfer-ownership="none">
12448 <doc xml:whitespace="preserve">a function to be called for each child</doc>
12449 <type name="Callback" c:type="ClutterCallback"/>
12451 <parameter name="user_data" transfer-ownership="none" closure="2">
12452 <doc xml:whitespace="preserve">data to be passed to the function, or %NULL</doc>
12453 <type name="any" c:type="gpointer"/>
12458 <field name="raise">
12459 <callback name="raise" c:type="raise">
12460 <return-value transfer-ownership="none">
12461 <type name="none" c:type="void"/>
12464 <parameter name="container" transfer-ownership="none">
12465 <type name="Container" c:type="ClutterContainer*"/>
12467 <parameter name="actor" transfer-ownership="none">
12468 <type name="Actor" c:type="ClutterActor*"/>
12470 <parameter name="sibling" transfer-ownership="none">
12471 <type name="Actor" c:type="ClutterActor*"/>
12476 <field name="lower">
12477 <callback name="lower" c:type="lower">
12478 <return-value transfer-ownership="none">
12479 <type name="none" c:type="void"/>
12482 <parameter name="container" transfer-ownership="none">
12483 <type name="Container" c:type="ClutterContainer*"/>
12485 <parameter name="actor" transfer-ownership="none">
12486 <type name="Actor" c:type="ClutterActor*"/>
12488 <parameter name="sibling" transfer-ownership="none">
12489 <type name="Actor" c:type="ClutterActor*"/>
12494 <field name="sort_depth_order">
12495 <callback name="sort_depth_order" c:type="sort_depth_order">
12496 <return-value transfer-ownership="none">
12497 <type name="none" c:type="void"/>
12500 <parameter name="container" transfer-ownership="none">
12501 <type name="Container" c:type="ClutterContainer*"/>
12506 <field name="child_meta_type">
12507 <type name="GType" c:type="GType"/>
12509 <field name="create_child_meta">
12510 <callback name="create_child_meta" c:type="create_child_meta">
12511 <return-value transfer-ownership="none">
12512 <type name="none" c:type="void"/>
12515 <parameter name="container" transfer-ownership="none">
12516 <type name="Container" c:type="ClutterContainer*"/>
12518 <parameter name="actor" transfer-ownership="none">
12519 <doc xml:whitespace="preserve">a #ClutterActor</doc>
12520 <type name="Actor" c:type="ClutterActor*"/>
12525 <field name="destroy_child_meta">
12526 <callback name="destroy_child_meta" c:type="destroy_child_meta">
12527 <return-value transfer-ownership="none">
12528 <type name="none" c:type="void"/>
12531 <parameter name="container" transfer-ownership="none">
12532 <type name="Container" c:type="ClutterContainer*"/>
12534 <parameter name="actor" transfer-ownership="none">
12535 <doc xml:whitespace="preserve">a #ClutterActor</doc>
12536 <type name="Actor" c:type="ClutterActor*"/>
12541 <field name="get_child_meta">
12542 <callback name="get_child_meta" c:type="get_child_meta">
12543 <return-value transfer-ownership="none">
12544 <doc xml:whitespace="preserve">the #ClutterChildMeta for the @actor child</doc>
12545 <type name="ChildMeta" c:type="ClutterChildMeta*"/>
12548 <parameter name="container" transfer-ownership="none">
12549 <type name="Container" c:type="ClutterContainer*"/>
12551 <parameter name="actor" transfer-ownership="none">
12552 <doc xml:whitespace="preserve">a #ClutterActor that is a child of @container.</doc>
12553 <type name="Actor" c:type="ClutterActor*"/>
12558 <field name="actor_added">
12559 <callback name="actor_added" c:type="actor_added">
12560 <return-value transfer-ownership="none">
12561 <type name="none" c:type="void"/>
12564 <parameter name="container" transfer-ownership="none">
12565 <type name="Container" c:type="ClutterContainer*"/>
12567 <parameter name="actor" transfer-ownership="none">
12568 <type name="Actor" c:type="ClutterActor*"/>
12573 <field name="actor_removed">
12574 <callback name="actor_removed" c:type="actor_removed">
12575 <return-value transfer-ownership="none">
12576 <type name="none" c:type="void"/>
12579 <parameter name="container" transfer-ownership="none">
12580 <type name="Container" c:type="ClutterContainer*"/>
12582 <parameter name="actor" transfer-ownership="none">
12583 <type name="Actor" c:type="ClutterActor*"/>
12588 <field name="child_notify">
12589 <callback name="child_notify" c:type="child_notify">
12590 <return-value transfer-ownership="none">
12591 <type name="none" c:type="void"/>
12594 <parameter name="container" transfer-ownership="none">
12595 <type name="Container" c:type="ClutterContainer*"/>
12597 <parameter name="actor" transfer-ownership="none">
12598 <type name="Actor" c:type="ClutterActor*"/>
12600 <parameter name="pspec" transfer-ownership="none">
12601 <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
12607 <constant name="Control_L" value="65507">
12610 <constant name="Control_R" value="65508">
12613 <record name="CrossingEvent" c:type="ClutterCrossingEvent" version="0.2">
12614 <doc xml:whitespace="preserve">Event for the movement of the pointer across different actors</doc>
12615 <field name="type" writable="1">
12616 <type name="EventType" c:type="ClutterEventType"/>
12618 <field name="time" writable="1">
12619 <type name="uint32" c:type="guint32"/>
12621 <field name="flags" writable="1">
12622 <type name="EventFlags" c:type="ClutterEventFlags"/>
12624 <field name="stage" writable="1">
12625 <type name="Stage" c:type="ClutterStage*"/>
12627 <field name="source" writable="1">
12628 <type name="Actor" c:type="ClutterActor*"/>
12630 <field name="x" writable="1">
12631 <type name="float" c:type="gfloat"/>
12633 <field name="y" writable="1">
12634 <type name="float" c:type="gfloat"/>
12636 <field name="device" writable="1">
12637 <type name="InputDevice" c:type="ClutterInputDevice*"/>
12639 <field name="related" writable="1">
12640 <type name="Actor" c:type="ClutterActor*"/>
12643 <constant name="CruzeiroSign" value="16785570">
12646 <constant name="Cyrillic_A" value="1761">
12649 <constant name="Cyrillic_BE" value="1762">
12652 <constant name="Cyrillic_CHE" value="1790">
12655 <constant name="Cyrillic_CHE_descender" value="16778422">
12658 <constant name="Cyrillic_CHE_vertstroke" value="16778424">
12661 <constant name="Cyrillic_DE" value="1764">
12664 <constant name="Cyrillic_DZHE" value="1727">
12667 <constant name="Cyrillic_E" value="1788">
12670 <constant name="Cyrillic_EF" value="1766">
12673 <constant name="Cyrillic_EL" value="1772">
12676 <constant name="Cyrillic_EM" value="1773">
12679 <constant name="Cyrillic_EN" value="1774">
12682 <constant name="Cyrillic_EN_descender" value="16778402">
12685 <constant name="Cyrillic_ER" value="1778">
12688 <constant name="Cyrillic_ES" value="1779">
12691 <constant name="Cyrillic_GHE" value="1767">
12694 <constant name="Cyrillic_GHE_bar" value="16778386">
12697 <constant name="Cyrillic_HA" value="1768">
12700 <constant name="Cyrillic_HARDSIGN" value="1791">
12703 <constant name="Cyrillic_HA_descender" value="16778418">
12706 <constant name="Cyrillic_I" value="1769">
12709 <constant name="Cyrillic_IE" value="1765">
12712 <constant name="Cyrillic_IO" value="1715">
12715 <constant name="Cyrillic_I_macron" value="16778466">
12718 <constant name="Cyrillic_JE" value="1720">
12721 <constant name="Cyrillic_KA" value="1771">
12724 <constant name="Cyrillic_KA_descender" value="16778394">
12727 <constant name="Cyrillic_KA_vertstroke" value="16778396">
12730 <constant name="Cyrillic_LJE" value="1721">
12733 <constant name="Cyrillic_NJE" value="1722">
12736 <constant name="Cyrillic_O" value="1775">
12739 <constant name="Cyrillic_O_bar" value="16778472">
12742 <constant name="Cyrillic_PE" value="1776">
12745 <constant name="Cyrillic_SCHWA" value="16778456">
12748 <constant name="Cyrillic_SHA" value="1787">
12751 <constant name="Cyrillic_SHCHA" value="1789">
12754 <constant name="Cyrillic_SHHA" value="16778426">
12757 <constant name="Cyrillic_SHORTI" value="1770">
12760 <constant name="Cyrillic_SOFTSIGN" value="1784">
12763 <constant name="Cyrillic_TE" value="1780">
12766 <constant name="Cyrillic_TSE" value="1763">
12769 <constant name="Cyrillic_U" value="1781">
12772 <constant name="Cyrillic_U_macron" value="16778478">
12775 <constant name="Cyrillic_U_straight" value="16778414">
12778 <constant name="Cyrillic_U_straight_bar" value="16778416">
12781 <constant name="Cyrillic_VE" value="1783">
12784 <constant name="Cyrillic_YA" value="1777">
12787 <constant name="Cyrillic_YERU" value="1785">
12790 <constant name="Cyrillic_YU" value="1760">
12793 <constant name="Cyrillic_ZE" value="1786">
12796 <constant name="Cyrillic_ZHE" value="1782">
12799 <constant name="Cyrillic_ZHE_descender" value="16778390">
12802 <constant name="Cyrillic_a" value="1729">
12805 <constant name="Cyrillic_be" value="1730">
12808 <constant name="Cyrillic_che" value="1758">
12811 <constant name="Cyrillic_che_descender" value="16778423">
12814 <constant name="Cyrillic_che_vertstroke" value="16778425">
12817 <constant name="Cyrillic_de" value="1732">
12820 <constant name="Cyrillic_dzhe" value="1711">
12823 <constant name="Cyrillic_e" value="1756">
12826 <constant name="Cyrillic_ef" value="1734">
12829 <constant name="Cyrillic_el" value="1740">
12832 <constant name="Cyrillic_em" value="1741">
12835 <constant name="Cyrillic_en" value="1742">
12838 <constant name="Cyrillic_en_descender" value="16778403">
12841 <constant name="Cyrillic_er" value="1746">
12844 <constant name="Cyrillic_es" value="1747">
12847 <constant name="Cyrillic_ghe" value="1735">
12850 <constant name="Cyrillic_ghe_bar" value="16778387">
12853 <constant name="Cyrillic_ha" value="1736">
12856 <constant name="Cyrillic_ha_descender" value="16778419">
12859 <constant name="Cyrillic_hardsign" value="1759">
12862 <constant name="Cyrillic_i" value="1737">
12865 <constant name="Cyrillic_i_macron" value="16778467">
12868 <constant name="Cyrillic_ie" value="1733">
12871 <constant name="Cyrillic_io" value="1699">
12874 <constant name="Cyrillic_je" value="1704">
12877 <constant name="Cyrillic_ka" value="1739">
12880 <constant name="Cyrillic_ka_descender" value="16778395">
12883 <constant name="Cyrillic_ka_vertstroke" value="16778397">
12886 <constant name="Cyrillic_lje" value="1705">
12889 <constant name="Cyrillic_nje" value="1706">
12892 <constant name="Cyrillic_o" value="1743">
12895 <constant name="Cyrillic_o_bar" value="16778473">
12898 <constant name="Cyrillic_pe" value="1744">
12901 <constant name="Cyrillic_schwa" value="16778457">
12904 <constant name="Cyrillic_sha" value="1755">
12907 <constant name="Cyrillic_shcha" value="1757">
12910 <constant name="Cyrillic_shha" value="16778427">
12913 <constant name="Cyrillic_shorti" value="1738">
12916 <constant name="Cyrillic_softsign" value="1752">
12919 <constant name="Cyrillic_te" value="1748">
12922 <constant name="Cyrillic_tse" value="1731">
12925 <constant name="Cyrillic_u" value="1749">
12928 <constant name="Cyrillic_u_macron" value="16778479">
12931 <constant name="Cyrillic_u_straight" value="16778415">
12934 <constant name="Cyrillic_u_straight_bar" value="16778417">
12937 <constant name="Cyrillic_ve" value="1751">
12940 <constant name="Cyrillic_ya" value="1745">
12943 <constant name="Cyrillic_yeru" value="1753">
12946 <constant name="Cyrillic_yu" value="1728">
12949 <constant name="Cyrillic_ze" value="1754">
12952 <constant name="Cyrillic_zhe" value="1750">
12955 <constant name="Cyrillic_zhe_descender" value="16778391">
12958 <constant name="D" value="68">
12961 <constant name="Dabovedot" value="16784906">
12964 <constant name="Dcaron" value="463">
12967 <class name="DeformEffect"
12968 c:type="ClutterDeformEffect"
12970 parent="OffscreenEffect"
12972 glib:type-name="ClutterDeformEffect"
12973 glib:get-type="clutter_deform_effect_get_type"
12974 glib:type-struct="DeformEffectClass">
12975 <doc xml:whitespace="preserve">The <structname>ClutterDeformEffect</structname> structure contains
12976 only private data and should be accessed using the provided API</doc>
12977 <virtual-method name="deform_vertex">
12978 <return-value transfer-ownership="none">
12979 <type name="none" c:type="void"/>
12982 <parameter name="width" transfer-ownership="none">
12983 <type name="float" c:type="gfloat"/>
12985 <parameter name="height" transfer-ownership="none">
12986 <type name="float" c:type="gfloat"/>
12988 <parameter name="vertex" transfer-ownership="none">
12989 <type name="Cogl.TextureVertex" c:type="CoglTextureVertex*"/>
12993 <method name="set_back_material"
12994 c:identifier="clutter_deform_effect_set_back_material"
12996 <doc xml:whitespace="preserve">Sets the material that should be used when drawing the back face
12997 of the actor during a deformation
12998 The #ClutterDeformEffect will take a reference on the material's
13000 <return-value transfer-ownership="none">
13001 <type name="none" c:type="void"/>
13004 <parameter name="material" transfer-ownership="none" allow-none="1">
13005 <doc xml:whitespace="preserve">a handle to a Cogl material</doc>
13006 <type name="Cogl.Handle" c:type="CoglHandle"/>
13010 <method name="get_back_material"
13011 c:identifier="clutter_deform_effect_get_back_material"
13013 <doc xml:whitespace="preserve">Retrieves the handle to the back face material used by @effect
13014 The returned material is owned by the #ClutterDeformEffect and it
13015 should not be freed directly</doc>
13016 <return-value transfer-ownership="none">
13017 <doc xml:whitespace="preserve">a handle for the material, or %NULL.</doc>
13018 <type name="Cogl.Handle" c:type="CoglHandle"/>
13021 <method name="set_n_tiles"
13022 c:identifier="clutter_deform_effect_set_n_tiles"
13024 <doc xml:whitespace="preserve">Sets the number of horizontal and vertical tiles to be used
13025 when applying the effect
13026 More tiles allow a finer grained deformation at the expenses
13027 of computation</doc>
13028 <return-value transfer-ownership="none">
13029 <type name="none" c:type="void"/>
13032 <parameter name="x_tiles" transfer-ownership="none">
13033 <doc xml:whitespace="preserve">number of horizontal tiles</doc>
13034 <type name="uint" c:type="guint"/>
13036 <parameter name="y_tiles" transfer-ownership="none">
13037 <doc xml:whitespace="preserve">number of vertical tiles</doc>
13038 <type name="uint" c:type="guint"/>
13042 <method name="get_n_tiles"
13043 c:identifier="clutter_deform_effect_get_n_tiles"
13045 <doc xml:whitespace="preserve">Retrieves the number of horizontal and vertical tiles used to sub-divide
13046 the actor's geometry during the effect</doc>
13047 <return-value transfer-ownership="none">
13048 <type name="none" c:type="void"/>
13051 <parameter name="x_tiles"
13053 caller-allocates="0"
13054 transfer-ownership="full">
13055 <doc xml:whitespace="preserve">return location for the number of horizontal tiles, or %NULL</doc>
13056 <type name="uint" c:type="guint*"/>
13058 <parameter name="y_tiles"
13060 caller-allocates="0"
13061 transfer-ownership="full">
13062 <doc xml:whitespace="preserve">return location for the number of vertical tiles, or %NULL</doc>
13063 <type name="uint" c:type="guint*"/>
13067 <method name="invalidate"
13068 c:identifier="clutter_deform_effect_invalidate"
13070 <doc xml:whitespace="preserve">Invalidates the @effect<!-- -->'s vertices and, if it is associated
13071 to an actor, it will queue a redraw</doc>
13072 <return-value transfer-ownership="none">
13073 <type name="none" c:type="void"/>
13076 <property name="back-material"
13079 transfer-ownership="none">
13080 <doc xml:whitespace="preserve">A material to be used when painting the back of the actor
13081 to which this effect has been applied
13082 By default, no material will be used</doc>
13083 <type name="Cogl.Handle" c:type="CoglHandle"/>
13085 <property name="x-tiles"
13088 transfer-ownership="none">
13089 <doc xml:whitespace="preserve">The number of horizontal tiles. The bigger the number, the
13090 smaller the tiles</doc>
13091 <type name="uint" c:type="guint"/>
13093 <property name="y-tiles"
13096 transfer-ownership="none">
13097 <doc xml:whitespace="preserve">The number of vertical tiles. The bigger the number, the
13098 smaller the tiles</doc>
13099 <type name="uint" c:type="guint"/>
13101 <field name="parent_instance">
13102 <type name="OffscreenEffect" c:type="ClutterOffscreenEffect"/>
13104 <field name="priv">
13105 <type name="DeformEffectPrivate" c:type="ClutterDeformEffectPrivate*"/>
13108 <record name="DeformEffectClass"
13109 c:type="ClutterDeformEffectClass"
13110 glib:is-gtype-struct-for="DeformEffect"
13112 <doc xml:whitespace="preserve">The <structname>ClutterDeformEffectClass</structname> structure contains
13113 only private data</doc>
13114 <field name="parent_class">
13115 <type name="OffscreenEffectClass"
13116 c:type="ClutterOffscreenEffectClass"/>
13118 <field name="deform_vertex">
13119 <callback name="deform_vertex" c:type="deform_vertex">
13120 <return-value transfer-ownership="none">
13121 <type name="none" c:type="void"/>
13124 <parameter name="effect" transfer-ownership="none">
13125 <type name="DeformEffect" c:type="ClutterDeformEffect*"/>
13127 <parameter name="width" transfer-ownership="none">
13128 <type name="float" c:type="gfloat"/>
13130 <parameter name="height" transfer-ownership="none">
13131 <type name="float" c:type="gfloat"/>
13133 <parameter name="vertex" transfer-ownership="none">
13134 <type name="Cogl.TextureVertex" c:type="CoglTextureVertex*"/>
13139 <field name="clutter_deform1">
13140 <callback name="clutter_deform1" c:type="_clutter_deform1">
13141 <return-value transfer-ownership="none">
13142 <type name="none" c:type="void"/>
13146 <field name="clutter_deform2">
13147 <callback name="clutter_deform2" c:type="_clutter_deform2">
13148 <return-value transfer-ownership="none">
13149 <type name="none" c:type="void"/>
13153 <field name="clutter_deform3">
13154 <callback name="clutter_deform3" c:type="_clutter_deform3">
13155 <return-value transfer-ownership="none">
13156 <type name="none" c:type="void"/>
13160 <field name="clutter_deform4">
13161 <callback name="clutter_deform4" c:type="_clutter_deform4">
13162 <return-value transfer-ownership="none">
13163 <type name="none" c:type="void"/>
13167 <field name="clutter_deform5">
13168 <callback name="clutter_deform5" c:type="_clutter_deform5">
13169 <return-value transfer-ownership="none">
13170 <type name="none" c:type="void"/>
13174 <field name="clutter_deform6">
13175 <callback name="clutter_deform6" c:type="_clutter_deform6">
13176 <return-value transfer-ownership="none">
13177 <type name="none" c:type="void"/>
13181 <field name="clutter_deform7">
13182 <callback name="clutter_deform7" c:type="_clutter_deform7">
13183 <return-value transfer-ownership="none">
13184 <type name="none" c:type="void"/>
13189 <record name="DeformEffectPrivate" c:type="ClutterDeformEffectPrivate">
13191 <constant name="Delete" value="65535">
13194 <class name="DesaturateEffect"
13195 c:type="ClutterDesaturateEffect"
13197 parent="OffscreenEffect"
13198 glib:type-name="ClutterDesaturateEffect"
13199 glib:get-type="clutter_desaturate_effect_get_type">
13200 <doc xml:whitespace="preserve"><structname>ClutterDesaturateEffect</structname> is an opaque structure
13201 whose members cannot be directly accessed</doc>
13202 <constructor name="new"
13203 c:identifier="clutter_desaturate_effect_new"
13205 <doc xml:whitespace="preserve">Creates a new #ClutterDesaturateEffect to be used with
13206 clutter_actor_add_effect()</doc>
13207 <return-value transfer-ownership="full">
13208 <doc xml:whitespace="preserve">the newly created #ClutterDesaturateEffect or %NULL</doc>
13209 <type name="DesaturateEffect" c:type="ClutterEffect*"/>
13212 <parameter name="factor" transfer-ownership="none">
13213 <doc xml:whitespace="preserve">the desaturation factor, between 0.0 and 1.0</doc>
13214 <type name="double" c:type="gdouble"/>
13218 <method name="set_factor"
13219 c:identifier="clutter_desaturate_effect_set_factor"
13221 <doc xml:whitespace="preserve">Sets the desaturation factor for @effect, with 0.0 being "do not desaturate"
13222 and 1.0 being "fully desaturate"</doc>
13223 <return-value transfer-ownership="none">
13224 <type name="none" c:type="void"/>
13227 <parameter name="factor" transfer-ownership="none">
13228 <doc xml:whitespace="preserve">the desaturation factor, between 0.0 and 1.0</doc>
13229 <type name="double" c:type="gdouble"/>
13233 <method name="get_factor"
13234 c:identifier="clutter_desaturate_effect_get_factor"
13236 <doc xml:whitespace="preserve">Retrieves the desaturation factor of @effect</doc>
13237 <return-value transfer-ownership="none">
13238 <doc xml:whitespace="preserve">the desaturation factor</doc>
13239 <type name="double" c:type="gdouble"/>
13242 <property name="factor"
13245 transfer-ownership="none">
13246 <doc xml:whitespace="preserve">The desaturation factor, between 0.0 (no desaturation) and 1.0 (full
13247 desaturation).</doc>
13248 <type name="double" c:type="gdouble"/>
13251 <class name="DeviceManager"
13252 c:type="ClutterDeviceManager"
13254 parent="GObject.Object"
13256 glib:type-name="ClutterDeviceManager"
13257 glib:get-type="clutter_device_manager_get_type"
13258 glib:type-struct="DeviceManagerClass">
13259 <doc xml:whitespace="preserve">The #ClutterDeviceManager structure contains only private data</doc>
13260 <function name="get_default"
13261 c:identifier="clutter_device_manager_get_default"
13263 <doc xml:whitespace="preserve">Retrieves the device manager singleton
13264 The returned instance is owned by Clutter and it should not be
13265 modified or freed</doc>
13266 <return-value transfer-ownership="none">
13267 <doc xml:whitespace="preserve">the #ClutterDeviceManager singleton.</doc>
13268 <type name="DeviceManager" c:type="ClutterDeviceManager*"/>
13271 <virtual-method name="get_devices" introspectable="0">
13272 <return-value transfer-ownership="none">
13273 <type name="GLib.SList" c:type="GSList*">
13274 <type name="any" c:type="gpointer"/>
13278 <virtual-method name="get_core_device">
13279 <return-value transfer-ownership="full">
13280 <type name="InputDevice" c:type="ClutterInputDevice*"/>
13283 <parameter name="type" transfer-ownership="none">
13284 <type name="InputDeviceType" c:type="ClutterInputDeviceType"/>
13288 <virtual-method name="get_device">
13289 <return-value transfer-ownership="full">
13290 <type name="InputDevice" c:type="ClutterInputDevice*"/>
13293 <parameter name="id" transfer-ownership="none">
13294 <type name="int" c:type="gint"/>
13298 <virtual-method name="add_device">
13299 <return-value transfer-ownership="none">
13300 <type name="none" c:type="void"/>
13303 <parameter name="device" transfer-ownership="none">
13304 <type name="InputDevice" c:type="ClutterInputDevice*"/>
13308 <virtual-method name="remove_device">
13309 <return-value transfer-ownership="none">
13310 <type name="none" c:type="void"/>
13313 <parameter name="device" transfer-ownership="none">
13314 <type name="InputDevice" c:type="ClutterInputDevice*"/>
13318 <method name="list_devices"
13319 c:identifier="clutter_device_manager_list_devices"
13321 <doc xml:whitespace="preserve">Lists all currently registered input devices
13322 a newly allocated list of #ClutterInputDevice objects. Use
13323 g_slist_free() to deallocate it when done</doc>
13324 <return-value transfer-ownership="container">
13325 <type name="GLib.SList" c:type="GSList*">
13326 <type name="InputDevice"/>
13330 <method name="peek_devices"
13331 c:identifier="clutter_device_manager_peek_devices"
13333 <doc xml:whitespace="preserve">Lists all currently registered input devices
13334 a pointer to the internal list of #ClutterInputDevice objects. The
13335 returned list is owned by the #ClutterDeviceManager and should never
13336 be modified or freed</doc>
13337 <return-value transfer-ownership="none">
13338 <type name="GLib.SList" c:type="GSList*">
13339 <type name="InputDevice"/>
13343 <method name="get_device"
13344 c:identifier="clutter_device_manager_get_device"
13346 <doc xml:whitespace="preserve">Retrieves the #ClutterInputDevice with the given @device_id
13347 returned device is owned by the #ClutterDeviceManager and should
13348 never be modified or freed</doc>
13349 <return-value transfer-ownership="none">
13350 <doc xml:whitespace="preserve">a #ClutterInputDevice or %NULL. The</doc>
13351 <type name="InputDevice" c:type="ClutterInputDevice*"/>
13354 <parameter name="device_id" transfer-ownership="none">
13355 <doc xml:whitespace="preserve">the integer id of a device</doc>
13356 <type name="int" c:type="gint"/>
13360 <method name="get_core_device"
13361 c:identifier="clutter_device_manager_get_core_device"
13363 <doc xml:whitespace="preserve">Retrieves the core #ClutterInputDevice of type @device_type
13364 Core devices are devices created automatically by the default
13366 returned device is owned by the #ClutterDeviceManager and should
13367 not be modified or freed</doc>
13368 <return-value transfer-ownership="none">
13369 <doc xml:whitespace="preserve">a #ClutterInputDevice or %NULL. The</doc>
13370 <type name="InputDevice" c:type="ClutterInputDevice*"/>
13373 <parameter name="device_type" transfer-ownership="none">
13374 <doc xml:whitespace="preserve">the type of the core device</doc>
13375 <type name="InputDeviceType" c:type="ClutterInputDeviceType"/>
13379 <property name="backend"
13382 transfer-ownership="none">
13383 <type name="Backend" c:type="ClutterBackend"/>
13385 <field name="parent_instance">
13386 <type name="GObject.Object" c:type="GObject"/>
13388 <field name="priv">
13389 <type name="DeviceManagerPrivate"
13390 c:type="ClutterDeviceManagerPrivate*"/>
13392 <glib:signal name="device-added" version="1.2">
13393 <doc xml:whitespace="preserve">The ::device-added signal is emitted each time a device has been
13394 added to the #ClutterDeviceManager</doc>
13395 <return-value transfer-ownership="full">
13396 <type name="none" c:type="void"/>
13399 <parameter name="device" transfer-ownership="none">
13400 <doc xml:whitespace="preserve">the newly added #ClutterInputDevice</doc>
13401 <type name="InputDevice" c:type="ClutterInputDevice"/>
13405 <glib:signal name="device-removed" version="1.2">
13406 <doc xml:whitespace="preserve">The ::device-removed signal is emitted each time a device has been
13407 removed from the #ClutterDeviceManager</doc>
13408 <return-value transfer-ownership="full">
13409 <type name="none" c:type="void"/>
13412 <parameter name="device" transfer-ownership="none">
13413 <doc xml:whitespace="preserve">the removed #ClutterInputDevice</doc>
13414 <type name="InputDevice" c:type="ClutterInputDevice"/>
13419 <record name="DeviceManagerClass"
13420 c:type="ClutterDeviceManagerClass"
13421 glib:is-gtype-struct-for="DeviceManager"
13423 <doc xml:whitespace="preserve">The #ClutterDeviceManagerClass structure contains only private data</doc>
13424 <field name="parent_class">
13425 <type name="GObject.ObjectClass" c:type="GObjectClass"/>
13427 <field name="get_devices">
13428 <callback name="get_devices" c:type="get_devices">
13429 <return-value transfer-ownership="none">
13430 <type name="GLib.SList" c:type="GSList*">
13431 <type name="any" c:type="gpointer"/>
13435 <parameter name="manager" transfer-ownership="none">
13436 <type name="DeviceManager" c:type="ClutterDeviceManager*"/>
13441 <field name="get_core_device">
13442 <callback name="get_core_device" c:type="get_core_device">
13443 <return-value transfer-ownership="full">
13444 <type name="InputDevice" c:type="ClutterInputDevice*"/>
13447 <parameter name="manager" transfer-ownership="none">
13448 <type name="DeviceManager" c:type="ClutterDeviceManager*"/>
13450 <parameter name="type" transfer-ownership="none">
13451 <type name="InputDeviceType" c:type="ClutterInputDeviceType"/>
13456 <field name="get_device">
13457 <callback name="get_device" c:type="get_device">
13458 <return-value transfer-ownership="full">
13459 <type name="InputDevice" c:type="ClutterInputDevice*"/>
13462 <parameter name="manager" transfer-ownership="none">
13463 <type name="DeviceManager" c:type="ClutterDeviceManager*"/>
13465 <parameter name="id" transfer-ownership="none">
13466 <type name="int" c:type="gint"/>
13471 <field name="add_device">
13472 <callback name="add_device" c:type="add_device">
13473 <return-value transfer-ownership="none">
13474 <type name="none" c:type="void"/>
13477 <parameter name="manager" transfer-ownership="none">
13478 <type name="DeviceManager" c:type="ClutterDeviceManager*"/>
13480 <parameter name="device" transfer-ownership="none">
13481 <type name="InputDevice" c:type="ClutterInputDevice*"/>
13486 <field name="remove_device">
13487 <callback name="remove_device" c:type="remove_device">
13488 <return-value transfer-ownership="none">
13489 <type name="none" c:type="void"/>
13492 <parameter name="manager" transfer-ownership="none">
13493 <type name="DeviceManager" c:type="ClutterDeviceManager*"/>
13495 <parameter name="device" transfer-ownership="none">
13496 <type name="InputDevice" c:type="ClutterInputDevice*"/>
13501 <field name="_padding">
13502 <array zero-terminated="0" c:type="gpointer" fixed-size="8">
13507 <record name="DeviceManagerPrivate" c:type="ClutterDeviceManagerPrivate">
13509 <constant name="DongSign" value="16785579">
13512 <constant name="Down" value="65364">
13515 <class name="DragAction"
13516 c:type="ClutterDragAction"
13519 glib:type-name="ClutterDragAction"
13520 glib:get-type="clutter_drag_action_get_type"
13521 glib:type-struct="DragActionClass">
13522 <doc xml:whitespace="preserve">The <structname>ClutterDragAction</structname> structure contains only
13523 private data and should be accessed using the provided API</doc>
13524 <constructor name="new"
13525 c:identifier="clutter_drag_action_new"
13527 <doc xml:whitespace="preserve">Creates a new #ClutterDragAction instance</doc>
13528 <return-value transfer-ownership="full">
13529 <doc xml:whitespace="preserve">the newly created #ClutterDragAction</doc>
13530 <type name="DragAction" c:type="ClutterAction*"/>
13533 <method name="set_drag_threshold"
13534 c:identifier="clutter_drag_action_set_drag_threshold"
13536 <doc xml:whitespace="preserve">Sets the drag threshold that must be cleared by the pointer
13537 before @action can begin the dragging</doc>
13538 <return-value transfer-ownership="none">
13539 <type name="none" c:type="void"/>
13542 <parameter name="threshold" transfer-ownership="none">
13543 <doc xml:whitespace="preserve">a distance, in pixels</doc>
13544 <type name="uint" c:type="guint"/>
13548 <method name="get_drag_threshold"
13549 c:identifier="clutter_drag_action_get_drag_threshold"
13551 <doc xml:whitespace="preserve">Retrieves the value set by clutter_drag_action_set_drag_threshold()</doc>
13552 <return-value transfer-ownership="none">
13553 <doc xml:whitespace="preserve">the drag threshold value, in pixels</doc>
13554 <type name="uint" c:type="guint"/>
13557 <method name="set_drag_handle"
13558 c:identifier="clutter_drag_action_set_drag_handle"
13560 <doc xml:whitespace="preserve">Sets the actor to be used as the drag handle</doc>
13561 <return-value transfer-ownership="none">
13562 <type name="none" c:type="void"/>
13565 <parameter name="handle" transfer-ownership="none">
13566 <doc xml:whitespace="preserve">a #ClutterActor</doc>
13567 <type name="Actor" c:type="ClutterActor*"/>
13571 <method name="get_drag_handle"
13572 c:identifier="clutter_drag_action_get_drag_handle"
13574 <doc xml:whitespace="preserve">Retrieves the drag handle set by clutter_drag_action_set_drag_handle()
13575 handle, or %NULL if none was set</doc>
13576 <return-value transfer-ownership="none">
13577 <doc xml:whitespace="preserve">a #ClutterActor, used as the drag</doc>
13578 <type name="Actor" c:type="ClutterActor*"/>
13581 <method name="set_drag_axis"
13582 c:identifier="clutter_drag_action_set_drag_axis"
13584 <doc xml:whitespace="preserve">Restricts the dragging action to a specific axis</doc>
13585 <return-value transfer-ownership="none">
13586 <type name="none" c:type="void"/>
13589 <parameter name="axis" transfer-ownership="none">
13590 <doc xml:whitespace="preserve">the axis to constraint the dragging to</doc>
13591 <type name="DragAxis" c:type="ClutterDragAxis"/>
13595 <method name="get_drag_axis"
13596 c:identifier="clutter_drag_action_get_drag_axis"
13598 <doc xml:whitespace="preserve">Retrieves the axis constraint set by clutter_drag_action_set_drag_axis()</doc>
13599 <return-value transfer-ownership="full">
13600 <doc xml:whitespace="preserve">the axis constraint</doc>
13601 <type name="DragAxis" c:type="ClutterDragAxis"/>
13604 <method name="get_press_coords"
13605 c:identifier="clutter_drag_action_get_press_coords"
13607 <doc xml:whitespace="preserve">Retrieves the coordinates, in stage space, of the press event
13608 that started the dragging</doc>
13609 <return-value transfer-ownership="none">
13610 <type name="none" c:type="void"/>
13613 <parameter name="press_x"
13615 caller-allocates="0"
13616 transfer-ownership="full">
13617 <doc xml:whitespace="preserve">return location for the press event's X coordinate</doc>
13618 <type name="float" c:type="gfloat*"/>
13620 <parameter name="press_y"
13622 caller-allocates="0"
13623 transfer-ownership="full">
13624 <doc xml:whitespace="preserve">return location for the press event's Y coordinate</doc>
13625 <type name="float" c:type="gfloat*"/>
13629 <method name="get_motion_coords"
13630 c:identifier="clutter_drag_action_get_motion_coords"
13632 <doc xml:whitespace="preserve">Retrieves the coordinates, in stage space, of the latest motion
13633 event during the dragging</doc>
13634 <return-value transfer-ownership="none">
13635 <type name="none" c:type="void"/>
13638 <parameter name="motion_x"
13640 caller-allocates="0"
13641 transfer-ownership="full">
13642 <doc xml:whitespace="preserve">return location for the latest motion event's X coordinate</doc>
13643 <type name="float" c:type="gfloat*"/>
13645 <parameter name="motion_y"
13647 caller-allocates="0"
13648 transfer-ownership="full">
13649 <doc xml:whitespace="preserve">return location for the latest motion event's Y coordinate</doc>
13650 <type name="float" c:type="gfloat*"/>
13654 <property name="drag-axis"
13657 transfer-ownership="none">
13658 <doc xml:whitespace="preserve">Constraints the dragging action to the specified axis</doc>
13659 <type name="DragAxis" c:type="ClutterDragAxis"/>
13661 <property name="drag-handle"
13664 transfer-ownership="none">
13665 <doc xml:whitespace="preserve">The #ClutterActor that is effectively being dragged
13666 A #ClutterDragAction will, be default, use the #ClutterActor that
13667 has been attached to the action; it is possible to create a
13668 separate #ClutterActor and use it instead.
13669 Setting this property has no effect on the #ClutterActor argument
13670 passed to the #ClutterDragAction signals</doc>
13671 <type name="Actor" c:type="ClutterActor"/>
13673 <property name="drag-threshold"
13676 transfer-ownership="none">
13677 <doc xml:whitespace="preserve">The threshold, in pixels, that begins a drag action
13678 When set to a non-zero value, #ClutterDragAction will only emit
13679 #ClutterDragAction::drag-begin if the pointer has moved at least
13680 of the given amount of pixels since the button press event</doc>
13681 <type name="uint" c:type="guint"/>
13683 <field name="parent_instance">
13684 <type name="Action" c:type="ClutterAction"/>
13686 <field name="priv">
13687 <type name="DragActionPrivate" c:type="ClutterDragActionPrivate*"/>
13689 <glib:signal name="drag-begin" version="1.4">
13690 <doc xml:whitespace="preserve">The ::drag-begin signal is emitted when the #ClutterDragAction
13691 starts the dragging
13692 The emission of this signal can be delayed by using the
13693 #ClutterDragAction:drag-threshold property</doc>
13694 <return-value transfer-ownership="full">
13695 <type name="none" c:type="void"/>
13698 <parameter name="actor" transfer-ownership="none">
13699 <doc xml:whitespace="preserve">the #ClutterActor attached to the action</doc>
13700 <type name="Actor" c:type="ClutterActor"/>
13702 <parameter name="event_x" transfer-ownership="none">
13703 <doc xml:whitespace="preserve">the X coordinate (in stage space) of the press event</doc>
13704 <type name="float" c:type="gfloat"/>
13706 <parameter name="event_y" transfer-ownership="none">
13707 <doc xml:whitespace="preserve">the Y coordinate (in stage space) of the press event</doc>
13708 <type name="float" c:type="gfloat"/>
13710 <parameter name="modifiers" transfer-ownership="none">
13711 <doc xml:whitespace="preserve">the modifiers of the press event</doc>
13712 <type name="ModifierType" c:type="ClutterModifierType"/>
13716 <glib:signal name="drag-end" version="1.4">
13717 <doc xml:whitespace="preserve">The ::drag-end signal is emitted at the end of the dragging,
13718 when the pointer button's is released
13719 This signal is emitted if and only if the #ClutterDragAction::drag-begin
13720 signal has been emitted first</doc>
13721 <return-value transfer-ownership="full">
13722 <type name="none" c:type="void"/>
13725 <parameter name="actor" transfer-ownership="none">
13726 <doc xml:whitespace="preserve">the #ClutterActor attached to the action</doc>
13727 <type name="Actor" c:type="ClutterActor"/>
13729 <parameter name="event_x" transfer-ownership="none">
13730 <doc xml:whitespace="preserve">the X coordinate (in stage space) of the release event</doc>
13731 <type name="float" c:type="gfloat"/>
13733 <parameter name="event_y" transfer-ownership="none">
13734 <doc xml:whitespace="preserve">the Y coordinate (in stage space) of the release event</doc>
13735 <type name="float" c:type="gfloat"/>
13737 <parameter name="modifiers" transfer-ownership="none">
13738 <doc xml:whitespace="preserve">the modifiers of the release event</doc>
13739 <type name="ModifierType" c:type="ClutterModifierType"/>
13743 <glib:signal name="drag-motion">
13744 <return-value transfer-ownership="full">
13745 <type name="none" c:type="void"/>
13748 <parameter name="object" transfer-ownership="none">
13749 <type name="Actor" c:type="ClutterActor"/>
13751 <parameter name="p0" transfer-ownership="none">
13752 <type name="float" c:type="gfloat"/>
13754 <parameter name="p1" transfer-ownership="none">
13755 <type name="float" c:type="gfloat"/>
13760 <record name="DragActionClass"
13761 c:type="ClutterDragActionClass"
13762 glib:is-gtype-struct-for="DragAction"
13764 <doc xml:whitespace="preserve">The <structname>ClutterDragActionClass</structname> structure contains
13765 only private data</doc>
13766 <field name="parent_class">
13767 <type name="ActionClass" c:type="ClutterActionClass"/>
13769 <field name="drag_begin">
13770 <callback name="drag_begin" c:type="drag_begin">
13771 <return-value transfer-ownership="none">
13772 <type name="none" c:type="void"/>
13775 <parameter name="action" transfer-ownership="none">
13776 <type name="DragAction" c:type="ClutterDragAction*"/>
13778 <parameter name="actor" transfer-ownership="none">
13779 <type name="Actor" c:type="ClutterActor*"/>
13781 <parameter name="event_x" transfer-ownership="none">
13782 <type name="float" c:type="gfloat"/>
13784 <parameter name="event_y" transfer-ownership="none">
13785 <type name="float" c:type="gfloat"/>
13787 <parameter name="modifiers" transfer-ownership="none">
13788 <type name="ModifierType" c:type="ClutterModifierType"/>
13793 <field name="drag_motion">
13794 <callback name="drag_motion" c:type="drag_motion">
13795 <return-value transfer-ownership="none">
13796 <type name="none" c:type="void"/>
13799 <parameter name="action" transfer-ownership="none">
13800 <type name="DragAction" c:type="ClutterDragAction*"/>
13802 <parameter name="actor" transfer-ownership="none">
13803 <type name="Actor" c:type="ClutterActor*"/>
13805 <parameter name="delta_x" transfer-ownership="none">
13806 <type name="float" c:type="gfloat"/>
13808 <parameter name="delta_y" transfer-ownership="none">
13809 <type name="float" c:type="gfloat"/>
13814 <field name="drag_end">
13815 <callback name="drag_end" c:type="drag_end">
13816 <return-value transfer-ownership="none">
13817 <type name="none" c:type="void"/>
13820 <parameter name="action" transfer-ownership="none">
13821 <type name="DragAction" c:type="ClutterDragAction*"/>
13823 <parameter name="actor" transfer-ownership="none">
13824 <type name="Actor" c:type="ClutterActor*"/>
13826 <parameter name="event_x" transfer-ownership="none">
13827 <type name="float" c:type="gfloat"/>
13829 <parameter name="event_y" transfer-ownership="none">
13830 <type name="float" c:type="gfloat"/>
13832 <parameter name="modifiers" transfer-ownership="none">
13833 <type name="ModifierType" c:type="ClutterModifierType"/>
13838 <field name="clutter_drag_action1">
13839 <callback name="clutter_drag_action1" c:type="_clutter_drag_action1">
13840 <return-value transfer-ownership="none">
13841 <type name="none" c:type="void"/>
13845 <field name="clutter_drag_action2">
13846 <callback name="clutter_drag_action2" c:type="_clutter_drag_action2">
13847 <return-value transfer-ownership="none">
13848 <type name="none" c:type="void"/>
13852 <field name="clutter_drag_action3">
13853 <callback name="clutter_drag_action3" c:type="_clutter_drag_action3">
13854 <return-value transfer-ownership="none">
13855 <type name="none" c:type="void"/>
13859 <field name="clutter_drag_action4">
13860 <callback name="clutter_drag_action4" c:type="_clutter_drag_action4">
13861 <return-value transfer-ownership="none">
13862 <type name="none" c:type="void"/>
13866 <field name="clutter_drag_action5">
13867 <callback name="clutter_drag_action5" c:type="_clutter_drag_action5">
13868 <return-value transfer-ownership="none">
13869 <type name="none" c:type="void"/>
13874 <record name="DragActionPrivate" c:type="ClutterDragActionPrivate">
13876 <enumeration name="DragAxis"
13878 glib:type-name="ClutterDragAxis"
13879 glib:get-type="clutter_drag_axis_get_type"
13880 c:type="ClutterDragAxis">
13881 <doc xml:whitespace="preserve">The axis of the constraint that should be applied on the
13882 dragging action</doc>
13883 <member name="axis_none"
13885 c:identifier="CLUTTER_DRAG_AXIS_NONE"
13886 glib:nick="axis-none"/>
13887 <member name="x_axis"
13889 c:identifier="CLUTTER_DRAG_X_AXIS"
13890 glib:nick="x-axis"/>
13891 <member name="y_axis"
13893 c:identifier="CLUTTER_DRAG_Y_AXIS"
13894 glib:nick="y-axis"/>
13896 <constant name="Dstroke" value="464">
13899 <constant name="E" value="69">
13902 <constant name="ENG" value="957">
13905 <constant name="ETH" value="208">
13908 <constant name="Eabovedot" value="972">
13911 <constant name="Eacute" value="201">
13914 <constant name="Ebelowdot" value="16785080">
13917 <constant name="Ecaron" value="460">
13920 <constant name="Ecircumflex" value="202">
13923 <constant name="Ecircumflexacute" value="16785086">
13926 <constant name="Ecircumflexbelowdot" value="16785094">
13929 <constant name="Ecircumflexgrave" value="16785088">
13932 <constant name="Ecircumflexhook" value="16785090">
13935 <constant name="Ecircumflextilde" value="16785092">
13938 <constant name="EcuSign" value="16785568">
13941 <constant name="Ediaeresis" value="203">
13944 <class name="Effect"
13945 c:type="ClutterEffect"
13949 glib:type-name="ClutterEffect"
13950 glib:get-type="clutter_effect_get_type"
13951 glib:type-struct="EffectClass">
13952 <doc xml:whitespace="preserve">The #ClutterEffect structure contains only private data and should
13953 be accessed using the provided API</doc>
13954 <virtual-method name="pre_paint">
13955 <return-value transfer-ownership="none">
13956 <type name="boolean" c:type="gboolean"/>
13959 <virtual-method name="post_paint">
13960 <return-value transfer-ownership="none">
13961 <type name="none" c:type="void"/>
13964 <field name="parent_instance">
13965 <type name="ActorMeta" c:type="ClutterActorMeta"/>
13968 <record name="EffectClass"
13969 c:type="ClutterEffectClass"
13970 glib:is-gtype-struct-for="Effect"
13972 <doc xml:whitespace="preserve">The #ClutterEffectClass structure contains only private data</doc>
13973 <field name="parent_class">
13974 <type name="ActorMetaClass" c:type="ClutterActorMetaClass"/>
13976 <field name="pre_paint">
13977 <callback name="pre_paint" c:type="pre_paint">
13978 <return-value transfer-ownership="none">
13979 <type name="boolean" c:type="gboolean"/>
13982 <parameter name="effect" transfer-ownership="none">
13983 <type name="Effect" c:type="ClutterEffect*"/>
13988 <field name="post_paint">
13989 <callback name="post_paint" c:type="post_paint">
13990 <return-value transfer-ownership="none">
13991 <type name="none" c:type="void"/>
13994 <parameter name="effect" transfer-ownership="none">
13995 <type name="Effect" c:type="ClutterEffect*"/>
14000 <field name="clutter_effect1">
14001 <callback name="clutter_effect1" c:type="_clutter_effect1">
14002 <return-value transfer-ownership="none">
14003 <type name="none" c:type="void"/>
14007 <field name="clutter_effect2">
14008 <callback name="clutter_effect2" c:type="_clutter_effect2">
14009 <return-value transfer-ownership="none">
14010 <type name="none" c:type="void"/>
14014 <field name="clutter_effect3">
14015 <callback name="clutter_effect3" c:type="_clutter_effect3">
14016 <return-value transfer-ownership="none">
14017 <type name="none" c:type="void"/>
14021 <field name="clutter_effect4">
14022 <callback name="clutter_effect4" c:type="_clutter_effect4">
14023 <return-value transfer-ownership="none">
14024 <type name="none" c:type="void"/>
14028 <field name="clutter_effect5">
14029 <callback name="clutter_effect5" c:type="_clutter_effect5">
14030 <return-value transfer-ownership="none">
14031 <type name="none" c:type="void"/>
14035 <field name="clutter_effect6">
14036 <callback name="clutter_effect6" c:type="_clutter_effect6">
14037 <return-value transfer-ownership="none">
14038 <type name="none" c:type="void"/>
14043 <constant name="Egrave" value="200">
14046 <constant name="Ehook" value="16785082">
14049 <constant name="Eisu_Shift" value="65327">
14052 <constant name="Eisu_toggle" value="65328">
14055 <constant name="Emacron" value="938">
14058 <constant name="End" value="65367">
14061 <constant name="Eogonek" value="458">
14064 <constant name="Escape" value="65307">
14067 <constant name="Eth" value="208">
14070 <constant name="Etilde" value="16785084">
14073 <constant name="EuroSign" value="8364">
14076 <union name="Event"
14077 c:type="ClutterEvent"
14078 glib:type-name="ClutterEvent"
14079 glib:get-type="clutter_event_get_type">
14080 <field name="type" writable="1">
14081 <type name="EventType" c:type="ClutterEventType"/>
14083 <field name="any" writable="1">
14084 <type name="AnyEvent" c:type="ClutterAnyEvent"/>
14086 <field name="button" writable="1">
14087 <type name="ButtonEvent" c:type="ClutterButtonEvent"/>
14089 <field name="key" writable="1">
14090 <type name="KeyEvent" c:type="ClutterKeyEvent"/>
14092 <field name="motion" writable="1">
14093 <type name="MotionEvent" c:type="ClutterMotionEvent"/>
14095 <field name="scroll" writable="1">
14096 <type name="ScrollEvent" c:type="ClutterScrollEvent"/>
14098 <field name="stage_state" writable="1">
14099 <type name="StageStateEvent" c:type="ClutterStageStateEvent"/>
14101 <field name="crossing" writable="1">
14102 <type name="CrossingEvent" c:type="ClutterCrossingEvent"/>
14104 <constructor name="new" c:identifier="clutter_event_new">
14105 <doc xml:whitespace="preserve">Creates a new #ClutterEvent of the specified type.</doc>
14106 <return-value transfer-ownership="full">
14107 <doc xml:whitespace="preserve">A newly allocated #ClutterEvent.</doc>
14108 <type name="Event" c:type="ClutterEvent*"/>
14111 <parameter name="type" transfer-ownership="none">
14112 <doc xml:whitespace="preserve">The type of event.</doc>
14113 <type name="EventType" c:type="ClutterEventType"/>
14117 <method name="put" c:identifier="clutter_event_put" version="0.6">
14118 <doc xml:whitespace="preserve">Puts a copy of the event on the back of the event queue. The event will
14119 have the %CLUTTER_EVENT_FLAG_SYNTHETIC flag set. If the source is set
14120 event signals will be emitted for this source and capture/bubbling for
14121 its ancestors. If the source is not set it will be generated by picking
14122 or use the actor that currently has keyboard focus</doc>
14123 <return-value transfer-ownership="none">
14124 <type name="none" c:type="void"/>
14127 <method name="copy" c:identifier="clutter_event_copy">
14128 <doc xml:whitespace="preserve">Copies @event.</doc>
14129 <return-value transfer-ownership="full">
14130 <doc xml:whitespace="preserve">A newly allocated #ClutterEvent</doc>
14131 <type name="Event" c:type="ClutterEvent*"/>
14134 <method name="free" c:identifier="clutter_event_free">
14135 <doc xml:whitespace="preserve">Frees all resources used by @event.</doc>
14136 <return-value transfer-ownership="none">
14137 <type name="none" c:type="void"/>
14140 <method name="type" c:identifier="clutter_event_type">
14141 <doc xml:whitespace="preserve">Retrieves the type of the event.</doc>
14142 <return-value transfer-ownership="full">
14143 <doc xml:whitespace="preserve">a #ClutterEventType</doc>
14144 <type name="EventType" c:type="ClutterEventType"/>
14147 <method name="get_flags"
14148 c:identifier="clutter_event_get_flags"
14150 <doc xml:whitespace="preserve">Retrieves the #ClutterEventFlags of @event</doc>
14151 <return-value transfer-ownership="full">
14152 <doc xml:whitespace="preserve">the event flags</doc>
14153 <type name="EventFlags" c:type="ClutterEventFlags"/>
14156 <method name="get_time"
14157 c:identifier="clutter_event_get_time"
14159 <doc xml:whitespace="preserve">Retrieves the time of the event.</doc>
14160 <return-value transfer-ownership="none">
14161 <doc xml:whitespace="preserve">the time of the event, or %CLUTTER_CURRENT_TIME</doc>
14162 <type name="uint32" c:type="guint32"/>
14165 <method name="get_state"
14166 c:identifier="clutter_event_get_state"
14168 <doc xml:whitespace="preserve">Retrieves the modifier state of the event.</doc>
14169 <return-value transfer-ownership="full">
14170 <doc xml:whitespace="preserve">the modifier state parameter, or 0</doc>
14171 <type name="ModifierType" c:type="ClutterModifierType"/>
14174 <method name="get_device_id" c:identifier="clutter_event_get_device_id">
14175 <doc xml:whitespace="preserve">Retrieves the events device id if set.
14176 no specific device set.</doc>
14177 <return-value transfer-ownership="none">
14178 <doc xml:whitespace="preserve">A unique identifier for the device or -1 if the event has</doc>
14179 <type name="int" c:type="gint"/>
14182 <method name="get_device_type"
14183 c:identifier="clutter_event_get_device_type"
14185 <doc xml:whitespace="preserve">Retrieves the type of the device for @event
14187 <return-value transfer-ownership="full">
14188 <doc xml:whitespace="preserve">the #ClutterInputDeviceType for the device, if</doc>
14189 <type name="InputDeviceType" c:type="ClutterInputDeviceType"/>
14192 <method name="get_device"
14193 c:identifier="clutter_event_get_device"
14195 <doc xml:whitespace="preserve">Retrieves the #ClutterInputDevice for the event.
14196 The #ClutterInputDevice structure is completely opaque and should
14197 be cast to the platform-specific implementation.</doc>
14198 <return-value transfer-ownership="full">
14199 <doc xml:whitespace="preserve">the #ClutterInputDevice or %NULL</doc>
14200 <type name="InputDevice" c:type="ClutterInputDevice*"/>
14203 <method name="get_source"
14204 c:identifier="clutter_event_get_source"
14206 <doc xml:whitespace="preserve">Retrieves the source #ClutterActor the event originated from, or
14207 NULL if the event has no source.</doc>
14208 <return-value transfer-ownership="none">
14209 <doc xml:whitespace="preserve">a #ClutterActor</doc>
14210 <type name="Actor" c:type="ClutterActor*"/>
14213 <method name="get_stage"
14214 c:identifier="clutter_event_get_stage"
14216 <doc xml:whitespace="preserve">Retrieves the source #ClutterStage the event originated for, or
14217 %NULL if the event has no stage.</doc>
14218 <return-value transfer-ownership="none">
14219 <doc xml:whitespace="preserve">a #ClutterStage</doc>
14220 <type name="Stage" c:type="ClutterStage*"/>
14223 <method name="get_coords"
14224 c:identifier="clutter_event_get_coords"
14226 <doc xml:whitespace="preserve">Retrieves the coordinates of @event and puts them into @x and @y.</doc>
14227 <return-value transfer-ownership="none">
14228 <type name="none" c:type="void"/>
14231 <parameter name="x"
14233 caller-allocates="0"
14234 transfer-ownership="full">
14235 <doc xml:whitespace="preserve">return location for the X coordinate</doc>
14236 <type name="float" c:type="gfloat*"/>
14238 <parameter name="y"
14240 caller-allocates="0"
14241 transfer-ownership="full">
14242 <doc xml:whitespace="preserve">return location for the Y coordinate</doc>
14243 <type name="float" c:type="gfloat*"/>
14247 <method name="get_key_symbol"
14248 c:identifier="clutter_event_get_key_symbol"
14250 <doc xml:whitespace="preserve">Retrieves the key symbol of @event</doc>
14251 <return-value transfer-ownership="none">
14252 <doc xml:whitespace="preserve">the key symbol representing the key</doc>
14253 <type name="uint" c:type="guint"/>
14256 <method name="get_key_code"
14257 c:identifier="clutter_event_get_key_code"
14259 <doc xml:whitespace="preserve">Retrieves the keycode of the key that caused @event</doc>
14260 <return-value transfer-ownership="none">
14261 <doc xml:whitespace="preserve">The keycode representing the key</doc>
14262 <type name="uint16" c:type="guint16"/>
14265 <method name="get_key_unicode"
14266 c:identifier="clutter_event_get_key_unicode">
14267 <doc xml:whitespace="preserve">Retrieves the unicode value for the key that caused @keyev.</doc>
14268 <return-value transfer-ownership="none">
14269 <doc xml:whitespace="preserve">The unicode value representing the key</doc>
14270 <type name="uint32" c:type="guint32"/>
14273 <method name="get_button"
14274 c:identifier="clutter_event_get_button"
14276 <doc xml:whitespace="preserve">Retrieves the button number of @event</doc>
14277 <return-value transfer-ownership="none">
14278 <doc xml:whitespace="preserve">the button number</doc>
14279 <type name="uint32" c:type="guint32"/>
14282 <method name="get_click_count"
14283 c:identifier="clutter_event_get_click_count"
14285 <doc xml:whitespace="preserve">Retrieves the number of clicks of @event</doc>
14286 <return-value transfer-ownership="none">
14287 <doc xml:whitespace="preserve">the click count</doc>
14288 <type name="uint" c:type="guint"/>
14291 <method name="get_related"
14292 c:identifier="clutter_event_get_related"
14294 <doc xml:whitespace="preserve">Retrieves the related actor of a crossing event.</doc>
14295 <return-value transfer-ownership="none">
14296 <doc xml:whitespace="preserve">the related #ClutterActor, or %NULL</doc>
14297 <type name="Actor" c:type="ClutterActor*"/>
14300 <method name="get_scroll_direction"
14301 c:identifier="clutter_event_get_scroll_direction"
14303 <doc xml:whitespace="preserve">Retrieves the direction of the scrolling of @event</doc>
14304 <return-value transfer-ownership="full">
14305 <doc xml:whitespace="preserve">the scrolling direction</doc>
14306 <type name="ScrollDirection" c:type="ClutterScrollDirection"/>
14310 <bitfield name="EventFlags"
14312 glib:type-name="ClutterEventFlags"
14313 glib:get-type="clutter_event_flags_get_type"
14314 c:type="ClutterEventFlags">
14315 <doc xml:whitespace="preserve">Flags for the #ClutterEvent</doc>
14316 <member name="none"
14318 c:identifier="CLUTTER_EVENT_NONE"
14320 <member name="flag_synthetic"
14322 c:identifier="CLUTTER_EVENT_FLAG_SYNTHETIC"
14323 glib:nick="flag-synthetic"/>
14325 <enumeration name="EventType"
14327 glib:type-name="ClutterEventType"
14328 glib:get-type="clutter_event_type_get_type"
14329 c:type="ClutterEventType">
14330 <doc xml:whitespace="preserve">Types of events.</doc>
14331 <member name="nothing"
14333 c:identifier="CLUTTER_NOTHING"
14334 glib:nick="nothing"/>
14335 <member name="key_press"
14337 c:identifier="CLUTTER_KEY_PRESS"
14338 glib:nick="key-press"/>
14339 <member name="key_release"
14341 c:identifier="CLUTTER_KEY_RELEASE"
14342 glib:nick="key-release"/>
14343 <member name="motion"
14345 c:identifier="CLUTTER_MOTION"
14346 glib:nick="motion"/>
14347 <member name="enter"
14349 c:identifier="CLUTTER_ENTER"
14350 glib:nick="enter"/>
14351 <member name="leave"
14353 c:identifier="CLUTTER_LEAVE"
14354 glib:nick="leave"/>
14355 <member name="button_press"
14357 c:identifier="CLUTTER_BUTTON_PRESS"
14358 glib:nick="button-press"/>
14359 <member name="button_release"
14361 c:identifier="CLUTTER_BUTTON_RELEASE"
14362 glib:nick="button-release"/>
14363 <member name="scroll"
14365 c:identifier="CLUTTER_SCROLL"
14366 glib:nick="scroll"/>
14367 <member name="stage_state"
14369 c:identifier="CLUTTER_STAGE_STATE"
14370 glib:nick="stage-state"/>
14371 <member name="destroy_notify"
14373 c:identifier="CLUTTER_DESTROY_NOTIFY"
14374 glib:nick="destroy-notify"/>
14375 <member name="client_message"
14377 c:identifier="CLUTTER_CLIENT_MESSAGE"
14378 glib:nick="client-message"/>
14379 <member name="delete"
14381 c:identifier="CLUTTER_DELETE"
14382 glib:nick="delete"/>
14384 <constant name="Execute" value="65378">
14387 <constant name="F" value="70">
14390 <constant name="F1" value="65470">
14393 <constant name="F10" value="65479">
14396 <constant name="F11" value="65480">
14399 <constant name="F12" value="65481">
14402 <constant name="F13" value="65482">
14405 <constant name="F14" value="65483">
14408 <constant name="F15" value="65484">
14411 <constant name="F16" value="65485">
14414 <constant name="F17" value="65486">
14417 <constant name="F18" value="65487">
14420 <constant name="F19" value="65488">
14423 <constant name="F2" value="65471">
14426 <constant name="F20" value="65489">
14429 <constant name="F21" value="65490">
14432 <constant name="F22" value="65491">
14435 <constant name="F23" value="65492">
14438 <constant name="F24" value="65493">
14441 <constant name="F25" value="65494">
14444 <constant name="F26" value="65495">
14447 <constant name="F27" value="65496">
14450 <constant name="F28" value="65497">
14453 <constant name="F29" value="65498">
14456 <constant name="F3" value="65472">
14459 <constant name="F30" value="65499">
14462 <constant name="F31" value="65500">
14465 <constant name="F32" value="65501">
14468 <constant name="F33" value="65502">
14471 <constant name="F34" value="65503">
14474 <constant name="F35" value="65504">
14477 <constant name="F4" value="65473">
14480 <constant name="F5" value="65474">
14483 <constant name="F6" value="65475">
14486 <constant name="F7" value="65476">
14489 <constant name="F8" value="65477">
14492 <constant name="F9" value="65478">
14495 <constant name="FFrancSign" value="16785571">
14498 <constant name="FLAVOUR" value="glx">
14499 <type name="utf8"/>
14501 <constant name="Fabovedot" value="16784926">
14504 <constant name="Farsi_0" value="16778992">
14507 <constant name="Farsi_1" value="16778993">
14510 <constant name="Farsi_2" value="16778994">
14513 <constant name="Farsi_3" value="16778995">
14516 <constant name="Farsi_4" value="16778996">
14519 <constant name="Farsi_5" value="16778997">
14522 <constant name="Farsi_6" value="16778998">
14525 <constant name="Farsi_7" value="16778999">
14528 <constant name="Farsi_8" value="16779000">
14531 <constant name="Farsi_9" value="16779001">
14534 <constant name="Farsi_yeh" value="16778956">
14537 <bitfield name="FeatureFlags"
14539 glib:type-name="ClutterFeatureFlags"
14540 glib:get-type="clutter_feature_flags_get_type"
14541 c:type="ClutterFeatureFlags">
14542 <doc xml:whitespace="preserve">Runtime flags indicating specific features available via Clutter window
14543 sysytem and graphics backend.</doc>
14544 <member name="texture_npot"
14546 c:identifier="CLUTTER_FEATURE_TEXTURE_NPOT"
14547 glib:nick="texture-npot"/>
14548 <member name="sync_to_vblank"
14550 c:identifier="CLUTTER_FEATURE_SYNC_TO_VBLANK"
14551 glib:nick="sync-to-vblank"/>
14552 <member name="texture_yuv"
14554 c:identifier="CLUTTER_FEATURE_TEXTURE_YUV"
14555 glib:nick="texture-yuv"/>
14556 <member name="texture_read_pixels"
14558 c:identifier="CLUTTER_FEATURE_TEXTURE_READ_PIXELS"
14559 glib:nick="texture-read-pixels"/>
14560 <member name="stage_static"
14562 c:identifier="CLUTTER_FEATURE_STAGE_STATIC"
14563 glib:nick="stage-static"/>
14564 <member name="stage_user_resize"
14566 c:identifier="CLUTTER_FEATURE_STAGE_USER_RESIZE"
14567 glib:nick="stage-user-resize"/>
14568 <member name="stage_cursor"
14570 c:identifier="CLUTTER_FEATURE_STAGE_CURSOR"
14571 glib:nick="stage-cursor"/>
14572 <member name="shaders_glsl"
14574 c:identifier="CLUTTER_FEATURE_SHADERS_GLSL"
14575 glib:nick="shaders-glsl"/>
14576 <member name="offscreen"
14578 c:identifier="CLUTTER_FEATURE_OFFSCREEN"
14579 glib:nick="offscreen"/>
14580 <member name="stage_multiple"
14582 c:identifier="CLUTTER_FEATURE_STAGE_MULTIPLE"
14583 glib:nick="stage-multiple"/>
14584 <member name="swap_events"
14586 c:identifier="CLUTTER_FEATURE_SWAP_EVENTS"
14587 glib:nick="swap-events"/>
14589 <constant name="Find" value="65384">
14592 <constant name="First_Virtual_Screen" value="65232">
14595 <class name="FixedLayout"
14596 c:type="ClutterFixedLayout"
14598 parent="LayoutManager"
14599 glib:type-name="ClutterFixedLayout"
14600 glib:get-type="clutter_fixed_layout_get_type"
14601 glib:type-struct="FixedLayoutClass">
14602 <doc xml:whitespace="preserve">The #ClutterFixedLayout structure contains only private data and
14603 it should be accessed using the provided API</doc>
14604 <constructor name="new"
14605 c:identifier="clutter_fixed_layout_new"
14607 <doc xml:whitespace="preserve">Creates a new #ClutterFixedLayout</doc>
14608 <return-value transfer-ownership="full">
14609 <doc xml:whitespace="preserve">the newly created #ClutterFixedLayout</doc>
14610 <type name="FixedLayout" c:type="ClutterLayoutManager*"/>
14613 <field name="parent_instance">
14614 <type name="LayoutManager" c:type="ClutterLayoutManager"/>
14617 <record name="FixedLayoutClass"
14618 c:type="ClutterFixedLayoutClass"
14619 glib:is-gtype-struct-for="FixedLayout"
14621 <doc xml:whitespace="preserve">The #ClutterFixedLayoutClass structure contains only private data
14622 and it should be accessed using the provided API</doc>
14623 <field name="parent_class">
14624 <type name="LayoutManagerClass" c:type="ClutterLayoutManagerClass"/>
14627 <class name="FlowLayout"
14628 c:type="ClutterFlowLayout"
14630 parent="LayoutManager"
14631 glib:type-name="ClutterFlowLayout"
14632 glib:get-type="clutter_flow_layout_get_type"
14633 glib:type-struct="FlowLayoutClass">
14634 <doc xml:whitespace="preserve">The #ClutterFlowLayout structure contains only private data
14635 and should be accessed using the provided API</doc>
14636 <constructor name="new"
14637 c:identifier="clutter_flow_layout_new"
14639 <doc xml:whitespace="preserve">Creates a new #ClutterFlowLayout with the given @orientation</doc>
14640 <return-value transfer-ownership="full">
14641 <doc xml:whitespace="preserve">the newly created #ClutterFlowLayout</doc>
14642 <type name="FlowLayout" c:type="ClutterLayoutManager*"/>
14645 <parameter name="orientation" transfer-ownership="none">
14646 <doc xml:whitespace="preserve">the orientation of the flow layout</doc>
14647 <type name="FlowOrientation" c:type="ClutterFlowOrientation"/>
14651 <method name="set_orientation"
14652 c:identifier="clutter_flow_layout_set_orientation"
14654 <doc xml:whitespace="preserve">Sets the orientation of the flow layout
14655 The orientation controls the direction used to allocate
14656 orientation also controls the direction of the overflowing</doc>
14657 <return-value transfer-ownership="none">
14658 <type name="none" c:type="void"/>
14661 <parameter name="orientation" transfer-ownership="none">
14662 <doc xml:whitespace="preserve">the orientation of the layout</doc>
14663 <type name="FlowOrientation" c:type="ClutterFlowOrientation"/>
14667 <method name="get_orientation"
14668 c:identifier="clutter_flow_layout_get_orientation"
14670 <doc xml:whitespace="preserve">Retrieves the orientation of the @layout</doc>
14671 <return-value transfer-ownership="full">
14672 <doc xml:whitespace="preserve">the orientation of the #ClutterFlowLayout</doc>
14673 <type name="FlowOrientation" c:type="ClutterFlowOrientation"/>
14676 <method name="set_homogeneous"
14677 c:identifier="clutter_flow_layout_set_homogeneous"
14679 <doc xml:whitespace="preserve">Sets whether the @layout should allocate the same space for
14681 <return-value transfer-ownership="none">
14682 <type name="none" c:type="void"/>
14685 <parameter name="homogeneous" transfer-ownership="none">
14686 <doc xml:whitespace="preserve">whether the layout should be homogeneous or not</doc>
14687 <type name="boolean" c:type="gboolean"/>
14691 <method name="get_homogeneous"
14692 c:identifier="clutter_flow_layout_get_homogeneous"
14694 <doc xml:whitespace="preserve">Retrieves whether the @layout is homogeneous</doc>
14695 <return-value transfer-ownership="none">
14696 <doc xml:whitespace="preserve">%TRUE if the #ClutterFlowLayout is homogeneous</doc>
14697 <type name="boolean" c:type="gboolean"/>
14700 <method name="set_column_spacing"
14701 c:identifier="clutter_flow_layout_set_column_spacing"
14703 <doc xml:whitespace="preserve">Sets the space between columns, in pixels</doc>
14704 <return-value transfer-ownership="none">
14705 <type name="none" c:type="void"/>
14708 <parameter name="spacing" transfer-ownership="none">
14709 <doc xml:whitespace="preserve">the space between columns</doc>
14710 <type name="float" c:type="gfloat"/>
14714 <method name="get_column_spacing"
14715 c:identifier="clutter_flow_layout_get_column_spacing"
14717 <doc xml:whitespace="preserve">Retrieves the spacing between columns
14719 <return-value transfer-ownership="none">
14720 <doc xml:whitespace="preserve">the spacing between columns of the #ClutterFlowLayout,</doc>
14721 <type name="float" c:type="gfloat"/>
14724 <method name="set_row_spacing"
14725 c:identifier="clutter_flow_layout_set_row_spacing"
14727 <doc xml:whitespace="preserve">Sets the spacing between rows, in pixels</doc>
14728 <return-value transfer-ownership="none">
14729 <type name="none" c:type="void"/>
14732 <parameter name="spacing" transfer-ownership="none">
14733 <doc xml:whitespace="preserve">the space between rows</doc>
14734 <type name="float" c:type="gfloat"/>
14738 <method name="get_row_spacing"
14739 c:identifier="clutter_flow_layout_get_row_spacing"
14741 <doc xml:whitespace="preserve">Retrieves the spacing between rows
14743 <return-value transfer-ownership="none">
14744 <doc xml:whitespace="preserve">the spacing between rows of the #ClutterFlowLayout,</doc>
14745 <type name="float" c:type="gfloat"/>
14748 <method name="set_column_width"
14749 c:identifier="clutter_flow_layout_set_column_width"
14751 <doc xml:whitespace="preserve">Sets the minimum and maximum widths that a column can have</doc>
14752 <return-value transfer-ownership="none">
14753 <type name="none" c:type="void"/>
14756 <parameter name="min_width" transfer-ownership="none">
14757 <doc xml:whitespace="preserve">minimum width of a column</doc>
14758 <type name="float" c:type="gfloat"/>
14760 <parameter name="max_width" transfer-ownership="none">
14761 <doc xml:whitespace="preserve">maximum width of a column</doc>
14762 <type name="float" c:type="gfloat"/>
14766 <method name="get_column_width"
14767 c:identifier="clutter_flow_layout_get_column_width"
14769 <doc xml:whitespace="preserve">Retrieves the minimum and maximum column widths</doc>
14770 <return-value transfer-ownership="none">
14771 <type name="none" c:type="void"/>
14774 <parameter name="min_width"
14776 caller-allocates="0"
14777 transfer-ownership="full">
14778 <doc xml:whitespace="preserve">return location for the minimum column width, or %NULL</doc>
14779 <type name="float" c:type="gfloat*"/>
14781 <parameter name="max_width"
14783 caller-allocates="0"
14784 transfer-ownership="full">
14785 <doc xml:whitespace="preserve">return location for the maximum column width, or %NULL</doc>
14786 <type name="float" c:type="gfloat*"/>
14790 <method name="set_row_height"
14791 c:identifier="clutter_flow_layout_set_row_height"
14793 <doc xml:whitespace="preserve">Sets the minimum and maximum heights that a row can have</doc>
14794 <return-value transfer-ownership="none">
14795 <type name="none" c:type="void"/>
14798 <parameter name="min_height" transfer-ownership="none">
14799 <doc xml:whitespace="preserve">the minimum height of a row</doc>
14800 <type name="float" c:type="gfloat"/>
14802 <parameter name="max_height" transfer-ownership="none">
14803 <doc xml:whitespace="preserve">the maximum height of a row</doc>
14804 <type name="float" c:type="gfloat"/>
14808 <method name="get_row_height"
14809 c:identifier="clutter_flow_layout_get_row_height"
14811 <doc xml:whitespace="preserve">Retrieves the minimum and maximum row heights</doc>
14812 <return-value transfer-ownership="none">
14813 <type name="none" c:type="void"/>
14816 <parameter name="min_height"
14818 caller-allocates="0"
14819 transfer-ownership="full">
14820 <doc xml:whitespace="preserve">return location for the minimum row height, or %NULL</doc>
14821 <type name="float" c:type="gfloat*"/>
14823 <parameter name="max_height"
14825 caller-allocates="0"
14826 transfer-ownership="full">
14827 <doc xml:whitespace="preserve">return location for the maximum row height, or %NULL</doc>
14828 <type name="float" c:type="gfloat*"/>
14832 <property name="column-spacing"
14835 transfer-ownership="none">
14836 <doc xml:whitespace="preserve">The spacing between columns, in pixels; the value of this
14837 property is honoured by horizontal non-overflowing layouts
14838 and by vertical overflowing layouts</doc>
14839 <type name="float" c:type="gfloat"/>
14841 <property name="homogeneous"
14844 transfer-ownership="none">
14845 <doc xml:whitespace="preserve">Whether each child inside the #ClutterFlowLayout should receive
14846 the same allocation</doc>
14847 <type name="boolean" c:type="gboolean"/>
14849 <property name="max-column-width"
14852 transfer-ownership="none">
14853 <doc xml:whitespace="preserve">Maximum width for each column in the layout, in pixels. If
14854 set to -1 the width will be the maximum child width</doc>
14855 <type name="float" c:type="gfloat"/>
14857 <property name="max-row-height"
14860 transfer-ownership="none">
14861 <doc xml:whitespace="preserve">Maximum height for each row in the layout, in pixels. If
14862 set to -1 the width will be the maximum child height</doc>
14863 <type name="float" c:type="gfloat"/>
14865 <property name="min-column-width"
14868 transfer-ownership="none">
14869 <doc xml:whitespace="preserve">Minimum width for each column in the layout, in pixels</doc>
14870 <type name="float" c:type="gfloat"/>
14872 <property name="min-row-height"
14875 transfer-ownership="none">
14876 <doc xml:whitespace="preserve">Minimum height for each row in the layout, in pixels</doc>
14877 <type name="float" c:type="gfloat"/>
14879 <property name="orientation"
14883 transfer-ownership="none">
14884 <doc xml:whitespace="preserve">The orientation of the #ClutterFlowLayout. The children
14885 of the layout will be layed out following the orientation.
14886 This property also controls the overflowing directions</doc>
14887 <type name="FlowOrientation" c:type="ClutterFlowOrientation"/>
14889 <property name="row-spacing"
14892 transfer-ownership="none">
14893 <doc xml:whitespace="preserve">The spacing between rows, in pixels; the value of this
14894 property is honoured by vertical non-overflowing layouts and
14895 by horizontal overflowing layouts</doc>
14896 <type name="float" c:type="gfloat"/>
14898 <field name="parent_instance">
14899 <type name="LayoutManager" c:type="ClutterLayoutManager"/>
14901 <field name="priv">
14902 <type name="FlowLayoutPrivate" c:type="ClutterFlowLayoutPrivate*"/>
14905 <record name="FlowLayoutClass"
14906 c:type="ClutterFlowLayoutClass"
14907 glib:is-gtype-struct-for="FlowLayout"
14909 <doc xml:whitespace="preserve">The #ClutterFlowLayoutClass structure contains only private data
14910 and should be accessed using the provided API</doc>
14911 <field name="parent_class">
14912 <type name="LayoutManagerClass" c:type="ClutterLayoutManagerClass"/>
14915 <record name="FlowLayoutPrivate" c:type="ClutterFlowLayoutPrivate">
14917 <enumeration name="FlowOrientation"
14919 glib:type-name="ClutterFlowOrientation"
14920 glib:get-type="clutter_flow_orientation_get_type"
14921 c:type="ClutterFlowOrientation">
14922 <doc xml:whitespace="preserve">The direction of the arrangement of the children inside
14923 a #ClutterFlowLayout</doc>
14924 <member name="horizontal"
14926 c:identifier="CLUTTER_FLOW_HORIZONTAL"
14927 glib:nick="horizontal"/>
14928 <member name="vertical"
14930 c:identifier="CLUTTER_FLOW_VERTICAL"
14931 glib:nick="vertical"/>
14934 c:type="ClutterFog"
14936 glib:type-name="ClutterFog"
14937 glib:get-type="clutter_fog_get_type">
14938 <doc xml:whitespace="preserve">Fog settings used to create the depth cueing effect.</doc>
14939 <field name="z_near" writable="1">
14940 <type name="float" c:type="gfloat"/>
14942 <field name="z_far" writable="1">
14943 <type name="float" c:type="gfloat"/>
14946 <bitfield name="FontFlags"
14948 glib:type-name="ClutterFontFlags"
14949 glib:get-type="clutter_font_flags_get_type"
14950 c:type="ClutterFontFlags">
14951 <doc xml:whitespace="preserve">Runtime flags to change the font quality. To be used with
14952 clutter_set_font_flags().</doc>
14953 <member name="mipmapping"
14955 c:identifier="CLUTTER_FONT_MIPMAPPING"
14956 glib:nick="mipmapping"/>
14957 <member name="hinting"
14959 c:identifier="CLUTTER_FONT_HINTING"
14960 glib:nick="hinting"/>
14962 <constant name="G" value="71">
14965 <constant name="Gabovedot" value="725">
14968 <constant name="Gbreve" value="683">
14971 <constant name="Gcaron" value="16777702">
14974 <constant name="Gcedilla" value="939">
14977 <constant name="Gcircumflex" value="728">
14980 <record name="Geometry"
14981 c:type="ClutterGeometry"
14982 glib:type-name="ClutterGeometry"
14983 glib:get-type="clutter_geometry_get_type">
14984 <doc xml:whitespace="preserve">The rectangle containing an actor's bounding box, measured in pixels.</doc>
14985 <field name="x" writable="1">
14986 <type name="int" c:type="gint"/>
14988 <field name="y" writable="1">
14989 <type name="int" c:type="gint"/>
14991 <field name="width" writable="1">
14992 <type name="uint" c:type="guint"/>
14994 <field name="height" writable="1">
14995 <type name="uint" c:type="guint"/>
14997 <method name="union" c:identifier="clutter_geometry_union" version="1.4">
14998 <doc xml:whitespace="preserve">Find the union of two rectangles represented as #ClutterGeometry.</doc>
14999 <return-value transfer-ownership="none">
15000 <type name="none" c:type="void"/>
15003 <parameter name="geometry_b" transfer-ownership="none">
15004 <doc xml:whitespace="preserve">another #ClutterGeometry</doc>
15005 <type name="Geometry" c:type="ClutterGeometry*"/>
15007 <parameter name="result"
15009 caller-allocates="1"
15010 transfer-ownership="none">
15011 <doc xml:whitespace="preserve">location to store the result</doc>
15012 <type name="Geometry" c:type="ClutterGeometry*"/>
15017 <constant name="Georgian_an" value="16781520">
15020 <constant name="Georgian_ban" value="16781521">
15023 <constant name="Georgian_can" value="16781546">
15026 <constant name="Georgian_char" value="16781549">
15029 <constant name="Georgian_chin" value="16781545">
15032 <constant name="Georgian_cil" value="16781548">
15035 <constant name="Georgian_don" value="16781523">
15038 <constant name="Georgian_en" value="16781524">
15041 <constant name="Georgian_fi" value="16781558">
15044 <constant name="Georgian_gan" value="16781522">
15047 <constant name="Georgian_ghan" value="16781542">
15050 <constant name="Georgian_hae" value="16781552">
15053 <constant name="Georgian_har" value="16781556">
15056 <constant name="Georgian_he" value="16781553">
15059 <constant name="Georgian_hie" value="16781554">
15062 <constant name="Georgian_hoe" value="16781557">
15065 <constant name="Georgian_in" value="16781528">
15068 <constant name="Georgian_jhan" value="16781551">
15071 <constant name="Georgian_jil" value="16781547">
15074 <constant name="Georgian_kan" value="16781529">
15077 <constant name="Georgian_khar" value="16781541">
15080 <constant name="Georgian_las" value="16781530">
15083 <constant name="Georgian_man" value="16781531">
15086 <constant name="Georgian_nar" value="16781532">
15089 <constant name="Georgian_on" value="16781533">
15092 <constant name="Georgian_par" value="16781534">
15095 <constant name="Georgian_phar" value="16781540">
15098 <constant name="Georgian_qar" value="16781543">
15101 <constant name="Georgian_rae" value="16781536">
15104 <constant name="Georgian_san" value="16781537">
15107 <constant name="Georgian_shin" value="16781544">
15110 <constant name="Georgian_tan" value="16781527">
15113 <constant name="Georgian_tar" value="16781538">
15116 <constant name="Georgian_un" value="16781539">
15119 <constant name="Georgian_vin" value="16781525">
15122 <constant name="Georgian_we" value="16781555">
15125 <constant name="Georgian_xan" value="16781550">
15128 <constant name="Georgian_zen" value="16781526">
15131 <constant name="Georgian_zhar" value="16781535">
15134 <enumeration name="Gravity"
15136 glib:type-name="ClutterGravity"
15137 glib:get-type="clutter_gravity_get_type"
15138 c:type="ClutterGravity">
15139 <doc xml:whitespace="preserve">Gravity of the scaling operations. When a gravity different than
15140 %CLUTTER_GRAVITY_NONE is used, an actor is scaled keeping the position
15141 of the specified portion at the same coordinates.</doc>
15142 <member name="none"
15144 c:identifier="CLUTTER_GRAVITY_NONE"
15146 <member name="north"
15148 c:identifier="CLUTTER_GRAVITY_NORTH"
15149 glib:nick="north"/>
15150 <member name="north_east"
15152 c:identifier="CLUTTER_GRAVITY_NORTH_EAST"
15153 glib:nick="north-east"/>
15154 <member name="east"
15156 c:identifier="CLUTTER_GRAVITY_EAST"
15158 <member name="south_east"
15160 c:identifier="CLUTTER_GRAVITY_SOUTH_EAST"
15161 glib:nick="south-east"/>
15162 <member name="south"
15164 c:identifier="CLUTTER_GRAVITY_SOUTH"
15165 glib:nick="south"/>
15166 <member name="south_west"
15168 c:identifier="CLUTTER_GRAVITY_SOUTH_WEST"
15169 glib:nick="south-west"/>
15170 <member name="west"
15172 c:identifier="CLUTTER_GRAVITY_WEST"
15174 <member name="north_west"
15176 c:identifier="CLUTTER_GRAVITY_NORTH_WEST"
15177 glib:nick="north-west"/>
15178 <member name="center"
15180 c:identifier="CLUTTER_GRAVITY_CENTER"
15181 glib:nick="center"/>
15183 <constant name="Greek_ALPHA" value="1985">
15186 <constant name="Greek_ALPHAaccent" value="1953">
15189 <constant name="Greek_BETA" value="1986">
15192 <constant name="Greek_CHI" value="2007">
15195 <constant name="Greek_DELTA" value="1988">
15198 <constant name="Greek_EPSILON" value="1989">
15201 <constant name="Greek_EPSILONaccent" value="1954">
15204 <constant name="Greek_ETA" value="1991">
15207 <constant name="Greek_ETAaccent" value="1955">
15210 <constant name="Greek_GAMMA" value="1987">
15213 <constant name="Greek_IOTA" value="1993">
15216 <constant name="Greek_IOTAaccent" value="1956">
15219 <constant name="Greek_IOTAdiaeresis" value="1957">
15222 <constant name="Greek_IOTAdieresis" value="1957">
15225 <constant name="Greek_KAPPA" value="1994">
15228 <constant name="Greek_LAMBDA" value="1995">
15231 <constant name="Greek_LAMDA" value="1995">
15234 <constant name="Greek_MU" value="1996">
15237 <constant name="Greek_NU" value="1997">
15240 <constant name="Greek_OMEGA" value="2009">
15243 <constant name="Greek_OMEGAaccent" value="1963">
15246 <constant name="Greek_OMICRON" value="1999">
15249 <constant name="Greek_OMICRONaccent" value="1959">
15252 <constant name="Greek_PHI" value="2006">
15255 <constant name="Greek_PI" value="2000">
15258 <constant name="Greek_PSI" value="2008">
15261 <constant name="Greek_RHO" value="2001">
15264 <constant name="Greek_SIGMA" value="2002">
15267 <constant name="Greek_TAU" value="2004">
15270 <constant name="Greek_THETA" value="1992">
15273 <constant name="Greek_UPSILON" value="2005">
15276 <constant name="Greek_UPSILONaccent" value="1960">
15279 <constant name="Greek_UPSILONdieresis" value="1961">
15282 <constant name="Greek_XI" value="1998">
15285 <constant name="Greek_ZETA" value="1990">
15288 <constant name="Greek_accentdieresis" value="1966">
15291 <constant name="Greek_alpha" value="2017">
15294 <constant name="Greek_alphaaccent" value="1969">
15297 <constant name="Greek_beta" value="2018">
15300 <constant name="Greek_chi" value="2039">
15303 <constant name="Greek_delta" value="2020">
15306 <constant name="Greek_epsilon" value="2021">
15309 <constant name="Greek_epsilonaccent" value="1970">
15312 <constant name="Greek_eta" value="2023">
15315 <constant name="Greek_etaaccent" value="1971">
15318 <constant name="Greek_finalsmallsigma" value="2035">
15321 <constant name="Greek_gamma" value="2019">
15324 <constant name="Greek_horizbar" value="1967">
15327 <constant name="Greek_iota" value="2025">
15330 <constant name="Greek_iotaaccent" value="1972">
15333 <constant name="Greek_iotaaccentdieresis" value="1974">
15336 <constant name="Greek_iotadieresis" value="1973">
15339 <constant name="Greek_kappa" value="2026">
15342 <constant name="Greek_lambda" value="2027">
15345 <constant name="Greek_lamda" value="2027">
15348 <constant name="Greek_mu" value="2028">
15351 <constant name="Greek_nu" value="2029">
15354 <constant name="Greek_omega" value="2041">
15357 <constant name="Greek_omegaaccent" value="1979">
15360 <constant name="Greek_omicron" value="2031">
15363 <constant name="Greek_omicronaccent" value="1975">
15366 <constant name="Greek_phi" value="2038">
15369 <constant name="Greek_pi" value="2032">
15372 <constant name="Greek_psi" value="2040">
15375 <constant name="Greek_rho" value="2033">
15378 <constant name="Greek_sigma" value="2034">
15381 <constant name="Greek_switch" value="65406">
15384 <constant name="Greek_tau" value="2036">
15387 <constant name="Greek_theta" value="2024">
15390 <constant name="Greek_upsilon" value="2037">
15393 <constant name="Greek_upsilonaccent" value="1976">
15396 <constant name="Greek_upsilonaccentdieresis" value="1978">
15399 <constant name="Greek_upsilondieresis" value="1977">
15402 <constant name="Greek_xi" value="2030">
15405 <constant name="Greek_zeta" value="2022">
15408 <class name="Group"
15409 c:type="ClutterGroup"
15412 glib:type-name="ClutterGroup"
15413 glib:get-type="clutter_group_get_type"
15414 glib:type-struct="GroupClass">
15415 <doc xml:whitespace="preserve">The #ClutterGroup structure contains only private data
15416 and should be accessed using the provided API</doc>
15417 <implements name="Animatable"/>
15418 <implements name="Atk.ImplementorIface"/>
15419 <implements name="Container"/>
15420 <implements name="Scriptable"/>
15421 <constructor name="new" c:identifier="clutter_group_new">
15422 <doc xml:whitespace="preserve">Create a new #ClutterGroup.</doc>
15423 <return-value transfer-ownership="full">
15424 <doc xml:whitespace="preserve">the newly created #ClutterGroup actor</doc>
15425 <type name="Group" c:type="ClutterActor*"/>
15428 <method name="get_nth_child"
15429 c:identifier="clutter_group_get_nth_child"
15431 <doc xml:whitespace="preserve">Gets a groups child held at @index_ in stack.</doc>
15432 <return-value transfer-ownership="none">
15433 <doc xml:whitespace="preserve">A Clutter actor, or %NULL if</doc>
15434 <type name="Actor" c:type="ClutterActor*"/>
15437 <parameter name="index_" transfer-ownership="none">
15438 <doc xml:whitespace="preserve">the position of the requested actor.</doc>
15439 <type name="int" c:type="gint"/>
15443 <method name="get_n_children"
15444 c:identifier="clutter_group_get_n_children"
15446 <doc xml:whitespace="preserve">Gets the number of actors held in the group.</doc>
15447 <return-value transfer-ownership="none">
15448 <doc xml:whitespace="preserve">The number of child actors held in the group.</doc>
15449 <type name="int" c:type="gint"/>
15452 <method name="remove_all" c:identifier="clutter_group_remove_all">
15453 <doc xml:whitespace="preserve">Removes all children actors from the #ClutterGroup.</doc>
15454 <return-value transfer-ownership="none">
15455 <type name="none" c:type="void"/>
15458 <field name="parent_instance">
15459 <type name="Actor" c:type="ClutterActor"/>
15461 <field name="priv">
15462 <type name="GroupPrivate" c:type="ClutterGroupPrivate*"/>
15465 <record name="GroupClass"
15466 c:type="ClutterGroupClass"
15467 glib:is-gtype-struct-for="Group"
15469 <doc xml:whitespace="preserve">The #ClutterGroupClass structure contains only private data</doc>
15470 <field name="parent_class">
15471 <type name="ActorClass" c:type="ClutterActorClass"/>
15473 <field name="clutter_reserved1">
15474 <callback name="clutter_reserved1" c:type="_clutter_reserved1">
15475 <return-value transfer-ownership="none">
15476 <type name="none" c:type="void"/>
15480 <field name="clutter_reserved2">
15481 <callback name="clutter_reserved2" c:type="_clutter_reserved2">
15482 <return-value transfer-ownership="none">
15483 <type name="none" c:type="void"/>
15487 <field name="clutter_reserved3">
15488 <callback name="clutter_reserved3" c:type="_clutter_reserved3">
15489 <return-value transfer-ownership="none">
15490 <type name="none" c:type="void"/>
15494 <field name="clutter_reserved4">
15495 <callback name="clutter_reserved4" c:type="_clutter_reserved4">
15496 <return-value transfer-ownership="none">
15497 <type name="none" c:type="void"/>
15501 <field name="clutter_reserved5">
15502 <callback name="clutter_reserved5" c:type="_clutter_reserved5">
15503 <return-value transfer-ownership="none">
15504 <type name="none" c:type="void"/>
15508 <field name="clutter_reserved6">
15509 <callback name="clutter_reserved6" c:type="_clutter_reserved6">
15510 <return-value transfer-ownership="none">
15511 <type name="none" c:type="void"/>
15516 <record name="GroupPrivate" c:type="ClutterGroupPrivate">
15518 <constant name="H" value="72">
15521 <constant name="Hangul" value="65329">
15524 <constant name="Hangul_A" value="3775">
15527 <constant name="Hangul_AE" value="3776">
15530 <constant name="Hangul_AraeA" value="3830">
15533 <constant name="Hangul_AraeAE" value="3831">
15536 <constant name="Hangul_Banja" value="65337">
15539 <constant name="Hangul_Cieuc" value="3770">
15542 <constant name="Hangul_Codeinput" value="65335">
15545 <constant name="Hangul_Dikeud" value="3751">
15548 <constant name="Hangul_E" value="3780">
15551 <constant name="Hangul_EO" value="3779">
15554 <constant name="Hangul_EU" value="3793">
15557 <constant name="Hangul_End" value="65331">
15560 <constant name="Hangul_Hanja" value="65332">
15563 <constant name="Hangul_Hieuh" value="3774">
15566 <constant name="Hangul_I" value="3795">
15569 <constant name="Hangul_Ieung" value="3767">
15572 <constant name="Hangul_J_Cieuc" value="3818">
15575 <constant name="Hangul_J_Dikeud" value="3802">
15578 <constant name="Hangul_J_Hieuh" value="3822">
15581 <constant name="Hangul_J_Ieung" value="3816">
15584 <constant name="Hangul_J_Jieuj" value="3817">
15587 <constant name="Hangul_J_Khieuq" value="3819">
15590 <constant name="Hangul_J_Kiyeog" value="3796">
15593 <constant name="Hangul_J_KiyeogSios" value="3798">
15596 <constant name="Hangul_J_KkogjiDalrinIeung" value="3833">
15599 <constant name="Hangul_J_Mieum" value="3811">
15602 <constant name="Hangul_J_Nieun" value="3799">
15605 <constant name="Hangul_J_NieunHieuh" value="3801">
15608 <constant name="Hangul_J_NieunJieuj" value="3800">
15611 <constant name="Hangul_J_PanSios" value="3832">
15614 <constant name="Hangul_J_Phieuf" value="3821">
15617 <constant name="Hangul_J_Pieub" value="3812">
15620 <constant name="Hangul_J_PieubSios" value="3813">
15623 <constant name="Hangul_J_Rieul" value="3803">
15626 <constant name="Hangul_J_RieulHieuh" value="3810">
15629 <constant name="Hangul_J_RieulKiyeog" value="3804">
15632 <constant name="Hangul_J_RieulMieum" value="3805">
15635 <constant name="Hangul_J_RieulPhieuf" value="3809">
15638 <constant name="Hangul_J_RieulPieub" value="3806">
15641 <constant name="Hangul_J_RieulSios" value="3807">
15644 <constant name="Hangul_J_RieulTieut" value="3808">
15647 <constant name="Hangul_J_Sios" value="3814">
15650 <constant name="Hangul_J_SsangKiyeog" value="3797">
15653 <constant name="Hangul_J_SsangSios" value="3815">
15656 <constant name="Hangul_J_Tieut" value="3820">
15659 <constant name="Hangul_J_YeorinHieuh" value="3834">
15662 <constant name="Hangul_Jamo" value="65333">
15665 <constant name="Hangul_Jeonja" value="65336">
15668 <constant name="Hangul_Jieuj" value="3768">
15671 <constant name="Hangul_Khieuq" value="3771">
15674 <constant name="Hangul_Kiyeog" value="3745">
15677 <constant name="Hangul_KiyeogSios" value="3747">
15680 <constant name="Hangul_KkogjiDalrinIeung" value="3827">
15683 <constant name="Hangul_Mieum" value="3761">
15686 <constant name="Hangul_MultipleCandidate" value="65341">
15689 <constant name="Hangul_Nieun" value="3748">
15692 <constant name="Hangul_NieunHieuh" value="3750">
15695 <constant name="Hangul_NieunJieuj" value="3749">
15698 <constant name="Hangul_O" value="3783">
15701 <constant name="Hangul_OE" value="3786">
15704 <constant name="Hangul_PanSios" value="3826">
15707 <constant name="Hangul_Phieuf" value="3773">
15710 <constant name="Hangul_Pieub" value="3762">
15713 <constant name="Hangul_PieubSios" value="3764">
15716 <constant name="Hangul_PostHanja" value="65339">
15719 <constant name="Hangul_PreHanja" value="65338">
15722 <constant name="Hangul_PreviousCandidate" value="65342">
15725 <constant name="Hangul_Rieul" value="3753">
15728 <constant name="Hangul_RieulHieuh" value="3760">
15731 <constant name="Hangul_RieulKiyeog" value="3754">
15734 <constant name="Hangul_RieulMieum" value="3755">
15737 <constant name="Hangul_RieulPhieuf" value="3759">
15740 <constant name="Hangul_RieulPieub" value="3756">
15743 <constant name="Hangul_RieulSios" value="3757">
15746 <constant name="Hangul_RieulTieut" value="3758">
15749 <constant name="Hangul_RieulYeorinHieuh" value="3823">
15752 <constant name="Hangul_Romaja" value="65334">
15755 <constant name="Hangul_SingleCandidate" value="65340">
15758 <constant name="Hangul_Sios" value="3765">
15761 <constant name="Hangul_Special" value="65343">
15764 <constant name="Hangul_SsangDikeud" value="3752">
15767 <constant name="Hangul_SsangJieuj" value="3769">
15770 <constant name="Hangul_SsangKiyeog" value="3746">
15773 <constant name="Hangul_SsangPieub" value="3763">
15776 <constant name="Hangul_SsangSios" value="3766">
15779 <constant name="Hangul_Start" value="65330">
15782 <constant name="Hangul_SunkyeongeumMieum" value="3824">
15785 <constant name="Hangul_SunkyeongeumPhieuf" value="3828">
15788 <constant name="Hangul_SunkyeongeumPieub" value="3825">
15791 <constant name="Hangul_Tieut" value="3772">
15794 <constant name="Hangul_U" value="3788">
15797 <constant name="Hangul_WA" value="3784">
15800 <constant name="Hangul_WAE" value="3785">
15803 <constant name="Hangul_WE" value="3790">
15806 <constant name="Hangul_WEO" value="3789">
15809 <constant name="Hangul_WI" value="3791">
15812 <constant name="Hangul_YA" value="3777">
15815 <constant name="Hangul_YAE" value="3778">
15818 <constant name="Hangul_YE" value="3782">
15821 <constant name="Hangul_YEO" value="3781">
15824 <constant name="Hangul_YI" value="3794">
15827 <constant name="Hangul_YO" value="3787">
15830 <constant name="Hangul_YU" value="3792">
15833 <constant name="Hangul_YeorinHieuh" value="3829">
15836 <constant name="Hangul_switch" value="65406">
15839 <constant name="Hankaku" value="65321">
15842 <constant name="Hcircumflex" value="678">
15845 <constant name="Hebrew_switch" value="65406">
15848 <constant name="Help" value="65386">
15851 <constant name="Henkan" value="65315">
15854 <constant name="Henkan_Mode" value="65315">
15857 <constant name="Hiragana" value="65317">
15860 <constant name="Hiragana_Katakana" value="65319">
15863 <constant name="Home" value="65360">
15866 <constant name="Hstroke" value="673">
15869 <constant name="Hyper_L" value="65517">
15872 <constant name="Hyper_R" value="65518">
15875 <constant name="I" value="73">
15878 <constant name="ISO_Center_Object" value="65075">
15881 <constant name="ISO_Continuous_Underline" value="65072">
15884 <constant name="ISO_Discontinuous_Underline" value="65073">
15887 <constant name="ISO_Emphasize" value="65074">
15890 <constant name="ISO_Enter" value="65076">
15893 <constant name="ISO_Fast_Cursor_Down" value="65071">
15896 <constant name="ISO_Fast_Cursor_Left" value="65068">
15899 <constant name="ISO_Fast_Cursor_Right" value="65069">
15902 <constant name="ISO_Fast_Cursor_Up" value="65070">
15905 <constant name="ISO_First_Group" value="65036">
15908 <constant name="ISO_First_Group_Lock" value="65037">
15911 <constant name="ISO_Group_Latch" value="65030">
15914 <constant name="ISO_Group_Lock" value="65031">
15917 <constant name="ISO_Group_Shift" value="65406">
15920 <constant name="ISO_Last_Group" value="65038">
15923 <constant name="ISO_Last_Group_Lock" value="65039">
15926 <constant name="ISO_Left_Tab" value="65056">
15929 <constant name="ISO_Level2_Latch" value="65026">
15932 <constant name="ISO_Level3_Latch" value="65028">
15935 <constant name="ISO_Level3_Lock" value="65029">
15938 <constant name="ISO_Level3_Shift" value="65027">
15941 <constant name="ISO_Level5_Latch" value="65042">
15944 <constant name="ISO_Level5_Lock" value="65043">
15947 <constant name="ISO_Level5_Shift" value="65041">
15950 <constant name="ISO_Lock" value="65025">
15953 <constant name="ISO_Move_Line_Down" value="65058">
15956 <constant name="ISO_Move_Line_Up" value="65057">
15959 <constant name="ISO_Next_Group" value="65032">
15962 <constant name="ISO_Next_Group_Lock" value="65033">
15965 <constant name="ISO_Partial_Line_Down" value="65060">
15968 <constant name="ISO_Partial_Line_Up" value="65059">
15971 <constant name="ISO_Partial_Space_Left" value="65061">
15974 <constant name="ISO_Partial_Space_Right" value="65062">
15977 <constant name="ISO_Prev_Group" value="65034">
15980 <constant name="ISO_Prev_Group_Lock" value="65035">
15983 <constant name="ISO_Release_Both_Margins" value="65067">
15986 <constant name="ISO_Release_Margin_Left" value="65065">
15989 <constant name="ISO_Release_Margin_Right" value="65066">
15992 <constant name="ISO_Set_Margin_Left" value="65063">
15995 <constant name="ISO_Set_Margin_Right" value="65064">
15998 <constant name="Iabovedot" value="681">
16001 <constant name="Iacute" value="205">
16004 <constant name="Ibelowdot" value="16785098">
16007 <constant name="Ibreve" value="16777516">
16010 <constant name="Icircumflex" value="206">
16013 <constant name="Idiaeresis" value="207">
16016 <constant name="Igrave" value="204">
16019 <constant name="Ihook" value="16785096">
16022 <constant name="Imacron" value="975">
16025 <enumeration name="InitError"
16027 glib:type-name="ClutterInitError"
16028 glib:get-type="clutter_init_error_get_type"
16029 c:type="ClutterInitError"
16030 glib:error-quark="clutter_init_error_quark">
16031 <doc xml:whitespace="preserve">Error conditions returned by clutter_init() and clutter_init_with_args().</doc>
16032 <member name="success"
16034 c:identifier="CLUTTER_INIT_SUCCESS"
16035 glib:nick="success"/>
16036 <member name="error_unknown"
16038 c:identifier="CLUTTER_INIT_ERROR_UNKNOWN"
16039 glib:nick="error-unknown"/>
16040 <member name="error_threads"
16042 c:identifier="CLUTTER_INIT_ERROR_THREADS"
16043 glib:nick="error-threads"/>
16044 <member name="error_backend"
16046 c:identifier="CLUTTER_INIT_ERROR_BACKEND"
16047 glib:nick="error-backend"/>
16048 <member name="error_internal"
16050 c:identifier="CLUTTER_INIT_ERROR_INTERNAL"
16051 glib:nick="error-internal"/>
16053 <class name="InputDevice"
16054 c:type="ClutterInputDevice"
16055 parent="GObject.Object"
16056 glib:type-name="ClutterInputDevice"
16057 glib:get-type="clutter_input_device_get_type"
16058 glib:type-struct="InputDeviceClass">
16059 <doc xml:whitespace="preserve">Generic representation of an input device. The actual contents of this
16060 structure depend on the backend used.</doc>
16061 <method name="get_device_type"
16062 c:identifier="clutter_input_device_get_device_type"
16064 <doc xml:whitespace="preserve">Retrieves the type of @device</doc>
16065 <return-value transfer-ownership="full">
16066 <doc xml:whitespace="preserve">the type of the device</doc>
16067 <type name="InputDeviceType" c:type="ClutterInputDeviceType"/>
16070 <method name="get_device_id"
16071 c:identifier="clutter_input_device_get_device_id"
16073 <doc xml:whitespace="preserve">Retrieves the unique identifier of @device</doc>
16074 <return-value transfer-ownership="none">
16075 <doc xml:whitespace="preserve">the identifier of the device</doc>
16076 <type name="int" c:type="gint"/>
16079 <method name="get_device_coords"
16080 c:identifier="clutter_input_device_get_device_coords"
16082 <doc xml:whitespace="preserve">Retrieves the latest coordinates of the pointer of @device</doc>
16083 <return-value transfer-ownership="none">
16084 <type name="none" c:type="void"/>
16087 <parameter name="x"
16089 caller-allocates="0"
16090 transfer-ownership="full">
16091 <doc xml:whitespace="preserve">return location for the X coordinate</doc>
16092 <type name="int" c:type="gint*"/>
16094 <parameter name="y"
16096 caller-allocates="0"
16097 transfer-ownership="full">
16098 <doc xml:whitespace="preserve">return location for the Y coordinate</doc>
16099 <type name="int" c:type="gint*"/>
16103 <method name="get_pointer_actor"
16104 c:identifier="clutter_input_device_get_pointer_actor"
16106 <doc xml:whitespace="preserve">Retrieves the #ClutterActor underneath the pointer of @device</doc>
16107 <return-value transfer-ownership="none">
16108 <doc xml:whitespace="preserve">a pointer to the #ClutterActor or %NULL</doc>
16109 <type name="Actor" c:type="ClutterActor*"/>
16112 <method name="get_pointer_stage"
16113 c:identifier="clutter_input_device_get_pointer_stage"
16115 <doc xml:whitespace="preserve">Retrieves the #ClutterStage underneath the pointer of @device</doc>
16116 <return-value transfer-ownership="none">
16117 <doc xml:whitespace="preserve">a pointer to the #ClutterStage or %NULL</doc>
16118 <type name="Stage" c:type="ClutterStage*"/>
16121 <method name="get_device_name"
16122 c:identifier="clutter_input_device_get_device_name"
16124 <doc xml:whitespace="preserve">Retrieves the name of the @device
16125 is owned by the #ClutterInputDevice and should never be modified
16127 <return-value transfer-ownership="none">
16128 <doc xml:whitespace="preserve">the name of the device, or %NULL. The returned string</doc>
16129 <type name="utf8" c:type="gchar*"/>
16132 <method name="update_from_event"
16133 c:identifier="clutter_input_device_update_from_event"
16135 <doc xml:whitespace="preserve">Forcibly updates the state of the @device using a #ClutterEvent
16136 for integration with embedding toolkits, like clutter-gtk
16137 Embedding toolkits that disable the event collection inside Clutter
16138 need to use this function to update the state of input devices depending
16139 on a #ClutterEvent that they are going to submit to the event handling code
16140 in Clutter though clutter_do_event(). Since the input devices hold the state
16141 that is going to be used to fill in fields like the #ClutterButtonEvent
16142 click count, or to emit synthesized events like %CLUTTER_ENTER and
16143 %CLUTTER_LEAVE, it is necessary for embedding toolkits to also be
16144 responsible of updating the input device state.
16145 For instance, this might be the code to translate an embedding toolkit
16146 native motion notification into a Clutter #ClutterMotionEvent and ask
16147 Clutter to process it:
16149 ClutterEvent c_event;
16150 translate_native_event_to_clutter (native_event, &amp;c_event);
16151 clutter_do_event (&amp;c_event);
16153 Before letting clutter_do_event() process the event, it is necessary to call
16154 clutter_input_device_update_from_event():
16156 ClutterEvent c_event;
16157 ClutterDeviceManager *manager;
16158 ClutterInputDevice *device;
16159 translate_native_event_to_clutter (native_event, &amp;c_event);
16160 /&ast; get the device manager &ast;/
16161 manager = clutter_device_manager_get_default ();
16162 /&ast; use the default Core Pointer that Clutter
16163 &ast; backends register by default
16165 device = clutter_device_manager_get_core_device (manager, %CLUTTER_POINTER_DEVICE);
16166 /&ast; update the state of the input device &ast;/
16167 clutter_input_device_update_from_event (device, &amp;c_event, FALSE);
16168 clutter_do_event (&amp;c_event);
16170 The @update_stage boolean argument should be used when the input device
16171 enters and leaves a #ClutterStage; it will use the #ClutterStage field
16172 of the passed @event to update the stage associated to the input device.</doc>
16173 <return-value transfer-ownership="none">
16174 <type name="none" c:type="void"/>
16177 <parameter name="event" transfer-ownership="none">
16178 <doc xml:whitespace="preserve">a #ClutterEvent</doc>
16179 <type name="Event" c:type="ClutterEvent*"/>
16181 <parameter name="update_stage" transfer-ownership="none">
16182 <doc xml:whitespace="preserve">whether to update the #ClutterStage of the @device using the stage of the event</doc>
16183 <type name="boolean" c:type="gboolean"/>
16187 <property name="device-type"
16191 transfer-ownership="none">
16192 <doc xml:whitespace="preserve">The type of the device</doc>
16193 <type name="InputDeviceType" c:type="ClutterInputDeviceType"/>
16195 <property name="id"
16199 transfer-ownership="none">
16200 <doc xml:whitespace="preserve">The unique identifier of the device</doc>
16201 <type name="int" c:type="gint"/>
16203 <property name="name"
16207 transfer-ownership="none">
16208 <doc xml:whitespace="preserve">The name of the device</doc>
16209 <type name="utf8" c:type="gchararray"/>
16212 <record name="InputDeviceClass"
16213 c:type="ClutterInputDeviceClass"
16214 glib:is-gtype-struct-for="InputDevice"
16216 <doc xml:whitespace="preserve">The #ClutterInputDeviceClass structure contains only private
16217 data and should not be accessed directly</doc>
16218 <field name="parent_class">
16219 <type name="GObject.ObjectClass" c:type="GObjectClass"/>
16222 <enumeration name="InputDeviceType"
16224 glib:type-name="ClutterInputDeviceType"
16225 glib:get-type="clutter_input_device_type_get_type"
16226 c:type="ClutterInputDeviceType">
16227 <doc xml:whitespace="preserve">The types of input devices available.
16228 The #ClutterInputDeviceType enumeration can be extended at later
16229 date; not every platform supports every input device type.</doc>
16230 <member name="pointer_device"
16232 c:identifier="CLUTTER_POINTER_DEVICE"
16233 glib:nick="pointer-device"/>
16234 <member name="keyboard_device"
16236 c:identifier="CLUTTER_KEYBOARD_DEVICE"
16237 glib:nick="keyboard-device"/>
16238 <member name="extension_device"
16240 c:identifier="CLUTTER_EXTENSION_DEVICE"
16241 glib:nick="extension-device"/>
16242 <member name="n_device_types"
16244 c:identifier="CLUTTER_N_DEVICE_TYPES"
16245 glib:nick="n-device-types"/>
16247 <constant name="Insert" value="65379">
16250 <enumeration name="Interpolation"
16252 glib:type-name="ClutterInterpolation"
16253 glib:get-type="clutter_interpolation_get_type"
16254 c:type="ClutterInterpolation">
16255 <doc xml:whitespace="preserve">The mode of interpolation between key frames</doc>
16256 <member name="linear"
16258 c:identifier="CLUTTER_INTERPOLATION_LINEAR"
16259 glib:nick="linear"/>
16260 <member name="cubic"
16262 c:identifier="CLUTTER_INTERPOLATION_CUBIC"
16263 glib:nick="cubic"/>
16265 <class name="Interval"
16266 c:type="ClutterInterval"
16268 parent="GObject.InitiallyUnowned"
16269 glib:type-name="ClutterInterval"
16270 glib:get-type="clutter_interval_get_type"
16271 glib:type-struct="IntervalClass">
16272 <doc xml:whitespace="preserve">The #ClutterInterval structure contains only private data and should
16273 be accessed using the provided functions.</doc>
16274 <constructor name="new"
16275 c:identifier="clutter_interval_new"
16277 introspectable="0">
16278 <doc xml:whitespace="preserve">Creates a new #ClutterInterval holding values of type @gtype.
16279 This function avoids using a #GValue for the initial and final values
16282 interval = clutter_interval_new (G_TYPE_FLOAT, 0.0, 1.0);
16283 interval = clutter_interval_new (G_TYPE_BOOLEAN, FALSE, TRUE);
16284 interval = clutter_interval_new (G_TYPE_INT, 0, 360);
16286 <return-value transfer-ownership="full">
16287 <doc xml:whitespace="preserve">the newly created #ClutterInterval</doc>
16288 <type name="Interval" c:type="ClutterInterval*"/>
16291 <parameter name="gtype" transfer-ownership="none">
16292 <doc xml:whitespace="preserve">the type of the values in the interval</doc>
16293 <type name="GType" c:type="GType"/>
16295 <parameter transfer-ownership="none">
16301 <constructor name="new_with_values"
16302 c:identifier="clutter_interval_new_with_values"
16304 <doc xml:whitespace="preserve">Creates a new #ClutterInterval of type @gtype, between @initial
16306 This function is useful for language bindings.</doc>
16307 <return-value transfer-ownership="full">
16308 <doc xml:whitespace="preserve">the newly created #ClutterInterval</doc>
16309 <type name="Interval" c:type="ClutterInterval*"/>
16312 <parameter name="gtype" transfer-ownership="none">
16313 <doc xml:whitespace="preserve">the type of the values in the interval</doc>
16314 <type name="GType" c:type="GType"/>
16316 <parameter name="initial" transfer-ownership="none">
16317 <doc xml:whitespace="preserve">a #GValue holding the initial value of the interval</doc>
16318 <type name="GObject.Value" c:type="GValue*"/>
16320 <parameter name="final" transfer-ownership="none">
16321 <doc xml:whitespace="preserve">a #GValue holding the final value of the interval</doc>
16322 <type name="GObject.Value" c:type="GValue*"/>
16326 <function name="register_progress_func"
16327 c:identifier="clutter_interval_register_progress_func"
16329 <doc xml:whitespace="preserve">Sets the progress function for a given @value_type, like:
16331 clutter_interval_register_progress_func (MY_TYPE_FOO,
16334 Whenever a #ClutterInterval instance using the default
16335 #ClutterInterval::compute_value implementation is set as an
16336 interval between two #GValue of type @value_type, it will call
16340 my_int_progress (const GValue *a,
16345 gint ia = g_value_get_int (a);
16346 gint ib = g_value_get_int (b);
16347 gint res = factor * (ib - ia) + ia;
16348 g_value_set_int (retval, res);
16351 clutter_interval_register_progress_func (G_TYPE_INT, my_int_progress);
16353 To unset a previously set progress function of a #GType, pass %NULL
16355 <return-value transfer-ownership="none">
16356 <type name="none" c:type="void"/>
16359 <parameter name="value_type" transfer-ownership="none">
16360 <doc xml:whitespace="preserve">a #GType</doc>
16361 <type name="GType" c:type="GType"/>
16363 <parameter name="func" transfer-ownership="none" scope="call">
16364 <doc xml:whitespace="preserve">a #ClutterProgressFunc, or %NULL to unset a previously set progress function</doc>
16365 <type name="ProgressFunc" c:type="ClutterProgressFunc"/>
16369 <virtual-method name="validate" invoker="validate" version="1.0">
16370 <doc xml:whitespace="preserve">Validates the initial and final values of @interval against
16371 a #GParamSpec.</doc>
16372 <return-value transfer-ownership="none">
16373 <doc xml:whitespace="preserve">%TRUE if the #ClutterInterval is valid, %FALSE otherwise</doc>
16374 <type name="boolean" c:type="gboolean"/>
16377 <parameter name="pspec" transfer-ownership="none">
16378 <doc xml:whitespace="preserve">a #GParamSpec</doc>
16379 <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
16383 <virtual-method name="compute_value"
16384 invoker="compute_value"
16386 <doc xml:whitespace="preserve">Computes the value between the @interval boundaries given the
16387 progress @factor and copies it into @value.</doc>
16388 <return-value transfer-ownership="none">
16389 <doc xml:whitespace="preserve">%TRUE if the operation was successful</doc>
16390 <type name="boolean" c:type="gboolean"/>
16393 <parameter name="factor" transfer-ownership="none">
16394 <doc xml:whitespace="preserve">the progress factor, between 0 and 1</doc>
16395 <type name="double" c:type="gdouble"/>
16397 <parameter name="value" transfer-ownership="none">
16398 <doc xml:whitespace="preserve">return location for an initialized #GValue</doc>
16399 <type name="GObject.Value" c:type="GValue*"/>
16403 <method name="clone" c:identifier="clutter_interval_clone" version="1.0">
16404 <doc xml:whitespace="preserve">Creates a copy of @interval.</doc>
16405 <return-value transfer-ownership="full">
16406 <doc xml:whitespace="preserve">the newly created #ClutterInterval</doc>
16407 <type name="Interval" c:type="ClutterInterval*"/>
16410 <method name="get_value_type"
16411 c:identifier="clutter_interval_get_value_type"
16413 <doc xml:whitespace="preserve">Retrieves the #GType of the values inside @interval.</doc>
16414 <return-value transfer-ownership="none">
16415 <doc xml:whitespace="preserve">the type of the value, or G_TYPE_INVALID</doc>
16416 <type name="GType" c:type="GType"/>
16419 <method name="set_initial_value"
16420 c:identifier="clutter_interval_set_initial_value"
16422 <doc xml:whitespace="preserve">Sets the initial value of @interval to @value. The value is copied
16423 inside the #ClutterInterval.</doc>
16424 <return-value transfer-ownership="none">
16425 <type name="none" c:type="void"/>
16428 <parameter name="value" transfer-ownership="none">
16429 <doc xml:whitespace="preserve">a #GValue</doc>
16430 <type name="GObject.Value" c:type="GValue*"/>
16434 <method name="get_initial_value"
16435 c:identifier="clutter_interval_get_initial_value"
16437 <doc xml:whitespace="preserve">Retrieves the initial value of @interval and copies
16439 The passed #GValue must be initialized to the value held by
16440 the #ClutterInterval.</doc>
16441 <return-value transfer-ownership="none">
16442 <type name="none" c:type="void"/>
16445 <parameter name="value" transfer-ownership="none">
16446 <doc xml:whitespace="preserve">a #GValue</doc>
16447 <type name="GObject.Value" c:type="GValue*"/>
16451 <method name="peek_initial_value"
16452 c:identifier="clutter_interval_peek_initial_value"
16454 <doc xml:whitespace="preserve">Gets the pointer to the initial value of @interval
16455 The value is owned by the #ClutterInterval and it should not be
16456 modified or freed</doc>
16457 <return-value transfer-ownership="none">
16458 <doc xml:whitespace="preserve">the initial value of the interval.</doc>
16459 <type name="GObject.Value" c:type="GValue*"/>
16462 <method name="set_final_value"
16463 c:identifier="clutter_interval_set_final_value"
16465 <doc xml:whitespace="preserve">Sets the final value of @interval to @value. The value is
16466 copied inside the #ClutterInterval.</doc>
16467 <return-value transfer-ownership="none">
16468 <type name="none" c:type="void"/>
16471 <parameter name="value" transfer-ownership="none">
16472 <doc xml:whitespace="preserve">a #GValue</doc>
16473 <type name="GObject.Value" c:type="GValue*"/>
16477 <method name="get_final_value"
16478 c:identifier="clutter_interval_get_final_value"
16480 <doc xml:whitespace="preserve">Retrieves the final value of @interval and copies
16482 The passed #GValue must be initialized to the value held by
16483 the #ClutterInterval.</doc>
16484 <return-value transfer-ownership="none">
16485 <type name="none" c:type="void"/>
16488 <parameter name="value" transfer-ownership="none">
16489 <doc xml:whitespace="preserve">a #GValue</doc>
16490 <type name="GObject.Value" c:type="GValue*"/>
16494 <method name="peek_final_value"
16495 c:identifier="clutter_interval_peek_final_value"
16497 <doc xml:whitespace="preserve">Gets the pointer to the final value of @interval
16498 The value is owned by the #ClutterInterval and it should not be
16499 modified or freed</doc>
16500 <return-value transfer-ownership="none">
16501 <doc xml:whitespace="preserve">the final value of the interval.</doc>
16502 <type name="GObject.Value" c:type="GValue*"/>
16505 <method name="set_interval"
16506 c:identifier="clutter_interval_set_interval"
16508 introspectable="0">
16509 <doc xml:whitespace="preserve">Variable arguments wrapper for clutter_interval_set_initial_value()
16510 and clutter_interval_set_final_value() that avoids using the
16513 clutter_interval_set_interval (interval, 0, 50);
16514 clutter_interval_set_interval (interval, 1.0, 0.0);
16515 clutter_interval_set_interval (interval, FALSE, TRUE);
16517 This function is meant for the convenience of the C API; bindings
16518 should reimplement this function using the #GValue-based API.</doc>
16519 <return-value transfer-ownership="none">
16520 <type name="none" c:type="void"/>
16523 <parameter transfer-ownership="none">
16529 <method name="get_interval"
16530 c:identifier="clutter_interval_get_interval"
16532 introspectable="0">
16533 <doc xml:whitespace="preserve">Variable arguments wrapper for clutter_interval_get_initial_value()
16534 and clutter_interval_get_final_value() that avoids using the
16538 clutter_interval_get_interval (interval, &a, &b);
16540 This function is meant for the convenience of the C API; bindings
16541 should reimplement this function using the #GValue-based API.</doc>
16542 <return-value transfer-ownership="none">
16543 <type name="none" c:type="void"/>
16546 <parameter transfer-ownership="none">
16552 <method name="validate"
16553 c:identifier="clutter_interval_validate"
16555 <doc xml:whitespace="preserve">Validates the initial and final values of @interval against
16556 a #GParamSpec.</doc>
16557 <return-value transfer-ownership="none">
16558 <doc xml:whitespace="preserve">%TRUE if the #ClutterInterval is valid, %FALSE otherwise</doc>
16559 <type name="boolean" c:type="gboolean"/>
16562 <parameter name="pspec" transfer-ownership="none">
16563 <doc xml:whitespace="preserve">a #GParamSpec</doc>
16564 <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
16568 <method name="compute_value"
16569 c:identifier="clutter_interval_compute_value"
16571 <doc xml:whitespace="preserve">Computes the value between the @interval boundaries given the
16572 progress @factor and copies it into @value.</doc>
16573 <return-value transfer-ownership="none">
16574 <doc xml:whitespace="preserve">%TRUE if the operation was successful</doc>
16575 <type name="boolean" c:type="gboolean"/>
16578 <parameter name="factor" transfer-ownership="none">
16579 <doc xml:whitespace="preserve">the progress factor, between 0 and 1</doc>
16580 <type name="double" c:type="gdouble"/>
16582 <parameter name="value" transfer-ownership="none">
16583 <doc xml:whitespace="preserve">return location for an initialized #GValue</doc>
16584 <type name="GObject.Value" c:type="GValue*"/>
16588 <method name="compute"
16589 c:identifier="clutter_interval_compute"
16591 <doc xml:whitespace="preserve">Computes the value between the @interval boundaries given the
16593 Unlike clutter_interval_compute_value(), this function will
16594 return a const pointer to the computed value
16595 You should use this function if you immediately pass the computed
16596 value to another function that makes a copy of it, like
16597 g_object_set_property()
16598 or %NULL if the computation was not successfull</doc>
16599 <return-value transfer-ownership="none">
16600 <doc xml:whitespace="preserve">a pointer to the computed value,</doc>
16601 <type name="GObject.Value" c:type="GValue*"/>
16604 <parameter name="factor" transfer-ownership="none">
16605 <doc xml:whitespace="preserve">the progress factor, between 0 and 1</doc>
16606 <type name="double" c:type="gdouble"/>
16610 <property name="value-type"
16614 transfer-ownership="none">
16615 <doc xml:whitespace="preserve">The type of the values in the interval.</doc>
16616 <type name="GType" c:type="GType"/>
16618 <field name="parent_instance">
16619 <type name="GObject.InitiallyUnowned" c:type="GInitiallyUnowned"/>
16621 <field name="priv">
16622 <type name="IntervalPrivate" c:type="ClutterIntervalPrivate*"/>
16625 <record name="IntervalClass"
16626 c:type="ClutterIntervalClass"
16627 glib:is-gtype-struct-for="Interval"
16629 <doc xml:whitespace="preserve">The #ClutterIntervalClass contains only private data.</doc>
16630 <field name="parent_class">
16631 <type name="GObject.InitiallyUnownedClass"
16632 c:type="GInitiallyUnownedClass"/>
16634 <field name="validate">
16635 <callback name="validate" c:type="validate">
16636 <return-value transfer-ownership="none">
16637 <doc xml:whitespace="preserve">%TRUE if the #ClutterInterval is valid, %FALSE otherwise</doc>
16638 <type name="boolean" c:type="gboolean"/>
16641 <parameter name="interval" transfer-ownership="none">
16642 <type name="Interval" c:type="ClutterInterval*"/>
16644 <parameter name="pspec" transfer-ownership="none">
16645 <doc xml:whitespace="preserve">a #GParamSpec</doc>
16646 <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
16651 <field name="compute_value">
16652 <callback name="compute_value" c:type="compute_value">
16653 <return-value transfer-ownership="none">
16654 <doc xml:whitespace="preserve">%TRUE if the operation was successful</doc>
16655 <type name="boolean" c:type="gboolean"/>
16658 <parameter name="interval" transfer-ownership="none">
16659 <type name="Interval" c:type="ClutterInterval*"/>
16661 <parameter name="factor" transfer-ownership="none">
16662 <doc xml:whitespace="preserve">the progress factor, between 0 and 1</doc>
16663 <type name="double" c:type="gdouble"/>
16665 <parameter name="value" transfer-ownership="none">
16666 <doc xml:whitespace="preserve">return location for an initialized #GValue</doc>
16667 <type name="GObject.Value" c:type="GValue*"/>
16672 <field name="clutter_reserved1">
16673 <callback name="clutter_reserved1" c:type="_clutter_reserved1">
16674 <return-value transfer-ownership="none">
16675 <type name="none" c:type="void"/>
16679 <field name="clutter_reserved2">
16680 <callback name="clutter_reserved2" c:type="_clutter_reserved2">
16681 <return-value transfer-ownership="none">
16682 <type name="none" c:type="void"/>
16686 <field name="clutter_reserved3">
16687 <callback name="clutter_reserved3" c:type="_clutter_reserved3">
16688 <return-value transfer-ownership="none">
16689 <type name="none" c:type="void"/>
16693 <field name="clutter_reserved4">
16694 <callback name="clutter_reserved4" c:type="_clutter_reserved4">
16695 <return-value transfer-ownership="none">
16696 <type name="none" c:type="void"/>
16700 <field name="clutter_reserved5">
16701 <callback name="clutter_reserved5" c:type="_clutter_reserved5">
16702 <return-value transfer-ownership="none">
16703 <type name="none" c:type="void"/>
16707 <field name="clutter_reserved6">
16708 <callback name="clutter_reserved6" c:type="_clutter_reserved6">
16709 <return-value transfer-ownership="none">
16710 <type name="none" c:type="void"/>
16715 <record name="IntervalPrivate" c:type="ClutterIntervalPrivate">
16717 <constant name="Iogonek" value="967">
16720 <constant name="Itilde" value="933">
16723 <constant name="J" value="74">
16726 <constant name="Jcircumflex" value="684">
16729 <constant name="K" value="75">
16732 <constant name="KP_0" value="65456">
16735 <constant name="KP_1" value="65457">
16738 <constant name="KP_2" value="65458">
16741 <constant name="KP_3" value="65459">
16744 <constant name="KP_4" value="65460">
16747 <constant name="KP_5" value="65461">
16750 <constant name="KP_6" value="65462">
16753 <constant name="KP_7" value="65463">
16756 <constant name="KP_8" value="65464">
16759 <constant name="KP_9" value="65465">
16762 <constant name="KP_Add" value="65451">
16765 <constant name="KP_Begin" value="65437">
16768 <constant name="KP_Decimal" value="65454">
16771 <constant name="KP_Delete" value="65439">
16774 <constant name="KP_Divide" value="65455">
16777 <constant name="KP_Down" value="65433">
16780 <constant name="KP_End" value="65436">
16783 <constant name="KP_Enter" value="65421">
16786 <constant name="KP_Equal" value="65469">
16789 <constant name="KP_F1" value="65425">
16792 <constant name="KP_F2" value="65426">
16795 <constant name="KP_F3" value="65427">
16798 <constant name="KP_F4" value="65428">
16801 <constant name="KP_Home" value="65429">
16804 <constant name="KP_Insert" value="65438">
16807 <constant name="KP_Left" value="65430">
16810 <constant name="KP_Multiply" value="65450">
16813 <constant name="KP_Next" value="65435">
16816 <constant name="KP_Page_Down" value="65435">
16819 <constant name="KP_Page_Up" value="65434">
16822 <constant name="KP_Prior" value="65434">
16825 <constant name="KP_Right" value="65432">
16828 <constant name="KP_Separator" value="65452">
16831 <constant name="KP_Space" value="65408">
16834 <constant name="KP_Subtract" value="65453">
16837 <constant name="KP_Tab" value="65417">
16840 <constant name="KP_Up" value="65431">
16843 <constant name="Kana_Lock" value="65325">
16846 <constant name="Kana_Shift" value="65326">
16849 <constant name="Kanji" value="65313">
16852 <constant name="Kanji_Bangou" value="65335">
16855 <constant name="Katakana" value="65318">
16858 <constant name="Kcedilla" value="979">
16861 <record name="KeyEvent" c:type="ClutterKeyEvent" version="0.2">
16862 <doc xml:whitespace="preserve">Key event</doc>
16863 <field name="type" writable="1">
16864 <type name="EventType" c:type="ClutterEventType"/>
16866 <field name="time" writable="1">
16867 <type name="uint32" c:type="guint32"/>
16869 <field name="flags" writable="1">
16870 <type name="EventFlags" c:type="ClutterEventFlags"/>
16872 <field name="stage" writable="1">
16873 <type name="Stage" c:type="ClutterStage*"/>
16875 <field name="source" writable="1">
16876 <type name="Actor" c:type="ClutterActor*"/>
16878 <field name="modifier_state" writable="1">
16879 <type name="ModifierType" c:type="ClutterModifierType"/>
16881 <field name="keyval" writable="1">
16882 <type name="uint" c:type="guint"/>
16884 <field name="hardware_keycode" writable="1">
16885 <type name="uint16" c:type="guint16"/>
16887 <field name="unicode_value" writable="1">
16888 <type name="GLib.unichar" c:type="gunichar"/>
16890 <field name="device" writable="1">
16891 <type name="InputDevice" c:type="ClutterInputDevice*"/>
16894 <record name="Knot"
16895 c:type="ClutterKnot"
16897 glib:type-name="ClutterKnot"
16898 glib:get-type="clutter_knot_get_type">
16899 <doc xml:whitespace="preserve">Point in a path behaviour.</doc>
16900 <field name="x" writable="1">
16901 <type name="int" c:type="gint"/>
16903 <field name="y" writable="1">
16904 <type name="int" c:type="gint"/>
16906 <method name="copy" c:identifier="clutter_knot_copy" version="0.2">
16907 <doc xml:whitespace="preserve">Makes an allocated copy of a knot.</doc>
16908 <return-value transfer-ownership="full">
16909 <doc xml:whitespace="preserve">the copied knot.</doc>
16910 <type name="Knot" c:type="ClutterKnot*"/>
16913 <method name="free" c:identifier="clutter_knot_free" version="0.2">
16914 <doc xml:whitespace="preserve">Frees the memory of an allocated knot.</doc>
16915 <return-value transfer-ownership="none">
16916 <type name="none" c:type="void"/>
16919 <method name="equal" c:identifier="clutter_knot_equal" version="0.2">
16920 <doc xml:whitespace="preserve">Compares to knot and checks if the point to the same location.</doc>
16921 <return-value transfer-ownership="none">
16922 <doc xml:whitespace="preserve">%TRUE if the knots point to the same location.</doc>
16923 <type name="boolean" c:type="gboolean"/>
16926 <parameter name="knot_b" transfer-ownership="none">
16927 <doc xml:whitespace="preserve">Second knot</doc>
16928 <type name="Knot" c:type="ClutterKnot*"/>
16933 <constant name="Korean_Won" value="3839">
16936 <constant name="L" value="76">
16939 <constant name="L1" value="65480">
16942 <constant name="L10" value="65489">
16945 <constant name="L2" value="65481">
16948 <constant name="L3" value="65482">
16951 <constant name="L4" value="65483">
16954 <constant name="L5" value="65484">
16957 <constant name="L6" value="65485">
16960 <constant name="L7" value="65486">
16963 <constant name="L8" value="65487">
16966 <constant name="L9" value="65488">
16969 <constant name="Lacute" value="453">
16972 <constant name="Last_Virtual_Screen" value="65236">
16975 <class name="LayoutManager"
16976 c:type="ClutterLayoutManager"
16978 parent="GObject.InitiallyUnowned"
16980 glib:type-name="ClutterLayoutManager"
16981 glib:get-type="clutter_layout_manager_get_type"
16982 glib:type-struct="LayoutManagerClass">
16983 <doc xml:whitespace="preserve">The #ClutterLayoutManager structure contains only private data
16984 and should be accessed using the provided API</doc>
16985 <virtual-method name="get_preferred_width">
16986 <return-value transfer-ownership="none">
16987 <type name="none" c:type="void"/>
16990 <parameter name="container" transfer-ownership="none">
16991 <type name="Container" c:type="ClutterContainer*"/>
16993 <parameter name="for_height" transfer-ownership="none">
16994 <type name="float" c:type="gfloat"/>
16996 <parameter name="minimum_width_p"
16998 caller-allocates="0"
16999 transfer-ownership="full">
17000 <type name="float" c:type="gfloat*"/>
17002 <parameter name="natural_width_p"
17004 caller-allocates="0"
17005 transfer-ownership="full">
17006 <type name="float" c:type="gfloat*"/>
17010 <virtual-method name="get_preferred_height">
17011 <return-value transfer-ownership="none">
17012 <type name="none" c:type="void"/>
17015 <parameter name="container" transfer-ownership="none">
17016 <type name="Container" c:type="ClutterContainer*"/>
17018 <parameter name="for_width" transfer-ownership="none">
17019 <type name="float" c:type="gfloat"/>
17021 <parameter name="minimum_height_p"
17023 caller-allocates="0"
17024 transfer-ownership="full">
17025 <type name="float" c:type="gfloat*"/>
17027 <parameter name="natural_height_p"
17029 caller-allocates="0"
17030 transfer-ownership="full">
17031 <type name="float" c:type="gfloat*"/>
17035 <virtual-method name="allocate" invoker="allocate" version="1.2">
17036 <doc xml:whitespace="preserve">Allocates the children of @container given an area
17037 See also clutter_actor_allocate()</doc>
17038 <return-value transfer-ownership="none">
17039 <type name="none" c:type="void"/>
17042 <parameter name="container" transfer-ownership="none">
17043 <doc xml:whitespace="preserve">the #ClutterContainer using @manager</doc>
17044 <type name="Container" c:type="ClutterContainer*"/>
17046 <parameter name="allocation" transfer-ownership="none">
17047 <doc xml:whitespace="preserve">the #ClutterActorBox containing the allocated area of @container</doc>
17048 <type name="ActorBox" c:type="ClutterActorBox*"/>
17050 <parameter name="flags" transfer-ownership="none">
17051 <doc xml:whitespace="preserve">the allocation flags</doc>
17052 <type name="AllocationFlags" c:type="ClutterAllocationFlags"/>
17056 <virtual-method name="set_container"
17057 invoker="set_container"
17059 <doc xml:whitespace="preserve">If the #ClutterLayoutManager sub-class allows it, allow
17060 adding a weak reference of the @container using @manager
17061 from within the layout manager
17062 The layout manager should not increase the reference
17063 count of the @container</doc>
17064 <return-value transfer-ownership="none">
17065 <type name="none" c:type="void"/>
17068 <parameter name="container" transfer-ownership="none" allow-none="1">
17069 <doc xml:whitespace="preserve">a #ClutterContainer using @manager</doc>
17070 <type name="Container" c:type="ClutterContainer*"/>
17074 <virtual-method name="get_child_meta_type">
17075 <return-value transfer-ownership="none">
17076 <type name="GType" c:type="GType"/>
17079 <virtual-method name="create_child_meta">
17080 <return-value transfer-ownership="full">
17081 <type name="LayoutMeta" c:type="ClutterLayoutMeta*"/>
17084 <parameter name="container" transfer-ownership="none">
17085 <type name="Container" c:type="ClutterContainer*"/>
17087 <parameter name="actor" transfer-ownership="none">
17088 <type name="Actor" c:type="ClutterActor*"/>
17092 <virtual-method name="begin_animation"
17093 invoker="begin_animation"
17095 <doc xml:whitespace="preserve">Begins an animation of @duration milliseconds, using the provided
17097 The easing mode can be specified either as a #ClutterAnimationMode
17098 or as a logical id returned by clutter_alpha_register_func()
17099 The result of this function depends on the @manager implementation
17100 layout manager; the returned instance is owned by the layout
17101 manager and should not be unreferenced</doc>
17102 <return-value transfer-ownership="none">
17103 <doc xml:whitespace="preserve">The #ClutterAlpha created by the</doc>
17104 <type name="Alpha" c:type="ClutterAlpha*"/>
17107 <parameter name="duration" transfer-ownership="none">
17108 <doc xml:whitespace="preserve">the duration of the animation, in milliseconds</doc>
17109 <type name="uint" c:type="guint"/>
17111 <parameter name="mode" transfer-ownership="none">
17112 <doc xml:whitespace="preserve">the easing mode of the animation</doc>
17113 <type name="ulong" c:type="gulong"/>
17117 <virtual-method name="get_animation_progress"
17118 invoker="get_animation_progress"
17120 <doc xml:whitespace="preserve">Retrieves the progress of the animation, if one has been started by
17121 clutter_layout_manager_begin_animation()
17122 The returned value has the same semantics of the #ClutterAlpha:alpha
17124 <return-value transfer-ownership="none">
17125 <doc xml:whitespace="preserve">the progress of the animation</doc>
17126 <type name="double" c:type="gdouble"/>
17129 <virtual-method name="end_animation"
17130 invoker="end_animation"
17132 <doc xml:whitespace="preserve">Ends an animation started by clutter_layout_manager_begin_animation()
17133 The result of this call depends on the @manager implementation</doc>
17134 <return-value transfer-ownership="none">
17135 <type name="none" c:type="void"/>
17138 <method name="get_preferred_width"
17139 c:identifier="clutter_layout_manager_get_preferred_width"
17141 <doc xml:whitespace="preserve">Computes the minimum and natural widths of the @container according
17143 See also clutter_actor_get_preferred_width()</doc>
17144 <return-value transfer-ownership="none">
17145 <type name="none" c:type="void"/>
17148 <parameter name="container" transfer-ownership="none">
17149 <doc xml:whitespace="preserve">the #ClutterContainer using @manager</doc>
17150 <type name="Container" c:type="ClutterContainer*"/>
17152 <parameter name="for_height" transfer-ownership="none">
17153 <doc xml:whitespace="preserve">the height for which the width should be computed, or -1</doc>
17154 <type name="float" c:type="gfloat"/>
17156 <parameter name="min_width_p"
17158 caller-allocates="0"
17159 transfer-ownership="full"
17161 <doc xml:whitespace="preserve">return location for the minimum width of the layout, or %NULL</doc>
17162 <type name="float" c:type="gfloat*"/>
17164 <parameter name="nat_width_p"
17166 caller-allocates="0"
17167 transfer-ownership="full"
17169 <doc xml:whitespace="preserve">return location for the natural width of the layout, or %NULL</doc>
17170 <type name="float" c:type="gfloat*"/>
17174 <method name="get_preferred_height"
17175 c:identifier="clutter_layout_manager_get_preferred_height"
17177 <doc xml:whitespace="preserve">Computes the minimum and natural heights of the @container according
17179 See also clutter_actor_get_preferred_height()</doc>
17180 <return-value transfer-ownership="none">
17181 <type name="none" c:type="void"/>
17184 <parameter name="container" transfer-ownership="none">
17185 <doc xml:whitespace="preserve">the #ClutterContainer using @manager</doc>
17186 <type name="Container" c:type="ClutterContainer*"/>
17188 <parameter name="for_width" transfer-ownership="none">
17189 <doc xml:whitespace="preserve">the width for which the height should be computed, or -1</doc>
17190 <type name="float" c:type="gfloat"/>
17192 <parameter name="min_height_p"
17194 caller-allocates="0"
17195 transfer-ownership="full"
17197 <doc xml:whitespace="preserve">return location for the minimum height of the layout, or %NULL</doc>
17198 <type name="float" c:type="gfloat*"/>
17200 <parameter name="nat_height_p"
17202 caller-allocates="0"
17203 transfer-ownership="full"
17205 <doc xml:whitespace="preserve">return location for the natural height of the layout, or %NULL</doc>
17206 <type name="float" c:type="gfloat*"/>
17210 <method name="allocate"
17211 c:identifier="clutter_layout_manager_allocate"
17213 <doc xml:whitespace="preserve">Allocates the children of @container given an area
17214 See also clutter_actor_allocate()</doc>
17215 <return-value transfer-ownership="none">
17216 <type name="none" c:type="void"/>
17219 <parameter name="container" transfer-ownership="none">
17220 <doc xml:whitespace="preserve">the #ClutterContainer using @manager</doc>
17221 <type name="Container" c:type="ClutterContainer*"/>
17223 <parameter name="allocation" transfer-ownership="none">
17224 <doc xml:whitespace="preserve">the #ClutterActorBox containing the allocated area of @container</doc>
17225 <type name="ActorBox" c:type="ClutterActorBox*"/>
17227 <parameter name="flags" transfer-ownership="none">
17228 <doc xml:whitespace="preserve">the allocation flags</doc>
17229 <type name="AllocationFlags" c:type="ClutterAllocationFlags"/>
17233 <method name="set_container"
17234 c:identifier="clutter_layout_manager_set_container"
17236 <doc xml:whitespace="preserve">If the #ClutterLayoutManager sub-class allows it, allow
17237 adding a weak reference of the @container using @manager
17238 from within the layout manager
17239 The layout manager should not increase the reference
17240 count of the @container</doc>
17241 <return-value transfer-ownership="none">
17242 <type name="none" c:type="void"/>
17245 <parameter name="container" transfer-ownership="none" allow-none="1">
17246 <doc xml:whitespace="preserve">a #ClutterContainer using @manager</doc>
17247 <type name="Container" c:type="ClutterContainer*"/>
17251 <method name="layout_changed"
17252 c:identifier="clutter_layout_manager_layout_changed"
17254 <doc xml:whitespace="preserve">Emits the #ClutterLayoutManager::layout-changed signal on @manager
17255 This function should only be called by implementations of the
17256 #ClutterLayoutManager class</doc>
17257 <return-value transfer-ownership="none">
17258 <type name="none" c:type="void"/>
17261 <method name="find_child_property"
17262 c:identifier="clutter_layout_manager_find_child_property"
17264 <doc xml:whitespace="preserve">Retrieves the #GParamSpec for the layout property @name inside
17265 the #ClutterLayoutMeta sub-class used by @manager
17266 or %NULL if no property with that name exists. The returned
17267 #GParamSpec is owned by the layout manager and should not be
17268 modified or freed</doc>
17269 <return-value transfer-ownership="none">
17270 <doc xml:whitespace="preserve">a #GParamSpec describing the property,</doc>
17271 <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
17274 <parameter name="name" transfer-ownership="none">
17275 <doc xml:whitespace="preserve">the name of the property</doc>
17276 <type name="utf8" c:type="gchar*"/>
17280 <method name="list_child_properties"
17281 c:identifier="clutter_layout_manager_list_child_properties"
17283 <doc xml:whitespace="preserve">Retrieves all the #GParamSpec<!-- -->s for the layout properties
17284 stored inside the #ClutterLayoutMeta sub-class used by @manager
17285 array of #GParamSpec<!-- -->s. Use g_free() to free the resources
17286 allocated for the array</doc>
17287 <return-value transfer-ownership="full">
17288 <doc xml:whitespace="preserve">the newly-allocated, %NULL-terminated</doc>
17289 <type name="GObject.ParamSpec" c:type="GParamSpec**"/>
17292 <parameter name="n_pspecs"
17294 caller-allocates="0"
17295 transfer-ownership="full">
17296 <doc xml:whitespace="preserve">return location for the number of returned #GParamSpec<!-- -->s</doc>
17297 <type name="uint" c:type="guint*"/>
17301 <method name="get_child_meta"
17302 c:identifier="clutter_layout_manager_get_child_meta"
17304 <doc xml:whitespace="preserve">Retrieves the #ClutterLayoutMeta that the layout @manager associated
17305 to the @actor child of @container, eventually by creating one if the
17306 #ClutterLayoutManager supports layout properties
17307 does not have layout properties</doc>
17308 <return-value transfer-ownership="full">
17309 <doc xml:whitespace="preserve">a #ClutterLayoutMeta, or %NULL if the #ClutterLayoutManager</doc>
17310 <type name="LayoutMeta" c:type="ClutterLayoutMeta*"/>
17313 <parameter name="container" transfer-ownership="none">
17314 <doc xml:whitespace="preserve">a #ClutterContainer using @manager</doc>
17315 <type name="Container" c:type="ClutterContainer*"/>
17317 <parameter name="actor" transfer-ownership="none">
17318 <doc xml:whitespace="preserve">a #ClutterActor child of @container</doc>
17319 <type name="Actor" c:type="ClutterActor*"/>
17323 <method name="child_set"
17324 c:identifier="clutter_layout_manager_child_set"
17326 introspectable="0">
17327 <doc xml:whitespace="preserve">Sets a list of properties and their values on the #ClutterLayoutMeta
17328 associated by @manager to a child of @container
17329 Languages bindings should use clutter_layout_manager_child_set_property()
17331 <return-value transfer-ownership="none">
17332 <type name="none" c:type="void"/>
17335 <parameter name="container" transfer-ownership="none">
17336 <doc xml:whitespace="preserve">a #ClutterContainer using @manager</doc>
17337 <type name="Container" c:type="ClutterContainer*"/>
17339 <parameter name="actor" transfer-ownership="none">
17340 <doc xml:whitespace="preserve">a #ClutterActor child of @container</doc>
17341 <type name="Actor" c:type="ClutterActor*"/>
17343 <parameter name="first_property" transfer-ownership="none">
17344 <doc xml:whitespace="preserve">the first property name</doc>
17345 <type name="utf8" c:type="gchar*"/>
17347 <parameter transfer-ownership="none">
17353 <method name="child_get"
17354 c:identifier="clutter_layout_manager_child_get"
17356 introspectable="0">
17357 <doc xml:whitespace="preserve">Retrieves the values for a list of properties out of the
17358 #ClutterLayoutMeta created by @manager and attached to the
17359 child of a @container</doc>
17360 <return-value transfer-ownership="none">
17361 <type name="none" c:type="void"/>
17364 <parameter name="container" transfer-ownership="none">
17365 <doc xml:whitespace="preserve">a #ClutterContainer using @manager</doc>
17366 <type name="Container" c:type="ClutterContainer*"/>
17368 <parameter name="actor" transfer-ownership="none">
17369 <doc xml:whitespace="preserve">a #ClutterActor child of @container</doc>
17370 <type name="Actor" c:type="ClutterActor*"/>
17372 <parameter name="first_property" transfer-ownership="none">
17373 <doc xml:whitespace="preserve">the name of the first property</doc>
17374 <type name="utf8" c:type="gchar*"/>
17376 <parameter transfer-ownership="none">
17382 <method name="child_set_property"
17383 c:identifier="clutter_layout_manager_child_set_property"
17385 <doc xml:whitespace="preserve">Sets a property on the #ClutterLayoutMeta created by @manager and
17386 attached to a child of @container</doc>
17387 <return-value transfer-ownership="none">
17388 <type name="none" c:type="void"/>
17391 <parameter name="container" transfer-ownership="none">
17392 <doc xml:whitespace="preserve">a #ClutterContainer using @manager</doc>
17393 <type name="Container" c:type="ClutterContainer*"/>
17395 <parameter name="actor" transfer-ownership="none">
17396 <doc xml:whitespace="preserve">a #ClutterActor child of @container</doc>
17397 <type name="Actor" c:type="ClutterActor*"/>
17399 <parameter name="property_name" transfer-ownership="none">
17400 <doc xml:whitespace="preserve">the name of the property to set</doc>
17401 <type name="utf8" c:type="gchar*"/>
17403 <parameter name="value" transfer-ownership="none">
17404 <doc xml:whitespace="preserve">a #GValue with the value of the property to set</doc>
17405 <type name="GObject.Value" c:type="GValue*"/>
17409 <method name="child_get_property"
17410 c:identifier="clutter_layout_manager_child_get_property"
17412 <doc xml:whitespace="preserve">Gets a property on the #ClutterLayoutMeta created by @manager and
17413 attached to a child of @container
17414 The #GValue must already be initialized to the type of the property
17415 and has to be unset with g_value_unset() after extracting the real
17416 value out of it</doc>
17417 <return-value transfer-ownership="none">
17418 <type name="none" c:type="void"/>
17421 <parameter name="container" transfer-ownership="none">
17422 <doc xml:whitespace="preserve">a #ClutterContainer using @manager</doc>
17423 <type name="Container" c:type="ClutterContainer*"/>
17425 <parameter name="actor" transfer-ownership="none">
17426 <doc xml:whitespace="preserve">a #ClutterActor child of @container</doc>
17427 <type name="Actor" c:type="ClutterActor*"/>
17429 <parameter name="property_name" transfer-ownership="none">
17430 <doc xml:whitespace="preserve">the name of the property to get</doc>
17431 <type name="utf8" c:type="gchar*"/>
17433 <parameter name="value" transfer-ownership="none">
17434 <doc xml:whitespace="preserve">a #GValue with the value of the property to get</doc>
17435 <type name="GObject.Value" c:type="GValue*"/>
17439 <method name="begin_animation"
17440 c:identifier="clutter_layout_manager_begin_animation"
17442 <doc xml:whitespace="preserve">Begins an animation of @duration milliseconds, using the provided
17444 The easing mode can be specified either as a #ClutterAnimationMode
17445 or as a logical id returned by clutter_alpha_register_func()
17446 The result of this function depends on the @manager implementation
17447 layout manager; the returned instance is owned by the layout
17448 manager and should not be unreferenced</doc>
17449 <return-value transfer-ownership="none">
17450 <doc xml:whitespace="preserve">The #ClutterAlpha created by the</doc>
17451 <type name="Alpha" c:type="ClutterAlpha*"/>
17454 <parameter name="duration" transfer-ownership="none">
17455 <doc xml:whitespace="preserve">the duration of the animation, in milliseconds</doc>
17456 <type name="uint" c:type="guint"/>
17458 <parameter name="mode" transfer-ownership="none">
17459 <doc xml:whitespace="preserve">the easing mode of the animation</doc>
17460 <type name="ulong" c:type="gulong"/>
17464 <method name="end_animation"
17465 c:identifier="clutter_layout_manager_end_animation"
17467 <doc xml:whitespace="preserve">Ends an animation started by clutter_layout_manager_begin_animation()
17468 The result of this call depends on the @manager implementation</doc>
17469 <return-value transfer-ownership="none">
17470 <type name="none" c:type="void"/>
17473 <method name="get_animation_progress"
17474 c:identifier="clutter_layout_manager_get_animation_progress"
17476 <doc xml:whitespace="preserve">Retrieves the progress of the animation, if one has been started by
17477 clutter_layout_manager_begin_animation()
17478 The returned value has the same semantics of the #ClutterAlpha:alpha
17480 <return-value transfer-ownership="none">
17481 <doc xml:whitespace="preserve">the progress of the animation</doc>
17482 <type name="double" c:type="gdouble"/>
17485 <field name="parent_instance">
17486 <type name="GObject.InitiallyUnowned" c:type="GInitiallyUnowned"/>
17488 <field name="dummy">
17489 <type name="any" c:type="gpointer"/>
17491 <glib:signal name="layout-changed" version="1.2">
17492 <doc xml:whitespace="preserve">The ::layout-changed signal is emitted each time a layout manager
17493 has been changed. Every #ClutterActor using the @manager instance
17494 as a layout manager should connect a handler to the ::layout-changed
17495 signal and queue a relayout on themselves:
17497 static void layout_changed (ClutterLayoutManager *manager,
17498 ClutterActor *self)
17500 clutter_actor_queue_relayout (self);
17503 self->manager = g_object_ref_sink (manager);
17504 g_signal_connect (self->manager, "layout-changed",
17505 G_CALLBACK (layout_changed),
17508 Sub-classes of #ClutterLayoutManager that implement a layout that
17509 can be controlled or changed using parameters should emit the
17510 ::layout-changed signal whenever one of the parameters changes,
17511 by using clutter_layout_manager_layout_changed().</doc>
17512 <return-value transfer-ownership="full">
17513 <type name="none" c:type="void"/>
17517 <record name="LayoutManagerClass"
17518 c:type="ClutterLayoutManagerClass"
17519 glib:is-gtype-struct-for="LayoutManager"
17521 <doc xml:whitespace="preserve">The #ClutterLayoutManagerClass structure contains only private
17522 data and should be accessed using the provided API</doc>
17523 <field name="parent_class">
17524 <type name="GObject.InitiallyUnownedClass"
17525 c:type="GInitiallyUnownedClass"/>
17527 <field name="get_preferred_width">
17528 <callback name="get_preferred_width" c:type="get_preferred_width">
17529 <return-value transfer-ownership="none">
17530 <type name="none" c:type="void"/>
17533 <parameter name="manager" transfer-ownership="none">
17534 <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
17536 <parameter name="container" transfer-ownership="none">
17537 <type name="Container" c:type="ClutterContainer*"/>
17539 <parameter name="for_height" transfer-ownership="none">
17540 <type name="float" c:type="gfloat"/>
17542 <parameter name="minimum_width_p"
17544 caller-allocates="0"
17545 transfer-ownership="full">
17546 <type name="float" c:type="gfloat*"/>
17548 <parameter name="natural_width_p"
17550 caller-allocates="0"
17551 transfer-ownership="full">
17552 <type name="float" c:type="gfloat*"/>
17557 <field name="get_preferred_height">
17558 <callback name="get_preferred_height" c:type="get_preferred_height">
17559 <return-value transfer-ownership="none">
17560 <type name="none" c:type="void"/>
17563 <parameter name="manager" transfer-ownership="none">
17564 <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
17566 <parameter name="container" transfer-ownership="none">
17567 <type name="Container" c:type="ClutterContainer*"/>
17569 <parameter name="for_width" transfer-ownership="none">
17570 <type name="float" c:type="gfloat"/>
17572 <parameter name="minimum_height_p"
17574 caller-allocates="0"
17575 transfer-ownership="full">
17576 <type name="float" c:type="gfloat*"/>
17578 <parameter name="natural_height_p"
17580 caller-allocates="0"
17581 transfer-ownership="full">
17582 <type name="float" c:type="gfloat*"/>
17587 <field name="allocate">
17588 <callback name="allocate" c:type="allocate">
17589 <return-value transfer-ownership="none">
17590 <type name="none" c:type="void"/>
17593 <parameter name="manager" transfer-ownership="none">
17594 <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
17596 <parameter name="container" transfer-ownership="none">
17597 <doc xml:whitespace="preserve">the #ClutterContainer using @manager</doc>
17598 <type name="Container" c:type="ClutterContainer*"/>
17600 <parameter name="allocation" transfer-ownership="none">
17601 <doc xml:whitespace="preserve">the #ClutterActorBox containing the allocated area of @container</doc>
17602 <type name="ActorBox" c:type="ClutterActorBox*"/>
17604 <parameter name="flags" transfer-ownership="none">
17605 <doc xml:whitespace="preserve">the allocation flags</doc>
17606 <type name="AllocationFlags" c:type="ClutterAllocationFlags"/>
17611 <field name="set_container">
17612 <callback name="set_container" c:type="set_container">
17613 <return-value transfer-ownership="none">
17614 <type name="none" c:type="void"/>
17617 <parameter name="manager" transfer-ownership="none">
17618 <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
17620 <parameter name="container"
17621 transfer-ownership="none"
17623 <doc xml:whitespace="preserve">a #ClutterContainer using @manager</doc>
17624 <type name="Container" c:type="ClutterContainer*"/>
17629 <field name="get_child_meta_type">
17630 <callback name="get_child_meta_type" c:type="get_child_meta_type">
17631 <return-value transfer-ownership="none">
17632 <type name="GType" c:type="GType"/>
17635 <parameter name="manager" transfer-ownership="none">
17636 <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
17641 <field name="create_child_meta">
17642 <callback name="create_child_meta" c:type="create_child_meta">
17643 <return-value transfer-ownership="full">
17644 <type name="LayoutMeta" c:type="ClutterLayoutMeta*"/>
17647 <parameter name="manager" transfer-ownership="none">
17648 <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
17650 <parameter name="container" transfer-ownership="none">
17651 <type name="Container" c:type="ClutterContainer*"/>
17653 <parameter name="actor" transfer-ownership="none">
17654 <type name="Actor" c:type="ClutterActor*"/>
17659 <field name="begin_animation">
17660 <callback name="begin_animation" c:type="begin_animation">
17661 <return-value transfer-ownership="none">
17662 <doc xml:whitespace="preserve">The #ClutterAlpha created by the</doc>
17663 <type name="Alpha" c:type="ClutterAlpha*"/>
17666 <parameter name="manager" transfer-ownership="none">
17667 <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
17669 <parameter name="duration" transfer-ownership="none">
17670 <doc xml:whitespace="preserve">the duration of the animation, in milliseconds</doc>
17671 <type name="uint" c:type="guint"/>
17673 <parameter name="mode" transfer-ownership="none">
17674 <doc xml:whitespace="preserve">the easing mode of the animation</doc>
17675 <type name="ulong" c:type="gulong"/>
17680 <field name="get_animation_progress">
17681 <callback name="get_animation_progress"
17682 c:type="get_animation_progress">
17683 <return-value transfer-ownership="none">
17684 <doc xml:whitespace="preserve">the progress of the animation</doc>
17685 <type name="double" c:type="gdouble"/>
17688 <parameter name="manager" transfer-ownership="none">
17689 <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
17694 <field name="end_animation">
17695 <callback name="end_animation" c:type="end_animation">
17696 <return-value transfer-ownership="none">
17697 <type name="none" c:type="void"/>
17700 <parameter name="manager" transfer-ownership="none">
17701 <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
17706 <field name="layout_changed">
17707 <callback name="layout_changed" c:type="layout_changed">
17708 <return-value transfer-ownership="none">
17709 <type name="none" c:type="void"/>
17712 <parameter name="manager" transfer-ownership="none">
17713 <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
17718 <field name="clutter_padding_1">
17719 <callback name="clutter_padding_1" c:type="_clutter_padding_1">
17720 <return-value transfer-ownership="none">
17721 <type name="none" c:type="void"/>
17725 <field name="clutter_padding_2">
17726 <callback name="clutter_padding_2" c:type="_clutter_padding_2">
17727 <return-value transfer-ownership="none">
17728 <type name="none" c:type="void"/>
17732 <field name="clutter_padding_3">
17733 <callback name="clutter_padding_3" c:type="_clutter_padding_3">
17734 <return-value transfer-ownership="none">
17735 <type name="none" c:type="void"/>
17739 <field name="clutter_padding_4">
17740 <callback name="clutter_padding_4" c:type="_clutter_padding_4">
17741 <return-value transfer-ownership="none">
17742 <type name="none" c:type="void"/>
17746 <field name="clutter_padding_5">
17747 <callback name="clutter_padding_5" c:type="_clutter_padding_5">
17748 <return-value transfer-ownership="none">
17749 <type name="none" c:type="void"/>
17753 <field name="clutter_padding_6">
17754 <callback name="clutter_padding_6" c:type="_clutter_padding_6">
17755 <return-value transfer-ownership="none">
17756 <type name="none" c:type="void"/>
17760 <field name="clutter_padding_7">
17761 <callback name="clutter_padding_7" c:type="_clutter_padding_7">
17762 <return-value transfer-ownership="none">
17763 <type name="none" c:type="void"/>
17767 <field name="clutter_padding_8">
17768 <callback name="clutter_padding_8" c:type="_clutter_padding_8">
17769 <return-value transfer-ownership="none">
17770 <type name="none" c:type="void"/>
17775 <class name="LayoutMeta"
17776 c:type="ClutterLayoutMeta"
17779 glib:type-name="ClutterLayoutMeta"
17780 glib:get-type="clutter_layout_meta_get_type"
17781 glib:type-struct="LayoutMetaClass">
17782 <method name="get_manager"
17783 c:identifier="clutter_layout_meta_get_manager"
17785 <doc xml:whitespace="preserve">Retrieves the actor wrapped by @data</doc>
17786 <return-value transfer-ownership="none">
17787 <doc xml:whitespace="preserve">a #ClutterLayoutManager</doc>
17788 <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
17791 <property name="manager"
17795 transfer-ownership="none">
17796 <doc xml:whitespace="preserve">The #ClutterLayoutManager that created this #ClutterLayoutMeta.</doc>
17797 <type name="LayoutManager" c:type="ClutterLayoutManager"/>
17799 <field name="parent_instance">
17800 <type name="ChildMeta" c:type="ClutterChildMeta"/>
17802 <field name="manager">
17803 <type name="LayoutManager" c:type="ClutterLayoutManager*"/>
17805 <field name="dummy0">
17806 <type name="int32" c:type="gint32"/>
17808 <field name="dummy1">
17809 <type name="any" c:type="gpointer"/>
17812 <record name="LayoutMetaClass"
17813 c:type="ClutterLayoutMetaClass"
17814 glib:is-gtype-struct-for="LayoutMeta"
17816 <doc xml:whitespace="preserve">The #ClutterLayoutMetaClass contains only private data and
17817 should never be accessed directly</doc>
17818 <field name="parent_class">
17819 <type name="ChildMetaClass" c:type="ClutterChildMetaClass"/>
17821 <field name="clutter_padding1">
17822 <callback name="clutter_padding1" c:type="_clutter_padding1">
17823 <return-value transfer-ownership="none">
17824 <type name="none" c:type="void"/>
17828 <field name="clutter_padding2">
17829 <callback name="clutter_padding2" c:type="_clutter_padding2">
17830 <return-value transfer-ownership="none">
17831 <type name="none" c:type="void"/>
17835 <field name="clutter_padding3">
17836 <callback name="clutter_padding3" c:type="_clutter_padding3">
17837 <return-value transfer-ownership="none">
17838 <type name="none" c:type="void"/>
17842 <field name="clutter_padding4">
17843 <callback name="clutter_padding4" c:type="_clutter_padding4">
17844 <return-value transfer-ownership="none">
17845 <type name="none" c:type="void"/>
17850 <constant name="Lbelowdot" value="16784950">
17853 <constant name="Lcaron" value="421">
17856 <constant name="Lcedilla" value="934">
17859 <constant name="Left" value="65361">
17862 <constant name="Linefeed" value="65290">
17865 <constant name="LiraSign" value="16785572">
17868 <class name="ListModel"
17869 c:type="ClutterListModel"
17872 glib:type-name="ClutterListModel"
17873 glib:get-type="clutter_list_model_get_type"
17874 glib:type-struct="ListModelClass">
17875 <doc xml:whitespace="preserve">The #ClutterListModel struct contains only private data.</doc>
17876 <implements name="Scriptable"/>
17877 <constructor name="new"
17878 c:identifier="clutter_list_model_new"
17880 introspectable="0">
17881 <doc xml:whitespace="preserve">Creates a new default model with @n_columns columns with the types
17882 and names passed in.
17884 <informalexample><programlisting>
17885 model = clutter_list_model_new (3,
17886 G_TYPE_INT, "Score",
17887 G_TYPE_STRING, "Team",
17888 GDK_TYPE_PIXBUF, "Logo");
17889 </programlisting></informalexample>
17890 will create a new #ClutterModel with three columns of type int,
17891 string and #GdkPixbuf respectively.
17892 Note that the name of the column can be set to %NULL, in which case
17893 the canonical name of the type held by the column will be used as
17895 <return-value transfer-ownership="full">
17896 <doc xml:whitespace="preserve">a new #ClutterListModel</doc>
17897 <type name="ListModel" c:type="ClutterModel*"/>
17900 <parameter name="n_columns" transfer-ownership="none">
17901 <doc xml:whitespace="preserve">number of columns in the model</doc>
17902 <type name="uint" c:type="guint"/>
17904 <parameter transfer-ownership="none">
17910 <constructor name="newv"
17911 c:identifier="clutter_list_model_newv"
17913 <doc xml:whitespace="preserve">Non-vararg version of clutter_list_model_new(). This function is
17914 useful for language bindings.</doc>
17915 <return-value transfer-ownership="full">
17916 <doc xml:whitespace="preserve">a new default #ClutterModel</doc>
17917 <type name="ListModel" c:type="ClutterModel*"/>
17920 <parameter name="n_columns" transfer-ownership="none">
17921 <doc xml:whitespace="preserve">number of columns in the model</doc>
17922 <type name="uint" c:type="guint"/>
17924 <parameter name="types"
17926 caller-allocates="0"
17927 transfer-ownership="full">
17928 <doc xml:whitespace="preserve">an array of #GType types for the columns, from first to last</doc>
17929 <type name="GType" c:type="GType*"/>
17931 <parameter name="names" transfer-ownership="none">
17932 <doc xml:whitespace="preserve">an array of names for the columns, from first to last</doc>
17933 <type name="utf8" c:type="gchar*"/>
17937 <field name="parent_instance">
17938 <type name="Model" c:type="ClutterModel"/>
17940 <field name="priv">
17941 <type name="ListModelPrivate" c:type="ClutterListModelPrivate*"/>
17944 <record name="ListModelClass"
17945 c:type="ClutterListModelClass"
17946 glib:is-gtype-struct-for="ListModel"
17948 <doc xml:whitespace="preserve">The #ClutterListModelClass struct contains only private data.</doc>
17949 <field name="parent_class">
17950 <type name="ModelClass" c:type="ClutterModelClass"/>
17953 <record name="ListModelPrivate" c:type="ClutterListModelPrivate">
17955 <constant name="Lstroke" value="419">
17958 <constant name="M" value="77">
17961 <constant name="MAJOR_VERSION" value="1">
17964 <constant name="MICRO_VERSION" value="13">
17967 <constant name="MINOR_VERSION" value="3">
17970 <constant name="Mabovedot" value="16784960">
17973 <constant name="Macedonia_DSE" value="1717">
17976 <constant name="Macedonia_GJE" value="1714">
17979 <constant name="Macedonia_KJE" value="1724">
17982 <constant name="Macedonia_dse" value="1701">
17985 <constant name="Macedonia_gje" value="1698">
17988 <constant name="Macedonia_kje" value="1708">
17991 <constant name="Mae_Koho" value="65342">
17994 <constant name="Massyo" value="65324">
17997 <interface name="Media"
17998 c:type="ClutterMedia"
18000 glib:type-name="ClutterMedia"
18001 glib:get-type="clutter_media_get_type"
18002 glib:type-struct="MediaIface">
18003 <doc xml:whitespace="preserve">#ClutterMedia is an opaque structure whose members cannot be directly
18005 <method name="set_uri"
18006 c:identifier="clutter_media_set_uri"
18008 <doc xml:whitespace="preserve">Sets the URI of @media to @uri.</doc>
18009 <return-value transfer-ownership="none">
18010 <type name="none" c:type="void"/>
18013 <parameter name="uri" transfer-ownership="none">
18014 <doc xml:whitespace="preserve">the URI of the media stream</doc>
18015 <type name="utf8" c:type="gchar*"/>
18019 <method name="get_uri"
18020 c:identifier="clutter_media_get_uri"
18022 <doc xml:whitespace="preserve">Retrieves the URI from @media.
18023 to free the returned string</doc>
18024 <return-value transfer-ownership="full">
18025 <doc xml:whitespace="preserve">the URI of the media stream. Use g_free()</doc>
18026 <type name="utf8" c:type="gchar*"/>
18029 <method name="set_filename"
18030 c:identifier="clutter_media_set_filename"
18032 <doc xml:whitespace="preserve">Sets the source of @media using a file path.</doc>
18033 <return-value transfer-ownership="none">
18034 <type name="none" c:type="void"/>
18037 <parameter name="filename" transfer-ownership="none">
18038 <doc xml:whitespace="preserve">A filename</doc>
18039 <type name="utf8" c:type="gchar*"/>
18043 <method name="set_playing"
18044 c:identifier="clutter_media_set_playing"
18046 <doc xml:whitespace="preserve">Starts or stops playing of @media.</doc>
18047 <return-value transfer-ownership="none">
18048 <type name="none" c:type="void"/>
18051 <parameter name="playing" transfer-ownership="none">
18052 <doc xml:whitespace="preserve">%TRUE to start playing</doc>
18053 <type name="boolean" c:type="gboolean"/>
18057 <method name="get_playing"
18058 c:identifier="clutter_media_get_playing"
18060 <doc xml:whitespace="preserve">Retrieves the playing status of @media.</doc>
18061 <return-value transfer-ownership="none">
18062 <doc xml:whitespace="preserve">%TRUE if playing, %FALSE if stopped.</doc>
18063 <type name="boolean" c:type="gboolean"/>
18066 <method name="set_progress"
18067 c:identifier="clutter_media_set_progress"
18069 <doc xml:whitespace="preserve">Sets the playback progress of @media. The @progress is
18070 a normalized value between 0.0 (begin) and 1.0 (end).</doc>
18071 <return-value transfer-ownership="none">
18072 <type name="none" c:type="void"/>
18075 <parameter name="progress" transfer-ownership="none">
18076 <doc xml:whitespace="preserve">the progress of the playback, between 0.0 and 1.0</doc>
18077 <type name="double" c:type="gdouble"/>
18081 <method name="get_progress"
18082 c:identifier="clutter_media_get_progress"
18084 <doc xml:whitespace="preserve">Retrieves the playback progress of @media.</doc>
18085 <return-value transfer-ownership="none">
18086 <doc xml:whitespace="preserve">the playback progress, between 0.0 and 1.0</doc>
18087 <type name="double" c:type="gdouble"/>
18090 <method name="set_subtitle_uri"
18091 c:identifier="clutter_media_set_subtitle_uri"
18093 <doc xml:whitespace="preserve">Sets the location of a subtitle file to display while playing @media.</doc>
18094 <return-value transfer-ownership="none">
18095 <type name="none" c:type="void"/>
18098 <parameter name="uri" transfer-ownership="none">
18099 <doc xml:whitespace="preserve">the URI of a subtitle file</doc>
18100 <type name="utf8" c:type="gchar*"/>
18104 <method name="get_subtitle_uri"
18105 c:identifier="clutter_media_get_subtitle_uri"
18107 <doc xml:whitespace="preserve">Retrieves the URI of the subtitle file in use.
18108 to free the returned string</doc>
18109 <return-value transfer-ownership="full">
18110 <doc xml:whitespace="preserve">the URI of the subtitle file. Use g_free()</doc>
18111 <type name="utf8" c:type="gchar*"/>
18114 <method name="set_subtitle_font_name"
18115 c:identifier="clutter_media_set_subtitle_font_name"
18117 <doc xml:whitespace="preserve">Sets the font used by the subtitle renderer. The @font_name string must be
18118 either %NULL, which means that the default font name of the underlying
18119 implementation will be used; or must follow the grammar recognized by
18120 pango_font_description_from_string() like:
18122 clutter_media_set_subtitle_font_name (media, "Sans 24pt");
18124 <return-value transfer-ownership="none">
18125 <type name="none" c:type="void"/>
18128 <parameter name="font_name" transfer-ownership="none">
18129 <doc xml:whitespace="preserve">a font name, or %NULL to set the default font name</doc>
18130 <type name="utf8" c:type="char*"/>
18134 <method name="get_subtitle_font_name"
18135 c:identifier="clutter_media_get_subtitle_font_name"
18137 <doc xml:whitespace="preserve">Retrieves the font name currently used.
18138 to free the returned string</doc>
18139 <return-value transfer-ownership="full">
18140 <doc xml:whitespace="preserve">a string containing the font name. Use g_free()</doc>
18141 <type name="utf8" c:type="gchar*"/>
18144 <method name="set_audio_volume"
18145 c:identifier="clutter_media_set_audio_volume"
18147 <doc xml:whitespace="preserve">Sets the playback volume of @media to @volume.</doc>
18148 <return-value transfer-ownership="none">
18149 <type name="none" c:type="void"/>
18152 <parameter name="volume" transfer-ownership="none">
18153 <doc xml:whitespace="preserve">the volume as a double between 0.0 and 1.0</doc>
18154 <type name="double" c:type="gdouble"/>
18158 <method name="get_audio_volume"
18159 c:identifier="clutter_media_get_audio_volume"
18161 <doc xml:whitespace="preserve">Retrieves the playback volume of @media.</doc>
18162 <return-value transfer-ownership="none">
18163 <doc xml:whitespace="preserve">The playback volume between 0.0 and 1.0</doc>
18164 <type name="double" c:type="gdouble"/>
18167 <method name="get_can_seek"
18168 c:identifier="clutter_media_get_can_seek"
18170 <doc xml:whitespace="preserve">Retrieves whether @media is seekable or not.</doc>
18171 <return-value transfer-ownership="none">
18172 <doc xml:whitespace="preserve">%TRUE if @media can seek, %FALSE otherwise.</doc>
18173 <type name="boolean" c:type="gboolean"/>
18176 <method name="get_buffer_fill"
18177 c:identifier="clutter_media_get_buffer_fill"
18179 <doc xml:whitespace="preserve">Retrieves the amount of the stream that is buffered.</doc>
18180 <return-value transfer-ownership="none">
18181 <doc xml:whitespace="preserve">the fill level, between 0.0 and 1.0</doc>
18182 <type name="double" c:type="gdouble"/>
18185 <method name="get_duration"
18186 c:identifier="clutter_media_get_duration"
18188 <doc xml:whitespace="preserve">Retrieves the duration of the media stream that @media represents.</doc>
18189 <return-value transfer-ownership="none">
18190 <doc xml:whitespace="preserve">the duration of the media stream, in seconds</doc>
18191 <type name="double" c:type="gdouble"/>
18194 <property name="audio-volume"
18197 transfer-ownership="none">
18198 <doc xml:whitespace="preserve">The volume of the audio, as a normalized value between
18200 <type name="double" c:type="gdouble"/>
18202 <property name="buffer-fill" version="1.0" transfer-ownership="none">
18203 <doc xml:whitespace="preserve">The fill level of the buffer for the current stream,
18204 as a value between 0.0 and 1.0.</doc>
18205 <type name="double" c:type="gdouble"/>
18207 <property name="can-seek" version="0.2" transfer-ownership="none">
18208 <doc xml:whitespace="preserve">Whether the current stream is seekable.</doc>
18209 <type name="boolean" c:type="gboolean"/>
18211 <property name="duration" version="0.2" transfer-ownership="none">
18212 <doc xml:whitespace="preserve">The duration of the current stream, in seconds</doc>
18213 <type name="double" c:type="gdouble"/>
18215 <property name="playing"
18218 transfer-ownership="none">
18219 <doc xml:whitespace="preserve">Whether the #ClutterMedia actor is playing.</doc>
18220 <type name="boolean" c:type="gboolean"/>
18222 <property name="progress"
18225 transfer-ownership="none">
18226 <doc xml:whitespace="preserve">The current progress of the playback, as a normalized
18227 value between 0.0 and 1.0.</doc>
18228 <type name="double" c:type="gdouble"/>
18230 <property name="subtitle-font-name"
18233 transfer-ownership="none">
18234 <doc xml:whitespace="preserve">The font used to display subtitles. The font description has to
18235 follow the same grammar as the one recognized by
18236 pango_font_description_from_string().</doc>
18237 <type name="utf8" c:type="gchararray"/>
18239 <property name="subtitle-uri"
18242 transfer-ownership="none">
18243 <doc xml:whitespace="preserve">The location of a subtitle file, expressed as a valid URI.</doc>
18244 <type name="utf8" c:type="gchararray"/>
18246 <property name="uri"
18249 transfer-ownership="none">
18250 <doc xml:whitespace="preserve">The location of a media file, expressed as a valid URI.</doc>
18251 <type name="utf8" c:type="gchararray"/>
18253 <glib:signal name="eos" version="0.2">
18254 <doc xml:whitespace="preserve">The ::eos signal is emitted each time the media stream ends.</doc>
18255 <return-value transfer-ownership="full">
18256 <type name="none" c:type="void"/>
18259 <glib:signal name="error" version="0.2">
18260 <doc xml:whitespace="preserve">The ::error signal is emitted each time an error occurred.</doc>
18261 <return-value transfer-ownership="full">
18262 <type name="none" c:type="void"/>
18265 <parameter name="error" transfer-ownership="none">
18266 <doc xml:whitespace="preserve">the #GError</doc>
18267 <type name="any" c:type="gpointer"/>
18272 <record name="MediaIface"
18273 c:type="ClutterMediaIface"
18274 glib:is-gtype-struct-for="Media"
18276 <doc xml:whitespace="preserve">Interface vtable for #ClutterMedia implementations</doc>
18277 <field name="base_iface">
18278 <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
18281 <callback name="eos" c:type="eos">
18282 <return-value transfer-ownership="none">
18283 <type name="none" c:type="void"/>
18286 <parameter name="media" transfer-ownership="none">
18287 <type name="Media" c:type="ClutterMedia*"/>
18292 <field name="error">
18293 <callback name="error" c:type="error">
18294 <return-value transfer-ownership="none">
18295 <type name="none" c:type="void"/>
18298 <parameter name="media" transfer-ownership="none">
18299 <type name="Media" c:type="ClutterMedia*"/>
18301 <parameter name="error" transfer-ownership="none">
18302 <type name="GLib.Error" c:type="GError*"/>
18308 <constant name="Menu" value="65383">
18311 <constant name="Meta_L" value="65511">
18314 <constant name="Meta_R" value="65512">
18317 <constant name="MillSign" value="16785573">
18320 <constant name="Mode_switch" value="65406">
18323 <class name="Model"
18324 c:type="ClutterModel"
18326 parent="GObject.Object"
18328 glib:type-name="ClutterModel"
18329 glib:get-type="clutter_model_get_type"
18330 glib:type-struct="ModelClass">
18331 <doc xml:whitespace="preserve">Base class for list models. The #ClutterModel structure contains
18332 only private data and should be manipulated using the provided
18334 <implements name="Scriptable"/>
18335 <virtual-method name="get_n_rows" invoker="get_n_rows" version="0.6">
18336 <doc xml:whitespace="preserve">Retrieves the number of rows inside @model, eventually taking
18337 into account any filtering function set using clutter_model_set_filter().
18338 the length of the filtered @model is returned.</doc>
18339 <return-value transfer-ownership="none">
18340 <doc xml:whitespace="preserve">The length of the @model. If there is a filter set, then</doc>
18341 <type name="uint" c:type="guint"/>
18344 <virtual-method name="get_n_columns"
18345 invoker="get_n_columns"
18347 <doc xml:whitespace="preserve">Retrieves the number of columns inside @model.</doc>
18348 <return-value transfer-ownership="none">
18349 <doc xml:whitespace="preserve">the number of columns</doc>
18350 <type name="uint" c:type="guint"/>
18353 <virtual-method name="get_column_name"
18354 invoker="get_column_name"
18356 <doc xml:whitespace="preserve">Retrieves the name of the @column
18357 string, and it should not be modified or freed</doc>
18358 <return-value transfer-ownership="none">
18359 <doc xml:whitespace="preserve">the name of the column. The model holds the returned</doc>
18360 <type name="utf8" c:type="gchar*"/>
18363 <parameter name="column" transfer-ownership="none">
18364 <doc xml:whitespace="preserve">the column number</doc>
18365 <type name="uint" c:type="guint"/>
18369 <virtual-method name="get_column_type"
18370 invoker="get_column_type"
18372 <doc xml:whitespace="preserve">Retrieves the type of the @column.</doc>
18373 <return-value transfer-ownership="none">
18374 <doc xml:whitespace="preserve">the type of the column.</doc>
18375 <type name="GType" c:type="GType"/>
18378 <parameter name="column" transfer-ownership="none">
18379 <doc xml:whitespace="preserve">the column number</doc>
18380 <type name="uint" c:type="guint"/>
18384 <virtual-method name="insert_row">
18385 <return-value transfer-ownership="full">
18386 <type name="ModelIter" c:type="ClutterModelIter*"/>
18389 <parameter name="index_" transfer-ownership="none">
18390 <type name="int" c:type="gint"/>
18394 <virtual-method name="remove_row">
18395 <return-value transfer-ownership="none">
18396 <type name="none" c:type="void"/>
18399 <parameter name="row" transfer-ownership="none">
18400 <type name="uint" c:type="guint"/>
18404 <virtual-method name="get_iter_at_row"
18405 invoker="get_iter_at_row"
18407 <doc xml:whitespace="preserve">Retrieves a #ClutterModelIter representing the row at the given index.
18408 If a filter function has been set using clutter_model_set_filter()
18409 then the @model implementation will return the first non filtered
18411 out of bounds. When done using the iterator object, call g_object_unref()
18412 to deallocate its resources</doc>
18413 <return-value transfer-ownership="full">
18414 <doc xml:whitespace="preserve">A new #ClutterModelIter, or %NULL if @row was</doc>
18415 <type name="ModelIter" c:type="ClutterModelIter*"/>
18418 <parameter name="row" transfer-ownership="none">
18419 <doc xml:whitespace="preserve">position of the row to retrieve</doc>
18420 <type name="uint" c:type="guint"/>
18424 <virtual-method name="resort">
18425 <return-value transfer-ownership="none">
18426 <type name="none" c:type="void"/>
18429 <parameter name="func" transfer-ownership="none">
18430 <type name="ModelSortFunc" c:type="ClutterModelSortFunc"/>
18432 <parameter name="data" transfer-ownership="none">
18433 <type name="any" c:type="gpointer"/>
18437 <method name="set_types"
18438 c:identifier="clutter_model_set_types"
18440 <doc xml:whitespace="preserve">Sets the types of the columns inside a #ClutterModel.
18441 This function is meant primarily for #GObjects that inherit from
18442 #ClutterModel, and should only be used when contructing a #ClutterModel.
18443 It will not work after the initial creation of the #ClutterModel.</doc>
18444 <return-value transfer-ownership="none">
18445 <type name="none" c:type="void"/>
18448 <parameter name="n_columns" transfer-ownership="none">
18449 <doc xml:whitespace="preserve">number of columns for the model</doc>
18450 <type name="uint" c:type="guint"/>
18452 <parameter name="types" transfer-ownership="none">
18453 <doc xml:whitespace="preserve">an array of #GType types</doc>
18454 <array length="1" c:type="GType*">
18455 <type name="GType"/>
18460 <method name="set_names"
18461 c:identifier="clutter_model_set_names"
18463 <doc xml:whitespace="preserve">Assigns a name to the columns of a #ClutterModel.
18464 This function is meant primarily for #GObjects that inherit from
18465 #ClutterModel, and should only be used when contructing a #ClutterModel.
18466 It will not work after the initial creation of the #ClutterModel.</doc>
18467 <return-value transfer-ownership="none">
18468 <type name="none" c:type="void"/>
18471 <parameter name="n_columns" transfer-ownership="none">
18472 <doc xml:whitespace="preserve">the number of column names</doc>
18473 <type name="uint" c:type="guint"/>
18475 <parameter name="names" transfer-ownership="none">
18476 <doc xml:whitespace="preserve">an array of strings</doc>
18477 <array length="1" c:type="gchar*">
18478 <type name="int8"/>
18483 <method name="append"
18484 c:identifier="clutter_model_append"
18486 introspectable="0">
18487 <doc xml:whitespace="preserve">Creates and appends a new row to the #ClutterModel, setting the
18488 row values upon creation. For example, to append a new row where
18489 column 0 is type %G_TYPE_INT and column 1 is of type %G_TYPE_STRING:
18490 <informalexample><programlisting>
18491 ClutterModel *model;
18492 model = clutter_model_default_new (2,
18493 G_TYPE_INT, "Score",
18494 G_TYPE_STRING, "Team");
18495 clutter_model_append (model, 0, 42, 1, "Team #1", -1);
18496 </programlisting></informalexample></doc>
18497 <return-value transfer-ownership="none">
18498 <type name="none" c:type="void"/>
18501 <parameter transfer-ownership="none">
18507 <method name="appendv"
18508 c:identifier="clutter_model_appendv"
18510 <doc xml:whitespace="preserve">Creates and appends a new row to the #ClutterModel, setting the row
18511 values for the given @columns upon creation.</doc>
18512 <return-value transfer-ownership="none">
18513 <type name="none" c:type="void"/>
18516 <parameter name="n_columns" transfer-ownership="none">
18517 <doc xml:whitespace="preserve">the number of columns and values</doc>
18518 <type name="uint" c:type="guint"/>
18520 <parameter name="columns" transfer-ownership="none">
18521 <doc xml:whitespace="preserve">a vector with the columns to set</doc>
18522 <array length="1" c:type="guint*">
18523 <type name="uint"/>
18526 <parameter name="values" transfer-ownership="none">
18527 <doc xml:whitespace="preserve">a vector with the values</doc>
18528 <array length="1" c:type="GValue*">
18529 <type name="GObject.Value"/>
18534 <method name="prepend"
18535 c:identifier="clutter_model_prepend"
18537 introspectable="0">
18538 <doc xml:whitespace="preserve">Creates and prepends a new row to the #ClutterModel, setting the row
18539 values upon creation. For example, to prepend a new row where column 0
18540 is type %G_TYPE_INT and column 1 is of type %G_TYPE_STRING:
18541 <informalexample><programlisting>
18542 ClutterModel *model;
18543 model = clutter_model_default_new (2,
18544 G_TYPE_INT, "Score",
18545 G_TYPE_STRING, "Team");
18546 clutter_model_prepend (model, 0, 42, 1, "Team #1", -1);
18547 </programlisting></informalexample></doc>
18548 <return-value transfer-ownership="none">
18549 <type name="none" c:type="void"/>
18552 <parameter transfer-ownership="none">
18558 <method name="prependv"
18559 c:identifier="clutter_model_prependv"
18561 <doc xml:whitespace="preserve">Creates and prepends a new row to the #ClutterModel, setting the row
18562 values for the given @columns upon creation.</doc>
18563 <return-value transfer-ownership="none">
18564 <type name="none" c:type="void"/>
18567 <parameter name="n_columns" transfer-ownership="none">
18568 <doc xml:whitespace="preserve">the number of columns and values to set</doc>
18569 <type name="uint" c:type="guint"/>
18571 <parameter name="columns" transfer-ownership="none">
18572 <doc xml:whitespace="preserve">a vector containing the columns to set</doc>
18573 <array length="1" c:type="guint*">
18574 <type name="uint"/>
18577 <parameter name="values" transfer-ownership="none">
18578 <doc xml:whitespace="preserve">a vector containing the values for the cells</doc>
18579 <array length="1" c:type="GValue*">
18580 <type name="GObject.Value"/>
18585 <method name="insert"
18586 c:identifier="clutter_model_insert"
18588 introspectable="0">
18589 <doc xml:whitespace="preserve">Inserts a new row to the #ClutterModel at @row, setting the row
18590 values upon creation. For example, to insert a new row at index 100,
18591 where column 0 is type %G_TYPE_INT and column 1 is of type
18593 <informalexample><programlisting>
18594 ClutterModel *model;
18595 model = clutter_model_default_new (2,
18596 G_TYPE_INT, "Score",
18597 G_TYPE_STRING, "Team");
18598 clutter_model_insert (model, 3, 0, 42, 1, "Team #1", -1);
18599 </programlisting></informalexample></doc>
18600 <return-value transfer-ownership="none">
18601 <type name="none" c:type="void"/>
18604 <parameter name="row" transfer-ownership="none">
18605 <doc xml:whitespace="preserve">the position to insert the new row</doc>
18606 <type name="uint" c:type="guint"/>
18608 <parameter transfer-ownership="none">
18614 <method name="insertv"
18615 c:identifier="clutter_model_insertv"
18617 <doc xml:whitespace="preserve">Inserts data at @row into the #ClutterModel, setting the row
18618 values for the given @columns upon creation.</doc>
18619 <return-value transfer-ownership="none">
18620 <type name="none" c:type="void"/>
18623 <parameter name="row" transfer-ownership="none">
18624 <doc xml:whitespace="preserve">row index</doc>
18625 <type name="uint" c:type="guint"/>
18627 <parameter name="n_columns" transfer-ownership="none">
18628 <doc xml:whitespace="preserve">the number of columns and values to set</doc>
18629 <type name="uint" c:type="guint"/>
18631 <parameter name="columns" transfer-ownership="none">
18632 <doc xml:whitespace="preserve">a vector containing the columns to set</doc>
18633 <array length="2" c:type="guint*">
18634 <type name="uint"/>
18637 <parameter name="values" transfer-ownership="none">
18638 <doc xml:whitespace="preserve">a vector containing the values for the cells</doc>
18639 <array length="2" c:type="GValue*">
18640 <type name="GObject.Value"/>
18645 <method name="insert_value"
18646 c:identifier="clutter_model_insert_value"
18648 <doc xml:whitespace="preserve">Sets the data in the cell specified by @iter and @column. The type of
18649 not exist then it is created.</doc>
18650 <return-value transfer-ownership="none">
18651 <type name="none" c:type="void"/>
18654 <parameter name="row" transfer-ownership="none">
18655 <doc xml:whitespace="preserve">position of the row to modify</doc>
18656 <type name="uint" c:type="guint"/>
18658 <parameter name="column" transfer-ownership="none">
18659 <doc xml:whitespace="preserve">column to modify</doc>
18660 <type name="uint" c:type="guint"/>
18662 <parameter name="value" transfer-ownership="none">
18663 <doc xml:whitespace="preserve">new value for the cell</doc>
18664 <type name="GObject.Value" c:type="GValue*"/>
18668 <method name="remove" c:identifier="clutter_model_remove" version="0.6">
18669 <doc xml:whitespace="preserve">Removes the row at the given position from the model.</doc>
18670 <return-value transfer-ownership="none">
18671 <type name="none" c:type="void"/>
18674 <parameter name="row" transfer-ownership="none">
18675 <doc xml:whitespace="preserve">position of row to remove</doc>
18676 <type name="uint" c:type="guint"/>
18680 <method name="get_n_rows"
18681 c:identifier="clutter_model_get_n_rows"
18683 <doc xml:whitespace="preserve">Retrieves the number of rows inside @model, eventually taking
18684 into account any filtering function set using clutter_model_set_filter().
18685 the length of the filtered @model is returned.</doc>
18686 <return-value transfer-ownership="none">
18687 <doc xml:whitespace="preserve">The length of the @model. If there is a filter set, then</doc>
18688 <type name="uint" c:type="guint"/>
18691 <method name="get_n_columns"
18692 c:identifier="clutter_model_get_n_columns"
18694 <doc xml:whitespace="preserve">Retrieves the number of columns inside @model.</doc>
18695 <return-value transfer-ownership="none">
18696 <doc xml:whitespace="preserve">the number of columns</doc>
18697 <type name="uint" c:type="guint"/>
18700 <method name="get_column_name"
18701 c:identifier="clutter_model_get_column_name"
18703 <doc xml:whitespace="preserve">Retrieves the name of the @column
18704 string, and it should not be modified or freed</doc>
18705 <return-value transfer-ownership="none">
18706 <doc xml:whitespace="preserve">the name of the column. The model holds the returned</doc>
18707 <type name="utf8" c:type="gchar*"/>
18710 <parameter name="column" transfer-ownership="none">
18711 <doc xml:whitespace="preserve">the column number</doc>
18712 <type name="uint" c:type="guint"/>
18716 <method name="get_column_type"
18717 c:identifier="clutter_model_get_column_type"
18719 <doc xml:whitespace="preserve">Retrieves the type of the @column.</doc>
18720 <return-value transfer-ownership="none">
18721 <doc xml:whitespace="preserve">the type of the column.</doc>
18722 <type name="GType" c:type="GType"/>
18725 <parameter name="column" transfer-ownership="none">
18726 <doc xml:whitespace="preserve">the column number</doc>
18727 <type name="uint" c:type="guint"/>
18731 <method name="get_first_iter"
18732 c:identifier="clutter_model_get_first_iter"
18734 <doc xml:whitespace="preserve">Retrieves a #ClutterModelIter representing the first non-filtered
18736 Call g_object_unref() when done using it</doc>
18737 <return-value transfer-ownership="full">
18738 <doc xml:whitespace="preserve">A new #ClutterModelIter.</doc>
18739 <type name="ModelIter" c:type="ClutterModelIter*"/>
18742 <method name="get_last_iter"
18743 c:identifier="clutter_model_get_last_iter"
18745 <doc xml:whitespace="preserve">Retrieves a #ClutterModelIter representing the last non-filtered
18747 Call g_object_unref() when done using it</doc>
18748 <return-value transfer-ownership="full">
18749 <doc xml:whitespace="preserve">A new #ClutterModelIter.</doc>
18750 <type name="ModelIter" c:type="ClutterModelIter*"/>
18753 <method name="get_iter_at_row"
18754 c:identifier="clutter_model_get_iter_at_row"
18756 <doc xml:whitespace="preserve">Retrieves a #ClutterModelIter representing the row at the given index.
18757 If a filter function has been set using clutter_model_set_filter()
18758 then the @model implementation will return the first non filtered
18760 out of bounds. When done using the iterator object, call g_object_unref()
18761 to deallocate its resources</doc>
18762 <return-value transfer-ownership="full">
18763 <doc xml:whitespace="preserve">A new #ClutterModelIter, or %NULL if @row was</doc>
18764 <type name="ModelIter" c:type="ClutterModelIter*"/>
18767 <parameter name="row" transfer-ownership="none">
18768 <doc xml:whitespace="preserve">position of the row to retrieve</doc>
18769 <type name="uint" c:type="guint"/>
18773 <method name="set_sorting_column"
18774 c:identifier="clutter_model_set_sorting_column"
18776 <doc xml:whitespace="preserve">Sets the model to sort by @column. If @column is a negative value
18777 the sorting column will be unset.</doc>
18778 <return-value transfer-ownership="none">
18779 <type name="none" c:type="void"/>
18782 <parameter name="column" transfer-ownership="none">
18783 <doc xml:whitespace="preserve">the column of the @model to sort, or -1</doc>
18784 <type name="int" c:type="gint"/>
18788 <method name="get_sorting_column"
18789 c:identifier="clutter_model_get_sorting_column"
18791 <doc xml:whitespace="preserve">Retrieves the number of column used for sorting the @model.</doc>
18792 <return-value transfer-ownership="none">
18793 <doc xml:whitespace="preserve">a column number, or -1 if the model is not sorted</doc>
18794 <type name="int" c:type="gint"/>
18797 <method name="foreach"
18798 c:identifier="clutter_model_foreach"
18800 <doc xml:whitespace="preserve">Calls @func for each row in the model.</doc>
18801 <return-value transfer-ownership="none">
18802 <type name="none" c:type="void"/>
18805 <parameter name="func"
18806 transfer-ownership="none"
18809 <doc xml:whitespace="preserve">a #ClutterModelForeachFunc</doc>
18810 <type name="ModelForeachFunc" c:type="ClutterModelForeachFunc"/>
18812 <parameter name="user_data" transfer-ownership="none">
18813 <doc xml:whitespace="preserve">user data to pass to @func</doc>
18814 <type name="any" c:type="gpointer"/>
18818 <method name="set_sort"
18819 c:identifier="clutter_model_set_sort"
18821 <doc xml:whitespace="preserve">Sorts @model using the given sorting function.</doc>
18822 <return-value transfer-ownership="none">
18823 <type name="none" c:type="void"/>
18826 <parameter name="column" transfer-ownership="none">
18827 <doc xml:whitespace="preserve">the column to sort on</doc>
18828 <type name="uint" c:type="guint"/>
18830 <parameter name="func"
18831 transfer-ownership="none"
18835 <doc xml:whitespace="preserve">a #ClutterModelSortFunc, or #NULL</doc>
18836 <type name="ModelSortFunc" c:type="ClutterModelSortFunc"/>
18838 <parameter name="user_data" transfer-ownership="none">
18839 <doc xml:whitespace="preserve">user data to pass to @func, or #NULL</doc>
18840 <type name="any" c:type="gpointer"/>
18842 <parameter name="notify" transfer-ownership="none" scope="call">
18843 <doc xml:whitespace="preserve">destroy notifier of @user_data, or #NULL</doc>
18844 <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
18848 <method name="set_filter"
18849 c:identifier="clutter_model_set_filter"
18851 <doc xml:whitespace="preserve">Filters the @model using the given filtering function.</doc>
18852 <return-value transfer-ownership="none">
18853 <type name="none" c:type="void"/>
18856 <parameter name="func"
18857 transfer-ownership="none"
18861 <doc xml:whitespace="preserve">a #ClutterModelFilterFunc, or #NULL</doc>
18862 <type name="ModelFilterFunc" c:type="ClutterModelFilterFunc"/>
18864 <parameter name="user_data" transfer-ownership="none">
18865 <doc xml:whitespace="preserve">user data to pass to @func, or #NULL</doc>
18866 <type name="any" c:type="gpointer"/>
18868 <parameter name="notify" transfer-ownership="none" scope="call">
18869 <doc xml:whitespace="preserve">destroy notifier of @user_data, or #NULL</doc>
18870 <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
18874 <method name="get_filter_set"
18875 c:identifier="clutter_model_get_filter_set"
18877 <doc xml:whitespace="preserve">Returns whether the @model has a filter in place, set
18878 using clutter_model_set_filter()</doc>
18879 <return-value transfer-ownership="none">
18880 <doc xml:whitespace="preserve">%TRUE if a filter is set</doc>
18881 <type name="boolean" c:type="gboolean"/>
18884 <method name="resort" c:identifier="clutter_model_resort" version="0.6">
18885 <doc xml:whitespace="preserve">Force a resort on the @model. This function should only be
18886 used by subclasses of #ClutterModel.</doc>
18887 <return-value transfer-ownership="none">
18888 <type name="none" c:type="void"/>
18891 <method name="filter_row"
18892 c:identifier="clutter_model_filter_row"
18894 <doc xml:whitespace="preserve">Checks whether @row should be filtered or not using the
18895 filtering function set on @model.
18896 This function should be used only by subclasses of #ClutterModel.
18897 %FALSE otherwise</doc>
18898 <return-value transfer-ownership="none">
18899 <doc xml:whitespace="preserve">%TRUE if the row should be displayed,</doc>
18900 <type name="boolean" c:type="gboolean"/>
18903 <parameter name="row" transfer-ownership="none">
18904 <doc xml:whitespace="preserve">the row to filter</doc>
18905 <type name="uint" c:type="guint"/>
18909 <method name="filter_iter"
18910 c:identifier="clutter_model_filter_iter"
18912 <doc xml:whitespace="preserve">Checks whether the row pointer by @iter should be filtered or not using
18913 the filtering function set on @model.
18914 This function should be used only by subclasses of #ClutterModel.
18915 %FALSE otherwise</doc>
18916 <return-value transfer-ownership="none">
18917 <doc xml:whitespace="preserve">%TRUE if the row should be displayed,</doc>
18918 <type name="boolean" c:type="gboolean"/>
18921 <parameter name="iter" transfer-ownership="none">
18922 <doc xml:whitespace="preserve">the row to filter</doc>
18923 <type name="ModelIter" c:type="ClutterModelIter*"/>
18927 <property name="filter-set" version="1.0" transfer-ownership="none">
18928 <doc xml:whitespace="preserve">Whether the #ClutterModel has a filter set
18929 This property is set to %TRUE if a filter function has been
18930 set using clutter_model_set_filter()</doc>
18931 <type name="boolean" c:type="gboolean"/>
18933 <field name="parent_instance">
18934 <type name="GObject.Object" c:type="GObject"/>
18936 <field name="priv">
18937 <type name="ModelPrivate" c:type="ClutterModelPrivate*"/>
18939 <glib:signal name="filter-changed" version="0.6">
18940 <doc xml:whitespace="preserve">The ::filter-changed signal is emitted when a new filter has been applied</doc>
18941 <return-value transfer-ownership="full">
18942 <type name="none" c:type="void"/>
18945 <glib:signal name="row-added" version="0.6">
18946 <doc xml:whitespace="preserve">The ::row-added signal is emitted when a new row has been added.
18947 The data on the row has already been set when the ::row-added signal
18948 has been emitted.</doc>
18949 <return-value transfer-ownership="full">
18950 <type name="none" c:type="void"/>
18953 <parameter name="iter" transfer-ownership="none">
18954 <doc xml:whitespace="preserve">a #ClutterModelIter pointing to the new row</doc>
18955 <type name="ModelIter" c:type="ClutterModelIter"/>
18959 <glib:signal name="row-changed" version="0.6">
18960 <doc xml:whitespace="preserve">The ::row-removed signal is emitted when a row has been changed.
18961 The data on the row has already been updated when the ::row-changed
18962 signal has been emitted.</doc>
18963 <return-value transfer-ownership="full">
18964 <type name="none" c:type="void"/>
18967 <parameter name="iter" transfer-ownership="none">
18968 <doc xml:whitespace="preserve">a #ClutterModelIter pointing to the changed row</doc>
18969 <type name="ModelIter" c:type="ClutterModelIter"/>
18973 <glib:signal name="row-removed" version="0.6">
18974 <doc xml:whitespace="preserve">The ::row-removed signal is emitted when a row has been removed.
18975 The data on the row pointed by the passed iterator is still valid
18976 when the ::row-removed signal has been emitted.</doc>
18977 <return-value transfer-ownership="full">
18978 <type name="none" c:type="void"/>
18981 <parameter name="iter" transfer-ownership="none">
18982 <doc xml:whitespace="preserve">a #ClutterModelIter pointing to the removed row</doc>
18983 <type name="ModelIter" c:type="ClutterModelIter"/>
18987 <glib:signal name="sort-changed" version="0.6">
18988 <doc xml:whitespace="preserve">The ::sort-changed signal is emitted after the model has been sorted</doc>
18989 <return-value transfer-ownership="full">
18990 <type name="none" c:type="void"/>
18994 <record name="ModelClass"
18995 c:type="ClutterModelClass"
18996 glib:is-gtype-struct-for="Model"
18998 <doc xml:whitespace="preserve">Class for #ClutterModel instances.</doc>
18999 <field name="parent_class">
19000 <type name="GObject.ObjectClass" c:type="GObjectClass"/>
19002 <field name="get_n_rows">
19003 <callback name="get_n_rows" c:type="get_n_rows">
19004 <return-value transfer-ownership="none">
19005 <doc xml:whitespace="preserve">The length of the @model. If there is a filter set, then</doc>
19006 <type name="uint" c:type="guint"/>
19009 <parameter name="model" transfer-ownership="none">
19010 <type name="Model" c:type="ClutterModel*"/>
19015 <field name="get_n_columns">
19016 <callback name="get_n_columns" c:type="get_n_columns">
19017 <return-value transfer-ownership="none">
19018 <doc xml:whitespace="preserve">the number of columns</doc>
19019 <type name="uint" c:type="guint"/>
19022 <parameter name="model" transfer-ownership="none">
19023 <type name="Model" c:type="ClutterModel*"/>
19028 <field name="get_column_name">
19029 <callback name="get_column_name" c:type="get_column_name">
19030 <return-value transfer-ownership="none">
19031 <doc xml:whitespace="preserve">the name of the column. The model holds the returned</doc>
19032 <type name="utf8" c:type="gchar*"/>
19035 <parameter name="model" transfer-ownership="none">
19036 <type name="Model" c:type="ClutterModel*"/>
19038 <parameter name="column" transfer-ownership="none">
19039 <doc xml:whitespace="preserve">the column number</doc>
19040 <type name="uint" c:type="guint"/>
19045 <field name="get_column_type">
19046 <callback name="get_column_type" c:type="get_column_type">
19047 <return-value transfer-ownership="none">
19048 <doc xml:whitespace="preserve">the type of the column.</doc>
19049 <type name="GType" c:type="GType"/>
19052 <parameter name="model" transfer-ownership="none">
19053 <type name="Model" c:type="ClutterModel*"/>
19055 <parameter name="column" transfer-ownership="none">
19056 <doc xml:whitespace="preserve">the column number</doc>
19057 <type name="uint" c:type="guint"/>
19062 <field name="insert_row">
19063 <callback name="insert_row" c:type="insert_row">
19064 <return-value transfer-ownership="full">
19065 <type name="ModelIter" c:type="ClutterModelIter*"/>
19068 <parameter name="model" transfer-ownership="none">
19069 <type name="Model" c:type="ClutterModel*"/>
19071 <parameter name="index_" transfer-ownership="none">
19072 <type name="int" c:type="gint"/>
19077 <field name="remove_row">
19078 <callback name="remove_row" c:type="remove_row">
19079 <return-value transfer-ownership="none">
19080 <type name="none" c:type="void"/>
19083 <parameter name="model" transfer-ownership="none">
19084 <type name="Model" c:type="ClutterModel*"/>
19086 <parameter name="row" transfer-ownership="none">
19087 <type name="uint" c:type="guint"/>
19092 <field name="get_iter_at_row">
19093 <callback name="get_iter_at_row" c:type="get_iter_at_row">
19094 <return-value transfer-ownership="full">
19095 <doc xml:whitespace="preserve">A new #ClutterModelIter, or %NULL if @row was</doc>
19096 <type name="ModelIter" c:type="ClutterModelIter*"/>
19099 <parameter name="model" transfer-ownership="none">
19100 <type name="Model" c:type="ClutterModel*"/>
19102 <parameter name="row" transfer-ownership="none">
19103 <doc xml:whitespace="preserve">position of the row to retrieve</doc>
19104 <type name="uint" c:type="guint"/>
19109 <field name="resort">
19110 <callback name="resort" c:type="resort">
19111 <return-value transfer-ownership="none">
19112 <type name="none" c:type="void"/>
19115 <parameter name="model" transfer-ownership="none">
19116 <type name="Model" c:type="ClutterModel*"/>
19118 <parameter name="func" transfer-ownership="none">
19119 <type name="ModelSortFunc" c:type="ClutterModelSortFunc"/>
19121 <parameter name="data" transfer-ownership="none">
19122 <type name="any" c:type="gpointer"/>
19127 <field name="row_added">
19128 <callback name="row_added" c:type="row_added">
19129 <return-value transfer-ownership="none">
19130 <type name="none" c:type="void"/>
19133 <parameter name="model" transfer-ownership="none">
19134 <type name="Model" c:type="ClutterModel*"/>
19136 <parameter name="iter" transfer-ownership="none">
19137 <type name="ModelIter" c:type="ClutterModelIter*"/>
19142 <field name="row_removed">
19143 <callback name="row_removed" c:type="row_removed">
19144 <return-value transfer-ownership="none">
19145 <type name="none" c:type="void"/>
19148 <parameter name="model" transfer-ownership="none">
19149 <type name="Model" c:type="ClutterModel*"/>
19151 <parameter name="iter" transfer-ownership="none">
19152 <type name="ModelIter" c:type="ClutterModelIter*"/>
19157 <field name="row_changed">
19158 <callback name="row_changed" c:type="row_changed">
19159 <return-value transfer-ownership="none">
19160 <type name="none" c:type="void"/>
19163 <parameter name="model" transfer-ownership="none">
19164 <type name="Model" c:type="ClutterModel*"/>
19166 <parameter name="iter" transfer-ownership="none">
19167 <type name="ModelIter" c:type="ClutterModelIter*"/>
19172 <field name="sort_changed">
19173 <callback name="sort_changed" c:type="sort_changed">
19174 <return-value transfer-ownership="none">
19175 <type name="none" c:type="void"/>
19178 <parameter name="model" transfer-ownership="none">
19179 <type name="Model" c:type="ClutterModel*"/>
19184 <field name="filter_changed">
19185 <callback name="filter_changed" c:type="filter_changed">
19186 <return-value transfer-ownership="none">
19187 <type name="none" c:type="void"/>
19190 <parameter name="model" transfer-ownership="none">
19191 <type name="Model" c:type="ClutterModel*"/>
19196 <field name="clutter_model_1">
19197 <callback name="clutter_model_1" c:type="_clutter_model_1">
19198 <return-value transfer-ownership="none">
19199 <type name="none" c:type="void"/>
19203 <field name="clutter_model_2">
19204 <callback name="clutter_model_2" c:type="_clutter_model_2">
19205 <return-value transfer-ownership="none">
19206 <type name="none" c:type="void"/>
19210 <field name="clutter_model_3">
19211 <callback name="clutter_model_3" c:type="_clutter_model_3">
19212 <return-value transfer-ownership="none">
19213 <type name="none" c:type="void"/>
19217 <field name="clutter_model_4">
19218 <callback name="clutter_model_4" c:type="_clutter_model_4">
19219 <return-value transfer-ownership="none">
19220 <type name="none" c:type="void"/>
19224 <field name="clutter_model_5">
19225 <callback name="clutter_model_5" c:type="_clutter_model_5">
19226 <return-value transfer-ownership="none">
19227 <type name="none" c:type="void"/>
19231 <field name="clutter_model_6">
19232 <callback name="clutter_model_6" c:type="_clutter_model_6">
19233 <return-value transfer-ownership="none">
19234 <type name="none" c:type="void"/>
19238 <field name="clutter_model_7">
19239 <callback name="clutter_model_7" c:type="_clutter_model_7">
19240 <return-value transfer-ownership="none">
19241 <type name="none" c:type="void"/>
19245 <field name="clutter_model_8">
19246 <callback name="clutter_model_8" c:type="_clutter_model_8">
19247 <return-value transfer-ownership="none">
19248 <type name="none" c:type="void"/>
19253 <callback name="ModelFilterFunc"
19254 c:type="ClutterModelFilterFunc"
19256 <doc xml:whitespace="preserve">Filters the content of a row in the model.</doc>
19257 <return-value transfer-ownership="none">
19258 <doc xml:whitespace="preserve">If the row should be displayed, return %TRUE</doc>
19259 <type name="boolean" c:type="gboolean"/>
19262 <parameter name="model" transfer-ownership="none">
19263 <doc xml:whitespace="preserve">a #ClutterModel</doc>
19264 <type name="Model" c:type="ClutterModel*"/>
19266 <parameter name="iter" transfer-ownership="none">
19267 <doc xml:whitespace="preserve">the iterator for the row</doc>
19268 <type name="ModelIter" c:type="ClutterModelIter*"/>
19270 <parameter name="user_data" transfer-ownership="none" closure="2">
19271 <doc xml:whitespace="preserve">data passed to clutter_model_set_filter()</doc>
19272 <type name="any" c:type="gpointer"/>
19276 <callback name="ModelForeachFunc"
19277 c:type="ClutterModelForeachFunc"
19279 <doc xml:whitespace="preserve">Iterates on the content of a row in the model</doc>
19280 <return-value transfer-ownership="none">
19281 <doc xml:whitespace="preserve">%TRUE if the iteration should continue, %FALSE otherwise</doc>
19282 <type name="boolean" c:type="gboolean"/>
19285 <parameter name="model" transfer-ownership="none">
19286 <doc xml:whitespace="preserve">a #ClutterModel</doc>
19287 <type name="Model" c:type="ClutterModel*"/>
19289 <parameter name="iter" transfer-ownership="none">
19290 <doc xml:whitespace="preserve">the iterator for the row</doc>
19291 <type name="ModelIter" c:type="ClutterModelIter*"/>
19293 <parameter name="user_data" transfer-ownership="none" closure="2">
19294 <doc xml:whitespace="preserve">data passed to clutter_model_foreach()</doc>
19295 <type name="any" c:type="gpointer"/>
19299 <class name="ModelIter"
19300 c:type="ClutterModelIter"
19302 parent="GObject.Object"
19304 glib:type-name="ClutterModelIter"
19305 glib:get-type="clutter_model_iter_get_type"
19306 glib:type-struct="ModelIterClass">
19307 <doc xml:whitespace="preserve">Base class for list models iters. The #ClutterModelIter structure
19308 contains only private data and should be manipulated using the
19309 provided API.</doc>
19310 <virtual-method name="get_value" invoker="get_value" version="0.6">
19311 <doc xml:whitespace="preserve">Sets an initializes @value to that at @column. When done with @value,
19312 g_value_unset() needs to be called to free any allocated memory.</doc>
19313 <return-value transfer-ownership="none">
19314 <type name="none" c:type="void"/>
19317 <parameter name="column" transfer-ownership="none">
19318 <doc xml:whitespace="preserve">column number to retrieve the value from</doc>
19319 <type name="uint" c:type="guint"/>
19321 <parameter name="value" transfer-ownership="none">
19322 <doc xml:whitespace="preserve">an empty #GValue to set</doc>
19323 <type name="GObject.Value" c:type="GValue*"/>
19327 <virtual-method name="set_value" invoker="set_value" version="0.6">
19328 <doc xml:whitespace="preserve">Sets the data in the cell specified by @iter and @column. The type of</doc>
19329 <return-value transfer-ownership="none">
19330 <type name="none" c:type="void"/>
19333 <parameter name="column" transfer-ownership="none">
19334 <doc xml:whitespace="preserve">column number to retrieve the value from</doc>
19335 <type name="uint" c:type="guint"/>
19337 <parameter name="value" transfer-ownership="none">
19338 <doc xml:whitespace="preserve">new value for the cell</doc>
19339 <type name="GObject.Value" c:type="GValue*"/>
19343 <virtual-method name="is_first" invoker="is_first" version="0.6">
19344 <doc xml:whitespace="preserve">Gets whether the current iterator is at the beginning of the model
19345 to which it belongs.</doc>
19346 <return-value transfer-ownership="none">
19347 <doc xml:whitespace="preserve">#TRUE if @iter is the first iter in the filtered model</doc>
19348 <type name="boolean" c:type="gboolean"/>
19351 <virtual-method name="is_last" invoker="is_last" version="0.6">
19352 <doc xml:whitespace="preserve">Gets whether the iterator is at the end of the model to which it
19354 <return-value transfer-ownership="none">
19355 <doc xml:whitespace="preserve">#TRUE if @iter is the last iter in the filtered model.</doc>
19356 <type name="boolean" c:type="gboolean"/>
19359 <virtual-method name="next" invoker="next" version="0.6">
19360 <doc xml:whitespace="preserve">Updates the @iter to point at the next position in the model.
19361 The model implementation should take into account the presence of
19363 row in the model.</doc>
19364 <return-value transfer-ownership="none">
19365 <doc xml:whitespace="preserve">The passed iterator, updated to point at the next</doc>
19366 <type name="ModelIter" c:type="ClutterModelIter*"/>
19369 <virtual-method name="prev" invoker="prev" version="0.6">
19370 <doc xml:whitespace="preserve">Sets the @iter to point at the previous position in the model.
19371 The model implementation should take into account the presence of
19373 row in the model.</doc>
19374 <return-value transfer-ownership="none">
19375 <doc xml:whitespace="preserve">The passed iterator, updated to point at the previous</doc>
19376 <type name="ModelIter" c:type="ClutterModelIter*"/>
19379 <virtual-method name="get_model" invoker="get_model" version="0.6">
19380 <doc xml:whitespace="preserve">Retrieves a pointer to the #ClutterModel that this iter is part of.</doc>
19381 <return-value transfer-ownership="none">
19382 <doc xml:whitespace="preserve">a pointer to a #ClutterModel.</doc>
19383 <type name="Model" c:type="ClutterModel*"/>
19386 <virtual-method name="get_row" invoker="get_row" version="0.6">
19387 <doc xml:whitespace="preserve">Retrieves the position of the row that the @iter points to.</doc>
19388 <return-value transfer-ownership="none">
19389 <doc xml:whitespace="preserve">the position of the @iter in the model</doc>
19390 <type name="uint" c:type="guint"/>
19393 <virtual-method name="copy" invoker="copy" version="0.8">
19394 <doc xml:whitespace="preserve">Copies the passed iterator.</doc>
19395 <return-value transfer-ownership="full">
19396 <doc xml:whitespace="preserve">a copy of the iterator, or %NULL</doc>
19397 <type name="ModelIter" c:type="ClutterModelIter*"/>
19401 c:identifier="clutter_model_iter_get"
19403 introspectable="0">
19404 <doc xml:whitespace="preserve">Gets the value of one or more cells in the row referenced by @iter. The
19405 variable argument list should contain integer column numbers, each column
19406 column number followed by a place to store the value being retrieved. The
19407 list is terminated by a -1.
19408 For example, to get a value from column 0 with type %G_TYPE_STRING use:
19409 <informalexample><programlisting>
19410 clutter_model_iter_get (iter, 0, &place_string_here, -1);
19411 </programlisting></informalexample>
19412 where place_string_here is a gchar* to be filled with the string. If
19413 appropriate, the returned values have to be freed or unreferenced.</doc>
19414 <return-value transfer-ownership="none">
19415 <type name="none" c:type="void"/>
19418 <parameter transfer-ownership="none">
19424 <method name="get_value"
19425 c:identifier="clutter_model_iter_get_value"
19427 <doc xml:whitespace="preserve">Sets an initializes @value to that at @column. When done with @value,
19428 g_value_unset() needs to be called to free any allocated memory.</doc>
19429 <return-value transfer-ownership="none">
19430 <type name="none" c:type="void"/>
19433 <parameter name="column" transfer-ownership="none">
19434 <doc xml:whitespace="preserve">column number to retrieve the value from</doc>
19435 <type name="uint" c:type="guint"/>
19437 <parameter name="value" transfer-ownership="none">
19438 <doc xml:whitespace="preserve">an empty #GValue to set</doc>
19439 <type name="GObject.Value" c:type="GValue*"/>
19444 c:identifier="clutter_model_iter_set"
19446 introspectable="0">
19447 <doc xml:whitespace="preserve">Sets the value of one or more cells in the row referenced by @iter. The
19448 variable argument list should contain integer column numbers, each column
19449 column number followed by the value to be set. The list is terminated by a
19451 For example, to set column 0 with type %G_TYPE_STRING, use:
19452 <informalexample><programlisting>
19453 clutter_model_iter_set (iter, 0, "foo", -1);
19454 </programlisting></informalexample></doc>
19455 <return-value transfer-ownership="none">
19456 <type name="none" c:type="void"/>
19459 <parameter transfer-ownership="none">
19465 <method name="set_value"
19466 c:identifier="clutter_model_iter_set_value"
19468 <doc xml:whitespace="preserve">Sets the data in the cell specified by @iter and @column. The type of</doc>
19469 <return-value transfer-ownership="none">
19470 <type name="none" c:type="void"/>
19473 <parameter name="column" transfer-ownership="none">
19474 <doc xml:whitespace="preserve">column number to retrieve the value from</doc>
19475 <type name="uint" c:type="guint"/>
19477 <parameter name="value" transfer-ownership="none">
19478 <doc xml:whitespace="preserve">new value for the cell</doc>
19479 <type name="GObject.Value" c:type="GValue*"/>
19483 <method name="is_first"
19484 c:identifier="clutter_model_iter_is_first"
19486 <doc xml:whitespace="preserve">Gets whether the current iterator is at the beginning of the model
19487 to which it belongs.</doc>
19488 <return-value transfer-ownership="none">
19489 <doc xml:whitespace="preserve">#TRUE if @iter is the first iter in the filtered model</doc>
19490 <type name="boolean" c:type="gboolean"/>
19493 <method name="is_last"
19494 c:identifier="clutter_model_iter_is_last"
19496 <doc xml:whitespace="preserve">Gets whether the iterator is at the end of the model to which it
19498 <return-value transfer-ownership="none">
19499 <doc xml:whitespace="preserve">#TRUE if @iter is the last iter in the filtered model.</doc>
19500 <type name="boolean" c:type="gboolean"/>
19503 <method name="next" c:identifier="clutter_model_iter_next" version="0.6">
19504 <doc xml:whitespace="preserve">Updates the @iter to point at the next position in the model.
19505 The model implementation should take into account the presence of
19507 row in the model.</doc>
19508 <return-value transfer-ownership="none">
19509 <doc xml:whitespace="preserve">The passed iterator, updated to point at the next</doc>
19510 <type name="ModelIter" c:type="ClutterModelIter*"/>
19513 <method name="prev" c:identifier="clutter_model_iter_prev" version="0.6">
19514 <doc xml:whitespace="preserve">Sets the @iter to point at the previous position in the model.
19515 The model implementation should take into account the presence of
19517 row in the model.</doc>
19518 <return-value transfer-ownership="none">
19519 <doc xml:whitespace="preserve">The passed iterator, updated to point at the previous</doc>
19520 <type name="ModelIter" c:type="ClutterModelIter*"/>
19523 <method name="get_model"
19524 c:identifier="clutter_model_iter_get_model"
19526 <doc xml:whitespace="preserve">Retrieves a pointer to the #ClutterModel that this iter is part of.</doc>
19527 <return-value transfer-ownership="none">
19528 <doc xml:whitespace="preserve">a pointer to a #ClutterModel.</doc>
19529 <type name="Model" c:type="ClutterModel*"/>
19532 <method name="get_row"
19533 c:identifier="clutter_model_iter_get_row"
19535 <doc xml:whitespace="preserve">Retrieves the position of the row that the @iter points to.</doc>
19536 <return-value transfer-ownership="none">
19537 <doc xml:whitespace="preserve">the position of the @iter in the model</doc>
19538 <type name="uint" c:type="guint"/>
19541 <method name="copy" c:identifier="clutter_model_iter_copy" version="0.8">
19542 <doc xml:whitespace="preserve">Copies the passed iterator.</doc>
19543 <return-value transfer-ownership="full">
19544 <doc xml:whitespace="preserve">a copy of the iterator, or %NULL</doc>
19545 <type name="ModelIter" c:type="ClutterModelIter*"/>
19548 <property name="model"
19551 transfer-ownership="none">
19552 <doc xml:whitespace="preserve">A reference to the #ClutterModel that this iter belongs to.</doc>
19553 <type name="Model" c:type="ClutterModel"/>
19555 <property name="row"
19558 transfer-ownership="none">
19559 <doc xml:whitespace="preserve">The row number to which this iter points to.</doc>
19560 <type name="uint" c:type="guint"/>
19562 <field name="parent_instance">
19563 <type name="GObject.Object" c:type="GObject"/>
19565 <field name="priv">
19566 <type name="ModelIterPrivate" c:type="ClutterModelIterPrivate*"/>
19569 <record name="ModelIterClass"
19570 c:type="ClutterModelIterClass"
19571 glib:is-gtype-struct-for="ModelIter"
19573 <doc xml:whitespace="preserve">Class for #ClutterModelIter instances.</doc>
19574 <field name="parent_class">
19575 <type name="GObject.ObjectClass" c:type="GObjectClass"/>
19577 <field name="get_value">
19578 <callback name="get_value" c:type="get_value">
19579 <return-value transfer-ownership="none">
19580 <type name="none" c:type="void"/>
19583 <parameter name="iter" transfer-ownership="none">
19584 <type name="ModelIter" c:type="ClutterModelIter*"/>
19586 <parameter name="column" transfer-ownership="none">
19587 <doc xml:whitespace="preserve">column number to retrieve the value from</doc>
19588 <type name="uint" c:type="guint"/>
19590 <parameter name="value" transfer-ownership="none">
19591 <doc xml:whitespace="preserve">an empty #GValue to set</doc>
19592 <type name="GObject.Value" c:type="GValue*"/>
19597 <field name="set_value">
19598 <callback name="set_value" c:type="set_value">
19599 <return-value transfer-ownership="none">
19600 <type name="none" c:type="void"/>
19603 <parameter name="iter" transfer-ownership="none">
19604 <type name="ModelIter" c:type="ClutterModelIter*"/>
19606 <parameter name="column" transfer-ownership="none">
19607 <doc xml:whitespace="preserve">column number to retrieve the value from</doc>
19608 <type name="uint" c:type="guint"/>
19610 <parameter name="value" transfer-ownership="none">
19611 <doc xml:whitespace="preserve">new value for the cell</doc>
19612 <type name="GObject.Value" c:type="GValue*"/>
19617 <field name="is_first">
19618 <callback name="is_first" c:type="is_first">
19619 <return-value transfer-ownership="none">
19620 <doc xml:whitespace="preserve">#TRUE if @iter is the first iter in the filtered model</doc>
19621 <type name="boolean" c:type="gboolean"/>
19624 <parameter name="iter" transfer-ownership="none">
19625 <type name="ModelIter" c:type="ClutterModelIter*"/>
19630 <field name="is_last">
19631 <callback name="is_last" c:type="is_last">
19632 <return-value transfer-ownership="none">
19633 <doc xml:whitespace="preserve">#TRUE if @iter is the last iter in the filtered model.</doc>
19634 <type name="boolean" c:type="gboolean"/>
19637 <parameter name="iter" transfer-ownership="none">
19638 <type name="ModelIter" c:type="ClutterModelIter*"/>
19643 <field name="next">
19644 <callback name="next" c:type="next">
19645 <return-value transfer-ownership="none">
19646 <doc xml:whitespace="preserve">The passed iterator, updated to point at the next</doc>
19647 <type name="ModelIter" c:type="ClutterModelIter*"/>
19650 <parameter name="iter" transfer-ownership="none">
19651 <type name="ModelIter" c:type="ClutterModelIter*"/>
19656 <field name="prev">
19657 <callback name="prev" c:type="prev">
19658 <return-value transfer-ownership="none">
19659 <doc xml:whitespace="preserve">The passed iterator, updated to point at the previous</doc>
19660 <type name="ModelIter" c:type="ClutterModelIter*"/>
19663 <parameter name="iter" transfer-ownership="none">
19664 <type name="ModelIter" c:type="ClutterModelIter*"/>
19669 <field name="get_model">
19670 <callback name="get_model" c:type="get_model">
19671 <return-value transfer-ownership="none">
19672 <doc xml:whitespace="preserve">a pointer to a #ClutterModel.</doc>
19673 <type name="Model" c:type="ClutterModel*"/>
19676 <parameter name="iter" transfer-ownership="none">
19677 <type name="ModelIter" c:type="ClutterModelIter*"/>
19682 <field name="get_row">
19683 <callback name="get_row" c:type="get_row">
19684 <return-value transfer-ownership="none">
19685 <doc xml:whitespace="preserve">the position of the @iter in the model</doc>
19686 <type name="uint" c:type="guint"/>
19689 <parameter name="iter" transfer-ownership="none">
19690 <type name="ModelIter" c:type="ClutterModelIter*"/>
19695 <field name="copy">
19696 <callback name="copy" c:type="copy">
19697 <return-value transfer-ownership="full">
19698 <doc xml:whitespace="preserve">a copy of the iterator, or %NULL</doc>
19699 <type name="ModelIter" c:type="ClutterModelIter*"/>
19702 <parameter name="iter" transfer-ownership="none">
19703 <type name="ModelIter" c:type="ClutterModelIter*"/>
19708 <field name="clutter_model_iter_1">
19709 <callback name="clutter_model_iter_1" c:type="_clutter_model_iter_1">
19710 <return-value transfer-ownership="none">
19711 <type name="none" c:type="void"/>
19715 <field name="clutter_model_iter_2">
19716 <callback name="clutter_model_iter_2" c:type="_clutter_model_iter_2">
19717 <return-value transfer-ownership="none">
19718 <type name="none" c:type="void"/>
19722 <field name="clutter_model_iter_3">
19723 <callback name="clutter_model_iter_3" c:type="_clutter_model_iter_3">
19724 <return-value transfer-ownership="none">
19725 <type name="none" c:type="void"/>
19729 <field name="clutter_model_iter_4">
19730 <callback name="clutter_model_iter_4" c:type="_clutter_model_iter_4">
19731 <return-value transfer-ownership="none">
19732 <type name="none" c:type="void"/>
19736 <field name="clutter_model_iter_5">
19737 <callback name="clutter_model_iter_5" c:type="_clutter_model_iter_5">
19738 <return-value transfer-ownership="none">
19739 <type name="none" c:type="void"/>
19743 <field name="clutter_model_iter_6">
19744 <callback name="clutter_model_iter_6" c:type="_clutter_model_iter_6">
19745 <return-value transfer-ownership="none">
19746 <type name="none" c:type="void"/>
19750 <field name="clutter_model_iter_7">
19751 <callback name="clutter_model_iter_7" c:type="_clutter_model_iter_7">
19752 <return-value transfer-ownership="none">
19753 <type name="none" c:type="void"/>
19757 <field name="clutter_model_iter_8">
19758 <callback name="clutter_model_iter_8" c:type="_clutter_model_iter_8">
19759 <return-value transfer-ownership="none">
19760 <type name="none" c:type="void"/>
19765 <record name="ModelIterPrivate" c:type="ClutterModelIterPrivate">
19767 <record name="ModelPrivate" c:type="ClutterModelPrivate">
19769 <callback name="ModelSortFunc" c:type="ClutterModelSortFunc" version="0.6">
19770 <doc xml:whitespace="preserve">Compares the content of two rows in the model.</doc>
19771 <return-value transfer-ownership="none">
19772 <doc xml:whitespace="preserve">a positive integer if @a is after @b, a negative integer if</doc>
19773 <type name="int" c:type="gint"/>
19776 <parameter name="model" transfer-ownership="none">
19777 <doc xml:whitespace="preserve">a #ClutterModel</doc>
19778 <type name="Model" c:type="ClutterModel*"/>
19780 <parameter name="a" transfer-ownership="none">
19781 <doc xml:whitespace="preserve">a #GValue representing the contents of the row</doc>
19782 <type name="GObject.Value" c:type="GValue*"/>
19784 <parameter name="b" transfer-ownership="none">
19785 <doc xml:whitespace="preserve">a #GValue representing the contents of the second row</doc>
19786 <type name="GObject.Value" c:type="GValue*"/>
19788 <parameter name="user_data" transfer-ownership="none" closure="3">
19789 <doc xml:whitespace="preserve">data passed to clutter_model_set_sort()</doc>
19790 <type name="any" c:type="gpointer"/>
19794 <bitfield name="ModifierType"
19796 glib:type-name="ClutterModifierType"
19797 glib:get-type="clutter_modifier_type_get_type"
19798 c:type="ClutterModifierType">
19799 <doc xml:whitespace="preserve">Masks applied to a #ClutterEvent by modifiers.</doc>
19800 <member name="shift_mask"
19802 c:identifier="CLUTTER_SHIFT_MASK"
19803 glib:nick="shift-mask"/>
19804 <member name="lock_mask"
19806 c:identifier="CLUTTER_LOCK_MASK"
19807 glib:nick="lock-mask"/>
19808 <member name="control_mask"
19810 c:identifier="CLUTTER_CONTROL_MASK"
19811 glib:nick="control-mask"/>
19812 <member name="mod1_mask"
19814 c:identifier="CLUTTER_MOD1_MASK"
19815 glib:nick="mod1-mask"/>
19816 <member name="mod2_mask"
19818 c:identifier="CLUTTER_MOD2_MASK"
19819 glib:nick="mod2-mask"/>
19820 <member name="mod3_mask"
19822 c:identifier="CLUTTER_MOD3_MASK"
19823 glib:nick="mod3-mask"/>
19824 <member name="mod4_mask"
19826 c:identifier="CLUTTER_MOD4_MASK"
19827 glib:nick="mod4-mask"/>
19828 <member name="mod5_mask"
19830 c:identifier="CLUTTER_MOD5_MASK"
19831 glib:nick="mod5-mask"/>
19832 <member name="button1_mask"
19834 c:identifier="CLUTTER_BUTTON1_MASK"
19835 glib:nick="button1-mask"/>
19836 <member name="button2_mask"
19838 c:identifier="CLUTTER_BUTTON2_MASK"
19839 glib:nick="button2-mask"/>
19840 <member name="button3_mask"
19842 c:identifier="CLUTTER_BUTTON3_MASK"
19843 glib:nick="button3-mask"/>
19844 <member name="button4_mask"
19846 c:identifier="CLUTTER_BUTTON4_MASK"
19847 glib:nick="button4-mask"/>
19848 <member name="button5_mask"
19850 c:identifier="CLUTTER_BUTTON5_MASK"
19851 glib:nick="button5-mask"/>
19852 <member name="super_mask"
19854 c:identifier="CLUTTER_SUPER_MASK"
19855 glib:nick="super-mask"/>
19856 <member name="hyper_mask"
19858 c:identifier="CLUTTER_HYPER_MASK"
19859 glib:nick="hyper-mask"/>
19860 <member name="meta_mask"
19862 c:identifier="CLUTTER_META_MASK"
19863 glib:nick="meta-mask"/>
19864 <member name="release_mask"
19866 c:identifier="CLUTTER_RELEASE_MASK"
19867 glib:nick="release-mask"/>
19868 <member name="modifier_mask"
19870 c:identifier="CLUTTER_MODIFIER_MASK"
19871 glib:nick="modifier-mask"/>
19873 <record name="MotionEvent" c:type="ClutterMotionEvent" version="0.2">
19874 <doc xml:whitespace="preserve">Event for the pointer motion</doc>
19875 <field name="type" writable="1">
19876 <type name="EventType" c:type="ClutterEventType"/>
19878 <field name="time" writable="1">
19879 <type name="uint32" c:type="guint32"/>
19881 <field name="flags" writable="1">
19882 <type name="EventFlags" c:type="ClutterEventFlags"/>
19884 <field name="stage" writable="1">
19885 <type name="Stage" c:type="ClutterStage*"/>
19887 <field name="source" writable="1">
19888 <type name="Actor" c:type="ClutterActor*"/>
19890 <field name="x" writable="1">
19891 <type name="float" c:type="gfloat"/>
19893 <field name="y" writable="1">
19894 <type name="float" c:type="gfloat"/>
19896 <field name="modifier_state" writable="1">
19897 <type name="ModifierType" c:type="ClutterModifierType"/>
19899 <field name="axes" writable="1">
19900 <type name="any" c:type="gdouble*"/>
19902 <field name="device" writable="1">
19903 <type name="InputDevice" c:type="ClutterInputDevice*"/>
19906 <constant name="MouseKeys_Accel_Enable" value="65143">
19909 <constant name="MouseKeys_Enable" value="65142">
19912 <constant name="Muhenkan" value="65314">
19915 <constant name="Multi_key" value="65312">
19918 <constant name="MultipleCandidate" value="65341">
19921 <constant name="N" value="78">
19924 <constant name="Nacute" value="465">
19927 <constant name="NairaSign" value="16785574">
19930 <constant name="Ncaron" value="466">
19933 <constant name="Ncedilla" value="977">
19936 <constant name="NewSheqelSign" value="16785578">
19939 <constant name="Next" value="65366">
19942 <constant name="Next_Virtual_Screen" value="65234">
19945 <constant name="Ntilde" value="209">
19948 <constant name="Num_Lock" value="65407">
19951 <constant name="O" value="79">
19954 <constant name="OE" value="5052">
19957 <constant name="Oacute" value="211">
19960 <constant name="Obarred" value="16777631">
19963 <constant name="Obelowdot" value="16785100">
19966 <constant name="Ocaron" value="16777681">
19969 <constant name="Ocircumflex" value="212">
19972 <constant name="Ocircumflexacute" value="16785104">
19975 <constant name="Ocircumflexbelowdot" value="16785112">
19978 <constant name="Ocircumflexgrave" value="16785106">
19981 <constant name="Ocircumflexhook" value="16785108">
19984 <constant name="Ocircumflextilde" value="16785110">
19987 <constant name="Odiaeresis" value="214">
19990 <constant name="Odoubleacute" value="469">
19993 <class name="OffscreenEffect"
19994 c:type="ClutterOffscreenEffect"
19998 glib:type-name="ClutterOffscreenEffect"
19999 glib:get-type="clutter_offscreen_effect_get_type"
20000 glib:type-struct="OffscreenEffectClass">
20001 <doc xml:whitespace="preserve">The #ClutterOffscreenEffect structure contains only private data
20002 and should be accessed using the provided API</doc>
20003 <virtual-method name="create_target">
20004 <return-value transfer-ownership="full">
20005 <type name="Cogl.Handle" c:type="CoglHandle"/>
20008 <parameter name="min_width" transfer-ownership="none">
20009 <type name="float" c:type="gfloat"/>
20011 <parameter name="min_height" transfer-ownership="none">
20012 <type name="float" c:type="gfloat"/>
20016 <virtual-method name="paint_target" invoker="paint_target" version="1.4">
20017 <doc xml:whitespace="preserve">Calls the paint_target() virtual function of the @effect</doc>
20018 <return-value transfer-ownership="none">
20019 <type name="none" c:type="void"/>
20022 <method name="get_target"
20023 c:identifier="clutter_offscreen_effect_get_target"
20025 <doc xml:whitespace="preserve">Retrieves the material used as a render target for the offscreen
20026 buffer created by @effect
20027 %COGL_INVALID_HANDLE. The returned handle is owned by Clutter
20028 and it should not be modified or freed</doc>
20029 <return-value transfer-ownership="none">
20030 <doc xml:whitespace="preserve">a handle for a #CoglMaterial, or</doc>
20031 <type name="Cogl.Handle" c:type="CoglHandle"/>
20034 <method name="paint_target"
20035 c:identifier="clutter_offscreen_effect_paint_target"
20037 <doc xml:whitespace="preserve">Calls the paint_target() virtual function of the @effect</doc>
20038 <return-value transfer-ownership="none">
20039 <type name="none" c:type="void"/>
20042 <method name="create_target"
20043 c:identifier="clutter_offscreen_effect_create_target"
20045 <doc xml:whitespace="preserve">Calls the create_target() virtual function of the @effect</doc>
20046 <return-value transfer-ownership="full">
20047 <doc xml:whitespace="preserve">a handle to the target texture</doc>
20048 <type name="Cogl.Handle" c:type="CoglHandle"/>
20051 <parameter name="width" transfer-ownership="none">
20052 <doc xml:whitespace="preserve">the minimum width of the target texture</doc>
20053 <type name="float" c:type="gfloat"/>
20055 <parameter name="height" transfer-ownership="none">
20056 <doc xml:whitespace="preserve">the minimum height of the target texture</doc>
20057 <type name="float" c:type="gfloat"/>
20061 <field name="parent_instance">
20062 <type name="Effect" c:type="ClutterEffect"/>
20064 <field name="priv">
20065 <type name="OffscreenEffectPrivate"
20066 c:type="ClutterOffscreenEffectPrivate*"/>
20069 <record name="OffscreenEffectClass"
20070 c:type="ClutterOffscreenEffectClass"
20071 glib:is-gtype-struct-for="OffscreenEffect"
20073 <doc xml:whitespace="preserve">The #ClutterOffscreenEffectClass structure contains only private data</doc>
20074 <field name="parent_class">
20075 <type name="EffectClass" c:type="ClutterEffectClass"/>
20077 <field name="create_target">
20078 <callback name="create_target" c:type="create_target">
20079 <return-value transfer-ownership="full">
20080 <type name="Cogl.Handle" c:type="CoglHandle"/>
20083 <parameter name="effect" transfer-ownership="none">
20084 <type name="OffscreenEffect" c:type="ClutterOffscreenEffect*"/>
20086 <parameter name="min_width" transfer-ownership="none">
20087 <type name="float" c:type="gfloat"/>
20089 <parameter name="min_height" transfer-ownership="none">
20090 <type name="float" c:type="gfloat"/>
20095 <field name="paint_target">
20096 <callback name="paint_target" c:type="paint_target">
20097 <return-value transfer-ownership="none">
20098 <type name="none" c:type="void"/>
20101 <parameter name="effect" transfer-ownership="none">
20102 <type name="OffscreenEffect" c:type="ClutterOffscreenEffect*"/>
20107 <field name="clutter_offscreen1">
20108 <callback name="clutter_offscreen1" c:type="_clutter_offscreen1">
20109 <return-value transfer-ownership="none">
20110 <type name="none" c:type="void"/>
20114 <field name="clutter_offscreen2">
20115 <callback name="clutter_offscreen2" c:type="_clutter_offscreen2">
20116 <return-value transfer-ownership="none">
20117 <type name="none" c:type="void"/>
20121 <field name="clutter_offscreen3">
20122 <callback name="clutter_offscreen3" c:type="_clutter_offscreen3">
20123 <return-value transfer-ownership="none">
20124 <type name="none" c:type="void"/>
20128 <field name="clutter_offscreen4">
20129 <callback name="clutter_offscreen4" c:type="_clutter_offscreen4">
20130 <return-value transfer-ownership="none">
20131 <type name="none" c:type="void"/>
20135 <field name="clutter_offscreen5">
20136 <callback name="clutter_offscreen5" c:type="_clutter_offscreen5">
20137 <return-value transfer-ownership="none">
20138 <type name="none" c:type="void"/>
20142 <field name="clutter_offscreen6">
20143 <callback name="clutter_offscreen6" c:type="_clutter_offscreen6">
20144 <return-value transfer-ownership="none">
20145 <type name="none" c:type="void"/>
20149 <field name="clutter_offscreen7">
20150 <callback name="clutter_offscreen7" c:type="_clutter_offscreen7">
20151 <return-value transfer-ownership="none">
20152 <type name="none" c:type="void"/>
20157 <record name="OffscreenEffectPrivate"
20158 c:type="ClutterOffscreenEffectPrivate">
20160 <constant name="Ograve" value="210">
20163 <constant name="Ohook" value="16785102">
20166 <constant name="Ohorn" value="16777632">
20169 <constant name="Ohornacute" value="16785114">
20172 <constant name="Ohornbelowdot" value="16785122">
20175 <constant name="Ohorngrave" value="16785116">
20178 <constant name="Ohornhook" value="16785118">
20181 <constant name="Ohorntilde" value="16785120">
20184 <constant name="Omacron" value="978">
20187 <constant name="Ooblique" value="216">
20190 <constant name="Oslash" value="216">
20193 <constant name="Otilde" value="213">
20196 <constant name="Overlay1_Enable" value="65144">
20199 <constant name="Overlay2_Enable" value="65145">
20202 <constant name="P" value="80">
20205 <constant name="PATH_RELATIVE" value="32">
20208 <constant name="PRIORITY_REDRAW" value="50">
20211 <constant name="Pabovedot" value="16784982">
20214 <class name="PageTurnEffect"
20215 c:type="ClutterPageTurnEffect"
20217 parent="DeformEffect"
20218 glib:type-name="ClutterPageTurnEffect"
20219 glib:get-type="clutter_page_turn_effect_get_type">
20220 <doc xml:whitespace="preserve"><structname>ClutterPageTurnEffect</structname> is an opaque structure
20221 whose members can only be accessed using the provided API</doc>
20222 <constructor name="new"
20223 c:identifier="clutter_page_turn_effect_new"
20225 <doc xml:whitespace="preserve">Creates a new #ClutterPageTurnEffect instance with the given parameters</doc>
20226 <return-value transfer-ownership="full">
20227 <doc xml:whitespace="preserve">the newly created #ClutterPageTurnEffect</doc>
20228 <type name="PageTurnEffect" c:type="ClutterEffect*"/>
20231 <parameter name="period" transfer-ownership="none">
20232 <doc xml:whitespace="preserve">the period of the page curl, between 0.0 and 1.0</doc>
20233 <type name="double" c:type="gdouble"/>
20235 <parameter name="angle" transfer-ownership="none">
20236 <doc xml:whitespace="preserve">the angle of the page curl, between 0.0 and 360.0</doc>
20237 <type name="double" c:type="gdouble"/>
20239 <parameter name="radius" transfer-ownership="none">
20240 <doc xml:whitespace="preserve">the radius of the page curl, in pixels</doc>
20241 <type name="float" c:type="gfloat"/>
20245 <method name="set_period"
20246 c:identifier="clutter_page_turn_effect_set_period"
20248 <doc xml:whitespace="preserve">Sets the period of the page curling, between 0.0 (no curling)
20249 and 1.0 (fully curled)</doc>
20250 <return-value transfer-ownership="none">
20251 <type name="none" c:type="void"/>
20254 <parameter name="period" transfer-ownership="none">
20255 <doc xml:whitespace="preserve">the period of the page curl, between 0.0 and 1.0</doc>
20256 <type name="double" c:type="gdouble"/>
20260 <method name="get_period"
20261 c:identifier="clutter_page_turn_effect_get_period"
20263 <doc xml:whitespace="preserve">Retrieves the value set using clutter_page_turn_effect_get_period()</doc>
20264 <return-value transfer-ownership="none">
20265 <doc xml:whitespace="preserve">the period of the page curling</doc>
20266 <type name="double" c:type="gdouble"/>
20269 <method name="set_angle"
20270 c:identifier="clutter_page_turn_effect_set_angle"
20272 <doc xml:whitespace="preserve">Sets the angle of the page curling, in degrees</doc>
20273 <return-value transfer-ownership="none">
20274 <type name="none" c:type="void"/>
20277 <parameter name="angle" transfer-ownership="none">
20278 <doc xml:whitespace="preserve">the angle of the page curl, in degrees</doc>
20279 <type name="double" c:type="gdouble"/>
20283 <method name="get_angle"
20284 c:identifier="clutter_page_turn_effect_get_angle"
20286 <doc xml:whitespace="preserve">Retrieves the value set using clutter_page_turn_effect_get_angle()</doc>
20287 <return-value transfer-ownership="none">
20288 <doc xml:whitespace="preserve">the angle of the page curling</doc>
20289 <type name="double" c:type="gdouble"/>
20292 <method name="set_radius"
20293 c:identifier="clutter_page_turn_effect_set_radius"
20295 <doc xml:whitespace="preserve">Sets the radius of the page curling</doc>
20296 <return-value transfer-ownership="none">
20297 <type name="none" c:type="void"/>
20300 <parameter name="radius" transfer-ownership="none">
20301 <doc xml:whitespace="preserve">the radius of the page curling, in pixels</doc>
20302 <type name="float" c:type="gfloat"/>
20306 <method name="get_radius"
20307 c:identifier="clutter_page_turn_effect_get_radius"
20309 <doc xml:whitespace="preserve">Retrieves the value set using clutter_page_turn_effect_set_radius()</doc>
20310 <return-value transfer-ownership="none">
20311 <doc xml:whitespace="preserve">the radius of the page curling</doc>
20312 <type name="float" c:type="gfloat"/>
20315 <property name="angle"
20318 transfer-ownership="none">
20319 <doc xml:whitespace="preserve">The angle of the page rotation, in degrees, between 0.0 and 360.0</doc>
20320 <type name="double" c:type="gdouble"/>
20322 <property name="period"
20325 transfer-ownership="none">
20326 <doc xml:whitespace="preserve">The period of the page turn, between 0.0 (no curling) and
20327 1.0 (fully curled)</doc>
20328 <type name="double" c:type="gdouble"/>
20330 <property name="radius"
20333 transfer-ownership="none">
20334 <doc xml:whitespace="preserve">The radius of the page curl, in pixels</doc>
20335 <type name="float" c:type="gfloat"/>
20338 <constant name="Page_Down" value="65366">
20341 <constant name="Page_Up" value="65365">
20344 <class name="ParamSpecColor"
20345 c:type="ClutterParamSpecColor"
20347 parent="GObject.Object"
20348 glib:type-name="ClutterParamSpecColor"
20349 glib:get-type="clutter_param_color_get_type"
20350 glib:fundamental="1">
20351 <doc xml:whitespace="preserve">A #GParamSpec subclass for defining properties holding
20352 a #ClutterColor.</doc>
20353 <field name="parent_instance">
20354 <type name="GObject.ParamSpec" c:type="GParamSpec"/>
20356 <field name="default_value">
20357 <type name="Color" c:type="ClutterColor*"/>
20360 <class name="ParamSpecFixed"
20361 c:type="ClutterParamSpecFixed"
20362 parent="GObject.Object"
20363 glib:type-name="ClutterParamSpecFixed"
20364 glib:get-type="clutter_param_fixed_get_type"
20365 glib:fundamental="1">
20366 <field name="parent_instance">
20367 <type name="GObject.ParamSpec" c:type="GParamSpec"/>
20369 <field name="minimum">
20370 <type name="Cogl.Fixed" c:type="CoglFixed"/>
20372 <field name="maximum">
20373 <type name="Cogl.Fixed" c:type="CoglFixed"/>
20375 <field name="default_value">
20376 <type name="Cogl.Fixed" c:type="CoglFixed"/>
20379 <class name="ParamSpecUnit"
20380 c:type="ClutterParamSpecUnit"
20381 parent="GObject.Object"
20382 glib:type-name="ClutterParamSpecUnit"
20383 glib:get-type="clutter_param_units_get_type"
20384 glib:fundamental="1">
20386 <record name="ParamSpecUnits" c:type="ClutterParamSpecUnits" version="1.0">
20387 <doc xml:whitespace="preserve">#GParamSpec subclass for unit based properties.</doc>
20388 <field name="parent_instance" writable="1">
20389 <type name="GObject.ParamSpec" c:type="GParamSpec"/>
20391 <field name="default_type" writable="1">
20392 <type name="UnitType" c:type="ClutterUnitType"/>
20394 <field name="default_value" writable="1">
20395 <type name="float" c:type="gfloat"/>
20397 <field name="minimum" writable="1">
20398 <type name="float" c:type="gfloat"/>
20400 <field name="maximum" writable="1">
20401 <type name="float" c:type="gfloat"/>
20405 c:type="ClutterPath"
20407 parent="GObject.InitiallyUnowned"
20408 glib:type-name="ClutterPath"
20409 glib:get-type="clutter_path_get_type"
20410 glib:type-struct="PathClass">
20411 <doc xml:whitespace="preserve">The #ClutterPath struct contains only private data and should
20412 be accessed with the functions below.</doc>
20413 <constructor name="new" c:identifier="clutter_path_new" version="1.0">
20414 <doc xml:whitespace="preserve">Creates a new #ClutterPath instance with no nodes.
20415 The object has a floating reference so if you add it to a
20416 #ClutterBehaviourPath then you do not need to unref it.</doc>
20417 <return-value transfer-ownership="full">
20418 <doc xml:whitespace="preserve">the newly created #ClutterPath</doc>
20419 <type name="Path" c:type="ClutterPath*"/>
20422 <constructor name="new_with_description"
20423 c:identifier="clutter_path_new_with_description"
20425 <doc xml:whitespace="preserve">Creates a new #ClutterPath instance with the nodes described in
20427 The object has a floating reference so if you add it to a
20428 #ClutterBehaviourPath then you do not need to unref it.</doc>
20429 <return-value transfer-ownership="full">
20430 <doc xml:whitespace="preserve">the newly created #ClutterPath</doc>
20431 <type name="Path" c:type="ClutterPath*"/>
20434 <parameter name="desc" transfer-ownership="none">
20435 <doc xml:whitespace="preserve">a string describing the path</doc>
20436 <type name="utf8" c:type="gchar*"/>
20440 <method name="add_move_to"
20441 c:identifier="clutter_path_add_move_to"
20443 <doc xml:whitespace="preserve">Adds a %CLUTTER_PATH_MOVE_TO type node to the path. This is usually
20444 used as the first node in a path. It can also be used in the middle
20445 of the path to cause the actor to jump to the new coordinate.</doc>
20446 <return-value transfer-ownership="none">
20447 <type name="none" c:type="void"/>
20450 <parameter name="x" transfer-ownership="none">
20451 <doc xml:whitespace="preserve">the x coordinate</doc>
20452 <type name="int" c:type="gint"/>
20454 <parameter name="y" transfer-ownership="none">
20455 <doc xml:whitespace="preserve">the y coordinate</doc>
20456 <type name="int" c:type="gint"/>
20460 <method name="add_rel_move_to"
20461 c:identifier="clutter_path_add_rel_move_to"
20463 <doc xml:whitespace="preserve">Same as clutter_path_add_move_to() except the coordinates are
20464 relative to the previous node.</doc>
20465 <return-value transfer-ownership="none">
20466 <type name="none" c:type="void"/>
20469 <parameter name="x" transfer-ownership="none">
20470 <doc xml:whitespace="preserve">the x coordinate</doc>
20471 <type name="int" c:type="gint"/>
20473 <parameter name="y" transfer-ownership="none">
20474 <doc xml:whitespace="preserve">the y coordinate</doc>
20475 <type name="int" c:type="gint"/>
20479 <method name="add_line_to"
20480 c:identifier="clutter_path_add_line_to"
20482 <doc xml:whitespace="preserve">Adds a %CLUTTER_PATH_LINE_TO type node to the path. This causes the
20483 actor to move to the new coordinates in a straight line.</doc>
20484 <return-value transfer-ownership="none">
20485 <type name="none" c:type="void"/>
20488 <parameter name="x" transfer-ownership="none">
20489 <doc xml:whitespace="preserve">the x coordinate</doc>
20490 <type name="int" c:type="gint"/>
20492 <parameter name="y" transfer-ownership="none">
20493 <doc xml:whitespace="preserve">the y coordinate</doc>
20494 <type name="int" c:type="gint"/>
20498 <method name="add_rel_line_to"
20499 c:identifier="clutter_path_add_rel_line_to"
20501 <doc xml:whitespace="preserve">Same as clutter_path_add_line_to() except the coordinates are
20502 relative to the previous node.</doc>
20503 <return-value transfer-ownership="none">
20504 <type name="none" c:type="void"/>
20507 <parameter name="x" transfer-ownership="none">
20508 <doc xml:whitespace="preserve">the x coordinate</doc>
20509 <type name="int" c:type="gint"/>
20511 <parameter name="y" transfer-ownership="none">
20512 <doc xml:whitespace="preserve">the y coordinate</doc>
20513 <type name="int" c:type="gint"/>
20517 <method name="add_curve_to"
20518 c:identifier="clutter_path_add_curve_to"
20520 <doc xml:whitespace="preserve">Adds a %CLUTTER_PATH_CURVE_TO type node to the path. This causes
20521 the actor to follow a bezier from the last node to (@x_3, @y_3) using
20522 (@x_1, @y_1) and (@x_2,@y_2) as control points.</doc>
20523 <return-value transfer-ownership="none">
20524 <type name="none" c:type="void"/>
20527 <parameter name="x_1" transfer-ownership="none">
20528 <doc xml:whitespace="preserve">the x coordinate of the first control point</doc>
20529 <type name="int" c:type="gint"/>
20531 <parameter name="y_1" transfer-ownership="none">
20532 <doc xml:whitespace="preserve">the y coordinate of the first control point</doc>
20533 <type name="int" c:type="gint"/>
20535 <parameter name="x_2" transfer-ownership="none">
20536 <doc xml:whitespace="preserve">the x coordinate of the second control point</doc>
20537 <type name="int" c:type="gint"/>
20539 <parameter name="y_2" transfer-ownership="none">
20540 <doc xml:whitespace="preserve">the y coordinate of the second control point</doc>
20541 <type name="int" c:type="gint"/>
20543 <parameter name="x_3" transfer-ownership="none">
20544 <doc xml:whitespace="preserve">the x coordinate of the third control point</doc>
20545 <type name="int" c:type="gint"/>
20547 <parameter name="y_3" transfer-ownership="none">
20548 <doc xml:whitespace="preserve">the y coordinate of the third control point</doc>
20549 <type name="int" c:type="gint"/>
20553 <method name="add_rel_curve_to"
20554 c:identifier="clutter_path_add_rel_curve_to"
20556 <doc xml:whitespace="preserve">Same as clutter_path_add_curve_to() except the coordinates are
20557 relative to the previous node.</doc>
20558 <return-value transfer-ownership="none">
20559 <type name="none" c:type="void"/>
20562 <parameter name="x_1" transfer-ownership="none">
20563 <doc xml:whitespace="preserve">the x coordinate of the first control point</doc>
20564 <type name="int" c:type="gint"/>
20566 <parameter name="y_1" transfer-ownership="none">
20567 <doc xml:whitespace="preserve">the y coordinate of the first control point</doc>
20568 <type name="int" c:type="gint"/>
20570 <parameter name="x_2" transfer-ownership="none">
20571 <doc xml:whitespace="preserve">the x coordinate of the second control point</doc>
20572 <type name="int" c:type="gint"/>
20574 <parameter name="y_2" transfer-ownership="none">
20575 <doc xml:whitespace="preserve">the y coordinate of the second control point</doc>
20576 <type name="int" c:type="gint"/>
20578 <parameter name="x_3" transfer-ownership="none">
20579 <doc xml:whitespace="preserve">the x coordinate of the third control point</doc>
20580 <type name="int" c:type="gint"/>
20582 <parameter name="y_3" transfer-ownership="none">
20583 <doc xml:whitespace="preserve">the y coordinate of the third control point</doc>
20584 <type name="int" c:type="gint"/>
20588 <method name="add_close"
20589 c:identifier="clutter_path_add_close"
20591 <doc xml:whitespace="preserve">Adds a %CLUTTER_PATH_CLOSE type node to the path. This creates a
20592 straight line from the last node to the last %CLUTTER_PATH_MOVE_TO
20594 <return-value transfer-ownership="none">
20595 <type name="none" c:type="void"/>
20598 <method name="add_string"
20599 c:identifier="clutter_path_add_string"
20601 <doc xml:whitespace="preserve">Adds new nodes to the end of the path as described in @str. The
20602 format is a subset of the SVG path format. Each node is represented
20603 by a letter and is followed by zero, one or three pairs of
20604 coordinates. The coordinates can be separated by spaces or a
20605 comma. The types are:
20606 <variablelist>
20607 <varlistentry><term>M</term>
20608 <listitem><para>
20609 Adds a %CLUTTER_PATH_MOVE_TO node. Takes one pair of coordinates.
20610 </para></listitem></varlistentry>
20611 <varlistentry><term>L</term>
20612 <listitem><para>
20613 Adds a %CLUTTER_PATH_LINE_TO node. Takes one pair of coordinates.
20614 </para></listitem></varlistentry>
20615 <varlistentry><term>C</term>
20616 <listitem><para>
20617 Adds a %CLUTTER_PATH_CURVE_TO node. Takes three pairs of coordinates.
20618 </para></listitem></varlistentry>
20619 <varlistentry><term>z</term>
20620 <listitem><para>
20621 Adds a %CLUTTER_PATH_CLOSE node. No coordinates are needed.
20622 </para></listitem></varlistentry>
20623 </variablelist>
20624 The M, L and C commands can also be specified in lower case which
20625 means the coordinates are relative to the previous node.
20626 For example, to move an actor in a 100 by 100 pixel square centered
20627 on the point 300,300 you could use the following path:
20628 <informalexample>
20629 <programlisting>
20630 M 250,350 l 0 -100 L 350,250 l 0 100 z
20631 </programlisting>
20632 </informalexample>
20633 If the path description isn't valid %FALSE will be returned and no
20634 nodes will be added.
20636 <return-value transfer-ownership="none">
20637 <doc xml:whitespace="preserve">%TRUE is the path description was valid or %FALSE</doc>
20638 <type name="boolean" c:type="gboolean"/>
20641 <parameter name="str" transfer-ownership="none">
20642 <doc xml:whitespace="preserve">a string describing the new nodes</doc>
20643 <type name="utf8" c:type="gchar*"/>
20647 <method name="add_node"
20648 c:identifier="clutter_path_add_node"
20650 <doc xml:whitespace="preserve">Adds @node to the end of the path.</doc>
20651 <return-value transfer-ownership="none">
20652 <type name="none" c:type="void"/>
20655 <parameter name="node" transfer-ownership="none">
20656 <doc xml:whitespace="preserve">a #ClutterPathNode</doc>
20657 <type name="PathNode" c:type="ClutterPathNode*"/>
20661 <method name="add_cairo_path"
20662 c:identifier="clutter_path_add_cairo_path"
20664 <doc xml:whitespace="preserve">Add the nodes of the Cairo path to the end of @path.</doc>
20665 <return-value transfer-ownership="none">
20666 <type name="none" c:type="void"/>
20669 <parameter name="cpath" transfer-ownership="none">
20670 <doc xml:whitespace="preserve">a Cairo path</doc>
20671 <type name="cairo.Path" c:type="cairo_path_t*"/>
20675 <method name="get_n_nodes"
20676 c:identifier="clutter_path_get_n_nodes"
20678 <doc xml:whitespace="preserve">Retrieves the number of nodes in the path.</doc>
20679 <return-value transfer-ownership="none">
20680 <doc xml:whitespace="preserve">the number of nodes.</doc>
20681 <type name="uint" c:type="guint"/>
20684 <method name="get_node"
20685 c:identifier="clutter_path_get_node"
20687 <doc xml:whitespace="preserve">Retrieves the node of the path indexed by @index.</doc>
20688 <return-value transfer-ownership="none">
20689 <type name="none" c:type="void"/>
20692 <parameter name="index_" transfer-ownership="none">
20693 <doc xml:whitespace="preserve">the node number to retrieve</doc>
20694 <type name="uint" c:type="guint"/>
20696 <parameter name="node" transfer-ownership="none">
20697 <doc xml:whitespace="preserve">a location to store a copy of the node</doc>
20698 <type name="PathNode" c:type="ClutterPathNode*"/>
20702 <method name="get_nodes"
20703 c:identifier="clutter_path_get_nodes"
20705 <doc xml:whitespace="preserve">Returns a #GSList of #ClutterPathNode<!-- -->s. The list should be
20706 freed with g_slist_free(). The nodes are owned by the path and
20707 should not be freed. Altering the path may cause the nodes in the
20708 list to become invalid so you should copy them if you want to keep
20710 <return-value transfer-ownership="container">
20711 <doc xml:whitespace="preserve">a list of nodes in the path.</doc>
20712 <type name="GLib.SList" c:type="GSList*">
20713 <type name="PathNode"/>
20717 <method name="foreach" c:identifier="clutter_path_foreach" version="1.0">
20718 <doc xml:whitespace="preserve">Calls a function for each node of the path.</doc>
20719 <return-value transfer-ownership="none">
20720 <type name="none" c:type="void"/>
20723 <parameter name="callback"
20724 transfer-ownership="none"
20727 <doc xml:whitespace="preserve">the function to call with each node</doc>
20728 <type name="PathCallback" c:type="ClutterPathCallback"/>
20730 <parameter name="user_data" transfer-ownership="none">
20731 <doc xml:whitespace="preserve">user data to pass to the function</doc>
20732 <type name="any" c:type="gpointer"/>
20736 <method name="insert_node"
20737 c:identifier="clutter_path_insert_node"
20739 <doc xml:whitespace="preserve">Inserts @node into the path before the node at the given offset. If</doc>
20740 <return-value transfer-ownership="none">
20741 <type name="none" c:type="void"/>
20744 <parameter name="index_" transfer-ownership="none">
20745 <doc xml:whitespace="preserve">offset of where to insert the node</doc>
20746 <type name="int" c:type="gint"/>
20748 <parameter name="node" transfer-ownership="none">
20749 <doc xml:whitespace="preserve">the node to insert</doc>
20750 <type name="PathNode" c:type="ClutterPathNode*"/>
20754 <method name="remove_node"
20755 c:identifier="clutter_path_remove_node"
20757 <doc xml:whitespace="preserve">Removes the node at the given offset from the path.</doc>
20758 <return-value transfer-ownership="none">
20759 <type name="none" c:type="void"/>
20762 <parameter name="index_" transfer-ownership="none">
20763 <doc xml:whitespace="preserve">index of the node to remove</doc>
20764 <type name="uint" c:type="guint"/>
20768 <method name="replace_node"
20769 c:identifier="clutter_path_replace_node"
20771 <doc xml:whitespace="preserve">Replaces the node at offset @index_ with @node.</doc>
20772 <return-value transfer-ownership="none">
20773 <type name="none" c:type="void"/>
20776 <parameter name="index_" transfer-ownership="none">
20777 <doc xml:whitespace="preserve">index to the existing node</doc>
20778 <type name="uint" c:type="guint"/>
20780 <parameter name="node" transfer-ownership="none">
20781 <doc xml:whitespace="preserve">the replacement node</doc>
20782 <type name="PathNode" c:type="ClutterPathNode*"/>
20786 <method name="get_description"
20787 c:identifier="clutter_path_get_description"
20789 <doc xml:whitespace="preserve">Returns a newly allocated string describing the path in the same
20790 format as used by clutter_path_add_string().</doc>
20791 <return-value transfer-ownership="full">
20792 <doc xml:whitespace="preserve">a string description of the path. Free with g_free().</doc>
20793 <type name="utf8" c:type="gchar*"/>
20796 <method name="set_description"
20797 c:identifier="clutter_path_set_description"
20799 <doc xml:whitespace="preserve">Replaces all of the nodes in the path with nodes described by
20800 If the string is invalid then %FALSE is returned and the path is
20802 <return-value transfer-ownership="none">
20803 <doc xml:whitespace="preserve">%TRUE is the path was valid, %FALSE otherwise.</doc>
20804 <type name="boolean" c:type="gboolean"/>
20807 <parameter name="str" transfer-ownership="none">
20808 <doc xml:whitespace="preserve">a string describing the path</doc>
20809 <type name="utf8" c:type="gchar*"/>
20813 <method name="clear" c:identifier="clutter_path_clear" version="1.0">
20814 <doc xml:whitespace="preserve">Removes all nodes from the path.</doc>
20815 <return-value transfer-ownership="none">
20816 <type name="none" c:type="void"/>
20819 <method name="to_cairo_path"
20820 c:identifier="clutter_path_to_cairo_path"
20822 <doc xml:whitespace="preserve">Add the nodes of the ClutterPath to the path in the Cairo context.</doc>
20823 <return-value transfer-ownership="none">
20824 <type name="none" c:type="void"/>
20827 <parameter name="cr" transfer-ownership="none">
20828 <doc xml:whitespace="preserve">a Cairo context</doc>
20829 <type name="cairo.Context" c:type="cairo_t*"/>
20833 <method name="get_position"
20834 c:identifier="clutter_path_get_position"
20836 <doc xml:whitespace="preserve">The value in @progress represents a position along the path where
20837 0.0 is the beginning and 1.0 is the end of the path. An
20838 interpolated position is then stored in @position.</doc>
20839 <return-value transfer-ownership="none">
20840 <doc xml:whitespace="preserve">index of the node used to calculate the position.</doc>
20841 <type name="uint" c:type="guint"/>
20844 <parameter name="progress" transfer-ownership="none">
20845 <doc xml:whitespace="preserve">a position along the path as a fraction of its length</doc>
20846 <type name="double" c:type="gdouble"/>
20848 <parameter name="position" transfer-ownership="none">
20849 <doc xml:whitespace="preserve">location to store the position</doc>
20850 <type name="Knot" c:type="ClutterKnot*"/>
20854 <method name="get_length"
20855 c:identifier="clutter_path_get_length"
20857 <doc xml:whitespace="preserve">Retrieves an approximation of the total length of the path.</doc>
20858 <return-value transfer-ownership="none">
20859 <doc xml:whitespace="preserve">the length of the path.</doc>
20860 <type name="uint" c:type="guint"/>
20863 <property name="description" writable="1" transfer-ownership="none">
20864 <type name="utf8" c:type="gchararray"/>
20866 <property name="length" transfer-ownership="none">
20867 <type name="uint" c:type="guint"/>
20869 <field name="parent">
20870 <type name="GObject.InitiallyUnowned" c:type="GInitiallyUnowned"/>
20872 <field name="priv">
20873 <type name="PathPrivate" c:type="ClutterPathPrivate*"/>
20876 <callback name="PathCallback" c:type="ClutterPathCallback" version="1.0">
20877 <doc xml:whitespace="preserve">This function is passed to clutter_path_foreach() and will be
20878 called for each node contained in the path.</doc>
20879 <return-value transfer-ownership="none">
20880 <type name="none" c:type="void"/>
20883 <parameter name="node" transfer-ownership="none">
20884 <doc xml:whitespace="preserve">the node</doc>
20885 <type name="PathNode" c:type="ClutterPathNode*"/>
20887 <parameter name="data" transfer-ownership="none">
20888 <doc xml:whitespace="preserve">optional data passed to the function</doc>
20889 <type name="any" c:type="gpointer"/>
20893 <record name="PathClass"
20894 c:type="ClutterPathClass"
20895 glib:is-gtype-struct-for="Path"
20897 <doc xml:whitespace="preserve">The #ClutterPathClass struct contains only private data.</doc>
20898 <field name="parent_class">
20899 <type name="GObject.InitiallyUnownedClass"
20900 c:type="GInitiallyUnownedClass"/>
20903 <record name="PathNode"
20904 c:type="ClutterPathNode"
20906 glib:type-name="ClutterPathNode"
20907 glib:get-type="clutter_path_node_get_type">
20908 <doc xml:whitespace="preserve">Represents a single node of a #ClutterPath.
20909 Some of the coordinates in @points may be unused for some node
20910 types. %CLUTTER_PATH_MOVE_TO and %CLUTTER_PATH_LINE_TO use only one
20911 pair of coordinates, %CLUTTER_PATH_CURVE_TO uses all three and
20912 %CLUTTER_PATH_CLOSE uses none.</doc>
20913 <field name="type" writable="1">
20914 <type name="PathNodeType" c:type="ClutterPathNodeType"/>
20916 <field name="points" writable="1">
20917 <array zero-terminated="0" c:type="ClutterKnot" fixed-size="3">
20918 <type name="Knot"/>
20921 <method name="copy" c:identifier="clutter_path_node_copy" version="1.0">
20922 <doc xml:whitespace="preserve">Makes an allocated copy of a node.</doc>
20923 <return-value transfer-ownership="full">
20924 <doc xml:whitespace="preserve">the copied node.</doc>
20925 <type name="PathNode" c:type="ClutterPathNode*"/>
20928 <method name="free" c:identifier="clutter_path_node_free" version="1.0">
20929 <doc xml:whitespace="preserve">Frees the memory of an allocated node.</doc>
20930 <return-value transfer-ownership="none">
20931 <type name="none" c:type="void"/>
20934 <method name="equal"
20935 c:identifier="clutter_path_node_equal"
20937 <doc xml:whitespace="preserve">Compares two nodes and checks if they are the same type with the
20938 same coordinates.</doc>
20939 <return-value transfer-ownership="none">
20940 <doc xml:whitespace="preserve">%TRUE if the nodes are the same.</doc>
20941 <type name="boolean" c:type="gboolean"/>
20944 <parameter name="node_b" transfer-ownership="none">
20945 <doc xml:whitespace="preserve">Second node</doc>
20946 <type name="PathNode" c:type="ClutterPathNode*"/>
20951 <enumeration name="PathNodeType"
20953 glib:type-name="ClutterPathNodeType"
20954 glib:get-type="clutter_path_node_type_get_type"
20955 c:type="ClutterPathNodeType">
20956 <doc xml:whitespace="preserve">Types of nodes in a #ClutterPath.</doc>
20957 <member name="move_to"
20959 c:identifier="CLUTTER_PATH_MOVE_TO"
20960 glib:nick="move-to"/>
20961 <member name="line_to"
20963 c:identifier="CLUTTER_PATH_LINE_TO"
20964 glib:nick="line-to"/>
20965 <member name="curve_to"
20967 c:identifier="CLUTTER_PATH_CURVE_TO"
20968 glib:nick="curve-to"/>
20969 <member name="close"
20971 c:identifier="CLUTTER_PATH_CLOSE"
20972 glib:nick="close"/>
20973 <member name="rel_move_to"
20975 c:identifier="CLUTTER_PATH_REL_MOVE_TO"
20976 glib:nick="rel-move-to"/>
20977 <member name="rel_line_to"
20979 c:identifier="CLUTTER_PATH_REL_LINE_TO"
20980 glib:nick="rel-line-to"/>
20981 <member name="rel_curve_to"
20983 c:identifier="CLUTTER_PATH_REL_CURVE_TO"
20984 glib:nick="rel-curve-to"/>
20986 <record name="PathPrivate" c:type="ClutterPathPrivate">
20988 <constant name="Pause" value="65299">
20991 <record name="Perspective"
20992 c:type="ClutterPerspective"
20994 glib:type-name="ClutterPerspective"
20995 glib:get-type="clutter_perspective_get_type">
20996 <doc xml:whitespace="preserve">Stage perspective definition. #ClutterPerspective is only used by
20997 the fixed point version of clutter_stage_set_perspective().</doc>
20998 <field name="fovy" writable="1">
20999 <type name="float" c:type="gfloat"/>
21001 <field name="aspect" writable="1">
21002 <type name="float" c:type="gfloat"/>
21004 <field name="z_near" writable="1">
21005 <type name="float" c:type="gfloat"/>
21007 <field name="z_far" writable="1">
21008 <type name="float" c:type="gfloat"/>
21011 <constant name="PesetaSign" value="16785575">
21014 <enumeration name="PickMode"
21016 glib:type-name="ClutterPickMode"
21017 glib:get-type="clutter_pick_mode_get_type"
21018 c:type="ClutterPickMode">
21019 <doc xml:whitespace="preserve">Controls the paint cycle of the scene graph when in pick mode</doc>
21020 <member name="none"
21022 c:identifier="CLUTTER_PICK_NONE"
21024 <member name="reactive"
21026 c:identifier="CLUTTER_PICK_REACTIVE"
21027 glib:nick="reactive"/>
21030 c:identifier="CLUTTER_PICK_ALL"
21033 <constant name="Pointer_Accelerate" value="65274">
21036 <constant name="Pointer_Button1" value="65257">
21039 <constant name="Pointer_Button2" value="65258">
21042 <constant name="Pointer_Button3" value="65259">
21045 <constant name="Pointer_Button4" value="65260">
21048 <constant name="Pointer_Button5" value="65261">
21051 <constant name="Pointer_Button_Dflt" value="65256">
21054 <constant name="Pointer_DblClick1" value="65263">
21057 <constant name="Pointer_DblClick2" value="65264">
21060 <constant name="Pointer_DblClick3" value="65265">
21063 <constant name="Pointer_DblClick4" value="65266">
21066 <constant name="Pointer_DblClick5" value="65267">
21069 <constant name="Pointer_DblClick_Dflt" value="65262">
21072 <constant name="Pointer_DfltBtnNext" value="65275">
21075 <constant name="Pointer_DfltBtnPrev" value="65276">
21078 <constant name="Pointer_Down" value="65251">
21081 <constant name="Pointer_DownLeft" value="65254">
21084 <constant name="Pointer_DownRight" value="65255">
21087 <constant name="Pointer_Drag1" value="65269">
21090 <constant name="Pointer_Drag2" value="65270">
21093 <constant name="Pointer_Drag3" value="65271">
21096 <constant name="Pointer_Drag4" value="65272">
21099 <constant name="Pointer_Drag5" value="65277">
21102 <constant name="Pointer_Drag_Dflt" value="65268">
21105 <constant name="Pointer_EnableKeys" value="65273">
21108 <constant name="Pointer_Left" value="65248">
21111 <constant name="Pointer_Right" value="65249">
21114 <constant name="Pointer_Up" value="65250">
21117 <constant name="Pointer_UpLeft" value="65252">
21120 <constant name="Pointer_UpRight" value="65253">
21123 <constant name="Prev_Virtual_Screen" value="65233">
21126 <constant name="PreviousCandidate" value="65342">
21129 <constant name="Print" value="65377">
21132 <constant name="Prior" value="65365">
21135 <callback name="ProgressFunc" c:type="ClutterProgressFunc" version="1.0">
21136 <doc xml:whitespace="preserve">Prototype of the progress function used to compute the value
21137 between the two ends @a and @b of an interval depending on
21138 the value of @progress.
21139 The #GValue in @retval is already initialized with the same
21141 This function will be called by #ClutterInterval if the
21142 type of the values of the interval was registered using
21143 clutter_interval_register_progress_func().
21144 the value and stored it inside @retval</doc>
21145 <return-value transfer-ownership="none">
21146 <doc xml:whitespace="preserve">%TRUE if the function successfully computed</doc>
21147 <type name="boolean" c:type="gboolean"/>
21150 <parameter name="a" transfer-ownership="none">
21151 <doc xml:whitespace="preserve">the initial value of an interval</doc>
21152 <type name="GObject.Value" c:type="GValue*"/>
21154 <parameter name="b" transfer-ownership="none">
21155 <doc xml:whitespace="preserve">the final value of an interval</doc>
21156 <type name="GObject.Value" c:type="GValue*"/>
21158 <parameter name="progress" transfer-ownership="none">
21159 <doc xml:whitespace="preserve">the progress factor, between 0 and 1</doc>
21160 <type name="double" c:type="gdouble"/>
21162 <parameter name="retval" transfer-ownership="none">
21163 <doc xml:whitespace="preserve">the value used to store the progress</doc>
21164 <type name="GObject.Value" c:type="GValue*"/>
21168 <constant name="Q" value="81">
21171 <constant name="R" value="82">
21174 <constant name="R1" value="65490">
21177 <constant name="R10" value="65499">
21180 <constant name="R11" value="65500">
21183 <constant name="R12" value="65501">
21186 <constant name="R13" value="65502">
21189 <constant name="R14" value="65503">
21192 <constant name="R15" value="65504">
21195 <constant name="R2" value="65491">
21198 <constant name="R3" value="65492">
21201 <constant name="R4" value="65493">
21204 <constant name="R5" value="65494">
21207 <constant name="R6" value="65495">
21210 <constant name="R7" value="65496">
21213 <constant name="R8" value="65497">
21216 <constant name="R9" value="65498">
21219 <constant name="Racute" value="448">
21222 <constant name="Rcaron" value="472">
21225 <constant name="Rcedilla" value="931">
21228 <class name="Rectangle"
21229 c:type="ClutterRectangle"
21232 glib:type-name="ClutterRectangle"
21233 glib:get-type="clutter_rectangle_get_type"
21234 glib:type-struct="RectangleClass">
21235 <doc xml:whitespace="preserve">The #ClutterRectangle structure contains only private data
21236 and should be accessed using the provided API</doc>
21237 <implements name="Animatable"/>
21238 <implements name="Atk.ImplementorIface"/>
21239 <implements name="Scriptable"/>
21240 <constructor name="new" c:identifier="clutter_rectangle_new">
21241 <doc xml:whitespace="preserve">Creates a new #ClutterActor with a rectangular shape.</doc>
21242 <return-value transfer-ownership="full">
21243 <doc xml:whitespace="preserve">a new #ClutterActor</doc>
21244 <type name="Rectangle" c:type="ClutterActor*"/>
21247 <constructor name="new_with_color"
21248 c:identifier="clutter_rectangle_new_with_color">
21249 <doc xml:whitespace="preserve">Creates a new #ClutterActor with a rectangular shape
21250 and of the given @color.</doc>
21251 <return-value transfer-ownership="full">
21252 <doc xml:whitespace="preserve">a new #ClutterActor</doc>
21253 <type name="Rectangle" c:type="ClutterActor*"/>
21256 <parameter name="color" transfer-ownership="none">
21257 <doc xml:whitespace="preserve">a #ClutterColor</doc>
21258 <type name="Color" c:type="ClutterColor*"/>
21262 <method name="get_color" c:identifier="clutter_rectangle_get_color">
21263 <doc xml:whitespace="preserve">Retrieves the color of @rectangle.</doc>
21264 <return-value transfer-ownership="none">
21265 <type name="none" c:type="void"/>
21268 <parameter name="color" transfer-ownership="none">
21269 <doc xml:whitespace="preserve">return location for a #ClutterColor</doc>
21270 <type name="Color" c:type="ClutterColor*"/>
21274 <method name="set_color" c:identifier="clutter_rectangle_set_color">
21275 <doc xml:whitespace="preserve">Sets the color of @rectangle.</doc>
21276 <return-value transfer-ownership="none">
21277 <type name="none" c:type="void"/>
21280 <parameter name="color" transfer-ownership="none">
21281 <doc xml:whitespace="preserve">a #ClutterColor</doc>
21282 <type name="Color" c:type="ClutterColor*"/>
21286 <method name="get_border_width"
21287 c:identifier="clutter_rectangle_get_border_width"
21289 <doc xml:whitespace="preserve">Gets the width (in pixels) of the border used by @rectangle</doc>
21290 <return-value transfer-ownership="none">
21291 <doc xml:whitespace="preserve">the border's width</doc>
21292 <type name="uint" c:type="guint"/>
21295 <method name="set_border_width"
21296 c:identifier="clutter_rectangle_set_border_width"
21298 <doc xml:whitespace="preserve">Sets the width (in pixel) of the border used by @rectangle.
21299 A @width of 0 will unset the border.</doc>
21300 <return-value transfer-ownership="none">
21301 <type name="none" c:type="void"/>
21304 <parameter name="width" transfer-ownership="none">
21305 <doc xml:whitespace="preserve">the width of the border</doc>
21306 <type name="uint" c:type="guint"/>
21310 <method name="get_border_color"
21311 c:identifier="clutter_rectangle_get_border_color"
21313 <doc xml:whitespace="preserve">Gets the color of the border used by @rectangle and places
21314 it into @color.</doc>
21315 <return-value transfer-ownership="none">
21316 <type name="none" c:type="void"/>
21319 <parameter name="color" transfer-ownership="none">
21320 <doc xml:whitespace="preserve">return location for a #ClutterColor</doc>
21321 <type name="Color" c:type="ClutterColor*"/>
21325 <method name="set_border_color"
21326 c:identifier="clutter_rectangle_set_border_color">
21327 <doc xml:whitespace="preserve">Sets the color of the border used by @rectangle using @color</doc>
21328 <return-value transfer-ownership="none">
21329 <type name="none" c:type="void"/>
21332 <parameter name="color" transfer-ownership="none">
21333 <doc xml:whitespace="preserve">the color of the border</doc>
21334 <type name="Color" c:type="ClutterColor*"/>
21338 <property name="border-color"
21341 transfer-ownership="none">
21342 <doc xml:whitespace="preserve">The color of the border of the rectangle.</doc>
21343 <type name="Color" c:type="ClutterColor"/>
21345 <property name="border-width"
21348 transfer-ownership="none">
21349 <doc xml:whitespace="preserve">The width of the border of the rectangle, in pixels.</doc>
21350 <type name="uint" c:type="guint"/>
21352 <property name="color" writable="1" transfer-ownership="none">
21353 <doc xml:whitespace="preserve">The color of the rectangle.</doc>
21354 <type name="Color" c:type="ClutterColor"/>
21356 <property name="has-border"
21359 transfer-ownership="none">
21360 <doc xml:whitespace="preserve">Whether the #ClutterRectangle should be displayed with a border.</doc>
21361 <type name="boolean" c:type="gboolean"/>
21363 <field name="parent">
21364 <type name="Actor" c:type="ClutterActor"/>
21366 <field name="priv">
21367 <type name="RectanglePrivate" c:type="ClutterRectanglePrivate*"/>
21370 <record name="RectangleClass"
21371 c:type="ClutterRectangleClass"
21372 glib:is-gtype-struct-for="Rectangle"
21374 <doc xml:whitespace="preserve">The #ClutterRectangleClass structure contains only private data</doc>
21375 <field name="parent_class">
21376 <type name="ActorClass" c:type="ClutterActorClass"/>
21378 <field name="clutter_rectangle1">
21379 <callback name="clutter_rectangle1" c:type="_clutter_rectangle1">
21380 <return-value transfer-ownership="none">
21381 <type name="none" c:type="void"/>
21385 <field name="clutter_rectangle2">
21386 <callback name="clutter_rectangle2" c:type="_clutter_rectangle2">
21387 <return-value transfer-ownership="none">
21388 <type name="none" c:type="void"/>
21392 <field name="clutter_rectangle3">
21393 <callback name="clutter_rectangle3" c:type="_clutter_rectangle3">
21394 <return-value transfer-ownership="none">
21395 <type name="none" c:type="void"/>
21399 <field name="clutter_rectangle4">
21400 <callback name="clutter_rectangle4" c:type="_clutter_rectangle4">
21401 <return-value transfer-ownership="none">
21402 <type name="none" c:type="void"/>
21407 <record name="RectanglePrivate" c:type="ClutterRectanglePrivate">
21409 <constant name="Redo" value="65382">
21412 <bitfield name="RedrawFlags"
21414 glib:type-name="ClutterRedrawFlags"
21415 glib:get-type="clutter_redraw_flags_get_type"
21416 c:type="ClutterRedrawFlags">
21417 <doc xml:whitespace="preserve">Flags passed to the clutter_actor_queue_redraw_with_clip ()
21421 c:identifier="CLUTTER_REDRAW_CLIPPED_TO_BOX"
21423 <member name="allocation"
21425 c:identifier="CLUTTER_REDRAW_CLIPPED_TO_ALLOCATION"
21426 glib:nick="allocation"/>
21428 <constant name="RepeatKeys_Enable" value="65138">
21431 <enumeration name="RequestMode"
21433 glib:type-name="ClutterRequestMode"
21434 glib:get-type="clutter_request_mode_get_type"
21435 c:type="ClutterRequestMode">
21436 <doc xml:whitespace="preserve">Specifies the type of requests for a #ClutterActor.</doc>
21437 <member name="height_for_width"
21439 c:identifier="CLUTTER_REQUEST_HEIGHT_FOR_WIDTH"
21440 glib:nick="height-for-width"/>
21441 <member name="width_for_height"
21443 c:identifier="CLUTTER_REQUEST_WIDTH_FOR_HEIGHT"
21444 glib:nick="width-for-height"/>
21446 <constant name="Return" value="65293">
21449 <constant name="Right" value="65363">
21452 <constant name="Romaji" value="65316">
21455 <enumeration name="RotateAxis"
21457 glib:type-name="ClutterRotateAxis"
21458 glib:get-type="clutter_rotate_axis_get_type"
21459 c:type="ClutterRotateAxis">
21460 <doc xml:whitespace="preserve">Axis of a rotation.</doc>
21461 <member name="x_axis"
21463 c:identifier="CLUTTER_X_AXIS"
21464 glib:nick="x-axis"/>
21465 <member name="y_axis"
21467 c:identifier="CLUTTER_Y_AXIS"
21468 glib:nick="y-axis"/>
21469 <member name="z_axis"
21471 c:identifier="CLUTTER_Z_AXIS"
21472 glib:nick="z-axis"/>
21474 <enumeration name="RotateDirection"
21476 glib:type-name="ClutterRotateDirection"
21477 glib:get-type="clutter_rotate_direction_get_type"
21478 c:type="ClutterRotateDirection">
21479 <doc xml:whitespace="preserve">Direction of a rotation.</doc>
21482 c:identifier="CLUTTER_ROTATE_CW"
21486 c:identifier="CLUTTER_ROTATE_CCW"
21489 <constant name="RupeeSign" value="16785576">
21492 <constant name="S" value="83">
21495 <constant name="SCHWA" value="16777615">
21498 <constant name="Sabovedot" value="16784992">
21501 <constant name="Sacute" value="422">
21504 <constant name="Scaron" value="425">
21507 <constant name="Scedilla" value="426">
21510 <constant name="Scircumflex" value="734">
21513 <class name="Score"
21514 c:type="ClutterScore"
21516 parent="GObject.Object"
21517 glib:type-name="ClutterScore"
21518 glib:get-type="clutter_score_get_type"
21519 glib:type-struct="ScoreClass">
21520 <doc xml:whitespace="preserve">The #ClutterScore structure contains only private data
21521 and should be accessed using the provided API</doc>
21522 <constructor name="new" c:identifier="clutter_score_new" version="0.6">
21523 <doc xml:whitespace="preserve">Creates a new #ClutterScore. A #ClutterScore is an object that can
21524 hold multiple #ClutterTimeline<!-- -->s in a sequential order.
21526 <return-value transfer-ownership="full">
21527 <doc xml:whitespace="preserve">the newly created #ClutterScore. Use g_object_unref()</doc>
21528 <type name="Score" c:type="ClutterScore*"/>
21531 <method name="set_loop"
21532 c:identifier="clutter_score_set_loop"
21534 <doc xml:whitespace="preserve">Sets whether @score should loop. A looping #ClutterScore will start
21535 from its initial state after the ::complete signal has been fired.</doc>
21536 <return-value transfer-ownership="none">
21537 <type name="none" c:type="void"/>
21540 <parameter name="loop" transfer-ownership="none">
21541 <doc xml:whitespace="preserve">%TRUE for enable looping</doc>
21542 <type name="boolean" c:type="gboolean"/>
21546 <method name="get_loop"
21547 c:identifier="clutter_score_get_loop"
21549 <doc xml:whitespace="preserve">Gets whether @score is looping</doc>
21550 <return-value transfer-ownership="none">
21551 <doc xml:whitespace="preserve">%TRUE if the score is looping</doc>
21552 <type name="boolean" c:type="gboolean"/>
21555 <method name="append" c:identifier="clutter_score_append" version="0.6">
21556 <doc xml:whitespace="preserve">Appends a timeline to another one existing in the score; the newly
21557 appended timeline will be started when @parent is complete.
21558 If @parent is %NULL, the new #ClutterTimeline will be started when
21559 clutter_score_start() is called.
21560 #ClutterScore will take a reference on @timeline.
21561 0 on failure. The returned id can be used with clutter_score_remove()
21562 or clutter_score_get_timeline().</doc>
21563 <return-value transfer-ownership="none">
21564 <doc xml:whitespace="preserve">the id of the #ClutterTimeline inside the score, or</doc>
21565 <type name="ulong" c:type="gulong"/>
21568 <parameter name="parent" transfer-ownership="none">
21569 <doc xml:whitespace="preserve">a #ClutterTimeline in the score, or %NULL</doc>
21570 <type name="Timeline" c:type="ClutterTimeline*"/>
21572 <parameter name="timeline" transfer-ownership="none">
21573 <doc xml:whitespace="preserve">a #ClutterTimeline</doc>
21574 <type name="Timeline" c:type="ClutterTimeline*"/>
21578 <method name="append_at_marker"
21579 c:identifier="clutter_score_append_at_marker"
21581 <doc xml:whitespace="preserve">Appends @timeline at the given @marker_name on the @parent
21583 If you want to append @timeline at the end of @parent, use
21584 clutter_score_append().
21585 The #ClutterScore will take a reference on @timeline.
21586 0 on failure. The returned id can be used with clutter_score_remove()
21587 or clutter_score_get_timeline().</doc>
21588 <return-value transfer-ownership="none">
21589 <doc xml:whitespace="preserve">the id of the #ClutterTimeline inside the score, or</doc>
21590 <type name="ulong" c:type="gulong"/>
21593 <parameter name="parent" transfer-ownership="none">
21594 <doc xml:whitespace="preserve">the parent #ClutterTimeline</doc>
21595 <type name="Timeline" c:type="ClutterTimeline*"/>
21597 <parameter name="marker_name" transfer-ownership="none">
21598 <doc xml:whitespace="preserve">the name of the marker to use</doc>
21599 <type name="utf8" c:type="gchar*"/>
21601 <parameter name="timeline" transfer-ownership="none">
21602 <doc xml:whitespace="preserve">the #ClutterTimeline to append</doc>
21603 <type name="Timeline" c:type="ClutterTimeline*"/>
21607 <method name="remove" c:identifier="clutter_score_remove" version="0.6">
21608 <doc xml:whitespace="preserve">Removes the #ClutterTimeline with the given id inside @score. If
21609 the timeline has other timelines attached to it, those are removed
21611 <return-value transfer-ownership="none">
21612 <type name="none" c:type="void"/>
21615 <parameter name="id" transfer-ownership="none">
21616 <doc xml:whitespace="preserve">the id of the timeline to remove</doc>
21617 <type name="ulong" c:type="gulong"/>
21621 <method name="remove_all"
21622 c:identifier="clutter_score_remove_all"
21624 <doc xml:whitespace="preserve">Removes all the timelines inside @score.</doc>
21625 <return-value transfer-ownership="none">
21626 <type name="none" c:type="void"/>
21629 <method name="get_timeline"
21630 c:identifier="clutter_score_get_timeline"
21632 <doc xml:whitespace="preserve">Retrieves the #ClutterTimeline for @id inside @score.
21633 function does not increase the reference count on the returned
21634 #ClutterTimeline</doc>
21635 <return-value transfer-ownership="none">
21636 <doc xml:whitespace="preserve">the requested timeline, or %NULL. This</doc>
21637 <type name="Timeline" c:type="ClutterTimeline*"/>
21640 <parameter name="id" transfer-ownership="none">
21641 <doc xml:whitespace="preserve">the id of the timeline</doc>
21642 <type name="ulong" c:type="gulong"/>
21646 <method name="list_timelines"
21647 c:identifier="clutter_score_list_timelines"
21649 <doc xml:whitespace="preserve">Retrieves a list of all the #ClutterTimelines managed by @score.
21650 containing all the timelines in the score. This function does not increase
21651 the reference count of the returned timelines. Use g_slist_free() on the
21652 returned list to deallocate its resources.</doc>
21653 <return-value transfer-ownership="container">
21654 <doc xml:whitespace="preserve">a #GSList</doc>
21655 <type name="GLib.SList" c:type="GSList*">
21656 <type name="Timeline"/>
21660 <method name="start" c:identifier="clutter_score_start" version="0.6">
21661 <doc xml:whitespace="preserve">Starts the score.</doc>
21662 <return-value transfer-ownership="none">
21663 <type name="none" c:type="void"/>
21666 <method name="stop" c:identifier="clutter_score_stop" version="0.6">
21667 <doc xml:whitespace="preserve">Stops and rewinds a playing #ClutterScore instance.</doc>
21668 <return-value transfer-ownership="none">
21669 <type name="none" c:type="void"/>
21672 <method name="pause" c:identifier="clutter_score_pause" version="0.6">
21673 <doc xml:whitespace="preserve">Pauses a playing score @score.</doc>
21674 <return-value transfer-ownership="none">
21675 <type name="none" c:type="void"/>
21678 <method name="rewind" c:identifier="clutter_score_rewind" version="0.6">
21679 <doc xml:whitespace="preserve">Rewinds a #ClutterScore to its initial state.</doc>
21680 <return-value transfer-ownership="none">
21681 <type name="none" c:type="void"/>
21684 <method name="is_playing"
21685 c:identifier="clutter_score_is_playing"
21687 <doc xml:whitespace="preserve">Query state of a #ClutterScore instance.</doc>
21688 <return-value transfer-ownership="none">
21689 <doc xml:whitespace="preserve">%TRUE if score is currently playing</doc>
21690 <type name="boolean" c:type="gboolean"/>
21693 <property name="loop"
21696 transfer-ownership="none">
21697 <doc xml:whitespace="preserve">Whether the #ClutterScore should restart once finished.</doc>
21698 <type name="boolean" c:type="gboolean"/>
21700 <field name="parent">
21701 <type name="GObject.Object" c:type="GObject"/>
21703 <field name="priv">
21704 <type name="ScorePrivate" c:type="ClutterScorePrivate*"/>
21706 <glib:signal name="completed" version="0.6">
21707 <doc xml:whitespace="preserve">The ::completed signal is emitted each time a #ClutterScore terminates.</doc>
21708 <return-value transfer-ownership="full">
21709 <type name="none" c:type="void"/>
21712 <glib:signal name="paused" version="0.6">
21713 <doc xml:whitespace="preserve">The ::paused signal is emitted each time a #ClutterScore
21715 <return-value transfer-ownership="full">
21716 <type name="none" c:type="void"/>
21719 <glib:signal name="started" version="0.6">
21720 <doc xml:whitespace="preserve">The ::started signal is emitted each time a #ClutterScore starts playing.</doc>
21721 <return-value transfer-ownership="full">
21722 <type name="none" c:type="void"/>
21725 <glib:signal name="timeline-completed" version="0.6">
21726 <doc xml:whitespace="preserve">The ::timeline-completed signal is emitted each time a timeline
21727 inside a #ClutterScore terminates.</doc>
21728 <return-value transfer-ownership="full">
21729 <type name="none" c:type="void"/>
21732 <parameter name="timeline" transfer-ownership="none">
21733 <doc xml:whitespace="preserve">the completed timeline</doc>
21734 <type name="Timeline" c:type="ClutterTimeline"/>
21738 <glib:signal name="timeline-started" version="0.6">
21739 <doc xml:whitespace="preserve">The ::timeline-started signal is emitted each time a new timeline
21740 inside a #ClutterScore starts playing.</doc>
21741 <return-value transfer-ownership="full">
21742 <type name="none" c:type="void"/>
21745 <parameter name="timeline" transfer-ownership="none">
21746 <doc xml:whitespace="preserve">the current timeline</doc>
21747 <type name="Timeline" c:type="ClutterTimeline"/>
21752 <record name="ScoreClass"
21753 c:type="ClutterScoreClass"
21754 glib:is-gtype-struct-for="Score"
21756 <doc xml:whitespace="preserve">The #ClutterScoreClass structure contains only private data</doc>
21757 <field name="parent_class">
21758 <type name="GObject.ObjectClass" c:type="GObjectClass"/>
21760 <field name="timeline_started">
21761 <callback name="timeline_started" c:type="timeline_started">
21762 <return-value transfer-ownership="none">
21763 <type name="none" c:type="void"/>
21766 <parameter name="score" transfer-ownership="none">
21767 <type name="Score" c:type="ClutterScore*"/>
21769 <parameter name="timeline" transfer-ownership="none">
21770 <type name="Timeline" c:type="ClutterTimeline*"/>
21775 <field name="timeline_completed">
21776 <callback name="timeline_completed" c:type="timeline_completed">
21777 <return-value transfer-ownership="none">
21778 <type name="none" c:type="void"/>
21781 <parameter name="score" transfer-ownership="none">
21782 <type name="Score" c:type="ClutterScore*"/>
21784 <parameter name="timeline" transfer-ownership="none">
21785 <type name="Timeline" c:type="ClutterTimeline*"/>
21790 <field name="started">
21791 <callback name="started" c:type="started">
21792 <return-value transfer-ownership="none">
21793 <type name="none" c:type="void"/>
21796 <parameter name="score" transfer-ownership="none">
21797 <type name="Score" c:type="ClutterScore*"/>
21802 <field name="completed">
21803 <callback name="completed" c:type="completed">
21804 <return-value transfer-ownership="none">
21805 <type name="none" c:type="void"/>
21808 <parameter name="score" transfer-ownership="none">
21809 <type name="Score" c:type="ClutterScore*"/>
21814 <field name="paused">
21815 <callback name="paused" c:type="paused">
21816 <return-value transfer-ownership="none">
21817 <type name="none" c:type="void"/>
21820 <parameter name="score" transfer-ownership="none">
21821 <type name="Score" c:type="ClutterScore*"/>
21826 <field name="clutter_score_1">
21827 <callback name="clutter_score_1" c:type="_clutter_score_1">
21828 <return-value transfer-ownership="none">
21829 <type name="none" c:type="void"/>
21833 <field name="clutter_score_2">
21834 <callback name="clutter_score_2" c:type="_clutter_score_2">
21835 <return-value transfer-ownership="none">
21836 <type name="none" c:type="void"/>
21840 <field name="clutter_score_3">
21841 <callback name="clutter_score_3" c:type="_clutter_score_3">
21842 <return-value transfer-ownership="none">
21843 <type name="none" c:type="void"/>
21847 <field name="clutter_score_4">
21848 <callback name="clutter_score_4" c:type="_clutter_score_4">
21849 <return-value transfer-ownership="none">
21850 <type name="none" c:type="void"/>
21854 <field name="clutter_score_5">
21855 <callback name="clutter_score_5" c:type="_clutter_score_5">
21856 <return-value transfer-ownership="none">
21857 <type name="none" c:type="void"/>
21862 <record name="ScorePrivate" c:type="ClutterScorePrivate">
21864 <class name="Script"
21865 c:type="ClutterScript"
21867 parent="GObject.Object"
21868 glib:type-name="ClutterScript"
21869 glib:get-type="clutter_script_get_type"
21870 glib:type-struct="ScriptClass">
21871 <doc xml:whitespace="preserve">The #ClutterScript structure contains only private data
21872 and should be accessed using the provided API</doc>
21873 <constructor name="new" c:identifier="clutter_script_new" version="0.6">
21874 <doc xml:whitespace="preserve">Creates a new #ClutterScript instance. #ClutterScript can be used
21875 to load objects definitions for scenegraph elements, like actors,
21876 or behavioural elements, like behaviours and timelines. The
21877 definitions must be encoded using the JavaScript Object Notation (JSON)
21879 g_object_unref() when done.</doc>
21880 <return-value transfer-ownership="full">
21881 <doc xml:whitespace="preserve">the newly created #ClutterScript instance. Use</doc>
21882 <type name="Script" c:type="ClutterScript*"/>
21885 <virtual-method name="get_type_from_name"
21886 invoker="get_type_from_name"
21888 <doc xml:whitespace="preserve">Looks up a type by name, using the virtual function that
21889 #ClutterScript has for that purpose. This function should
21891 %G_TYPE_INVALID if not corresponding type was found.</doc>
21892 <return-value transfer-ownership="none">
21893 <doc xml:whitespace="preserve">the type for the requested type name, or</doc>
21894 <type name="GType" c:type="GType"/>
21897 <parameter name="type_name" transfer-ownership="none">
21898 <doc xml:whitespace="preserve">name of the type to look up</doc>
21899 <type name="utf8" c:type="gchar*"/>
21903 <method name="load_from_file"
21904 c:identifier="clutter_script_load_from_file"
21907 <doc xml:whitespace="preserve">Loads the definitions from @filename into @script and merges with
21908 the currently loaded ones, if any.
21909 accordingly. On success, the merge id for the UI definitions is
21910 returned. You can use the merge id with clutter_script_unmerge_objects().</doc>
21911 <return-value transfer-ownership="none">
21912 <doc xml:whitespace="preserve">on error, zero is returned and @error is set</doc>
21913 <type name="uint" c:type="guint"/>
21916 <parameter name="filename" transfer-ownership="none">
21917 <doc xml:whitespace="preserve">the full path to the definition file</doc>
21918 <type name="utf8" c:type="gchar*"/>
21922 <method name="load_from_data"
21923 c:identifier="clutter_script_load_from_data"
21926 <doc xml:whitespace="preserve">Loads the definitions from @data into @script and merges with
21927 the currently loaded ones, if any.
21928 accordingly. On success, the merge id for the UI definitions is
21929 returned. You can use the merge id with clutter_script_unmerge().</doc>
21930 <return-value transfer-ownership="none">
21931 <doc xml:whitespace="preserve">on error, zero is returned and @error is set</doc>
21932 <type name="uint" c:type="guint"/>
21935 <parameter name="data" transfer-ownership="none">
21936 <doc xml:whitespace="preserve">a buffer containing the definitions</doc>
21937 <type name="utf8" c:type="gchar*"/>
21939 <parameter name="length" transfer-ownership="none">
21940 <doc xml:whitespace="preserve">the length of the buffer, or -1 if @data is a NUL-terminated buffer</doc>
21941 <type name="gssize" c:type="gssize"/>
21945 <method name="get_object"
21946 c:identifier="clutter_script_get_object"
21948 <doc xml:whitespace="preserve">Retrieves the object bound to @name. This function does not increment
21949 the reference count of the returned object.
21950 with the given name was available</doc>
21951 <return-value transfer-ownership="none">
21952 <doc xml:whitespace="preserve">the named object, or %NULL if no object</doc>
21953 <type name="GObject.Object" c:type="GObject*"/>
21956 <parameter name="name" transfer-ownership="none">
21957 <doc xml:whitespace="preserve">the name of the object to retrieve</doc>
21958 <type name="utf8" c:type="gchar*"/>
21962 <method name="get_objects"
21963 c:identifier="clutter_script_get_objects"
21965 introspectable="0">
21966 <doc xml:whitespace="preserve">Retrieves a list of objects for the given names. After @script, object
21967 names/return location pairs should be listed, with a %NULL pointer
21968 ending the list, like:
21969 <informalexample><programlisting>
21970 GObject *my_label, *a_button, *main_timeline;
21971 clutter_script_get_objects (script,
21972 "my-label", &amp;my_label,
21973 "a-button", &amp;a_button,
21974 "main-timeline", &amp;main_timeline,
21976 </programlisting></informalexample>
21977 returned objects.</doc>
21978 <return-value transfer-ownership="none">
21979 <doc xml:whitespace="preserve">the number of objects returned.</doc>
21980 <type name="int" c:type="gint"/>
21983 <parameter name="first_name" transfer-ownership="none">
21984 <doc xml:whitespace="preserve">the name of the first object to retrieve</doc>
21985 <type name="utf8" c:type="gchar*"/>
21987 <parameter transfer-ownership="none">
21993 <method name="list_objects"
21994 c:identifier="clutter_script_list_objects"
21996 <doc xml:whitespace="preserve">Retrieves all the objects created by @script.
21997 objects it returns.
21998 or %NULL. The objects are owned by the #ClutterScript instance. Use g_list_free() on the
21999 returned value when done.</doc>
22000 <return-value transfer-ownership="container">
22001 <doc xml:whitespace="preserve">a list of #GObject<!-- -->s,</doc>
22002 <type name="GLib.List" c:type="GList*">
22003 <type name="GObject.Object"/>
22007 <method name="unmerge_objects"
22008 c:identifier="clutter_script_unmerge_objects"
22010 <doc xml:whitespace="preserve">Unmerges the objects identified by @merge_id.</doc>
22011 <return-value transfer-ownership="none">
22012 <type name="none" c:type="void"/>
22015 <parameter name="merge_id" transfer-ownership="none">
22016 <doc xml:whitespace="preserve">merge id returned when loading a UI definition</doc>
22017 <type name="uint" c:type="guint"/>
22021 <method name="ensure_objects"
22022 c:identifier="clutter_script_ensure_objects"
22024 <doc xml:whitespace="preserve">Ensure that every object defined inside @script is correctly
22025 constructed. You should rarely need to use this function.</doc>
22026 <return-value transfer-ownership="none">
22027 <type name="none" c:type="void"/>
22030 <method name="get_type_from_name"
22031 c:identifier="clutter_script_get_type_from_name"
22033 <doc xml:whitespace="preserve">Looks up a type by name, using the virtual function that
22034 #ClutterScript has for that purpose. This function should
22036 %G_TYPE_INVALID if not corresponding type was found.</doc>
22037 <return-value transfer-ownership="none">
22038 <doc xml:whitespace="preserve">the type for the requested type name, or</doc>
22039 <type name="GType" c:type="GType"/>
22042 <parameter name="type_name" transfer-ownership="none">
22043 <doc xml:whitespace="preserve">name of the type to look up</doc>
22044 <type name="utf8" c:type="gchar*"/>
22048 <method name="connect_signals"
22049 c:identifier="clutter_script_connect_signals"
22051 <doc xml:whitespace="preserve">Connects all the signals defined into a UI definition file to their
22053 This method invokes clutter_script_connect_signals_full() internally
22054 and uses #GModule's introspective features (by opening the current
22055 module's scope) to look at the application's symbol table.
22056 Note that this function will not work if #GModule is not supported by
22057 the platform Clutter is running on.</doc>
22058 <return-value transfer-ownership="none">
22059 <type name="none" c:type="void"/>
22062 <parameter name="user_data" transfer-ownership="none">
22063 <doc xml:whitespace="preserve">data to be passed to the signal handlers, or %NULL</doc>
22064 <type name="any" c:type="gpointer"/>
22068 <method name="connect_signals_full"
22069 c:identifier="clutter_script_connect_signals_full"
22071 <doc xml:whitespace="preserve">Connects all the signals defined into a UI definition file to their
22073 This function allows to control how the signal handlers are
22074 going to be connected to their respective signals. It is meant
22075 primarily for language bindings to allow resolving the function
22076 names using the native API.
22077 Applications should use clutter_script_connect_signals().</doc>
22078 <return-value transfer-ownership="none">
22079 <type name="none" c:type="void"/>
22082 <parameter name="func"
22083 transfer-ownership="none"
22086 <doc xml:whitespace="preserve">signal connection function</doc>
22087 <type name="ScriptConnectFunc" c:type="ClutterScriptConnectFunc"/>
22089 <parameter name="user_data" transfer-ownership="none">
22090 <doc xml:whitespace="preserve">data to be passed to the signal handlers, or %NULL</doc>
22091 <type name="any" c:type="gpointer"/>
22095 <method name="add_search_paths"
22096 c:identifier="clutter_script_add_search_paths"
22098 <doc xml:whitespace="preserve">Adds @paths to the list of search paths held by @script.
22099 The search paths are used by clutter_script_lookup_filename(), which
22100 can be used to define search paths for the textures source file name
22101 or other custom, file-based properties.</doc>
22102 <return-value transfer-ownership="none">
22103 <type name="none" c:type="void"/>
22106 <parameter name="paths" transfer-ownership="none">
22107 <doc xml:whitespace="preserve">an array of strings containing different search paths</doc>
22108 <type name="utf8" c:type="gchar*"/>
22110 <parameter name="n_paths" transfer-ownership="none">
22111 <doc xml:whitespace="preserve">the length of the passed array</doc>
22112 <type name="gsize" c:type="gsize"/>
22116 <method name="lookup_filename"
22117 c:identifier="clutter_script_lookup_filename"
22119 <doc xml:whitespace="preserve">Looks up @filename inside the search paths of @script. If @filename
22120 is found, its full path will be returned .
22122 <return-value transfer-ownership="full">
22123 <doc xml:whitespace="preserve">the full path of @filename or %NULL if no path was</doc>
22124 <type name="utf8" c:type="gchar*"/>
22127 <parameter name="filename" transfer-ownership="none">
22128 <doc xml:whitespace="preserve">the name of the file to lookup</doc>
22129 <type name="utf8" c:type="gchar*"/>
22133 <property name="filename" version="0.6" transfer-ownership="none">
22134 <doc xml:whitespace="preserve">The path of the currently parsed file. If #ClutterScript:filename-set
22135 is %FALSE then the value of this property is undefined.</doc>
22136 <type name="utf8" c:type="gchararray"/>
22138 <property name="filename-set" version="0.6" transfer-ownership="none">
22139 <doc xml:whitespace="preserve">Whether the #ClutterScript:filename property is set. If this property
22140 is %TRUE then the currently parsed data comes from a file, and the
22141 file name is stored inside the #ClutterScript:filename property.</doc>
22142 <type name="boolean" c:type="gboolean"/>
22144 <field name="parent_instance">
22145 <type name="GObject.Object" c:type="GObject"/>
22147 <field name="priv">
22148 <type name="ScriptPrivate" c:type="ClutterScriptPrivate*"/>
22151 <record name="ScriptClass"
22152 c:type="ClutterScriptClass"
22153 glib:is-gtype-struct-for="Script"
22155 <doc xml:whitespace="preserve">The #ClutterScriptClass structure contains only private data</doc>
22156 <field name="parent_class">
22157 <type name="GObject.ObjectClass" c:type="GObjectClass"/>
22159 <field name="get_type_from_name">
22160 <callback name="get_type_from_name" c:type="get_type_from_name">
22161 <return-value transfer-ownership="none">
22162 <doc xml:whitespace="preserve">the type for the requested type name, or</doc>
22163 <type name="GType" c:type="GType"/>
22166 <parameter name="script" transfer-ownership="none">
22167 <type name="Script" c:type="ClutterScript*"/>
22169 <parameter name="type_name" transfer-ownership="none">
22170 <doc xml:whitespace="preserve">name of the type to look up</doc>
22171 <type name="utf8" c:type="gchar*"/>
22176 <field name="clutter_reserved1">
22177 <callback name="clutter_reserved1" c:type="_clutter_reserved1">
22178 <return-value transfer-ownership="none">
22179 <type name="none" c:type="void"/>
22183 <field name="clutter_reserved2">
22184 <callback name="clutter_reserved2" c:type="_clutter_reserved2">
22185 <return-value transfer-ownership="none">
22186 <type name="none" c:type="void"/>
22190 <field name="clutter_reserved3">
22191 <callback name="clutter_reserved3" c:type="_clutter_reserved3">
22192 <return-value transfer-ownership="none">
22193 <type name="none" c:type="void"/>
22197 <field name="clutter_reserved4">
22198 <callback name="clutter_reserved4" c:type="_clutter_reserved4">
22199 <return-value transfer-ownership="none">
22200 <type name="none" c:type="void"/>
22204 <field name="clutter_reserved5">
22205 <callback name="clutter_reserved5" c:type="_clutter_reserved5">
22206 <return-value transfer-ownership="none">
22207 <type name="none" c:type="void"/>
22211 <field name="clutter_reserved6">
22212 <callback name="clutter_reserved6" c:type="_clutter_reserved6">
22213 <return-value transfer-ownership="none">
22214 <type name="none" c:type="void"/>
22218 <field name="clutter_reserved7">
22219 <callback name="clutter_reserved7" c:type="_clutter_reserved7">
22220 <return-value transfer-ownership="none">
22221 <type name="none" c:type="void"/>
22225 <field name="clutter_reserved8">
22226 <callback name="clutter_reserved8" c:type="_clutter_reserved8">
22227 <return-value transfer-ownership="none">
22228 <type name="none" c:type="void"/>
22233 <callback name="ScriptConnectFunc"
22234 c:type="ClutterScriptConnectFunc"
22236 <doc xml:whitespace="preserve">This is the signature of a function used to connect signals. It is used
22237 by the clutter_script_connect_signals_full() function. It is mainly
22238 intended for interpreted language bindings, but could be useful where the
22239 programmer wants more control over the signal connection process.</doc>
22240 <return-value transfer-ownership="none">
22241 <type name="none" c:type="void"/>
22244 <parameter name="script" transfer-ownership="none">
22245 <doc xml:whitespace="preserve">a #ClutterScript</doc>
22246 <type name="Script" c:type="ClutterScript*"/>
22248 <parameter name="object" transfer-ownership="none">
22249 <doc xml:whitespace="preserve">the object to connect</doc>
22250 <type name="GObject.Object" c:type="GObject*"/>
22252 <parameter name="signal_name" transfer-ownership="none">
22253 <doc xml:whitespace="preserve">the name of the signal</doc>
22254 <type name="utf8" c:type="gchar*"/>
22256 <parameter name="handler_name" transfer-ownership="none">
22257 <doc xml:whitespace="preserve">the name of the signal handler</doc>
22258 <type name="utf8" c:type="gchar*"/>
22260 <parameter name="connect_object" transfer-ownership="none">
22261 <doc xml:whitespace="preserve">the object to connect the signal to, or %NULL</doc>
22262 <type name="GObject.Object" c:type="GObject*"/>
22264 <parameter name="flags" transfer-ownership="none">
22265 <doc xml:whitespace="preserve">signal connection flags</doc>
22266 <type name="GObject.ConnectFlags" c:type="GConnectFlags"/>
22268 <parameter name="user_data" transfer-ownership="none" closure="6">
22269 <doc xml:whitespace="preserve">user data to pass to the signal handler</doc>
22270 <type name="any" c:type="gpointer"/>
22274 <enumeration name="ScriptError"
22276 glib:type-name="ClutterScriptError"
22277 glib:get-type="clutter_script_error_get_type"
22278 c:type="ClutterScriptError"
22279 glib:error-quark="clutter_script_error_quark">
22280 <doc xml:whitespace="preserve">#ClutterScript error enumeration.</doc>
22281 <member name="type_function"
22283 c:identifier="CLUTTER_SCRIPT_ERROR_INVALID_TYPE_FUNCTION"
22284 glib:nick="type-function"/>
22285 <member name="property"
22287 c:identifier="CLUTTER_SCRIPT_ERROR_INVALID_PROPERTY"
22288 glib:nick="property"/>
22289 <member name="value"
22291 c:identifier="CLUTTER_SCRIPT_ERROR_INVALID_VALUE"
22292 glib:nick="value"/>
22294 <record name="ScriptPrivate" c:type="ClutterScriptPrivate">
22296 <interface name="Scriptable"
22297 c:type="ClutterScriptable"
22299 glib:type-name="ClutterScriptable"
22300 glib:get-type="clutter_scriptable_get_type"
22301 glib:type-struct="ScriptableIface">
22302 <doc xml:whitespace="preserve">#ClutterScriptable is an opaque structure whose members cannot be directly
22304 <virtual-method name="set_id">
22305 <return-value transfer-ownership="none">
22306 <type name="none" c:type="void"/>
22309 <parameter name="name" transfer-ownership="none">
22310 <type name="utf8" c:type="gchar*"/>
22314 <virtual-method name="get_id" invoker="get_id" version="0.6">
22315 <doc xml:whitespace="preserve">Retrieves the id of @scriptable set using clutter_scriptable_set_id().
22316 the scriptable object and should never be modified of freed</doc>
22317 <return-value transfer-ownership="none">
22318 <doc xml:whitespace="preserve">the id of the object. The returned string is owned by</doc>
22319 <type name="utf8" c:type="gchar*"/>
22322 <virtual-method name="parse_custom_node"
22323 invoker="parse_custom_node"
22325 <doc xml:whitespace="preserve">Parses the passed JSON node. The implementation must set the type
22326 of the passed #GValue pointer using g_value_init().</doc>
22327 <return-value transfer-ownership="none">
22328 <doc xml:whitespace="preserve">%TRUE if the node was successfully parsed, %FALSE otherwise.</doc>
22329 <type name="boolean" c:type="gboolean"/>
22332 <parameter name="script" transfer-ownership="none">
22333 <doc xml:whitespace="preserve">the #ClutterScript creating the scriptable instance</doc>
22334 <type name="Script" c:type="ClutterScript*"/>
22336 <parameter name="value" transfer-ownership="none">
22337 <doc xml:whitespace="preserve">the generic value to be set</doc>
22338 <type name="GObject.Value" c:type="GValue*"/>
22340 <parameter name="name" transfer-ownership="none">
22341 <doc xml:whitespace="preserve">the name of the node</doc>
22342 <type name="utf8" c:type="gchar*"/>
22344 <parameter name="node" transfer-ownership="none">
22345 <doc xml:whitespace="preserve">the JSON node to be parsed</doc>
22346 <type name="ClutterJson.JsonNode" c:type="JsonNode*"/>
22350 <virtual-method name="set_custom_property"
22351 invoker="set_custom_property"
22353 <doc xml:whitespace="preserve">Overrides the common properties setting. The underlying virtual
22354 function should be used when implementing custom properties.</doc>
22355 <return-value transfer-ownership="none">
22356 <type name="none" c:type="void"/>
22359 <parameter name="script" transfer-ownership="none">
22360 <doc xml:whitespace="preserve">the #ClutterScript creating the scriptable instance</doc>
22361 <type name="Script" c:type="ClutterScript*"/>
22363 <parameter name="name" transfer-ownership="none">
22364 <doc xml:whitespace="preserve">the name of the property</doc>
22365 <type name="utf8" c:type="gchar*"/>
22367 <parameter name="value" transfer-ownership="none">
22368 <doc xml:whitespace="preserve">the value of the property</doc>
22369 <type name="GObject.Value" c:type="GValue*"/>
22373 <method name="set_id"
22374 c:identifier="clutter_scriptable_set_id"
22376 <doc xml:whitespace="preserve">Sets @id as the unique Clutter script it for this instance of
22377 #ClutterScriptableIface.
22378 This name can be used by user interface designer applications to
22379 define a unique name for an object constructable using the UI
22380 definition language parsed by #ClutterScript.</doc>
22381 <return-value transfer-ownership="none">
22382 <type name="none" c:type="void"/>
22385 <parameter name="id" transfer-ownership="none">
22386 <doc xml:whitespace="preserve">the #ClutterScript id of the object</doc>
22387 <type name="utf8" c:type="gchar*"/>
22391 <method name="get_id"
22392 c:identifier="clutter_scriptable_get_id"
22394 <doc xml:whitespace="preserve">Retrieves the id of @scriptable set using clutter_scriptable_set_id().
22395 the scriptable object and should never be modified of freed</doc>
22396 <return-value transfer-ownership="none">
22397 <doc xml:whitespace="preserve">the id of the object. The returned string is owned by</doc>
22398 <type name="utf8" c:type="gchar*"/>
22401 <method name="parse_custom_node"
22402 c:identifier="clutter_scriptable_parse_custom_node"
22404 <doc xml:whitespace="preserve">Parses the passed JSON node. The implementation must set the type
22405 of the passed #GValue pointer using g_value_init().</doc>
22406 <return-value transfer-ownership="none">
22407 <doc xml:whitespace="preserve">%TRUE if the node was successfully parsed, %FALSE otherwise.</doc>
22408 <type name="boolean" c:type="gboolean"/>
22411 <parameter name="script" transfer-ownership="none">
22412 <doc xml:whitespace="preserve">the #ClutterScript creating the scriptable instance</doc>
22413 <type name="Script" c:type="ClutterScript*"/>
22415 <parameter name="value" transfer-ownership="none">
22416 <doc xml:whitespace="preserve">the generic value to be set</doc>
22417 <type name="GObject.Value" c:type="GValue*"/>
22419 <parameter name="name" transfer-ownership="none">
22420 <doc xml:whitespace="preserve">the name of the node</doc>
22421 <type name="utf8" c:type="gchar*"/>
22423 <parameter name="node" transfer-ownership="none">
22424 <doc xml:whitespace="preserve">the JSON node to be parsed</doc>
22425 <type name="ClutterJson.JsonNode" c:type="JsonNode*"/>
22429 <method name="set_custom_property"
22430 c:identifier="clutter_scriptable_set_custom_property"
22432 <doc xml:whitespace="preserve">Overrides the common properties setting. The underlying virtual
22433 function should be used when implementing custom properties.</doc>
22434 <return-value transfer-ownership="none">
22435 <type name="none" c:type="void"/>
22438 <parameter name="script" transfer-ownership="none">
22439 <doc xml:whitespace="preserve">the #ClutterScript creating the scriptable instance</doc>
22440 <type name="Script" c:type="ClutterScript*"/>
22442 <parameter name="name" transfer-ownership="none">
22443 <doc xml:whitespace="preserve">the name of the property</doc>
22444 <type name="utf8" c:type="gchar*"/>
22446 <parameter name="value" transfer-ownership="none">
22447 <doc xml:whitespace="preserve">the value of the property</doc>
22448 <type name="GObject.Value" c:type="GValue*"/>
22453 <record name="ScriptableIface"
22454 c:type="ClutterScriptableIface"
22455 glib:is-gtype-struct-for="Scriptable"
22457 <doc xml:whitespace="preserve">Interface for implementing "scriptable" objects. An object implementing
22458 this interface can override the parsing and properties setting sequence
22459 when loading a UI definition data with #ClutterScript</doc>
22460 <field name="g_iface">
22461 <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
22463 <field name="set_id">
22464 <callback name="set_id" c:type="set_id">
22465 <return-value transfer-ownership="none">
22466 <type name="none" c:type="void"/>
22469 <parameter name="scriptable" transfer-ownership="none">
22470 <type name="Scriptable" c:type="ClutterScriptable*"/>
22472 <parameter name="name" transfer-ownership="none">
22473 <type name="utf8" c:type="gchar*"/>
22478 <field name="get_id">
22479 <callback name="get_id" c:type="get_id">
22480 <return-value transfer-ownership="none">
22481 <doc xml:whitespace="preserve">the id of the object. The returned string is owned by</doc>
22482 <type name="utf8" c:type="gchar*"/>
22485 <parameter name="scriptable" transfer-ownership="none">
22486 <type name="Scriptable" c:type="ClutterScriptable*"/>
22491 <field name="parse_custom_node">
22492 <callback name="parse_custom_node" c:type="parse_custom_node">
22493 <return-value transfer-ownership="none">
22494 <doc xml:whitespace="preserve">%TRUE if the node was successfully parsed, %FALSE otherwise.</doc>
22495 <type name="boolean" c:type="gboolean"/>
22498 <parameter name="scriptable" transfer-ownership="none">
22499 <type name="Scriptable" c:type="ClutterScriptable*"/>
22501 <parameter name="script" transfer-ownership="none">
22502 <doc xml:whitespace="preserve">the #ClutterScript creating the scriptable instance</doc>
22503 <type name="Script" c:type="ClutterScript*"/>
22505 <parameter name="value" transfer-ownership="none">
22506 <doc xml:whitespace="preserve">the generic value to be set</doc>
22507 <type name="GObject.Value" c:type="GValue*"/>
22509 <parameter name="name" transfer-ownership="none">
22510 <doc xml:whitespace="preserve">the name of the node</doc>
22511 <type name="utf8" c:type="gchar*"/>
22513 <parameter name="node" transfer-ownership="none">
22514 <doc xml:whitespace="preserve">the JSON node to be parsed</doc>
22515 <type name="ClutterJson.JsonNode" c:type="JsonNode*"/>
22520 <field name="set_custom_property">
22521 <callback name="set_custom_property" c:type="set_custom_property">
22522 <return-value transfer-ownership="none">
22523 <type name="none" c:type="void"/>
22526 <parameter name="scriptable" transfer-ownership="none">
22527 <type name="Scriptable" c:type="ClutterScriptable*"/>
22529 <parameter name="script" transfer-ownership="none">
22530 <doc xml:whitespace="preserve">the #ClutterScript creating the scriptable instance</doc>
22531 <type name="Script" c:type="ClutterScript*"/>
22533 <parameter name="name" transfer-ownership="none">
22534 <doc xml:whitespace="preserve">the name of the property</doc>
22535 <type name="utf8" c:type="gchar*"/>
22537 <parameter name="value" transfer-ownership="none">
22538 <doc xml:whitespace="preserve">the value of the property</doc>
22539 <type name="GObject.Value" c:type="GValue*"/>
22545 <enumeration name="ScrollDirection"
22547 glib:type-name="ClutterScrollDirection"
22548 glib:get-type="clutter_scroll_direction_get_type"
22549 c:type="ClutterScrollDirection">
22550 <doc xml:whitespace="preserve">Direction of a pointer scroll event.</doc>
22553 c:identifier="CLUTTER_SCROLL_UP"
22555 <member name="down"
22557 c:identifier="CLUTTER_SCROLL_DOWN"
22559 <member name="left"
22561 c:identifier="CLUTTER_SCROLL_LEFT"
22563 <member name="right"
22565 c:identifier="CLUTTER_SCROLL_RIGHT"
22566 glib:nick="right"/>
22568 <record name="ScrollEvent" c:type="ClutterScrollEvent" version="0.2">
22569 <doc xml:whitespace="preserve">Scroll wheel (or similar device) event</doc>
22570 <field name="type" writable="1">
22571 <type name="EventType" c:type="ClutterEventType"/>
22573 <field name="time" writable="1">
22574 <type name="uint32" c:type="guint32"/>
22576 <field name="flags" writable="1">
22577 <type name="EventFlags" c:type="ClutterEventFlags"/>
22579 <field name="stage" writable="1">
22580 <type name="Stage" c:type="ClutterStage*"/>
22582 <field name="source" writable="1">
22583 <type name="Actor" c:type="ClutterActor*"/>
22585 <field name="x" writable="1">
22586 <type name="float" c:type="gfloat"/>
22588 <field name="y" writable="1">
22589 <type name="float" c:type="gfloat"/>
22591 <field name="direction" writable="1">
22592 <type name="ScrollDirection" c:type="ClutterScrollDirection"/>
22594 <field name="modifier_state" writable="1">
22595 <type name="ModifierType" c:type="ClutterModifierType"/>
22597 <field name="axes" writable="1">
22598 <type name="any" c:type="gdouble*"/>
22600 <field name="device" writable="1">
22601 <type name="InputDevice" c:type="ClutterInputDevice*"/>
22604 <constant name="Scroll_Lock" value="65300">
22607 <constant name="Select" value="65376">
22610 <constant name="Serbian_DJE" value="1713">
22613 <constant name="Serbian_DZE" value="1727">
22616 <constant name="Serbian_JE" value="1720">
22619 <constant name="Serbian_LJE" value="1721">
22622 <constant name="Serbian_NJE" value="1722">
22625 <constant name="Serbian_TSHE" value="1723">
22628 <constant name="Serbian_dje" value="1697">
22631 <constant name="Serbian_dze" value="1711">
22634 <constant name="Serbian_je" value="1704">
22637 <constant name="Serbian_lje" value="1705">
22640 <constant name="Serbian_nje" value="1706">
22643 <constant name="Serbian_tshe" value="1707">
22646 <class name="Settings"
22647 c:type="ClutterSettings"
22649 parent="GObject.Object"
22650 glib:type-name="ClutterSettings"
22651 glib:get-type="clutter_settings_get_type">
22652 <doc xml:whitespace="preserve"><structname>ClutterSettings</structname> is an opaque structure whose
22653 members cannot be directly accessed.</doc>
22654 <function name="get_default"
22655 c:identifier="clutter_settings_get_default"
22657 <doc xml:whitespace="preserve">Retrieves the singleton instance of #ClutterSettings
22658 returned object is owned by Clutter and it should not be unreferenced
22660 <return-value transfer-ownership="none">
22661 <doc xml:whitespace="preserve">the instance of #ClutterSettings. The</doc>
22662 <type name="Settings" c:type="ClutterSettings*"/>
22665 <property name="backend"
22670 transfer-ownership="none">
22671 <doc xml:whitespace="preserve">A back pointer to the #ClutterBackend</doc>
22672 <type name="Backend" c:type="ClutterBackend"/>
22674 <property name="double-click-distance"
22677 transfer-ownership="none">
22678 <doc xml:whitespace="preserve">The maximum distance, in pixels, between button-press events that
22679 determines whether or not to increase the click count by 1.</doc>
22680 <type name="int" c:type="gint"/>
22682 <property name="double-click-time"
22685 transfer-ownership="none">
22686 <doc xml:whitespace="preserve">The time, in milliseconds, that should elapse between button-press
22687 events in order to increase the click count by 1.</doc>
22688 <type name="int" c:type="gint"/>
22690 <property name="font-antialias"
22693 transfer-ownership="none">
22694 <doc xml:whitespace="preserve">Whether or not to use antialiasing when rendering text; a value
22695 of 1 enables it unconditionally; a value of 0 disables it
22696 unconditionally; and -1 will use the system's default.</doc>
22697 <type name="int" c:type="gint"/>
22699 <property name="font-dpi"
22702 transfer-ownership="none">
22703 <doc xml:whitespace="preserve">The DPI used when rendering text, as a value of 1024 * dots/inch.
22704 If set to -1, the system's default will be used instead</doc>
22705 <type name="int" c:type="gint"/>
22707 <property name="font-hint-style"
22710 transfer-ownership="none">
22711 <doc xml:whitespace="preserve">The style of the hinting used when rendering text. Valid values
22713 <itemizedlist>
22714 <listitem><simpara>hintnone</simpara></listitem>
22715 <listitem><simpara>hintslight</simpara></listitem>
22716 <listitem><simpara>hintmedium</simpara></listitem>
22717 <listitem><simpara>hintfull</simpara></listitem>
22718 </itemizedlist></doc>
22719 <type name="utf8" c:type="gchararray"/>
22721 <property name="font-hinting"
22724 transfer-ownership="none">
22725 <doc xml:whitespace="preserve">Whether or not to use hinting when rendering text; a value of 1
22726 unconditionally enables it; a value of 0 unconditionally disables
22727 it; and a value of -1 will use the system's default.</doc>
22728 <type name="int" c:type="gint"/>
22730 <property name="font-name"
22733 transfer-ownership="none">
22734 <doc xml:whitespace="preserve">The default font name that should be used by text actors, as
22735 a string that can be passed to pango_font_description_from_string().</doc>
22736 <type name="utf8" c:type="gchararray"/>
22738 <property name="font-subpixel-order"
22741 transfer-ownership="none">
22742 <doc xml:whitespace="preserve">The type of sub-pixel antialiasing used when rendering text. Valid
22744 <itemizedlist>
22745 <listitem><simpara>none</simpara></listitem>
22746 <listitem><simpara>rgb</simpara></listitem>
22747 <listitem><simpara>bgr</simpara></listitem>
22748 <listitem><simpara>vrgb</simpara></listitem>
22749 <listitem><simpara>vbgr</simpara></listitem>
22750 </itemizedlist></doc>
22751 <type name="utf8" c:type="gchararray"/>
22754 <class name="Shader"
22755 c:type="ClutterShader"
22757 parent="GObject.Object"
22758 glib:type-name="ClutterShader"
22759 glib:get-type="clutter_shader_get_type"
22760 glib:type-struct="ShaderClass">
22761 <doc xml:whitespace="preserve">The #ClutterShader structure contains only private data
22762 and should be accessed using the provided API</doc>
22763 <constructor name="new" c:identifier="clutter_shader_new" version="0.6">
22764 <doc xml:whitespace="preserve">Create a new #ClutterShader instance.</doc>
22765 <return-value transfer-ownership="full">
22766 <doc xml:whitespace="preserve">a new #ClutterShader.</doc>
22767 <type name="Shader" c:type="ClutterShader*"/>
22770 <method name="set_is_enabled"
22771 c:identifier="clutter_shader_set_is_enabled"
22773 <doc xml:whitespace="preserve">Enables a shader. This function will attempt to compile and link
22774 the shader, if it isn't already.
22775 When @enabled is %FALSE the default state of the GL pipeline will be
22776 used instead.</doc>
22777 <return-value transfer-ownership="none">
22778 <type name="none" c:type="void"/>
22781 <parameter name="enabled" transfer-ownership="none">
22782 <doc xml:whitespace="preserve">The new state of the shader.</doc>
22783 <type name="boolean" c:type="gboolean"/>
22787 <method name="get_is_enabled"
22788 c:identifier="clutter_shader_get_is_enabled"
22790 <doc xml:whitespace="preserve">Checks whether @shader is enabled.</doc>
22791 <return-value transfer-ownership="none">
22792 <doc xml:whitespace="preserve">%TRUE if the shader is enabled.</doc>
22793 <type name="boolean" c:type="gboolean"/>
22796 <method name="compile"
22797 c:identifier="clutter_shader_compile"
22800 <doc xml:whitespace="preserve">Compiles and links GLSL sources set for vertex and fragment shaders for
22801 a #ClutterShader. If the compilation fails and a #GError return location is
22802 provided the error will contain the errors from the compiler, if any.</doc>
22803 <return-value transfer-ownership="none">
22804 <doc xml:whitespace="preserve">returns TRUE if the shader was succesfully compiled.</doc>
22805 <type name="boolean" c:type="gboolean"/>
22808 <method name="release"
22809 c:identifier="clutter_shader_release"
22811 <doc xml:whitespace="preserve">Frees up any GL context resources held by the shader.</doc>
22812 <return-value transfer-ownership="none">
22813 <type name="none" c:type="void"/>
22816 <method name="is_compiled"
22817 c:identifier="clutter_shader_is_compiled"
22819 <doc xml:whitespace="preserve">Checks whether @shader is is currently compiled, linked and bound
22820 to the GL context.</doc>
22821 <return-value transfer-ownership="none">
22822 <doc xml:whitespace="preserve">%TRUE if the shader is compiled, linked and ready for use.</doc>
22823 <type name="boolean" c:type="gboolean"/>
22826 <method name="set_vertex_source"
22827 c:identifier="clutter_shader_set_vertex_source"
22829 <doc xml:whitespace="preserve">Sets the GLSL source code to be used by a #ClutterShader for the vertex
22831 <return-value transfer-ownership="none">
22832 <type name="none" c:type="void"/>
22835 <parameter name="data" transfer-ownership="none">
22836 <doc xml:whitespace="preserve">GLSL source code.</doc>
22837 <type name="utf8" c:type="gchar*"/>
22839 <parameter name="length" transfer-ownership="none">
22840 <doc xml:whitespace="preserve">length of source buffer (currently ignored)</doc>
22841 <type name="gssize" c:type="gssize"/>
22845 <method name="set_fragment_source"
22846 c:identifier="clutter_shader_set_fragment_source"
22848 <doc xml:whitespace="preserve">Sets the GLSL source code to be used by a #ClutterShader for the fragment
22850 <return-value transfer-ownership="none">
22851 <type name="none" c:type="void"/>
22854 <parameter name="data" transfer-ownership="none">
22855 <doc xml:whitespace="preserve">GLSL source code.</doc>
22856 <type name="utf8" c:type="gchar*"/>
22858 <parameter name="length" transfer-ownership="none">
22859 <doc xml:whitespace="preserve">length of source buffer (currently ignored)</doc>
22860 <type name="gssize" c:type="gssize"/>
22864 <method name="get_vertex_source"
22865 c:identifier="clutter_shader_get_vertex_source"
22867 <doc xml:whitespace="preserve">Query the current GLSL vertex source set on @shader.
22868 ClutterShader object or %NULL. The returned string is owned by the
22869 shader object and should never be modified or freed</doc>
22870 <return-value transfer-ownership="none">
22871 <doc xml:whitespace="preserve">the source of the vertex shader for this</doc>
22872 <type name="utf8" c:type="gchar*"/>
22875 <method name="get_fragment_source"
22876 c:identifier="clutter_shader_get_fragment_source"
22878 <doc xml:whitespace="preserve">Query the current GLSL fragment source set on @shader.
22879 ClutterShader object or %NULL. The returned string is owned by the
22880 shader object and should never be modified or freed</doc>
22881 <return-value transfer-ownership="none">
22882 <doc xml:whitespace="preserve">the source of the fragment shader for this</doc>
22883 <type name="utf8" c:type="gchar*"/>
22886 <method name="set_uniform"
22887 c:identifier="clutter_shader_set_uniform"
22889 <doc xml:whitespace="preserve">Sets a user configurable variable in the GLSL shader programs attached to
22890 a #ClutterShader.</doc>
22891 <return-value transfer-ownership="none">
22892 <type name="none" c:type="void"/>
22895 <parameter name="name" transfer-ownership="none">
22896 <doc xml:whitespace="preserve">name of uniform in GLSL shader program to set.</doc>
22897 <type name="utf8" c:type="gchar*"/>
22899 <parameter name="value" transfer-ownership="none">
22900 <doc xml:whitespace="preserve">a #ClutterShaderFloat, #ClutterShaderInt or #ClutterShaderMatrix #GValue.</doc>
22901 <type name="GObject.Value" c:type="GValue*"/>
22905 <method name="get_cogl_program"
22906 c:identifier="clutter_shader_get_cogl_program"
22908 <doc xml:whitespace="preserve">Retrieves the underlying #CoglHandle for the shader program.</doc>
22909 <return-value transfer-ownership="full">
22910 <doc xml:whitespace="preserve">A #CoglHandle for the shader program, or %NULL</doc>
22911 <type name="Cogl.Handle" c:type="CoglHandle"/>
22914 <method name="get_cogl_fragment_shader"
22915 c:identifier="clutter_shader_get_cogl_fragment_shader"
22917 <doc xml:whitespace="preserve">Retrieves the underlying #CoglHandle for the fragment shader.</doc>
22918 <return-value transfer-ownership="full">
22919 <doc xml:whitespace="preserve">A #CoglHandle for the fragment shader, or %NULL</doc>
22920 <type name="Cogl.Handle" c:type="CoglHandle"/>
22923 <method name="get_cogl_vertex_shader"
22924 c:identifier="clutter_shader_get_cogl_vertex_shader"
22926 <doc xml:whitespace="preserve">Retrieves the underlying #CoglHandle for the vertex shader.</doc>
22927 <return-value transfer-ownership="full">
22928 <doc xml:whitespace="preserve">A #CoglHandle for the vertex shader, or %NULL</doc>
22929 <type name="Cogl.Handle" c:type="CoglHandle"/>
22932 <property name="compiled" version="0.8" transfer-ownership="none">
22933 <doc xml:whitespace="preserve">Whether the shader is compiled and linked, ready for use
22934 in the GL context.</doc>
22935 <type name="boolean" c:type="gboolean"/>
22937 <property name="enabled"
22940 transfer-ownership="none">
22941 <doc xml:whitespace="preserve">Whether the shader is currently used in the GL rendering pipeline.</doc>
22942 <type name="boolean" c:type="gboolean"/>
22944 <property name="fragment-source"
22947 transfer-ownership="none">
22948 <doc xml:whitespace="preserve">GLSL source code for the fragment shader part of the shader program.</doc>
22949 <type name="utf8" c:type="gchararray"/>
22951 <property name="vertex-source"
22954 transfer-ownership="none">
22955 <doc xml:whitespace="preserve">GLSL source code for the vertex shader part of the shader
22956 program, if any</doc>
22957 <type name="utf8" c:type="gchararray"/>
22959 <field name="parent">
22960 <type name="GObject.Object" c:type="GObject"/>
22962 <field name="priv">
22963 <type name="ShaderPrivate" c:type="ClutterShaderPrivate*"/>
22966 <record name="ShaderClass"
22967 c:type="ClutterShaderClass"
22968 glib:is-gtype-struct-for="Shader"
22970 <doc xml:whitespace="preserve">The #ClutterShaderClass structure contains only private data</doc>
22971 <field name="parent_class">
22972 <type name="GObject.ObjectClass" c:type="GObjectClass"/>
22975 <class name="ShaderEffect"
22976 c:type="ClutterShaderEffect"
22978 parent="OffscreenEffect"
22980 glib:type-name="ClutterShaderEffect"
22981 glib:get-type="clutter_shader_effect_get_type"
22982 glib:type-struct="ShaderEffectClass">
22983 <doc xml:whitespace="preserve">The <structname>ClutterShaderEffect</structname> structure contains
22984 only private data and should be accessed using the provided API</doc>
22985 <method name="set_shader_source"
22986 c:identifier="clutter_shader_effect_set_shader_source"
22988 <doc xml:whitespace="preserve">Sets the source of the GLSL shader used by @effect
22989 This function should only be called by implementations of
22990 the #ClutterShaderEffect class, and not by application code.
22991 This function can only be called once; subsequent calls will
22992 yield no result.</doc>
22993 <return-value transfer-ownership="none">
22994 <doc xml:whitespace="preserve">%TRUE if the source was set</doc>
22995 <type name="boolean" c:type="gboolean"/>
22998 <parameter name="source" transfer-ownership="none">
22999 <doc xml:whitespace="preserve">the source of a GLSL shader</doc>
23000 <type name="utf8" c:type="gchar*"/>
23004 <method name="set_uniform"
23005 c:identifier="clutter_shader_effect_set_uniform"
23007 introspectable="0">
23008 <doc xml:whitespace="preserve">Sets a list of values as the payload for the uniform @name inside
23010 %G_TYPE_FLOAT, for 1 or more floating point values;
23011 %CLUTTER_TYPE_SHADER_INT, for a pointer to an array of integer values;
23012 %CLUTTER_TYPE_SHADER_FLOAT, for a pointer to an array of floating point
23013 values; and %CLUTTER_TYPE_SHADER_MATRIX, for a pointer to an array of
23014 floating point values mapping a matrix
23015 The number of values interepreted is defined by the @n_value
23016 argument, and by the @gtype argument. For instance, a uniform named
23017 "sampler0" and containing a single integer value is set using:
23019 clutter_shader_effect_set_uniform (effect, "sampler0",
23023 While a uniform named "components" and containing a 3-elements vector
23024 of floating point values (a "vec3") can be set using:
23026 gfloat component_r, component_g, component_b;
23027 clutter_shader_effect_set_uniform (effect, "components",
23033 or can be set using:
23035 gfloat component_vec[3];
23036 clutter_shader_effect_set_uniform (effect, "components",
23037 CLUTTER_TYPE_SHADER_FLOAT, 3,
23040 Finally, a uniform named "map" and containing a matrix can be set using:
23042 clutter_shader_effect_set_uniform (effect, "map",
23043 CLUTTER_TYPE_SHADER_MATRIX, 1,
23044 cogl_matrix_get_array (&matrix));
23046 <return-value transfer-ownership="none">
23047 <type name="none" c:type="void"/>
23050 <parameter name="name" transfer-ownership="none">
23051 <doc xml:whitespace="preserve">the name of the uniform to set</doc>
23052 <type name="utf8" c:type="gchar*"/>
23054 <parameter name="gtype" transfer-ownership="none">
23055 <doc xml:whitespace="preserve">the type of the uniform to set</doc>
23056 <type name="GType" c:type="GType"/>
23058 <parameter name="n_values" transfer-ownership="none">
23059 <doc xml:whitespace="preserve">the number of values</doc>
23060 <type name="gsize" c:type="gsize"/>
23062 <parameter transfer-ownership="none">
23068 <method name="set_uniform_value"
23069 c:identifier="clutter_shader_effect_set_uniform_value"
23071 <doc xml:whitespace="preserve">Sets @value as the payload for the uniform @name inside the shader
23073 integer value; %G_TYPE_FLOAT, for a single floating point value;
23074 %CLUTTER_TYPE_SHADER_INT, for an array of integer values;
23075 %CLUTTER_TYPE_SHADER_FLOAT, for an array of floating point values;
23076 and %CLUTTER_TYPE_SHADER_MATRIX, for a matrix of floating point
23078 <return-value transfer-ownership="none">
23079 <type name="none" c:type="void"/>
23082 <parameter name="name" transfer-ownership="none">
23083 <doc xml:whitespace="preserve">the name of the uniform to set</doc>
23084 <type name="utf8" c:type="gchar*"/>
23086 <parameter name="value" transfer-ownership="none">
23087 <doc xml:whitespace="preserve">a #GValue with the value of the uniform to set</doc>
23088 <type name="GObject.Value" c:type="GValue*"/>
23092 <method name="get_shader"
23093 c:identifier="clutter_shader_effect_get_shader"
23095 <doc xml:whitespace="preserve">Retrieves a pointer to the shader's handle
23096 or %COGL_INVALID_HANDLE</doc>
23097 <return-value transfer-ownership="none">
23098 <doc xml:whitespace="preserve">a pointer to the shader's handle,</doc>
23099 <type name="Cogl.Handle" c:type="CoglHandle"/>
23102 <method name="get_program"
23103 c:identifier="clutter_shader_effect_get_program"
23105 <doc xml:whitespace="preserve">Retrieves a pointer to the program's handle
23106 or %COGL_INVALID_HANDLE</doc>
23107 <return-value transfer-ownership="none">
23108 <doc xml:whitespace="preserve">a pointer to the program's handle,</doc>
23109 <type name="Cogl.Handle" c:type="CoglHandle"/>
23112 <property name="shader-type"
23117 transfer-ownership="none">
23118 <doc xml:whitespace="preserve">The type of shader that is used by the effect. This property
23119 should be set by the constructor of #ClutterShaderEffect
23121 <type name="ShaderType" c:type="ClutterShaderType"/>
23123 <field name="parent_instance">
23124 <type name="OffscreenEffect" c:type="ClutterOffscreenEffect"/>
23126 <field name="priv">
23127 <type name="ShaderEffectPrivate" c:type="ClutterShaderEffectPrivate*"/>
23130 <record name="ShaderEffectClass"
23131 c:type="ClutterShaderEffectClass"
23132 glib:is-gtype-struct-for="ShaderEffect"
23134 <doc xml:whitespace="preserve">The <structname>ClutterShaderEffectClass</structname> structure contains
23135 only private data</doc>
23136 <field name="parent_class">
23137 <type name="OffscreenEffectClass"
23138 c:type="ClutterOffscreenEffectClass"/>
23140 <field name="clutter_shader1">
23141 <callback name="clutter_shader1" c:type="_clutter_shader1">
23142 <return-value transfer-ownership="none">
23143 <type name="none" c:type="void"/>
23147 <field name="clutter_shader2">
23148 <callback name="clutter_shader2" c:type="_clutter_shader2">
23149 <return-value transfer-ownership="none">
23150 <type name="none" c:type="void"/>
23154 <field name="clutter_shader3">
23155 <callback name="clutter_shader3" c:type="_clutter_shader3">
23156 <return-value transfer-ownership="none">
23157 <type name="none" c:type="void"/>
23161 <field name="clutter_shader4">
23162 <callback name="clutter_shader4" c:type="_clutter_shader4">
23163 <return-value transfer-ownership="none">
23164 <type name="none" c:type="void"/>
23168 <field name="clutter_shader5">
23169 <callback name="clutter_shader5" c:type="_clutter_shader5">
23170 <return-value transfer-ownership="none">
23171 <type name="none" c:type="void"/>
23175 <field name="clutter_shader6">
23176 <callback name="clutter_shader6" c:type="_clutter_shader6">
23177 <return-value transfer-ownership="none">
23178 <type name="none" c:type="void"/>
23183 <record name="ShaderEffectPrivate" c:type="ClutterShaderEffectPrivate">
23185 <enumeration name="ShaderError"
23187 glib:type-name="ClutterShaderError"
23188 glib:get-type="clutter_shader_error_get_type"
23189 c:type="ClutterShaderError"
23190 glib:error-quark="clutter_shader_error_quark">
23191 <doc xml:whitespace="preserve">#ClutterShader error enumeration</doc>
23192 <member name="no_asm"
23194 c:identifier="CLUTTER_SHADER_ERROR_NO_ASM"
23195 glib:nick="no-asm"/>
23196 <member name="no_glsl"
23198 c:identifier="CLUTTER_SHADER_ERROR_NO_GLSL"
23199 glib:nick="no-glsl"/>
23200 <member name="compile"
23202 c:identifier="CLUTTER_SHADER_ERROR_COMPILE"
23203 glib:nick="compile"/>
23205 <record name="ShaderFloat" c:type="ClutterShaderFloat">
23207 <record name="ShaderInt" c:type="ClutterShaderInt">
23209 <record name="ShaderMatrix" c:type="ClutterShaderMatrix">
23211 <record name="ShaderPrivate" c:type="ClutterShaderPrivate">
23213 <enumeration name="ShaderType"
23215 glib:type-name="ClutterShaderType"
23216 glib:get-type="clutter_shader_type_get_type"
23217 c:type="ClutterShaderType">
23218 <doc xml:whitespace="preserve">The type of GLSL shader program</doc>
23219 <member name="vertex_shader"
23221 c:identifier="CLUTTER_VERTEX_SHADER"
23222 glib:nick="vertex-shader"/>
23223 <member name="fragment_shader"
23225 c:identifier="CLUTTER_FRAGMENT_SHADER"
23226 glib:nick="fragment-shader"/>
23228 <constant name="Shift_L" value="65505">
23231 <constant name="Shift_Lock" value="65510">
23234 <constant name="Shift_R" value="65506">
23237 <constant name="SingleCandidate" value="65340">
23240 <constant name="SlowKeys_Enable" value="65139">
23243 <class name="Stage"
23244 c:type="ClutterStage"
23247 glib:type-name="ClutterStage"
23248 glib:get-type="clutter_stage_get_type"
23249 glib:type-struct="StageClass">
23250 <doc xml:whitespace="preserve">The #ClutterStage structure contains only private data
23251 and should be accessed using the provided API</doc>
23252 <implements name="Animatable"/>
23253 <implements name="Atk.ImplementorIface"/>
23254 <implements name="Container"/>
23255 <implements name="Scriptable"/>
23256 <constructor name="new" c:identifier="clutter_stage_new" version="0.8">
23257 <doc xml:whitespace="preserve">Creates a new, non-default stage. A non-default stage is a new
23258 top-level actor which can be used as another container. It works
23259 exactly like the default stage, but while clutter_stage_get_default()
23260 will always return the same instance, you will have to keep a pointer
23261 to any #ClutterStage returned by clutter_stage_create().
23262 The ability to support multiple stages depends on the current
23263 backend. Use clutter_feature_available() and
23264 %CLUTTER_FEATURE_STAGE_MULTIPLE to check at runtime whether a
23265 backend supports multiple stages.
23266 not support multiple stages. Use clutter_actor_destroy() to
23267 programmatically close the returned stage.</doc>
23268 <return-value transfer-ownership="full">
23269 <doc xml:whitespace="preserve">a new stage, or %NULL if the default backend does</doc>
23270 <type name="Stage" c:type="ClutterActor*"/>
23273 <function name="get_default" c:identifier="clutter_stage_get_default">
23274 <doc xml:whitespace="preserve">Returns the main stage. The default #ClutterStage is a singleton,
23275 so the stage will be created the first time this function is
23276 called (typically, inside clutter_init()); all the subsequent
23277 calls to clutter_stage_get_default() will return the same instance.
23278 Clutter guarantess the existence of the default stage.
23279 destroy or unref the returned actor.</doc>
23280 <return-value transfer-ownership="none">
23281 <doc xml:whitespace="preserve">the main #ClutterStage. You should never</doc>
23282 <type name="Actor" c:type="ClutterActor*"/>
23285 <method name="set_color" c:identifier="clutter_stage_set_color">
23286 <doc xml:whitespace="preserve">Sets the stage color.</doc>
23287 <return-value transfer-ownership="none">
23288 <type name="none" c:type="void"/>
23291 <parameter name="color" transfer-ownership="none">
23292 <doc xml:whitespace="preserve">A #ClutterColor</doc>
23293 <type name="Color" c:type="ClutterColor*"/>
23297 <method name="get_color" c:identifier="clutter_stage_get_color">
23298 <doc xml:whitespace="preserve">Retrieves the stage color.</doc>
23299 <return-value transfer-ownership="none">
23300 <type name="none" c:type="void"/>
23303 <parameter name="color" transfer-ownership="none">
23304 <doc xml:whitespace="preserve">return location for a #ClutterColor</doc>
23305 <type name="Color" c:type="ClutterColor*"/>
23309 <method name="set_perspective"
23310 c:identifier="clutter_stage_set_perspective">
23311 <doc xml:whitespace="preserve">Sets the stage perspective.</doc>
23312 <return-value transfer-ownership="none">
23313 <type name="none" c:type="void"/>
23316 <parameter name="perspective" transfer-ownership="none">
23317 <doc xml:whitespace="preserve">A #ClutterPerspective</doc>
23318 <type name="Perspective" c:type="ClutterPerspective*"/>
23322 <method name="get_perspective"
23323 c:identifier="clutter_stage_get_perspective">
23324 <doc xml:whitespace="preserve">Retrieves the stage perspective.</doc>
23325 <return-value transfer-ownership="none">
23326 <type name="none" c:type="void"/>
23329 <parameter name="perspective" transfer-ownership="none">
23330 <doc xml:whitespace="preserve">return location for a #ClutterPerspective</doc>
23331 <type name="Perspective" c:type="ClutterPerspective*"/>
23335 <method name="set_fullscreen"
23336 c:identifier="clutter_stage_set_fullscreen"
23338 <doc xml:whitespace="preserve">Asks to place the stage window in the fullscreen or unfullscreen
23340 afterward, because other entities (e.g. the user or window manager)
23341 could unfullscreen it again, and not all window managers honor
23342 requests to fullscreen windows.
23343 If you want to receive notification of the fullscreen state you
23344 should either use the #ClutterStage::fullscreen and
23345 #ClutterStage::unfullscreen signals, or use the notify signal
23346 for the #ClutterStage:fullscreen-set property</doc>
23347 <return-value transfer-ownership="none">
23348 <type name="none" c:type="void"/>
23351 <parameter name="fullscreen" transfer-ownership="none">
23352 <doc xml:whitespace="preserve">%TRUE to to set the stage fullscreen</doc>
23353 <type name="boolean" c:type="gboolean"/>
23357 <method name="get_fullscreen"
23358 c:identifier="clutter_stage_get_fullscreen"
23360 <doc xml:whitespace="preserve">Retrieves whether the stage is full screen or not</doc>
23361 <return-value transfer-ownership="none">
23362 <doc xml:whitespace="preserve">%TRUE if the stage is full screen</doc>
23363 <type name="boolean" c:type="gboolean"/>
23366 <method name="show_cursor" c:identifier="clutter_stage_show_cursor">
23367 <doc xml:whitespace="preserve">Shows the cursor on the stage window</doc>
23368 <return-value transfer-ownership="none">
23369 <type name="none" c:type="void"/>
23372 <method name="hide_cursor"
23373 c:identifier="clutter_stage_hide_cursor"
23375 <doc xml:whitespace="preserve">Makes the cursor invisible on the stage window</doc>
23376 <return-value transfer-ownership="none">
23377 <type name="none" c:type="void"/>
23380 <method name="get_actor_at_pos"
23381 c:identifier="clutter_stage_get_actor_at_pos">
23382 <doc xml:whitespace="preserve">Checks the scene at the coordinates @x and @y and returns a pointer
23383 to the #ClutterActor at those coordinates.
23384 By using @pick_mode it is possible to control which actors will be
23385 painted and thus available.
23387 <return-value transfer-ownership="none">
23388 <doc xml:whitespace="preserve">the actor at the specified coordinates,</doc>
23389 <type name="Actor" c:type="ClutterActor*"/>
23392 <parameter name="pick_mode" transfer-ownership="none">
23393 <doc xml:whitespace="preserve">how the scene graph should be painted</doc>
23394 <type name="PickMode" c:type="ClutterPickMode"/>
23396 <parameter name="x" transfer-ownership="none">
23397 <doc xml:whitespace="preserve">X coordinate to check</doc>
23398 <type name="int" c:type="gint"/>
23400 <parameter name="y" transfer-ownership="none">
23401 <doc xml:whitespace="preserve">Y coordinate to check</doc>
23402 <type name="int" c:type="gint"/>
23406 <method name="read_pixels" c:identifier="clutter_stage_read_pixels">
23407 <doc xml:whitespace="preserve">Makes a screenshot of the stage in RGBA 8bit data, returns a
23408 linear buffer with @width * 4 as rowstride.
23409 The alpha data contained in the returned buffer is driver-dependent,
23410 and not guaranteed to hold any sensible value.
23411 or %NULL if the read failed. Use g_free() on the returned data
23412 to release the resources it has allocated.</doc>
23413 <return-value transfer-ownership="full">
23414 <doc xml:whitespace="preserve">a pointer to newly allocated memory with the buffer</doc>
23415 <array c:type="guchar*">
23416 <type name="uint8"/>
23420 <parameter name="x" transfer-ownership="none">
23421 <doc xml:whitespace="preserve">x coordinate of the first pixel that is read from stage</doc>
23422 <type name="int" c:type="gint"/>
23424 <parameter name="y" transfer-ownership="none">
23425 <doc xml:whitespace="preserve">y coordinate of the first pixel that is read from stage</doc>
23426 <type name="int" c:type="gint"/>
23428 <parameter name="width" transfer-ownership="none">
23429 <doc xml:whitespace="preserve">Width dimention of pixels to be read, or -1 for the entire stage width</doc>
23430 <type name="int" c:type="gint"/>
23432 <parameter name="height" transfer-ownership="none">
23433 <doc xml:whitespace="preserve">Height dimention of pixels to be read, or -1 for the entire stage height</doc>
23434 <type name="int" c:type="gint"/>
23438 <method name="event" c:identifier="clutter_stage_event" version="0.4">
23439 <doc xml:whitespace="preserve">This function is used to emit an event on the main stage.
23440 You should rarely need to use this function, except for
23441 synthetised events.</doc>
23442 <return-value transfer-ownership="none">
23443 <doc xml:whitespace="preserve">the return value from the signal emission</doc>
23444 <type name="boolean" c:type="gboolean"/>
23447 <parameter name="event" transfer-ownership="none">
23448 <doc xml:whitespace="preserve">a #ClutterEvent</doc>
23449 <type name="Event" c:type="ClutterEvent*"/>
23453 <method name="set_title" c:identifier="clutter_stage_set_title">
23454 <return-value transfer-ownership="none">
23455 <type name="none" c:type="void"/>
23458 <parameter name="title" transfer-ownership="none">
23459 <type name="utf8" c:type="gchar*"/>
23463 <method name="get_title" c:identifier="clutter_stage_get_title">
23464 <return-value transfer-ownership="none">
23465 <type name="utf8" c:type="gchar*"/>
23468 <method name="set_user_resizable"
23469 c:identifier="clutter_stage_set_user_resizable"
23471 <doc xml:whitespace="preserve">Sets if the stage is resizable by user interaction (e.g. via
23472 window manager controls)</doc>
23473 <return-value transfer-ownership="none">
23474 <type name="none" c:type="void"/>
23477 <parameter name="resizable" transfer-ownership="none">
23478 <doc xml:whitespace="preserve">whether the stage should be user resizable.</doc>
23479 <type name="boolean" c:type="gboolean"/>
23483 <method name="get_user_resizable"
23484 c:identifier="clutter_stage_get_user_resizable"
23486 <doc xml:whitespace="preserve">Retrieves the value set with clutter_stage_set_user_resizable().</doc>
23487 <return-value transfer-ownership="none">
23488 <doc xml:whitespace="preserve">%TRUE if the stage is resizable by the user.</doc>
23489 <type name="boolean" c:type="gboolean"/>
23492 <method name="set_use_fog"
23493 c:identifier="clutter_stage_set_use_fog"
23495 <doc xml:whitespace="preserve">Sets whether the depth cueing effect on the stage should be enabled
23497 Depth cueing is a 3D effect that makes actors farther away from the
23498 viewing point less opaque, by fading them with the stage color.
23499 The parameters of the GL fog used can be changed using the
23500 clutter_stage_set_fog() function.</doc>
23501 <return-value transfer-ownership="none">
23502 <type name="none" c:type="void"/>
23505 <parameter name="fog" transfer-ownership="none">
23506 <doc xml:whitespace="preserve">%TRUE for enabling the depth cueing effect</doc>
23507 <type name="boolean" c:type="gboolean"/>
23511 <method name="get_use_fog"
23512 c:identifier="clutter_stage_get_use_fog"
23514 <doc xml:whitespace="preserve">Gets whether the depth cueing effect is enabled on @stage.</doc>
23515 <return-value transfer-ownership="none">
23516 <doc xml:whitespace="preserve">%TRUE if the the depth cueing effect is enabled</doc>
23517 <type name="boolean" c:type="gboolean"/>
23520 <method name="set_fog"
23521 c:identifier="clutter_stage_set_fog"
23523 <doc xml:whitespace="preserve">Sets the fog (also known as "depth cueing") settings for the @stage.
23524 A #ClutterStage will only use a linear fog progression, which
23525 depends solely on the distance from the viewer. The cogl_set_fog()
23526 function in COGL exposes more of the underlying implementation,
23527 and allows changing the for progression function. It can be directly
23528 used by disabling the #ClutterStage:use-fog property and connecting
23529 a signal handler to the #ClutterActor::paint signal on the @stage,
23532 clutter_stage_set_use_fog (stage, FALSE);
23533 g_signal_connect (stage, "paint", G_CALLBACK (on_stage_paint), NULL);
23535 The paint signal handler will call cogl_set_fog() with the
23539 on_stage_paint (ClutterActor *actor)
23541 ClutterColor stage_color = { 0, };
23542 CoglColor fog_color = { 0, };
23543 /&ast; set the fog color to the stage background color &ast;/
23544 clutter_stage_get_color (CLUTTER_STAGE (actor), &amp;stage_color);
23545 cogl_color_set_from_4ub (&amp;fog_color,
23549 stage_color.alpha);
23550 /&ast; enable fog &ast;/
23551 cogl_set_fog (&amp;fog_color,
23552 COGL_FOG_MODE_EXPONENTIAL, /&ast; mode &ast;/
23553 0.5, /&ast; density &ast;/
23554 5.0, 30.0); /&ast; z_near and z_far &ast;/
23557 unmultiplied alpha colors. By default Cogl will premultiply textures
23558 and cogl_set_source_color will premultiply colors, so unless you
23559 explicitly load your textures requesting an unmultiplied
23560 internal_format and use cogl_material_set_color you can only use
23561 fogging with fully opaque actors.
23562 We can look to improve this in the future when we can depend on
23563 fragment shaders.</doc>
23564 <return-value transfer-ownership="none">
23565 <type name="none" c:type="void"/>
23568 <parameter name="fog" transfer-ownership="none">
23569 <doc xml:whitespace="preserve">a #ClutterFog structure</doc>
23570 <type name="Fog" c:type="ClutterFog*"/>
23574 <method name="get_fog"
23575 c:identifier="clutter_stage_get_fog"
23577 <doc xml:whitespace="preserve">Retrieves the current depth cueing settings from the stage.</doc>
23578 <return-value transfer-ownership="none">
23579 <type name="none" c:type="void"/>
23582 <parameter name="fog" transfer-ownership="none">
23583 <doc xml:whitespace="preserve">return location for a #ClutterFog structure</doc>
23584 <type name="Fog" c:type="ClutterFog*"/>
23588 <method name="set_key_focus"
23589 c:identifier="clutter_stage_set_key_focus"
23591 <doc xml:whitespace="preserve">Sets the key focus on @actor. An actor with key focus will receive
23592 all the key events. If @actor is %NULL, the stage will receive
23594 <return-value transfer-ownership="none">
23595 <type name="none" c:type="void"/>
23598 <parameter name="actor" transfer-ownership="none" allow-none="1">
23599 <doc xml:whitespace="preserve">the actor to set key focus to, or %NULL</doc>
23600 <type name="Actor" c:type="ClutterActor*"/>
23604 <method name="get_key_focus"
23605 c:identifier="clutter_stage_get_key_focus"
23607 <doc xml:whitespace="preserve">Retrieves the actor that is currently under key focus.</doc>
23608 <return-value transfer-ownership="none">
23609 <doc xml:whitespace="preserve">the actor with key focus, or the stage</doc>
23610 <type name="Actor" c:type="ClutterActor*"/>
23613 <method name="ensure_current"
23614 c:identifier="clutter_stage_ensure_current"
23616 <doc xml:whitespace="preserve">This function essentially makes sure the right GL context is
23617 current for the passed stage. It is not intended to
23618 be used by applications.</doc>
23619 <return-value transfer-ownership="none">
23620 <type name="none" c:type="void"/>
23623 <method name="queue_redraw"
23624 c:identifier="clutter_stage_queue_redraw"
23626 <doc xml:whitespace="preserve">Queues a redraw for the passed stage.
23627 <note>Applications should call clutter_actor_queue_redraw() and not
23628 this function.</note>
23629 <note>This function is just a wrapper for clutter_actor_queue_redraw()
23630 and should probably go away.</note></doc>
23631 <return-value transfer-ownership="none">
23632 <type name="none" c:type="void"/>
23635 <method name="is_default"
23636 c:identifier="clutter_stage_is_default"
23638 <doc xml:whitespace="preserve">Checks if @stage is the default stage, or an instance created using
23639 clutter_stage_new() but internally using the same implementation.</doc>
23640 <return-value transfer-ownership="none">
23641 <doc xml:whitespace="preserve">%TRUE if the passed stage is the default one</doc>
23642 <type name="boolean" c:type="gboolean"/>
23645 <method name="ensure_viewport"
23646 c:identifier="clutter_stage_ensure_viewport"
23648 <doc xml:whitespace="preserve">Ensures that the GL viewport is updated with the current
23650 This function will queue a redraw of @stage.
23651 This function should not be called by applications; it is used
23652 when embedding a #ClutterStage into a toolkit with another
23653 windowing system, like GTK+.</doc>
23654 <return-value transfer-ownership="none">
23655 <type name="none" c:type="void"/>
23658 <method name="ensure_redraw"
23659 c:identifier="clutter_stage_ensure_redraw"
23661 <doc xml:whitespace="preserve">Ensures that @stage is redrawn
23662 used when embedding a #ClutterStage into a toolkit with
23663 another windowing system, like GTK+.</doc>
23664 <return-value transfer-ownership="none">
23665 <type name="none" c:type="void"/>
23668 <method name="set_throttle_motion_events"
23669 c:identifier="clutter_stage_set_throttle_motion_events"
23671 <doc xml:whitespace="preserve">Sets whether motion events received between redraws should
23672 be throttled or not. If motion events are throttled, those
23673 events received by the windowing system between redraws will
23674 be compressed so that only the last event will be propagated
23675 to the @stage and its actors.
23676 This function should only be used if you want to have all
23677 the motion events delivered to your application code.</doc>
23678 <return-value transfer-ownership="none">
23679 <type name="none" c:type="void"/>
23682 <parameter name="throttle" transfer-ownership="none">
23683 <doc xml:whitespace="preserve">%TRUE to throttle motion events</doc>
23684 <type name="boolean" c:type="gboolean"/>
23688 <method name="get_throttle_motion_events"
23689 c:identifier="clutter_stage_get_throttle_motion_events"
23691 <doc xml:whitespace="preserve">Retrieves the value set with clutter_stage_set_throttle_motion_events()
23692 and %FALSE otherwise</doc>
23693 <return-value transfer-ownership="none">
23694 <doc xml:whitespace="preserve">%TRUE if the motion events are being throttled,</doc>
23695 <type name="boolean" c:type="gboolean"/>
23698 <method name="set_use_alpha"
23699 c:identifier="clutter_stage_set_use_alpha"
23701 <doc xml:whitespace="preserve">Sets whether the @stage should honour the #ClutterActor:opacity and
23702 the alpha channel of the #ClutterStage:color</doc>
23703 <return-value transfer-ownership="none">
23704 <type name="none" c:type="void"/>
23707 <parameter name="use_alpha" transfer-ownership="none">
23708 <doc xml:whitespace="preserve">whether the stage should honour the opacity or the alpha channel of the stage color</doc>
23709 <type name="boolean" c:type="gboolean"/>
23713 <method name="get_use_alpha"
23714 c:identifier="clutter_stage_get_use_alpha"
23716 <doc xml:whitespace="preserve">Retrieves the value set using clutter_stage_set_use_alpha()
23717 alpha channel of the stage color</doc>
23718 <return-value transfer-ownership="none">
23719 <doc xml:whitespace="preserve">%TRUE if the stage should honour the opacity and the</doc>
23720 <type name="boolean" c:type="gboolean"/>
23723 <method name="set_minimum_size"
23724 c:identifier="clutter_stage_set_minimum_size"
23726 <doc xml:whitespace="preserve">Sets the minimum size for a stage window, if the default backend
23727 uses #ClutterStage inside a window
23728 This is a convenience function, and it is equivalent to setting the
23729 #ClutterActor:min-width and #ClutterActor:min-height on @stage
23730 If the current size of @stage is smaller than the minimum size, the
23731 This function has no effect if @stage is fullscreen</doc>
23732 <return-value transfer-ownership="none">
23733 <type name="none" c:type="void"/>
23736 <parameter name="width" transfer-ownership="none">
23737 <doc xml:whitespace="preserve">width, in pixels</doc>
23738 <type name="uint" c:type="guint"/>
23740 <parameter name="height" transfer-ownership="none">
23741 <doc xml:whitespace="preserve">height, in pixels</doc>
23742 <type name="uint" c:type="guint"/>
23746 <method name="get_minimum_size"
23747 c:identifier="clutter_stage_get_minimum_size"
23749 <doc xml:whitespace="preserve">Retrieves the minimum size for a stage window as set using
23750 clutter_stage_set_minimum_size().
23751 The returned size may not correspond to the actual minimum size and
23752 it is specific to the #ClutterStage implementation inside the
23753 Clutter backend</doc>
23754 <return-value transfer-ownership="none">
23755 <type name="none" c:type="void"/>
23758 <parameter name="width"
23760 caller-allocates="0"
23761 transfer-ownership="full">
23762 <doc xml:whitespace="preserve">return location for the minimum width, in pixels, or %NULL</doc>
23763 <type name="uint" c:type="guint*"/>
23765 <parameter name="height"
23767 caller-allocates="0"
23768 transfer-ownership="full">
23769 <doc xml:whitespace="preserve">return location for the minimum height, in pixels, or %NULL</doc>
23770 <type name="uint" c:type="guint*"/>
23774 <method name="set_no_clear_hint"
23775 c:identifier="clutter_stage_set_no_clear_hint"
23777 <doc xml:whitespace="preserve">Sets whether the @stage should clear itself at the beginning
23778 of each paint cycle or not.
23779 Clearing the #ClutterStage can be a costly operation, especially
23780 if the stage is always covered - for instance, in a full-screen
23781 video player or in a game with a background texture.
23782 <note><para>This setting is a hint; Clutter might discard this
23783 hint depending on its internal state.</para></note>
23784 <warning><para>If parts of the stage are visible and you disable
23785 clearing you might end up with visual artifacts while painting the
23786 contents of the stage.</para></warning></doc>
23787 <return-value transfer-ownership="none">
23788 <type name="none" c:type="void"/>
23791 <parameter name="no_clear" transfer-ownership="none">
23792 <doc xml:whitespace="preserve">%TRUE if the @stage should not clear itself on every repaint cycle</doc>
23793 <type name="boolean" c:type="gboolean"/>
23797 <method name="get_no_clear_hint"
23798 c:identifier="clutter_stage_get_no_clear_hint"
23800 <doc xml:whitespace="preserve">Retrieves the hint set with clutter_stage_set_no_clear_hint()
23801 cycle, and %FALSE otherwise</doc>
23802 <return-value transfer-ownership="none">
23803 <doc xml:whitespace="preserve">%TRUE if the stage should not clear itself on every paint</doc>
23804 <type name="boolean" c:type="gboolean"/>
23807 <property name="color" writable="1" transfer-ownership="none">
23808 <doc xml:whitespace="preserve">The color of the main stage.</doc>
23809 <type name="Color" c:type="ClutterColor"/>
23811 <property name="cursor-visible" writable="1" transfer-ownership="none">
23812 <doc xml:whitespace="preserve">Whether the mouse pointer should be visible</doc>
23813 <type name="boolean" c:type="gboolean"/>
23815 <property name="fog"
23818 transfer-ownership="none">
23819 <doc xml:whitespace="preserve">The settings for the GL "fog", used only if #ClutterStage:use-fog
23820 is set to %TRUE</doc>
23821 <type name="Fog" c:type="ClutterFog"/>
23823 <property name="fullscreen-set" transfer-ownership="none">
23824 <type name="boolean" c:type="gboolean"/>
23826 <property name="key-focus"
23829 transfer-ownership="none">
23830 <doc xml:whitespace="preserve">The #ClutterActor that will receive key events from the underlying
23832 If %NULL, the #ClutterStage will receive the events.</doc>
23833 <type name="Actor" c:type="ClutterActor"/>
23835 <property name="no-clear-hint"
23838 transfer-ownership="none">
23839 <doc xml:whitespace="preserve">Whether or not the #ClutterStage should clear its contents
23840 before each paint cycle.
23841 See clutter_stage_set_no_clear_hint() for further information.</doc>
23842 <type name="boolean" c:type="gboolean"/>
23844 <property name="offscreen" writable="1" transfer-ownership="none">
23845 <doc xml:whitespace="preserve">Whether the stage should be rendered in an offscreen buffer.
23846 <warning><para>Not every backend supports redirecting the
23847 stage to an offscreen buffer. This property might not work
23848 and it might be deprecated at any later date.</para></warning></doc>
23849 <type name="boolean" c:type="gboolean"/>
23851 <property name="perspective"
23854 transfer-ownership="none">
23855 <doc xml:whitespace="preserve">The parameters used for the perspective projection from 3D
23856 coordinates to 2D</doc>
23857 <type name="Perspective" c:type="ClutterPerspective"/>
23859 <property name="title"
23862 transfer-ownership="none">
23863 <doc xml:whitespace="preserve">The stage's title - usually displayed in stage windows title decorations.</doc>
23864 <type name="utf8" c:type="gchararray"/>
23866 <property name="use-alpha"
23869 transfer-ownership="none">
23870 <doc xml:whitespace="preserve">Whether the #ClutterStage should honour the alpha component of the
23871 #ClutterStage:color property when painting. If Clutter is run under
23872 a compositing manager this will result in the stage being blended
23873 with the underlying window(s)</doc>
23874 <type name="boolean" c:type="gboolean"/>
23876 <property name="use-fog"
23879 transfer-ownership="none">
23880 <doc xml:whitespace="preserve">Whether the stage should use a linear GL "fog" in creating the
23881 depth-cueing effect, to enhance the perception of depth by fading
23882 actors farther from the viewpoint.</doc>
23883 <type name="boolean" c:type="gboolean"/>
23885 <property name="user-resizable"
23888 transfer-ownership="none">
23889 <doc xml:whitespace="preserve">Whether the stage is resizable via user interaction.</doc>
23890 <type name="boolean" c:type="gboolean"/>
23892 <field name="parent_instance">
23893 <type name="Group" c:type="ClutterGroup"/>
23895 <field name="priv">
23896 <type name="StagePrivate" c:type="ClutterStagePrivate*"/>
23898 <glib:signal name="activate">
23899 <return-value transfer-ownership="full">
23900 <type name="none" c:type="void"/>
23903 <glib:signal name="deactivate">
23904 <return-value transfer-ownership="full">
23905 <type name="none" c:type="void"/>
23908 <glib:signal name="delete-event" version="1.2">
23909 <doc xml:whitespace="preserve">The ::delete-event signal is emitted when the user closes a
23910 #ClutterStage window using the window controls.
23911 Clutter by default will call clutter_main_quit() if @stage is
23912 the default stage, and clutter_actor_destroy() for any other
23914 It is possible to override the default behaviour by connecting
23915 a new handler and returning %TRUE there.
23916 <note>This signal is emitted only on Clutter backends that
23917 embed #ClutterStage in native windows. It is not emitted for
23918 backends that use a static frame buffer.</note></doc>
23919 <return-value transfer-ownership="full">
23920 <type name="boolean" c:type="gboolean"/>
23923 <parameter name="event" transfer-ownership="none">
23924 <doc xml:whitespace="preserve">a #ClutterEvent of type %CLUTTER_DELETE</doc>
23925 <type name="Event" c:type="ClutterEvent"/>
23929 <glib:signal name="fullscreen">
23930 <return-value transfer-ownership="full">
23931 <type name="none" c:type="void"/>
23934 <glib:signal name="unfullscreen">
23935 <return-value transfer-ownership="full">
23936 <type name="none" c:type="void"/>
23940 <record name="StageClass"
23941 c:type="ClutterStageClass"
23942 glib:is-gtype-struct-for="Stage"
23944 <doc xml:whitespace="preserve">The #ClutterStageClass structure contains only private data</doc>
23945 <field name="parent_class">
23946 <type name="GroupClass" c:type="ClutterGroupClass"/>
23948 <field name="fullscreen">
23949 <callback name="fullscreen" c:type="fullscreen">
23950 <return-value transfer-ownership="none">
23951 <type name="none" c:type="void"/>
23954 <parameter name="stage" transfer-ownership="none">
23955 <type name="Stage" c:type="ClutterStage*"/>
23960 <field name="unfullscreen">
23961 <callback name="unfullscreen" c:type="unfullscreen">
23962 <return-value transfer-ownership="none">
23963 <type name="none" c:type="void"/>
23966 <parameter name="stage" transfer-ownership="none">
23967 <type name="Stage" c:type="ClutterStage*"/>
23972 <field name="activate">
23973 <callback name="activate" c:type="activate">
23974 <return-value transfer-ownership="none">
23975 <type name="none" c:type="void"/>
23978 <parameter name="stage" transfer-ownership="none">
23979 <type name="Stage" c:type="ClutterStage*"/>
23984 <field name="deactivate">
23985 <callback name="deactivate" c:type="deactivate">
23986 <return-value transfer-ownership="none">
23987 <type name="none" c:type="void"/>
23990 <parameter name="stage" transfer-ownership="none">
23991 <type name="Stage" c:type="ClutterStage*"/>
23996 <field name="delete_event">
23997 <callback name="delete_event" c:type="delete_event">
23998 <return-value transfer-ownership="none">
23999 <type name="boolean" c:type="gboolean"/>
24002 <parameter name="stage" transfer-ownership="none">
24003 <type name="Stage" c:type="ClutterStage*"/>
24005 <parameter name="event" transfer-ownership="none">
24006 <type name="Event" c:type="ClutterEvent*"/>
24011 <field name="_padding_dummy">
24012 <array zero-terminated="0" c:type="gpointer" fixed-size="31">
24017 <class name="StageManager"
24018 c:type="ClutterStageManager"
24020 parent="GObject.Object"
24021 glib:type-name="ClutterStageManager"
24022 glib:get-type="clutter_stage_manager_get_type"
24023 glib:type-struct="StageManagerClass">
24024 <doc xml:whitespace="preserve">The #ClutterStageManager structure is private.</doc>
24025 <function name="get_default"
24026 c:identifier="clutter_stage_manager_get_default"
24028 <doc xml:whitespace="preserve">Returns the default #ClutterStageManager.
24029 object is owned by Clutter and you should not reference or unreference it.</doc>
24030 <return-value transfer-ownership="none">
24031 <doc xml:whitespace="preserve">the default stage manager instance. The returned</doc>
24032 <type name="StageManager" c:type="ClutterStageManager*"/>
24035 <method name="get_default_stage"
24036 c:identifier="clutter_stage_manager_get_default_stage"
24038 <doc xml:whitespace="preserve">Returns the default #ClutterStage.
24039 is owned by Clutter and you should never reference or unreference it</doc>
24040 <return-value transfer-ownership="none">
24041 <doc xml:whitespace="preserve">the default stage. The returned object</doc>
24042 <type name="Stage" c:type="ClutterStage*"/>
24045 <method name="list_stages"
24046 c:identifier="clutter_stage_manager_list_stages"
24048 <doc xml:whitespace="preserve">Lists all currently used stages.
24049 allocated list of #ClutterStage objects. Use g_slist_free() to
24050 deallocate it when done.</doc>
24051 <return-value transfer-ownership="container">
24052 <doc xml:whitespace="preserve">a newly</doc>
24053 <type name="GLib.SList" c:type="GSList*">
24054 <type name="Stage"/>
24058 <method name="peek_stages"
24059 c:identifier="clutter_stage_manager_peek_stages"
24061 <doc xml:whitespace="preserve">Lists all currently used stages.
24062 to the internal list of #ClutterStage objects. The returned list
24063 is owned by the #ClutterStageManager and should never be modified
24065 <return-value transfer-ownership="none">
24066 <doc xml:whitespace="preserve">a pointer</doc>
24067 <type name="GLib.SList" c:type="GSList*">
24068 <type name="Stage"/>
24072 <method name="set_default_stage"
24073 c:identifier="clutter_stage_manager_set_default_stage"
24075 deprecated="Calling this function has no effect"
24076 deprecated-version="1.2">
24077 <doc xml:whitespace="preserve">Sets @stage as the default stage.</doc>
24078 <return-value transfer-ownership="none">
24079 <type name="none" c:type="void"/>
24082 <parameter name="stage" transfer-ownership="none">
24083 <doc xml:whitespace="preserve">a #ClutterStage</doc>
24084 <type name="Stage" c:type="ClutterStage*"/>
24088 <property name="default-stage" version="0.8" transfer-ownership="none">
24089 <doc xml:whitespace="preserve">The default stage used by Clutter.</doc>
24090 <type name="Stage" c:type="ClutterStage"/>
24092 <glib:signal name="stage-added" version="0.8">
24093 <doc xml:whitespace="preserve">The ::stage-added signal is emitted each time a new #ClutterStage
24094 has been added to the stage manager.</doc>
24095 <return-value transfer-ownership="full">
24096 <type name="none" c:type="void"/>
24099 <parameter name="stage" transfer-ownership="none">
24100 <doc xml:whitespace="preserve">the added stage</doc>
24101 <type name="Stage" c:type="ClutterStage"/>
24105 <glib:signal name="stage-removed" version="0.8">
24106 <doc xml:whitespace="preserve">The ::stage-removed signal is emitted each time a #ClutterStage
24107 has been removed from the stage manager.</doc>
24108 <return-value transfer-ownership="full">
24109 <type name="none" c:type="void"/>
24112 <parameter name="stage" transfer-ownership="none">
24113 <doc xml:whitespace="preserve">the removed stage</doc>
24114 <type name="Stage" c:type="ClutterStage"/>
24119 <record name="StageManagerClass"
24120 c:type="ClutterStageManagerClass"
24121 glib:is-gtype-struct-for="StageManager"
24123 <doc xml:whitespace="preserve">The #ClutterStageManagerClass structure contains only private data
24124 and should be accessed using the provided API</doc>
24125 <field name="parent_class">
24126 <type name="GObject.ObjectClass" c:type="GObjectClass"/>
24128 <field name="stage_added">
24129 <callback name="stage_added" c:type="stage_added">
24130 <return-value transfer-ownership="none">
24131 <type name="none" c:type="void"/>
24134 <parameter name="stage_manager" transfer-ownership="none">
24135 <type name="StageManager" c:type="ClutterStageManager*"/>
24137 <parameter name="stage" transfer-ownership="none">
24138 <type name="Stage" c:type="ClutterStage*"/>
24143 <field name="stage_removed">
24144 <callback name="stage_removed" c:type="stage_removed">
24145 <return-value transfer-ownership="none">
24146 <type name="none" c:type="void"/>
24149 <parameter name="stage_manager" transfer-ownership="none">
24150 <type name="StageManager" c:type="ClutterStageManager*"/>
24152 <parameter name="stage" transfer-ownership="none">
24153 <type name="Stage" c:type="ClutterStage*"/>
24159 <record name="StagePrivate" c:type="ClutterStagePrivate">
24161 <bitfield name="StageState"
24163 glib:type-name="ClutterStageState"
24164 glib:get-type="clutter_stage_state_get_type"
24165 c:type="ClutterStageState">
24166 <doc xml:whitespace="preserve">Stage state masks</doc>
24167 <member name="fullscreen"
24169 c:identifier="CLUTTER_STAGE_STATE_FULLSCREEN"
24170 glib:nick="fullscreen"/>
24171 <member name="offscreen"
24173 c:identifier="CLUTTER_STAGE_STATE_OFFSCREEN"
24174 glib:nick="offscreen"/>
24175 <member name="activated"
24177 c:identifier="CLUTTER_STAGE_STATE_ACTIVATED"
24178 glib:nick="activated"/>
24180 <record name="StageStateEvent"
24181 c:type="ClutterStageStateEvent"
24183 <doc xml:whitespace="preserve">Event signalling a change in the #ClutterStage state.</doc>
24184 <field name="type" writable="1">
24185 <type name="EventType" c:type="ClutterEventType"/>
24187 <field name="time" writable="1">
24188 <type name="uint32" c:type="guint32"/>
24190 <field name="flags" writable="1">
24191 <type name="EventFlags" c:type="ClutterEventFlags"/>
24193 <field name="stage" writable="1">
24194 <type name="Stage" c:type="ClutterStage*"/>
24196 <field name="source" writable="1">
24197 <type name="Actor" c:type="ClutterActor*"/>
24199 <field name="changed_mask" writable="1">
24200 <type name="StageState" c:type="ClutterStageState"/>
24202 <field name="new_state" writable="1">
24203 <type name="StageState" c:type="ClutterStageState"/>
24206 <interface name="StageWindow"
24207 c:type="ClutterStageWindow"
24208 glib:type-name="ClutterStageWindow"
24209 glib:get-type="clutter_stage_window_get_type"
24210 glib:type-struct="StageWindowIface">
24211 <virtual-method name="get_wrapper">
24212 <return-value transfer-ownership="full">
24213 <type name="Actor" c:type="ClutterActor*"/>
24216 <virtual-method name="set_title">
24217 <return-value transfer-ownership="none">
24218 <type name="none" c:type="void"/>
24221 <parameter name="title" transfer-ownership="none">
24222 <type name="utf8" c:type="gchar*"/>
24226 <virtual-method name="set_fullscreen">
24227 <return-value transfer-ownership="none">
24228 <type name="none" c:type="void"/>
24231 <parameter name="is_fullscreen" transfer-ownership="none">
24232 <type name="boolean" c:type="gboolean"/>
24236 <virtual-method name="set_cursor_visible">
24237 <return-value transfer-ownership="none">
24238 <type name="none" c:type="void"/>
24241 <parameter name="cursor_visible" transfer-ownership="none">
24242 <type name="boolean" c:type="gboolean"/>
24246 <virtual-method name="set_user_resizable">
24247 <return-value transfer-ownership="none">
24248 <type name="none" c:type="void"/>
24251 <parameter name="is_resizable" transfer-ownership="none">
24252 <type name="boolean" c:type="gboolean"/>
24256 <virtual-method name="realize">
24257 <return-value transfer-ownership="none">
24258 <type name="boolean" c:type="gboolean"/>
24261 <virtual-method name="unrealize">
24262 <return-value transfer-ownership="none">
24263 <type name="none" c:type="void"/>
24266 <virtual-method name="show">
24267 <return-value transfer-ownership="none">
24268 <type name="none" c:type="void"/>
24271 <parameter name="do_raise" transfer-ownership="none">
24272 <type name="boolean" c:type="gboolean"/>
24276 <virtual-method name="hide">
24277 <return-value transfer-ownership="none">
24278 <type name="none" c:type="void"/>
24281 <virtual-method name="resize">
24282 <return-value transfer-ownership="none">
24283 <type name="none" c:type="void"/>
24286 <parameter name="width" transfer-ownership="none">
24287 <type name="int" c:type="gint"/>
24289 <parameter name="height" transfer-ownership="none">
24290 <type name="int" c:type="gint"/>
24294 <virtual-method name="get_geometry">
24295 <return-value transfer-ownership="none">
24296 <type name="none" c:type="void"/>
24299 <parameter name="geometry" transfer-ownership="none">
24300 <type name="Geometry" c:type="ClutterGeometry*"/>
24304 <virtual-method name="get_pending_swaps">
24305 <return-value transfer-ownership="none">
24306 <type name="int" c:type="int"/>
24309 <virtual-method name="add_redraw_clip">
24310 <return-value transfer-ownership="none">
24311 <type name="none" c:type="void"/>
24314 <parameter name="stage_rectangle" transfer-ownership="none">
24315 <type name="Geometry" c:type="ClutterGeometry*"/>
24319 <virtual-method name="has_redraw_clips">
24320 <return-value transfer-ownership="none">
24321 <type name="boolean" c:type="gboolean"/>
24324 <virtual-method name="ignoring_redraw_clips">
24325 <return-value transfer-ownership="none">
24326 <type name="boolean" c:type="gboolean"/>
24330 <record name="StageWindowIface"
24331 c:type="ClutterStageWindowIface"
24332 glib:is-gtype-struct-for="StageWindow">
24333 <field name="parent_iface">
24334 <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
24336 <field name="get_wrapper">
24337 <callback name="get_wrapper" c:type="get_wrapper">
24338 <return-value transfer-ownership="full">
24339 <type name="Actor" c:type="ClutterActor*"/>
24342 <parameter name="stage_window" transfer-ownership="none">
24343 <type name="StageWindow" c:type="ClutterStageWindow*"/>
24348 <field name="set_title">
24349 <callback name="set_title" c:type="set_title">
24350 <return-value transfer-ownership="none">
24351 <type name="none" c:type="void"/>
24354 <parameter name="stage_window" transfer-ownership="none">
24355 <type name="StageWindow" c:type="ClutterStageWindow*"/>
24357 <parameter name="title" transfer-ownership="none">
24358 <type name="utf8" c:type="gchar*"/>
24363 <field name="set_fullscreen">
24364 <callback name="set_fullscreen" c:type="set_fullscreen">
24365 <return-value transfer-ownership="none">
24366 <type name="none" c:type="void"/>
24369 <parameter name="stage_window" transfer-ownership="none">
24370 <type name="StageWindow" c:type="ClutterStageWindow*"/>
24372 <parameter name="is_fullscreen" transfer-ownership="none">
24373 <type name="boolean" c:type="gboolean"/>
24378 <field name="set_cursor_visible">
24379 <callback name="set_cursor_visible" c:type="set_cursor_visible">
24380 <return-value transfer-ownership="none">
24381 <type name="none" c:type="void"/>
24384 <parameter name="stage_window" transfer-ownership="none">
24385 <type name="StageWindow" c:type="ClutterStageWindow*"/>
24387 <parameter name="cursor_visible" transfer-ownership="none">
24388 <type name="boolean" c:type="gboolean"/>
24393 <field name="set_user_resizable">
24394 <callback name="set_user_resizable" c:type="set_user_resizable">
24395 <return-value transfer-ownership="none">
24396 <type name="none" c:type="void"/>
24399 <parameter name="stage_window" transfer-ownership="none">
24400 <type name="StageWindow" c:type="ClutterStageWindow*"/>
24402 <parameter name="is_resizable" transfer-ownership="none">
24403 <type name="boolean" c:type="gboolean"/>
24408 <field name="realize">
24409 <callback name="realize" c:type="realize">
24410 <return-value transfer-ownership="none">
24411 <type name="boolean" c:type="gboolean"/>
24414 <parameter name="stage_window" transfer-ownership="none">
24415 <type name="StageWindow" c:type="ClutterStageWindow*"/>
24420 <field name="unrealize">
24421 <callback name="unrealize" c:type="unrealize">
24422 <return-value transfer-ownership="none">
24423 <type name="none" c:type="void"/>
24426 <parameter name="stage_window" transfer-ownership="none">
24427 <type name="StageWindow" c:type="ClutterStageWindow*"/>
24432 <field name="show">
24433 <callback name="show" c:type="show">
24434 <return-value transfer-ownership="none">
24435 <type name="none" c:type="void"/>
24438 <parameter name="stage_window" transfer-ownership="none">
24439 <type name="StageWindow" c:type="ClutterStageWindow*"/>
24441 <parameter name="do_raise" transfer-ownership="none">
24442 <type name="boolean" c:type="gboolean"/>
24447 <field name="hide">
24448 <callback name="hide" c:type="hide">
24449 <return-value transfer-ownership="none">
24450 <type name="none" c:type="void"/>
24453 <parameter name="stage_window" transfer-ownership="none">
24454 <type name="StageWindow" c:type="ClutterStageWindow*"/>
24459 <field name="resize">
24460 <callback name="resize" c:type="resize">
24461 <return-value transfer-ownership="none">
24462 <type name="none" c:type="void"/>
24465 <parameter name="stage_window" transfer-ownership="none">
24466 <type name="StageWindow" c:type="ClutterStageWindow*"/>
24468 <parameter name="width" transfer-ownership="none">
24469 <type name="int" c:type="gint"/>
24471 <parameter name="height" transfer-ownership="none">
24472 <type name="int" c:type="gint"/>
24477 <field name="get_geometry">
24478 <callback name="get_geometry" c:type="get_geometry">
24479 <return-value transfer-ownership="none">
24480 <type name="none" c:type="void"/>
24483 <parameter name="stage_window" transfer-ownership="none">
24484 <type name="StageWindow" c:type="ClutterStageWindow*"/>
24486 <parameter name="geometry" transfer-ownership="none">
24487 <type name="Geometry" c:type="ClutterGeometry*"/>
24492 <field name="get_pending_swaps">
24493 <callback name="get_pending_swaps" c:type="get_pending_swaps">
24494 <return-value transfer-ownership="none">
24495 <type name="int" c:type="int"/>
24498 <parameter name="stage_window" transfer-ownership="none">
24499 <type name="StageWindow" c:type="ClutterStageWindow*"/>
24504 <field name="add_redraw_clip">
24505 <callback name="add_redraw_clip" c:type="add_redraw_clip">
24506 <return-value transfer-ownership="none">
24507 <type name="none" c:type="void"/>
24510 <parameter name="stage_window" transfer-ownership="none">
24511 <type name="StageWindow" c:type="ClutterStageWindow*"/>
24513 <parameter name="stage_rectangle" transfer-ownership="none">
24514 <type name="Geometry" c:type="ClutterGeometry*"/>
24519 <field name="has_redraw_clips">
24520 <callback name="has_redraw_clips" c:type="has_redraw_clips">
24521 <return-value transfer-ownership="none">
24522 <type name="boolean" c:type="gboolean"/>
24525 <parameter name="stage_window" transfer-ownership="none">
24526 <type name="StageWindow" c:type="ClutterStageWindow*"/>
24531 <field name="ignoring_redraw_clips">
24532 <callback name="ignoring_redraw_clips" c:type="ignoring_redraw_clips">
24533 <return-value transfer-ownership="none">
24534 <type name="boolean" c:type="gboolean"/>
24537 <parameter name="stage_window" transfer-ownership="none">
24538 <type name="StageWindow" c:type="ClutterStageWindow*"/>
24544 <class name="State"
24545 c:type="ClutterState"
24547 parent="GObject.Object"
24548 glib:type-name="ClutterState"
24549 glib:get-type="clutter_state_get_type"
24550 glib:type-struct="StateClass">
24551 <doc xml:whitespace="preserve">The <structname>ClutterState</structname> structure contains only
24552 private data and should be accessed using the provided API</doc>
24553 <implements name="Scriptable"/>
24554 <constructor name="new" c:identifier="clutter_state_new">
24555 <doc xml:whitespace="preserve">Creates a new #ClutterState</doc>
24556 <return-value transfer-ownership="full">
24557 <doc xml:whitespace="preserve">the newly create #ClutterState instance</doc>
24558 <type name="State" c:type="ClutterState*"/>
24561 <method name="set_state"
24562 c:identifier="clutter_state_set_state"
24564 <doc xml:whitespace="preserve">Change the current state of #ClutterState to @target_state_name
24565 The state will animate during its transition, see
24566 #clutter_state_warp_to_state for animation-free state switching.</doc>
24567 <return-value transfer-ownership="full">
24568 <doc xml:whitespace="preserve">the #ClutterTimeline that drives the state transition</doc>
24569 <type name="Timeline" c:type="ClutterTimeline*"/>
24572 <parameter name="target_state_name" transfer-ownership="none">
24573 <doc xml:whitespace="preserve">the state to transition to</doc>
24574 <type name="utf8" c:type="gchar*"/>
24578 <method name="warp_to_state"
24579 c:identifier="clutter_state_warp_to_state"
24581 <doc xml:whitespace="preserve">Change the current state of #ClutterState to @target_state_name
24582 Change to the specified target state immediately with no animation.</doc>
24583 <return-value transfer-ownership="full">
24584 <doc xml:whitespace="preserve">the #ClutterTimeline that drives the state transition</doc>
24585 <type name="Timeline" c:type="ClutterTimeline*"/>
24588 <parameter name="target_state_name" transfer-ownership="none">
24589 <doc xml:whitespace="preserve">the state to transition to</doc>
24590 <type name="utf8" c:type="gchar*"/>
24594 <method name="set_key"
24595 c:identifier="clutter_state_set_key"
24597 <doc xml:whitespace="preserve">Sets one specific end key for a state_name, object, property_name
24599 multiple calls</doc>
24600 <return-value transfer-ownership="full">
24601 <doc xml:whitespace="preserve">the #ClutterState instance, allowing chaining of</doc>
24602 <type name="Atk.State" c:type="ClutterState*"/>
24605 <parameter name="source_state_name" transfer-ownership="none">
24606 <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>
24607 <type name="utf8" c:type="gchar*"/>
24609 <parameter name="target_state_name" transfer-ownership="none">
24610 <doc xml:whitespace="preserve">the name of the transition to set a key value for.</doc>
24611 <type name="utf8" c:type="gchar*"/>
24613 <parameter name="object" transfer-ownership="none">
24614 <doc xml:whitespace="preserve">the #GObject to set a key for</doc>
24615 <type name="GObject.Object" c:type="GObject*"/>
24617 <parameter name="property_name" transfer-ownership="none">
24618 <doc xml:whitespace="preserve">the property to set a key for</doc>
24619 <type name="utf8" c:type="gchar*"/>
24621 <parameter name="mode" transfer-ownership="none">
24622 <doc xml:whitespace="preserve">the id of the alpha function to use</doc>
24623 <type name="uint" c:type="guint"/>
24625 <parameter name="value" transfer-ownership="none">
24626 <doc xml:whitespace="preserve">the value for property_name of object in state_name</doc>
24627 <type name="GObject.Value" c:type="GValue*"/>
24629 <parameter name="pre_delay" transfer-ownership="none">
24630 <doc xml:whitespace="preserve">relative time of the transition to be idle in the beginning of the transition</doc>
24631 <type name="double" c:type="gdouble"/>
24633 <parameter name="post_delay" transfer-ownership="none">
24634 <doc xml:whitespace="preserve">relative time of the transition to be idle in the end of the transition</doc>
24635 <type name="double" c:type="gdouble"/>
24639 <method name="set_duration"
24640 c:identifier="clutter_state_set_duration"
24642 <doc xml:whitespace="preserve">Sets the duration of a transition.
24643 If both state names are %NULL the default duration for @state is set.
24644 If only @target_state_name is specified, the passed @duration becomes
24645 the default duration for transitions to the target state.
24646 If both states names are specified, the passed @duration only applies
24647 to the specified transition.</doc>
24648 <return-value transfer-ownership="none">
24649 <type name="none" c:type="void"/>
24652 <parameter name="source_state_name"
24653 transfer-ownership="none"
24655 <doc xml:whitespace="preserve">the name of the source state, or %NULL</doc>
24656 <type name="utf8" c:type="gchar*"/>
24658 <parameter name="target_state_name"
24659 transfer-ownership="none"
24661 <doc xml:whitespace="preserve">the name of the target state, or %NULL</doc>
24662 <type name="utf8" c:type="gchar*"/>
24664 <parameter name="duration" transfer-ownership="none">
24665 <doc xml:whitespace="preserve">the duration of the transition, in milliseconds</doc>
24666 <type name="uint" c:type="guint"/>
24670 <method name="get_duration"
24671 c:identifier="clutter_state_get_duration"
24673 <doc xml:whitespace="preserve">Queries the duration used for transitions between a source and
24675 The semantics for the query are the same as the semantics used for
24676 setting the duration with clutter_state_set_duration()</doc>
24677 <return-value transfer-ownership="none">
24678 <doc xml:whitespace="preserve">the duration, in milliseconds</doc>
24679 <type name="uint" c:type="guint"/>
24682 <parameter name="source_state_name"
24683 transfer-ownership="none"
24685 <doc xml:whitespace="preserve">the name of the source state to get the duration of, or %NULL</doc>
24686 <type name="utf8" c:type="gchar*"/>
24688 <parameter name="target_state_name"
24689 transfer-ownership="none"
24691 <doc xml:whitespace="preserve">the name of the source state to get the duration of, or %NULL</doc>
24692 <type name="utf8" c:type="gchar*"/>
24697 c:identifier="clutter_state_set"
24699 introspectable="0">
24700 <doc xml:whitespace="preserve">Adds multiple keys to a named state of a #ClutterState instance, specifying
24701 the easing mode and value a given property of an object should have at a
24702 given progress of the animation.
24703 The mode specified is the easing mode used when going to from the previous
24704 key to the specified key.
24705 For instance, the code below:
24707 clutter_state_set (state, NULL, "hover",
24708 button, "opacity", 255, CLUTTER_LINEAR,
24709 button, "scale-x", 1.2, CLUTTER_EASE_OUT_CUBIC,
24710 button, "scale-y", 1.2, CLUTTER_EASE_OUT_CUBIC,
24713 will create a transition from any state (a @source_state_name of NULL is
24714 treated as a wildcard) and a state named "hover"; the
24715 <emphasis>button</emphasis> object will have the #ClutterActor:opacity
24716 property animated to a value of 255 using %CLUTTER_LINEAR as the animation
24717 mode, and the #ClutterActor:scale-x and #ClutterActor:scale-y properties
24718 animated to a value of 1.2 using %CLUTTER_EASE_OUT_CUBIC as the animation
24719 mode. To change the state (and start the transition) you can use the
24720 clutter_state_change() function:
24722 clutter_state_change (state, "hover", TRUE);
24724 If a given object, state_name, property tuple already exist in the
24725 #ClutterState instance, then the mode and value will be replaced with
24726 the new specified values.
24727 If a property name is prefixed with "delayed::" two additional
24728 to pause before transitioning and a similar value to pause after
24729 transitioning, e.g.:
24731 clutter_state_set (state, "hover", "toggled",
24732 button, "delayed::scale-x", 1.0, 0.2, 0.2,
24733 button, "delayed::scale-y", 1.0, 0.2, 0.2,
24736 will pause for 20% of the duration of the transition before animating,
24737 and 20% of the duration after animating.</doc>
24738 <return-value transfer-ownership="none">
24739 <type name="none" c:type="void"/>
24742 <parameter name="source_state_name" transfer-ownership="none">
24743 <doc xml:whitespace="preserve">the name of the source state keys are being added for</doc>
24744 <type name="utf8" c:type="gchar*"/>
24746 <parameter name="target_state_name" transfer-ownership="none">
24747 <doc xml:whitespace="preserve">the name of the target state keys are being added for</doc>
24748 <type name="utf8" c:type="gchar*"/>
24750 <parameter name="first_object" transfer-ownership="none">
24751 <doc xml:whitespace="preserve">a #GObject</doc>
24752 <type name="any" c:type="gpointer"/>
24754 <parameter name="first_property_name" transfer-ownership="none">
24755 <doc xml:whitespace="preserve">a property of @first_object to specify a key for</doc>
24756 <type name="utf8" c:type="gchar*"/>
24758 <parameter name="first_mode" transfer-ownership="none">
24759 <doc xml:whitespace="preserve">the id of the alpha function to use</doc>
24760 <type name="ulong" c:type="gulong"/>
24762 <parameter transfer-ownership="none">
24768 <method name="get_states"
24769 c:identifier="clutter_state_get_states"
24771 <doc xml:whitespace="preserve">Gets a list of all the state names managed by this #ClutterState.
24772 #GList of state names. The contents of the returned #GList are owned
24773 by the #ClutterState and should not be modified or freed. Use
24774 g_list_free() to free the resources allocated by the returned list when
24775 done using it</doc>
24776 <return-value transfer-ownership="container">
24777 <doc xml:whitespace="preserve">a newly allocated</doc>
24778 <type name="GLib.List" c:type="GList*">
24779 <type name="utf8"/>
24783 <method name="get_keys"
24784 c:identifier="clutter_state_get_keys"
24786 <doc xml:whitespace="preserve">Returns a list of pointers to opaque structures with accessor functions
24787 that describe the keys added to an animator.
24788 newly allocated #GList of #ClutterStateKey<!-- -->s. The contents of
24789 the returned list are owned by the #ClutterState and should not be
24790 modified or freed. Use g_list_free() to free the resources allocated
24791 by the returned list when done using it</doc>
24792 <return-value transfer-ownership="container">
24793 <doc xml:whitespace="preserve">a</doc>
24794 <type name="GLib.List" c:type="GList*">
24795 <type name="StateKey"/>
24799 <parameter name="source_state_name"
24800 transfer-ownership="none"
24802 <doc xml:whitespace="preserve">the source transition name to query, or %NULL for all source states</doc>
24803 <type name="utf8" c:type="gchar*"/>
24805 <parameter name="target_state_name"
24806 transfer-ownership="none"
24808 <doc xml:whitespace="preserve">the target transition name to query, or %NULL for all target states</doc>
24809 <type name="utf8" c:type="gchar*"/>
24811 <parameter name="object" transfer-ownership="none" allow-none="1">
24812 <doc xml:whitespace="preserve">the specific object instance to list keys for, or %NULL for all managed objects</doc>
24813 <type name="GObject.Object" c:type="GObject*"/>
24815 <parameter name="property_name"
24816 transfer-ownership="none"
24818 <doc xml:whitespace="preserve">the property name to search for, or %NULL for all properties.</doc>
24819 <type name="utf8" c:type="gchar*"/>
24823 <method name="remove_key"
24824 c:identifier="clutter_state_remove_key"
24826 <doc xml:whitespace="preserve">Removes all keys matching the search criteria passed in arguments.</doc>
24827 <return-value transfer-ownership="none">
24828 <type name="none" c:type="void"/>
24831 <parameter name="source_state_name"
24832 transfer-ownership="none"
24834 <doc xml:whitespace="preserve">the source state name to query, or %NULL for all source states</doc>
24835 <type name="utf8" c:type="gchar*"/>
24837 <parameter name="target_state_name"
24838 transfer-ownership="none"
24840 <doc xml:whitespace="preserve">the target state name to query, or %NULL for all target states</doc>
24841 <type name="utf8" c:type="gchar*"/>
24843 <parameter name="object" transfer-ownership="none" allow-none="1">
24844 <doc xml:whitespace="preserve">the specific object instance to list keys for, or %NULL for all managed objects</doc>
24845 <type name="GObject.Object" c:type="GObject*"/>
24847 <parameter name="property_name"
24848 transfer-ownership="none"
24850 <doc xml:whitespace="preserve">the property name to search for, or %NULL for all properties.</doc>
24851 <type name="utf8" c:type="gchar*"/>
24855 <method name="get_timeline"
24856 c:identifier="clutter_state_get_timeline"
24858 <doc xml:whitespace="preserve">Gets the timeline driving the #ClutterState
24859 the state change animations. The returned timeline is owned
24860 by the #ClutterState and it should not be unreferenced directly</doc>
24861 <return-value transfer-ownership="none">
24862 <doc xml:whitespace="preserve">the #ClutterTimeline that drives</doc>
24863 <type name="Timeline" c:type="ClutterTimeline*"/>
24866 <method name="set_animator"
24867 c:identifier="clutter_state_set_animator"
24869 <doc xml:whitespace="preserve">Specifies a #ClutterAnimator to be used when transitioning between
24870 the two named states.
24871 The @animator allows specifying a transition between the state that is
24872 more elaborate than the basic transitions other allowed by the simple
24873 tweening of properties defined in the #ClutterState keys.
24874 If @animator is %NULL it will unset an existing animator.
24875 #ClutterState will take a reference on the passed @animator, if any</doc>
24876 <return-value transfer-ownership="none">
24877 <type name="none" c:type="void"/>
24880 <parameter name="source_state_name" transfer-ownership="none">
24881 <doc xml:whitespace="preserve">the name of a source state</doc>
24882 <type name="utf8" c:type="gchar*"/>
24884 <parameter name="target_state_name" transfer-ownership="none">
24885 <doc xml:whitespace="preserve">the name of a target state</doc>
24886 <type name="utf8" c:type="gchar*"/>
24888 <parameter name="animator" transfer-ownership="none" allow-none="1">
24889 <doc xml:whitespace="preserve">a #ClutterAnimator instance, or %NULL to unset an existing #ClutterAnimator</doc>
24890 <type name="Animator" c:type="ClutterAnimator*"/>
24894 <method name="get_animator"
24895 c:identifier="clutter_state_get_animator"
24897 <doc xml:whitespace="preserve">Retrieves the #ClutterAnimator that is being used for transitioning
24898 between the two states, if any has been set</doc>
24899 <return-value transfer-ownership="none">
24900 <doc xml:whitespace="preserve">a #ClutterAnimator instance, or %NULL</doc>
24901 <type name="Animator" c:type="ClutterAnimator*"/>
24904 <parameter name="source_state_name" transfer-ownership="none">
24905 <doc xml:whitespace="preserve">the name of a source state</doc>
24906 <type name="utf8" c:type="gchar*"/>
24908 <parameter name="target_state_name" transfer-ownership="none">
24909 <doc xml:whitespace="preserve">the name of a target state</doc>
24910 <type name="utf8" c:type="gchar*"/>
24914 <method name="get_state"
24915 c:identifier="clutter_state_get_state"
24917 <doc xml:whitespace="preserve">Queries the currently set target state.
24918 During a transition this function will return the target of the transition.
24919 This function is useful when called from handlers of the
24920 #ClutterState::completed signal.
24921 is owned by the #ClutterState and should not be modified or freed</doc>
24922 <return-value transfer-ownership="none">
24923 <doc xml:whitespace="preserve">a string containing the target state. The returned string</doc>
24924 <type name="utf8" c:type="gchar*"/>
24927 <property name="duration" writable="1" transfer-ownership="none">
24928 <doc xml:whitespace="preserve">Default duration used if an duration has not been specified for a specific
24929 source/target state pair. The values is in milliseconds.</doc>
24930 <type name="uint" c:type="guint"/>
24932 <property name="state" writable="1" transfer-ownership="none">
24933 <doc xml:whitespace="preserve">The currently set target state, setting it causes the
24934 state machine to transition to the new state, use
24935 clutter_state_change() with a final FALSE argument to
24936 change state without a transition.</doc>
24937 <type name="utf8" c:type="gchararray"/>
24939 <field name="parent">
24940 <type name="GObject.Object" c:type="GObject"/>
24942 <field name="priv">
24943 <type name="StatePrivate" c:type="ClutterStatePrivate*"/>
24945 <glib:signal name="completed" version="1.4">
24946 <doc xml:whitespace="preserve">The ::completed signal is emitted when a #ClutterState reaches
24947 the target state specified by clutter_state_change()</doc>
24948 <return-value transfer-ownership="full">
24949 <type name="none" c:type="void"/>
24953 <record name="StateClass"
24954 c:type="ClutterStateClass"
24955 glib:is-gtype-struct-for="State"
24957 <doc xml:whitespace="preserve">The <structname>ClutterStateClass</structname> structure contains
24958 only private data</doc>
24959 <field name="parent_class">
24960 <type name="GObject.ObjectClass" c:type="GObjectClass"/>
24962 <field name="completed">
24963 <callback name="completed" c:type="completed">
24964 <return-value transfer-ownership="none">
24965 <type name="none" c:type="void"/>
24968 <parameter name="state" transfer-ownership="none">
24969 <type name="Atk.State" c:type="ClutterState*"/>
24974 <field name="_padding_dummy">
24975 <array zero-terminated="0" c:type="gpointer" fixed-size="8">
24980 <record name="StateKey"
24981 c:type="ClutterStateKey"
24983 glib:type-name="ClutterStateKey"
24984 glib:get-type="clutter_state_key_get_type">
24985 <doc xml:whitespace="preserve"><structname>ClutterStateKey</structname> is an opaque structure whose
24986 members cannot be accessed directly</doc>
24987 <method name="get_pre_delay"
24988 c:identifier="clutter_state_key_get_pre_delay"
24990 <doc xml:whitespace="preserve">Retrieves the pause before transitioning starts as a fraction of
24991 the total transition time.</doc>
24992 <return-value transfer-ownership="none">
24993 <doc xml:whitespace="preserve">the pre delay used before starting the transition.</doc>
24994 <type name="double" c:type="gdouble"/>
24997 <method name="get_post_delay"
24998 c:identifier="clutter_state_key_get_post_delay"
25000 <doc xml:whitespace="preserve">Retrieves the duration of the pause after transitioning is complete
25001 as a fraction of the total transition time.</doc>
25002 <return-value transfer-ownership="none">
25003 <doc xml:whitespace="preserve">the post delay, used after doing the transition.</doc>
25004 <type name="double" c:type="gdouble"/>
25007 <method name="get_mode"
25008 c:identifier="clutter_state_key_get_mode"
25010 <doc xml:whitespace="preserve">Retrieves the easing mode used for @state_key.</doc>
25011 <return-value transfer-ownership="none">
25012 <doc xml:whitespace="preserve">the mode of a #ClutterStateKey</doc>
25013 <type name="ulong" c:type="gulong"/>
25016 <method name="get_value"
25017 c:identifier="clutter_state_key_get_value"
25019 <doc xml:whitespace="preserve">Retrieves a copy of the value for a #ClutterStateKey.
25020 The #GValue needs to be already initialized for the value type
25021 of the property or to a type that allow transformation from the value
25023 Use g_value_unset() when done.
25024 and %FALSE otherwise</doc>
25025 <return-value transfer-ownership="none">
25026 <doc xml:whitespace="preserve">%TRUE if the value was successfully retrieved,</doc>
25027 <type name="boolean" c:type="gboolean"/>
25030 <parameter name="value" transfer-ownership="none">
25031 <doc xml:whitespace="preserve">a #GValue initialized with the correct type for the @state_key</doc>
25032 <type name="GObject.Value" c:type="GValue*"/>
25036 <method name="get_property_type"
25037 c:identifier="clutter_state_key_get_property_type"
25039 <doc xml:whitespace="preserve">Retrieves the #GType of the property a key applies to
25040 You can use this type to initialize the #GValue to pass to
25041 clutter_state_key_get_value()</doc>
25042 <return-value transfer-ownership="none">
25043 <doc xml:whitespace="preserve">the #GType of the property</doc>
25044 <type name="GType" c:type="GType"/>
25047 <method name="get_object"
25048 c:identifier="clutter_state_key_get_object"
25050 <doc xml:whitespace="preserve">Retrieves the object instance this #ClutterStateKey applies to.</doc>
25051 <return-value transfer-ownership="none">
25052 <doc xml:whitespace="preserve">the object this state key applies to.</doc>
25053 <type name="GObject.Object" c:type="GObject*"/>
25056 <method name="get_property_name"
25057 c:identifier="clutter_state_key_get_property_name"
25059 <doc xml:whitespace="preserve">Retrieves the name of the property this #ClutterStateKey applies to
25060 by the #ClutterStateKey and should never be modified or freed</doc>
25061 <return-value transfer-ownership="none">
25062 <doc xml:whitespace="preserve">the name of the property. The returned string is owned</doc>
25063 <type name="utf8" c:type="gchar*"/>
25066 <method name="get_source_state_name"
25067 c:identifier="clutter_state_key_get_source_state_name"
25069 <doc xml:whitespace="preserve">Retrieves the name of the source state of the @state_key
25070 if this is the generic state key for the given property when
25071 transitioning to the target state. The returned string is owned
25072 by the #ClutterStateKey and should never be modified or freed</doc>
25073 <return-value transfer-ownership="none">
25074 <doc xml:whitespace="preserve">the name of the source state for this key, or %NULL</doc>
25075 <type name="utf8" c:type="gchar*"/>
25078 <method name="get_target_state_name"
25079 c:identifier="clutter_state_key_get_target_state_name"
25081 <doc xml:whitespace="preserve">Get the name of the source state this #ClutterStateKey contains,
25082 or NULL if this is the generic state key for the given property
25083 when transitioning to the target state.
25084 the key is generic</doc>
25085 <return-value transfer-ownership="none">
25086 <doc xml:whitespace="preserve">the name of the source state for this key, or NULL if</doc>
25087 <type name="utf8" c:type="gchar*"/>
25091 <record name="StatePrivate" c:type="ClutterStatePrivate">
25093 <constant name="StickyKeys_Enable" value="65141">
25096 <constant name="Super_L" value="65515">
25099 <constant name="Super_R" value="65516">
25102 <constant name="Sys_Req" value="65301">
25105 <constant name="T" value="84">
25108 <constant name="THORN" value="222">
25111 <constant name="Tab" value="65289">
25114 <enumeration name="TableAlignment"
25116 glib:type-name="ClutterTableAlignment"
25117 glib:get-type="clutter_table_alignment_get_type"
25118 c:type="ClutterTableAlignment">
25119 <doc xml:whitespace="preserve">The alignment policies available on each axis of the #ClutterTableLayout</doc>
25120 <member name="start"
25122 c:identifier="CLUTTER_TABLE_ALIGNMENT_START"
25123 glib:nick="start"/>
25124 <member name="center"
25126 c:identifier="CLUTTER_TABLE_ALIGNMENT_CENTER"
25127 glib:nick="center"/>
25130 c:identifier="CLUTTER_TABLE_ALIGNMENT_END"
25133 <class name="TableLayout"
25134 c:type="ClutterTableLayout"
25136 parent="LayoutManager"
25137 glib:type-name="ClutterTableLayout"
25138 glib:get-type="clutter_table_layout_get_type"
25139 glib:type-struct="TableLayoutClass">
25140 <doc xml:whitespace="preserve">The #ClutterTableLayout structure contains only private data
25141 and should be accessed using the provided API</doc>
25142 <constructor name="new"
25143 c:identifier="clutter_table_layout_new"
25145 <doc xml:whitespace="preserve">Creates a new #ClutterTableLayout layout manager</doc>
25146 <return-value transfer-ownership="full">
25147 <doc xml:whitespace="preserve">the newly created #ClutterTableLayout</doc>
25148 <type name="TableLayout" c:type="ClutterLayoutManager*"/>
25151 <method name="pack"
25152 c:identifier="clutter_table_layout_pack"
25154 <doc xml:whitespace="preserve">Packs @actor inside the #ClutterContainer associated to @layout
25155 at the given row and column.</doc>
25156 <return-value transfer-ownership="none">
25157 <type name="none" c:type="void"/>
25160 <parameter name="actor" transfer-ownership="none">
25161 <doc xml:whitespace="preserve">a #ClutterActor</doc>
25162 <type name="Actor" c:type="ClutterActor*"/>
25164 <parameter name="row" transfer-ownership="none">
25165 <doc xml:whitespace="preserve">the row the @actor should be put, or -1 to append</doc>
25166 <type name="int" c:type="gint"/>
25168 <parameter name="column" transfer-ownership="none">
25169 <doc xml:whitespace="preserve">the column the @actor should be put, or -1 to append</doc>
25170 <type name="int" c:type="gint"/>
25174 <method name="set_column_spacing"
25175 c:identifier="clutter_table_layout_set_column_spacing"
25177 <doc xml:whitespace="preserve">Sets the spacing between columns of @layout</doc>
25178 <return-value transfer-ownership="none">
25179 <type name="none" c:type="void"/>
25182 <parameter name="spacing" transfer-ownership="none">
25183 <doc xml:whitespace="preserve">the spacing between columns of the layout, in pixels</doc>
25184 <type name="uint" c:type="guint"/>
25188 <method name="set_row_spacing"
25189 c:identifier="clutter_table_layout_set_row_spacing"
25191 <doc xml:whitespace="preserve">Sets the spacing between rows of @layout</doc>
25192 <return-value transfer-ownership="none">
25193 <type name="none" c:type="void"/>
25196 <parameter name="spacing" transfer-ownership="none">
25197 <doc xml:whitespace="preserve">the spacing between rows of the layout, in pixels</doc>
25198 <type name="uint" c:type="guint"/>
25202 <method name="get_column_spacing"
25203 c:identifier="clutter_table_layout_get_column_spacing"
25205 <doc xml:whitespace="preserve">Retrieves the spacing set using clutter_table_layout_set_column_spacing()</doc>
25206 <return-value transfer-ownership="none">
25207 <doc xml:whitespace="preserve">the spacing between columns of the #ClutterTableLayout</doc>
25208 <type name="uint" c:type="guint"/>
25211 <method name="get_row_spacing"
25212 c:identifier="clutter_table_layout_get_row_spacing"
25214 <doc xml:whitespace="preserve">Retrieves the spacing set using clutter_table_layout_set_row_spacing()</doc>
25215 <return-value transfer-ownership="none">
25216 <doc xml:whitespace="preserve">the spacing between rows of the #ClutterTableLayout</doc>
25217 <type name="uint" c:type="guint"/>
25220 <method name="set_span"
25221 c:identifier="clutter_table_layout_set_span"
25223 <doc xml:whitespace="preserve">Sets the row and column span for @actor
25224 inside @layout</doc>
25225 <return-value transfer-ownership="none">
25226 <type name="none" c:type="void"/>
25229 <parameter name="actor" transfer-ownership="none">
25230 <doc xml:whitespace="preserve">a #ClutterActor child of @layout</doc>
25231 <type name="Actor" c:type="ClutterActor*"/>
25233 <parameter name="column_span" transfer-ownership="none">
25234 <doc xml:whitespace="preserve">Column span for @actor</doc>
25235 <type name="int" c:type="gint"/>
25237 <parameter name="row_span" transfer-ownership="none">
25238 <doc xml:whitespace="preserve">Row span for @actor</doc>
25239 <type name="int" c:type="gint"/>
25243 <method name="get_span"
25244 c:identifier="clutter_table_layout_get_span"
25246 <doc xml:whitespace="preserve">Retrieves the row and column span for @actor as set using
25247 clutter_table_layout_pack() or clutter_table_layout_set_span()</doc>
25248 <return-value transfer-ownership="none">
25249 <type name="none" c:type="void"/>
25252 <parameter name="actor" transfer-ownership="none">
25253 <doc xml:whitespace="preserve">a #ClutterActor child of @layout</doc>
25254 <type name="Actor" c:type="ClutterActor*"/>
25256 <parameter name="column_span"
25258 caller-allocates="0"
25259 transfer-ownership="full">
25260 <doc xml:whitespace="preserve">return location for the col span</doc>
25261 <type name="int" c:type="gint*"/>
25263 <parameter name="row_span"
25265 caller-allocates="0"
25266 transfer-ownership="full">
25267 <doc xml:whitespace="preserve">return location for the row span</doc>
25268 <type name="int" c:type="gint*"/>
25272 <method name="set_alignment"
25273 c:identifier="clutter_table_layout_set_alignment"
25275 <doc xml:whitespace="preserve">Sets the horizontal and vertical alignment policies for @actor
25276 inside @layout</doc>
25277 <return-value transfer-ownership="none">
25278 <type name="none" c:type="void"/>
25281 <parameter name="actor" transfer-ownership="none">
25282 <doc xml:whitespace="preserve">a #ClutterActor child of @layout</doc>
25283 <type name="Actor" c:type="ClutterActor*"/>
25285 <parameter name="x_align" transfer-ownership="none">
25286 <doc xml:whitespace="preserve">Horizontal alignment policy for @actor</doc>
25287 <type name="TableAlignment" c:type="ClutterTableAlignment"/>
25289 <parameter name="y_align" transfer-ownership="none">
25290 <doc xml:whitespace="preserve">Vertical alignment policy for @actor</doc>
25291 <type name="TableAlignment" c:type="ClutterTableAlignment"/>
25295 <method name="get_alignment"
25296 c:identifier="clutter_table_layout_get_alignment"
25298 <doc xml:whitespace="preserve">Retrieves the horizontal and vertical alignment policies for @actor
25299 as set using clutter_table_layout_pack() or
25300 clutter_table_layout_set_alignment().</doc>
25301 <return-value transfer-ownership="none">
25302 <type name="none" c:type="void"/>
25305 <parameter name="actor" transfer-ownership="none">
25306 <doc xml:whitespace="preserve">a #ClutterActor child of @layout</doc>
25307 <type name="Actor" c:type="ClutterActor*"/>
25309 <parameter name="x_align"
25311 caller-allocates="1"
25312 transfer-ownership="none">
25313 <doc xml:whitespace="preserve">return location for the horizontal alignment policy</doc>
25314 <type name="TableAlignment" c:type="ClutterTableAlignment*"/>
25316 <parameter name="y_align"
25318 caller-allocates="1"
25319 transfer-ownership="none">
25320 <doc xml:whitespace="preserve">return location for the vertical alignment policy</doc>
25321 <type name="TableAlignment" c:type="ClutterTableAlignment*"/>
25325 <method name="set_fill"
25326 c:identifier="clutter_table_layout_set_fill"
25328 <doc xml:whitespace="preserve">Sets the horizontal and vertical fill policies for @actor
25329 inside @layout</doc>
25330 <return-value transfer-ownership="none">
25331 <type name="none" c:type="void"/>
25334 <parameter name="actor" transfer-ownership="none">
25335 <doc xml:whitespace="preserve">a #ClutterActor child of @layout</doc>
25336 <type name="Actor" c:type="ClutterActor*"/>
25338 <parameter name="x_fill" transfer-ownership="none">
25339 <doc xml:whitespace="preserve">whether @actor should fill horizontally the allocated space</doc>
25340 <type name="boolean" c:type="gboolean"/>
25342 <parameter name="y_fill" transfer-ownership="none">
25343 <doc xml:whitespace="preserve">whether @actor should fill vertically the allocated space</doc>
25344 <type name="boolean" c:type="gboolean"/>
25348 <method name="get_fill"
25349 c:identifier="clutter_table_layout_get_fill"
25351 <doc xml:whitespace="preserve">Retrieves the horizontal and vertical fill policies for @actor
25352 as set using clutter_table_layout_pack() or clutter_table_layout_set_fill()</doc>
25353 <return-value transfer-ownership="none">
25354 <type name="none" c:type="void"/>
25357 <parameter name="actor" transfer-ownership="none">
25358 <doc xml:whitespace="preserve">a #ClutterActor child of @layout</doc>
25359 <type name="Actor" c:type="ClutterActor*"/>
25361 <parameter name="x_fill"
25363 caller-allocates="0"
25364 transfer-ownership="full">
25365 <doc xml:whitespace="preserve">return location for the horizontal fill policy</doc>
25366 <type name="boolean" c:type="gboolean*"/>
25368 <parameter name="y_fill"
25370 caller-allocates="0"
25371 transfer-ownership="full">
25372 <doc xml:whitespace="preserve">return location for the vertical fill policy</doc>
25373 <type name="boolean" c:type="gboolean*"/>
25377 <method name="set_expand"
25378 c:identifier="clutter_table_layout_set_expand"
25380 <doc xml:whitespace="preserve">Sets the horizontal and vertical expand policies for @actor
25381 inside @layout</doc>
25382 <return-value transfer-ownership="none">
25383 <type name="none" c:type="void"/>
25386 <parameter name="actor" transfer-ownership="none">
25387 <doc xml:whitespace="preserve">a #ClutterActor child of @layout</doc>
25388 <type name="Actor" c:type="ClutterActor*"/>
25390 <parameter name="x_expand" transfer-ownership="none">
25391 <doc xml:whitespace="preserve">whether @actor should allocate extra space horizontally</doc>
25392 <type name="boolean" c:type="gboolean"/>
25394 <parameter name="y_expand" transfer-ownership="none">
25395 <doc xml:whitespace="preserve">whether @actor should allocate extra space vertically</doc>
25396 <type name="boolean" c:type="gboolean"/>
25400 <method name="get_expand"
25401 c:identifier="clutter_table_layout_get_expand"
25403 <doc xml:whitespace="preserve">Retrieves the horizontal and vertical expand policies for @actor
25404 as set using clutter_table_layout_pack() or clutter_table_layout_set_expand()</doc>
25405 <return-value transfer-ownership="none">
25406 <type name="none" c:type="void"/>
25409 <parameter name="actor" transfer-ownership="none">
25410 <doc xml:whitespace="preserve">a #ClutterActor child of @layout</doc>
25411 <type name="Actor" c:type="ClutterActor*"/>
25413 <parameter name="x_expand"
25415 caller-allocates="0"
25416 transfer-ownership="full">
25417 <doc xml:whitespace="preserve">return location for the horizontal expand policy</doc>
25418 <type name="boolean" c:type="gboolean*"/>
25420 <parameter name="y_expand"
25422 caller-allocates="0"
25423 transfer-ownership="full">
25424 <doc xml:whitespace="preserve">return location for the vertical expand policy</doc>
25425 <type name="boolean" c:type="gboolean*"/>
25429 <method name="get_row_count"
25430 c:identifier="clutter_table_layout_get_row_count"
25432 <doc xml:whitespace="preserve">Retrieve the current number rows in the @layout</doc>
25433 <return-value transfer-ownership="none">
25434 <doc xml:whitespace="preserve">the number of rows</doc>
25435 <type name="int" c:type="gint"/>
25438 <method name="get_column_count"
25439 c:identifier="clutter_table_layout_get_column_count"
25441 <doc xml:whitespace="preserve">Retrieve the current number of columns in @layout</doc>
25442 <return-value transfer-ownership="none">
25443 <doc xml:whitespace="preserve">the number of columns</doc>
25444 <type name="int" c:type="gint"/>
25447 <method name="set_use_animations"
25448 c:identifier="clutter_table_layout_set_use_animations"
25450 <doc xml:whitespace="preserve">Sets whether @layout should animate changes in the layout properties
25451 The duration of the animations is controlled by
25452 clutter_table_layout_set_easing_duration(); the easing mode to be used
25453 by the animations is controlled by clutter_table_layout_set_easing_mode()</doc>
25454 <return-value transfer-ownership="none">
25455 <type name="none" c:type="void"/>
25458 <parameter name="animate" transfer-ownership="none">
25459 <doc xml:whitespace="preserve">%TRUE if the @layout should use animations</doc>
25460 <type name="boolean" c:type="gboolean"/>
25464 <method name="get_use_animations"
25465 c:identifier="clutter_table_layout_get_use_animations"
25467 <doc xml:whitespace="preserve">Retrieves whether @layout should animate changes in the layout properties
25468 Since clutter_table_layout_set_use_animations()</doc>
25469 <return-value transfer-ownership="none">
25470 <doc xml:whitespace="preserve">%TRUE if the animations should be used, %FALSE otherwise</doc>
25471 <type name="boolean" c:type="gboolean"/>
25474 <method name="set_easing_mode"
25475 c:identifier="clutter_table_layout_set_easing_mode"
25477 <doc xml:whitespace="preserve">Sets the easing mode to be used by @layout when animating changes in layout
25479 Use clutter_table_layout_set_use_animations() to enable and disable the
25481 <return-value transfer-ownership="none">
25482 <type name="none" c:type="void"/>
25485 <parameter name="mode" transfer-ownership="none">
25486 <doc xml:whitespace="preserve">an easing mode, either from #ClutterAnimationMode or a logical id from clutter_alpha_register_func()</doc>
25487 <type name="ulong" c:type="gulong"/>
25491 <method name="get_easing_mode"
25492 c:identifier="clutter_table_layout_get_easing_mode"
25494 <doc xml:whitespace="preserve">Retrieves the easing mode set using clutter_table_layout_set_easing_mode()</doc>
25495 <return-value transfer-ownership="none">
25496 <doc xml:whitespace="preserve">an easing mode</doc>
25497 <type name="ulong" c:type="gulong"/>
25500 <method name="set_easing_duration"
25501 c:identifier="clutter_table_layout_set_easing_duration"
25503 <doc xml:whitespace="preserve">Sets the duration of the animations used by @layout when animating changes
25504 in the layout properties
25505 Use clutter_table_layout_set_use_animations() to enable and disable the
25507 <return-value transfer-ownership="none">
25508 <type name="none" c:type="void"/>
25511 <parameter name="msecs" transfer-ownership="none">
25512 <doc xml:whitespace="preserve">the duration of the animations, in milliseconds</doc>
25513 <type name="uint" c:type="guint"/>
25517 <method name="get_easing_duration"
25518 c:identifier="clutter_table_layout_get_easing_duration"
25520 <doc xml:whitespace="preserve">Retrieves the duration set using clutter_table_layout_set_easing_duration()</doc>
25521 <return-value transfer-ownership="none">
25522 <doc xml:whitespace="preserve">the duration of the animations, in milliseconds</doc>
25523 <type name="uint" c:type="guint"/>
25526 <property name="column-spacing"
25529 transfer-ownership="none">
25530 <doc xml:whitespace="preserve">The spacing between columns of the #ClutterTableLayout, in pixels</doc>
25531 <type name="uint" c:type="guint"/>
25533 <property name="easing-duration"
25536 transfer-ownership="none">
25537 <doc xml:whitespace="preserve">The duration of the animations, in case #ClutterTableLayout:use-animations
25539 The duration is expressed in milliseconds</doc>
25540 <type name="uint" c:type="guint"/>
25542 <property name="easing-mode"
25545 transfer-ownership="none">
25546 <doc xml:whitespace="preserve">The easing mode for the animations, in case
25547 #ClutterTableLayout:use-animations is set to %TRUE
25548 either be a value from the #ClutterAnimationMode enumeration, like
25549 %CLUTTER_EASE_OUT_CUBIC, or a logical id as returned by
25550 clutter_alpha_register_func()
25551 The default value is %CLUTTER_EASE_OUT_CUBIC</doc>
25552 <type name="ulong" c:type="gulong"/>
25554 <property name="row-spacing"
25557 transfer-ownership="none">
25558 <doc xml:whitespace="preserve">The spacing between rows of the #ClutterTableLayout, in pixels</doc>
25559 <type name="uint" c:type="guint"/>
25561 <property name="use-animations"
25564 transfer-ownership="none">
25565 <doc xml:whitespace="preserve">Whether the #ClutterTableLayout should animate changes in the
25566 layout properties</doc>
25567 <type name="boolean" c:type="gboolean"/>
25569 <field name="parent_instance">
25570 <type name="LayoutManager" c:type="ClutterLayoutManager"/>
25572 <field name="priv">
25573 <type name="TableLayoutPrivate" c:type="ClutterTableLayoutPrivate*"/>
25576 <record name="TableLayoutClass"
25577 c:type="ClutterTableLayoutClass"
25578 glib:is-gtype-struct-for="TableLayout"
25580 <doc xml:whitespace="preserve">The #ClutterTableLayoutClass structure contains only private
25581 data and should be accessed using the provided API</doc>
25582 <field name="parent_class">
25583 <type name="LayoutManagerClass" c:type="ClutterLayoutManagerClass"/>
25586 <record name="TableLayoutPrivate" c:type="ClutterTableLayoutPrivate">
25588 <constant name="Tabovedot" value="16785002">
25591 <constant name="Tcaron" value="427">
25594 <constant name="Tcedilla" value="478">
25597 <constant name="Terminate_Server" value="65237">
25601 c:type="ClutterText"
25604 glib:type-name="ClutterText"
25605 glib:get-type="clutter_text_get_type"
25606 glib:type-struct="TextClass">
25607 <doc xml:whitespace="preserve">The #ClutterText struct contains only private data.</doc>
25608 <implements name="Animatable"/>
25609 <implements name="Atk.ImplementorIface"/>
25610 <implements name="Scriptable"/>
25611 <constructor name="new" c:identifier="clutter_text_new" version="1.0">
25612 <doc xml:whitespace="preserve">Creates a new #ClutterText actor. This actor can be used to
25613 display and edit text.</doc>
25614 <return-value transfer-ownership="full">
25615 <doc xml:whitespace="preserve">the newly created #ClutterText actor</doc>
25616 <type name="Text" c:type="ClutterActor*"/>
25619 <constructor name="new_full"
25620 c:identifier="clutter_text_new_full"
25622 <doc xml:whitespace="preserve">Creates a new #ClutterText actor, using @font_name as the font
25623 description; @text will be used to set the contents of the actor;
25624 and @color will be used as the color to render @text.
25625 This function is equivalent to calling clutter_text_new(),
25626 clutter_text_set_font_name(), clutter_text_set_text() and
25627 clutter_text_set_color().</doc>
25628 <return-value transfer-ownership="full">
25629 <doc xml:whitespace="preserve">the newly created #ClutterText actor</doc>
25630 <type name="Text" c:type="ClutterActor*"/>
25633 <parameter name="font_name" transfer-ownership="none">
25634 <doc xml:whitespace="preserve">a string with a font description</doc>
25635 <type name="utf8" c:type="gchar*"/>
25637 <parameter name="text" transfer-ownership="none">
25638 <doc xml:whitespace="preserve">the contents of the actor</doc>
25639 <type name="utf8" c:type="gchar*"/>
25641 <parameter name="color" transfer-ownership="none">
25642 <doc xml:whitespace="preserve">the color to be used to render @text</doc>
25643 <type name="Color" c:type="ClutterColor*"/>
25647 <constructor name="new_with_text"
25648 c:identifier="clutter_text_new_with_text"
25650 <doc xml:whitespace="preserve">Creates a new #ClutterText actor, using @font_name as the font
25651 description; @text will be used to set the contents of the actor.
25652 This function is equivalent to calling clutter_text_new(),
25653 clutter_text_set_font_name(), and clutter_text_set_text().</doc>
25654 <return-value transfer-ownership="full">
25655 <doc xml:whitespace="preserve">the newly created #ClutterText actor</doc>
25656 <type name="Text" c:type="ClutterActor*"/>
25659 <parameter name="font_name" transfer-ownership="none">
25660 <doc xml:whitespace="preserve">a string with a font description</doc>
25661 <type name="utf8" c:type="gchar*"/>
25663 <parameter name="text" transfer-ownership="none">
25664 <doc xml:whitespace="preserve">the contents of the actor</doc>
25665 <type name="utf8" c:type="gchar*"/>
25669 <method name="get_text"
25670 c:identifier="clutter_text_get_text"
25672 <doc xml:whitespace="preserve">Retrieves a pointer to the current contents of a #ClutterText
25674 If you need a copy of the contents for manipulating, either
25675 use g_strdup() on the returned string, or use:
25677 copy = clutter_text_get_chars (text, 0, -1);
25679 Which will return a newly allocated string.
25680 is owned by the #ClutterText actor and should never be
25681 modified or freed</doc>
25682 <return-value transfer-ownership="none">
25683 <doc xml:whitespace="preserve">the contents of the actor. The returned string</doc>
25684 <type name="utf8" c:type="gchar*"/>
25687 <method name="set_text"
25688 c:identifier="clutter_text_set_text"
25690 <doc xml:whitespace="preserve">Sets the contents of a #ClutterText actor.
25691 If the #ClutterText:use-markup property was set to %TRUE it
25692 will be reset to %FALSE as a side effect. If you want to
25693 maintain the #ClutterText:use-markup you should use the
25694 clutter_text_set_markup() function instead</doc>
25695 <return-value transfer-ownership="none">
25696 <type name="none" c:type="void"/>
25699 <parameter name="text" transfer-ownership="none">
25700 <doc xml:whitespace="preserve">the text to set. Passing %NULL is the same as passing "" (the empty string)</doc>
25701 <type name="utf8" c:type="gchar*"/>
25705 <method name="set_markup"
25706 c:identifier="clutter_text_set_markup"
25708 <doc xml:whitespace="preserve">Sets @markup as the contents of a #ClutterText.
25709 This is a convenience function for setting a string containing
25710 Pango markup, and it is logically equivalent to:
25712 clutter_text_set_text (CLUTTER_TEXT (actor), markup);
25713 clutter_text_set_use_markup (CLUTTER_TEXT (actor), TRUE);
25715 <return-value transfer-ownership="none">
25716 <type name="none" c:type="void"/>
25719 <parameter name="markup" transfer-ownership="none">
25720 <doc xml:whitespace="preserve">a string containing Pango markup. Passing %NULL is the same as passing "" (the empty string)</doc>
25721 <type name="utf8" c:type="gchar*"/>
25725 <method name="set_color"
25726 c:identifier="clutter_text_set_color"
25728 <doc xml:whitespace="preserve">Sets the color of the contents of a #ClutterText actor.
25729 The overall opacity of the #ClutterText actor will be the
25730 result of the alpha value of @color and the composited
25731 opacity of the actor itself on the scenegraph, as returned
25732 by clutter_actor_get_paint_opacity().</doc>
25733 <return-value transfer-ownership="none">
25734 <type name="none" c:type="void"/>
25737 <parameter name="color" transfer-ownership="none">
25738 <doc xml:whitespace="preserve">a #ClutterColor</doc>
25739 <type name="Color" c:type="ClutterColor*"/>
25743 <method name="get_color"
25744 c:identifier="clutter_text_get_color"
25746 <doc xml:whitespace="preserve">Retrieves the text color as set by clutter_text_set_color().</doc>
25747 <return-value transfer-ownership="none">
25748 <type name="none" c:type="void"/>
25751 <parameter name="color" transfer-ownership="none">
25752 <doc xml:whitespace="preserve">return location for a #ClutterColor</doc>
25753 <type name="Color" c:type="ClutterColor*"/>
25757 <method name="set_font_name"
25758 c:identifier="clutter_text_set_font_name"
25760 <doc xml:whitespace="preserve">Sets the font used by a #ClutterText. The @font_name string
25761 must either be %NULL, which means that the font name from the
25762 default #ClutterBackend will be used; or be something that can
25763 be parsed by the pango_font_description_from_string() function,
25766 clutter_text_set_font_name (text, "Sans 10pt");
25767 clutter_text_set_font_name (text, "Serif 16px");
25768 clutter_text_set_font_name (text, "Helvetica 10");
25770 <return-value transfer-ownership="none">
25771 <type name="none" c:type="void"/>
25774 <parameter name="font_name" transfer-ownership="none" allow-none="1">
25775 <doc xml:whitespace="preserve">a font name, or %NULL to set the default font name</doc>
25776 <type name="utf8" c:type="gchar*"/>
25780 <method name="get_font_name"
25781 c:identifier="clutter_text_get_font_name"
25783 <doc xml:whitespace="preserve">Retrieves the font name as set by clutter_text_set_font_name().
25784 string is owned by the #ClutterText actor and should not be
25785 modified or freed</doc>
25786 <return-value transfer-ownership="none">
25787 <doc xml:whitespace="preserve">a string containing the font name. The returned</doc>
25788 <type name="utf8" c:type="gchar*"/>
25791 <method name="set_font_description"
25792 c:identifier="clutter_text_set_font_description"
25794 <doc xml:whitespace="preserve">Sets @font_desc as the font description for a #ClutterText
25795 The #PangoFontDescription is copied by the #ClutterText actor
25796 so you can safely call pango_font_description_free() on it after
25797 calling this function.</doc>
25798 <return-value transfer-ownership="none">
25799 <type name="none" c:type="void"/>
25802 <parameter name="font_desc" transfer-ownership="none">
25803 <doc xml:whitespace="preserve">a #PangoFontDescription</doc>
25804 <type name="Pango.FontDescription" c:type="PangoFontDescription*"/>
25808 <method name="get_font_description"
25809 c:identifier="clutter_text_get_font_description"
25811 <doc xml:whitespace="preserve">Retrieves the #PangoFontDescription used by @self
25812 by the #ClutterText actor and it should not be modified or freed</doc>
25813 <return-value transfer-ownership="full">
25814 <doc xml:whitespace="preserve">a #PangoFontDescription. The returned value is owned</doc>
25815 <type name="Pango.FontDescription" c:type="PangoFontDescription*"/>
25818 <method name="set_ellipsize"
25819 c:identifier="clutter_text_set_ellipsize"
25821 <doc xml:whitespace="preserve">text if there is not enough space to render the entire contents
25822 of a #ClutterText actor</doc>
25823 <return-value transfer-ownership="none">
25824 <type name="none" c:type="void"/>
25827 <parameter name="mode" transfer-ownership="none">
25828 <doc xml:whitespace="preserve">a #PangoEllipsizeMode</doc>
25829 <type name="Pango.EllipsizeMode" c:type="PangoEllipsizeMode"/>
25833 <method name="get_ellipsize"
25834 c:identifier="clutter_text_get_ellipsize"
25836 <doc xml:whitespace="preserve">Returns the ellipsizing position of a #ClutterText actor, as
25837 set by clutter_text_set_ellipsize().</doc>
25838 <return-value transfer-ownership="full">
25839 <doc xml:whitespace="preserve">#PangoEllipsizeMode</doc>
25840 <type name="Pango.EllipsizeMode" c:type="PangoEllipsizeMode"/>
25843 <method name="set_line_wrap"
25844 c:identifier="clutter_text_set_line_wrap"
25846 <doc xml:whitespace="preserve">Sets whether the contents of a #ClutterText actor should wrap,
25847 if they don't fit the size assigned to the actor.</doc>
25848 <return-value transfer-ownership="none">
25849 <type name="none" c:type="void"/>
25852 <parameter name="line_wrap" transfer-ownership="none">
25853 <doc xml:whitespace="preserve">whether the contents should wrap</doc>
25854 <type name="boolean" c:type="gboolean"/>
25858 <method name="get_line_wrap"
25859 c:identifier="clutter_text_get_line_wrap"
25861 <doc xml:whitespace="preserve">Retrieves the value set using clutter_text_set_line_wrap().
25863 <return-value transfer-ownership="none">
25864 <doc xml:whitespace="preserve">%TRUE if the #ClutterText actor should wrap</doc>
25865 <type name="boolean" c:type="gboolean"/>
25868 <method name="set_line_wrap_mode"
25869 c:identifier="clutter_text_set_line_wrap_mode"
25871 <doc xml:whitespace="preserve">If line wrapping is enabled (see clutter_text_set_line_wrap()) this
25872 function controls how the line wrapping is performed. The default is
25873 %PANGO_WRAP_WORD which means wrap on word boundaries.</doc>
25874 <return-value transfer-ownership="none">
25875 <type name="none" c:type="void"/>
25878 <parameter name="wrap_mode" transfer-ownership="none">
25879 <doc xml:whitespace="preserve">the line wrapping mode</doc>
25880 <type name="Pango.WrapMode" c:type="PangoWrapMode"/>
25884 <method name="get_line_wrap_mode"
25885 c:identifier="clutter_text_get_line_wrap_mode"
25887 <doc xml:whitespace="preserve">Retrieves the line wrap mode used by the #ClutterText actor.
25888 See clutter_text_set_line_wrap_mode ().</doc>
25889 <return-value transfer-ownership="full">
25890 <doc xml:whitespace="preserve">the wrap mode used by the #ClutterText</doc>
25891 <type name="Pango.WrapMode" c:type="PangoWrapMode"/>
25894 <method name="get_layout"
25895 c:identifier="clutter_text_get_layout"
25897 <doc xml:whitespace="preserve">Retrieves the current #PangoLayout used by a #ClutterText actor.
25898 the #ClutterText actor and should not be modified or freed</doc>
25899 <return-value transfer-ownership="none">
25900 <doc xml:whitespace="preserve">a #PangoLayout. The returned object is owned by</doc>
25901 <type name="Pango.Layout" c:type="PangoLayout*"/>
25904 <method name="set_attributes"
25905 c:identifier="clutter_text_set_attributes"
25907 <doc xml:whitespace="preserve">Sets the attributes list that are going to be applied to the
25908 #ClutterText contents.
25909 The #ClutterText actor will take a reference on the #PangoAttrList
25910 passed to this function.</doc>
25911 <return-value transfer-ownership="none">
25912 <type name="none" c:type="void"/>
25915 <parameter name="attrs" transfer-ownership="none">
25916 <doc xml:whitespace="preserve">a #PangoAttrList or %NULL to unset the attributes</doc>
25917 <type name="Pango.AttrList" c:type="PangoAttrList*"/>
25921 <method name="get_attributes"
25922 c:identifier="clutter_text_get_attributes"
25924 <doc xml:whitespace="preserve">Gets the attribute list that was set on the #ClutterText actor
25925 clutter_text_set_attributes(), if any.
25926 returned value is owned by the #ClutterText and should not be unreferenced.</doc>
25927 <return-value transfer-ownership="none">
25928 <doc xml:whitespace="preserve">the attribute list, or %NULL if none was set. The</doc>
25929 <type name="Pango.AttrList" c:type="PangoAttrList*"/>
25932 <method name="set_use_markup"
25933 c:identifier="clutter_text_set_use_markup"
25935 <doc xml:whitespace="preserve">Sets whether the contents of the #ClutterText actor contains markup
25936 in <link linkend="PangoMarkupFormat">Pango's text markup language</link>.
25937 Setting #ClutterText:use-markup on an editable #ClutterText will
25938 not have any effect except hiding the markup.
25939 See also #ClutterText:use-markup.</doc>
25940 <return-value transfer-ownership="none">
25941 <type name="none" c:type="void"/>
25944 <parameter name="setting" transfer-ownership="none">
25945 <doc xml:whitespace="preserve">%TRUE if the text should be parsed for markup.</doc>
25946 <type name="boolean" c:type="gboolean"/>
25950 <method name="get_use_markup"
25951 c:identifier="clutter_text_get_use_markup"
25953 <doc xml:whitespace="preserve">Retrieves whether the contents of the #ClutterText actor should be
25954 parsed for the Pango text markup.</doc>
25955 <return-value transfer-ownership="none">
25956 <doc xml:whitespace="preserve">%TRUE if the contents will be parsed for markup</doc>
25957 <type name="boolean" c:type="gboolean"/>
25960 <method name="set_line_alignment"
25961 c:identifier="clutter_text_set_line_alignment"
25963 <doc xml:whitespace="preserve">Sets the way that the lines of a wrapped label are aligned with
25964 respect to each other. This does not affect the overall alignment
25965 of the label within its allocated or specified width.
25966 To align a #ClutterText actor you should add it to a container
25967 that supports alignment, or use the anchor point.</doc>
25968 <return-value transfer-ownership="none">
25969 <type name="none" c:type="void"/>
25972 <parameter name="alignment" transfer-ownership="none">
25973 <doc xml:whitespace="preserve">A #PangoAlignment</doc>
25974 <type name="Pango.Alignment" c:type="PangoAlignment"/>
25978 <method name="get_line_alignment"
25979 c:identifier="clutter_text_get_line_alignment"
25981 <doc xml:whitespace="preserve">Retrieves the alignment of a #ClutterText, as set by
25982 clutter_text_set_line_alignment().</doc>
25983 <return-value transfer-ownership="full">
25984 <doc xml:whitespace="preserve">a #PangoAlignment</doc>
25985 <type name="Pango.Alignment" c:type="PangoAlignment"/>
25988 <method name="set_justify"
25989 c:identifier="clutter_text_set_justify"
25991 <doc xml:whitespace="preserve">Sets whether the text of the #ClutterText actor should be justified
25992 on both margins. This setting is ignored if Clutter is compiled
25993 against Pango &lt; 1.18.</doc>
25994 <return-value transfer-ownership="none">
25995 <type name="none" c:type="void"/>
25998 <parameter name="justify" transfer-ownership="none">
25999 <doc xml:whitespace="preserve">whether the text should be justified</doc>
26000 <type name="boolean" c:type="gboolean"/>
26004 <method name="get_justify"
26005 c:identifier="clutter_text_get_justify"
26007 <doc xml:whitespace="preserve">Retrieves whether the #ClutterText actor should justify its contents
26008 on both margins.</doc>
26009 <return-value transfer-ownership="none">
26010 <doc xml:whitespace="preserve">%TRUE if the text should be justified</doc>
26011 <type name="boolean" c:type="gboolean"/>
26014 <method name="insert_unichar"
26015 c:identifier="clutter_text_insert_unichar"
26017 <doc xml:whitespace="preserve">Inserts @wc at the current cursor position of a
26018 #ClutterText actor.</doc>
26019 <return-value transfer-ownership="none">
26020 <type name="none" c:type="void"/>
26023 <parameter name="wc" transfer-ownership="none">
26024 <doc xml:whitespace="preserve">a Unicode character</doc>
26025 <type name="GLib.unichar" c:type="gunichar"/>
26029 <method name="delete_chars"
26030 c:identifier="clutter_text_delete_chars"
26032 <doc xml:whitespace="preserve">Deletes @n_chars inside a #ClutterText actor, starting from the
26033 current cursor position.</doc>
26034 <return-value transfer-ownership="none">
26035 <type name="none" c:type="void"/>
26038 <parameter name="n_chars" transfer-ownership="none">
26039 <doc xml:whitespace="preserve">the number of characters to delete</doc>
26040 <type name="uint" c:type="guint"/>
26044 <method name="insert_text"
26045 c:identifier="clutter_text_insert_text"
26047 <doc xml:whitespace="preserve">Inserts @text into a #ClutterActor at the given position.
26048 If @position is a negative number, the text will be appended
26049 at the end of the current contents of the #ClutterText.
26050 The position is expressed in characters, not in bytes.</doc>
26051 <return-value transfer-ownership="none">
26052 <type name="none" c:type="void"/>
26055 <parameter name="text" transfer-ownership="none">
26056 <doc xml:whitespace="preserve">the text to be inserted</doc>
26057 <type name="utf8" c:type="gchar*"/>
26059 <parameter name="position" transfer-ownership="none">
26060 <doc xml:whitespace="preserve">the position of the insertion, or -1</doc>
26061 <type name="gssize" c:type="gssize"/>
26065 <method name="delete_text"
26066 c:identifier="clutter_text_delete_text"
26068 <doc xml:whitespace="preserve">Deletes the text inside a #ClutterText actor between @start_pos
26070 The starting and ending positions are expressed in characters,
26071 not in bytes.</doc>
26072 <return-value transfer-ownership="none">
26073 <type name="none" c:type="void"/>
26076 <parameter name="start_pos" transfer-ownership="none">
26077 <doc xml:whitespace="preserve">starting position</doc>
26078 <type name="gssize" c:type="gssize"/>
26080 <parameter name="end_pos" transfer-ownership="none">
26081 <doc xml:whitespace="preserve">ending position</doc>
26082 <type name="gssize" c:type="gssize"/>
26086 <method name="get_chars"
26087 c:identifier="clutter_text_get_chars"
26089 <doc xml:whitespace="preserve">Retrieves the contents of the #ClutterText actor between
26090 The positions are specified in characters, not in bytes.
26091 the text actor between the specified positions. Use g_free()
26092 to free the resources when done</doc>
26093 <return-value transfer-ownership="full">
26094 <doc xml:whitespace="preserve">a newly allocated string with the contents of</doc>
26095 <type name="utf8" c:type="gchar*"/>
26098 <parameter name="start_pos" transfer-ownership="none">
26099 <doc xml:whitespace="preserve">start of text, in characters</doc>
26100 <type name="gssize" c:type="gssize"/>
26102 <parameter name="end_pos" transfer-ownership="none">
26103 <doc xml:whitespace="preserve">end of text, in characters</doc>
26104 <type name="gssize" c:type="gssize"/>
26108 <method name="set_editable"
26109 c:identifier="clutter_text_set_editable"
26111 <doc xml:whitespace="preserve">Sets whether the #ClutterText actor should be editable.
26112 An editable #ClutterText with key focus set using
26113 clutter_actor_grab_key_focus() or clutter_stage_take_key_focus()
26114 will receive key events and will update its contents accordingly.</doc>
26115 <return-value transfer-ownership="none">
26116 <type name="none" c:type="void"/>
26119 <parameter name="editable" transfer-ownership="none">
26120 <doc xml:whitespace="preserve">whether the #ClutterText should be editable</doc>
26121 <type name="boolean" c:type="gboolean"/>
26125 <method name="get_editable"
26126 c:identifier="clutter_text_get_editable"
26128 <doc xml:whitespace="preserve">Retrieves whether a #ClutterText is editable or not.</doc>
26129 <return-value transfer-ownership="none">
26130 <doc xml:whitespace="preserve">%TRUE if the actor is editable</doc>
26131 <type name="boolean" c:type="gboolean"/>
26134 <method name="set_activatable"
26135 c:identifier="clutter_text_set_activatable"
26137 <doc xml:whitespace="preserve">Sets whether a #ClutterText actor should be activatable.
26138 An activatable #ClutterText actor will emit the #ClutterText::activate
26139 signal whenever the 'Enter' (or 'Return') key is pressed; if it is not
26140 activatable, a new line will be appended to the current content.
26141 An activatable #ClutterText must also be set as editable using
26142 clutter_text_set_editable().</doc>
26143 <return-value transfer-ownership="none">
26144 <type name="none" c:type="void"/>
26147 <parameter name="activatable" transfer-ownership="none">
26148 <doc xml:whitespace="preserve">whether the #ClutterText actor should be activatable</doc>
26149 <type name="boolean" c:type="gboolean"/>
26153 <method name="get_activatable"
26154 c:identifier="clutter_text_get_activatable"
26156 <doc xml:whitespace="preserve">Retrieves whether a #ClutterText is activatable or not.</doc>
26157 <return-value transfer-ownership="none">
26158 <doc xml:whitespace="preserve">%TRUE if the actor is activatable</doc>
26159 <type name="boolean" c:type="gboolean"/>
26162 <method name="get_cursor_position"
26163 c:identifier="clutter_text_get_cursor_position"
26165 <doc xml:whitespace="preserve">Retrieves the cursor position.</doc>
26166 <return-value transfer-ownership="none">
26167 <doc xml:whitespace="preserve">the cursor position, in characters</doc>
26168 <type name="int" c:type="gint"/>
26171 <method name="set_cursor_position"
26172 c:identifier="clutter_text_set_cursor_position"
26174 <doc xml:whitespace="preserve">Sets the cursor of a #ClutterText actor at @position.
26175 The position is expressed in characters, not in bytes.</doc>
26176 <return-value transfer-ownership="none">
26177 <type name="none" c:type="void"/>
26180 <parameter name="position" transfer-ownership="none">
26181 <doc xml:whitespace="preserve">the new cursor position, in characters</doc>
26182 <type name="int" c:type="gint"/>
26186 <method name="set_cursor_visible"
26187 c:identifier="clutter_text_set_cursor_visible"
26189 <doc xml:whitespace="preserve">Sets whether the cursor of a #ClutterText actor should be
26191 The color of the cursor will be the same as the text color
26192 unless clutter_text_set_cursor_color() has been called.
26193 The size of the cursor can be set using clutter_text_set_cursor_size().
26194 The position of the cursor can be changed programmatically using
26195 clutter_text_set_cursor_position().</doc>
26196 <return-value transfer-ownership="none">
26197 <type name="none" c:type="void"/>
26200 <parameter name="cursor_visible" transfer-ownership="none">
26201 <doc xml:whitespace="preserve">whether the cursor should be visible</doc>
26202 <type name="boolean" c:type="gboolean"/>
26206 <method name="get_cursor_visible"
26207 c:identifier="clutter_text_get_cursor_visible"
26209 <doc xml:whitespace="preserve">Retrieves whether the cursor of a #ClutterText actor is visible.</doc>
26210 <return-value transfer-ownership="none">
26211 <doc xml:whitespace="preserve">%TRUE if the cursor is visible</doc>
26212 <type name="boolean" c:type="gboolean"/>
26215 <method name="set_cursor_color"
26216 c:identifier="clutter_text_set_cursor_color"
26218 <doc xml:whitespace="preserve">Sets the color of the cursor of a #ClutterText actor.
26219 If @color is %NULL, the cursor color will be the same as the
26221 <return-value transfer-ownership="none">
26222 <type name="none" c:type="void"/>
26225 <parameter name="color" transfer-ownership="none">
26226 <doc xml:whitespace="preserve">the color of the cursor, or %NULL to unset it</doc>
26227 <type name="Color" c:type="ClutterColor*"/>
26231 <method name="get_cursor_color"
26232 c:identifier="clutter_text_get_cursor_color"
26234 <doc xml:whitespace="preserve">Retrieves the color of the cursor of a #ClutterText actor.</doc>
26235 <return-value transfer-ownership="none">
26236 <type name="none" c:type="void"/>
26239 <parameter name="color" transfer-ownership="none">
26240 <doc xml:whitespace="preserve">return location for a #ClutterColor</doc>
26241 <type name="Color" c:type="ClutterColor*"/>
26245 <method name="set_cursor_size"
26246 c:identifier="clutter_text_set_cursor_size"
26248 <doc xml:whitespace="preserve">Sets the size of the cursor of a #ClutterText. The cursor
26249 will only be visible if the #ClutterText:cursor-visible property
26250 is set to %TRUE.</doc>
26251 <return-value transfer-ownership="none">
26252 <type name="none" c:type="void"/>
26255 <parameter name="size" transfer-ownership="none">
26256 <doc xml:whitespace="preserve">the size of the cursor, in pixels, or -1 to use the default value</doc>
26257 <type name="int" c:type="gint"/>
26261 <method name="get_cursor_size"
26262 c:identifier="clutter_text_get_cursor_size"
26264 <doc xml:whitespace="preserve">Retrieves the size of the cursor of a #ClutterText actor.</doc>
26265 <return-value transfer-ownership="none">
26266 <doc xml:whitespace="preserve">the size of the cursor, in pixels</doc>
26267 <type name="uint" c:type="guint"/>
26270 <method name="set_selectable"
26271 c:identifier="clutter_text_set_selectable"
26273 <doc xml:whitespace="preserve">Sets whether a #ClutterText actor should be selectable.
26274 A selectable #ClutterText will allow selecting its contents using
26275 the pointer or the keyboard.</doc>
26276 <return-value transfer-ownership="none">
26277 <type name="none" c:type="void"/>
26280 <parameter name="selectable" transfer-ownership="none">
26281 <doc xml:whitespace="preserve">whether the #ClutterText actor should be selectable</doc>
26282 <type name="boolean" c:type="gboolean"/>
26286 <method name="get_selectable"
26287 c:identifier="clutter_text_get_selectable"
26289 <doc xml:whitespace="preserve">Retrieves whether a #ClutterText is selectable or not.</doc>
26290 <return-value transfer-ownership="none">
26291 <doc xml:whitespace="preserve">%TRUE if the actor is selectable</doc>
26292 <type name="boolean" c:type="gboolean"/>
26295 <method name="set_selection_bound"
26296 c:identifier="clutter_text_set_selection_bound"
26298 <doc xml:whitespace="preserve">Sets the other end of the selection, starting from the current
26300 If @selection_bound is -1, the selection unset.</doc>
26301 <return-value transfer-ownership="none">
26302 <type name="none" c:type="void"/>
26305 <parameter name="selection_bound" transfer-ownership="none">
26306 <doc xml:whitespace="preserve">the position of the end of the selection, in characters</doc>
26307 <type name="int" c:type="gint"/>
26311 <method name="get_selection_bound"
26312 c:identifier="clutter_text_get_selection_bound"
26314 <doc xml:whitespace="preserve">Retrieves the other end of the selection of a #ClutterText actor,
26315 in characters from the current cursor position.</doc>
26316 <return-value transfer-ownership="none">
26317 <doc xml:whitespace="preserve">the position of the other end of the selection</doc>
26318 <type name="int" c:type="gint"/>
26321 <method name="set_selection"
26322 c:identifier="clutter_text_set_selection"
26324 <doc xml:whitespace="preserve">Selects the region of text between @start_pos and @end_pos.
26325 This function changes the position of the cursor to match</doc>
26326 <return-value transfer-ownership="none">
26327 <type name="none" c:type="void"/>
26330 <parameter name="start_pos" transfer-ownership="none">
26331 <doc xml:whitespace="preserve">start of the selection, in characters</doc>
26332 <type name="gssize" c:type="gssize"/>
26334 <parameter name="end_pos" transfer-ownership="none">
26335 <doc xml:whitespace="preserve">end of the selection, in characters</doc>
26336 <type name="gssize" c:type="gssize"/>
26340 <method name="get_selection"
26341 c:identifier="clutter_text_get_selection"
26343 <doc xml:whitespace="preserve">Retrieves the currently selected text.
26344 selected text, or %NULL. Use g_free() to free the returned
26346 <return-value transfer-ownership="full">
26347 <doc xml:whitespace="preserve">a newly allocated string containing the currently</doc>
26348 <type name="utf8" c:type="gchar*"/>
26351 <method name="set_selection_color"
26352 c:identifier="clutter_text_set_selection_color"
26354 <doc xml:whitespace="preserve">Sets the color of the selection of a #ClutterText actor.
26355 If @color is %NULL, the selection color will be the same as the
26356 cursor color, or if no cursor color is set either then it will be
26357 the same as the text color.</doc>
26358 <return-value transfer-ownership="none">
26359 <type name="none" c:type="void"/>
26362 <parameter name="color" transfer-ownership="none">
26363 <doc xml:whitespace="preserve">the color of the selection, or %NULL to unset it</doc>
26364 <type name="Color" c:type="ClutterColor*"/>
26368 <method name="get_selection_color"
26369 c:identifier="clutter_text_get_selection_color"
26371 <doc xml:whitespace="preserve">Retrieves the color of the selection of a #ClutterText actor.</doc>
26372 <return-value transfer-ownership="none">
26373 <type name="none" c:type="void"/>
26376 <parameter name="color" transfer-ownership="none">
26377 <doc xml:whitespace="preserve">return location for a #ClutterColor</doc>
26378 <type name="Color" c:type="ClutterColor*"/>
26382 <method name="delete_selection"
26383 c:identifier="clutter_text_delete_selection"
26385 <doc xml:whitespace="preserve">Deletes the currently selected text
26386 This function is only useful in subclasses of #ClutterText
26387 is empty, and %FALSE otherwise</doc>
26388 <return-value transfer-ownership="none">
26389 <doc xml:whitespace="preserve">%TRUE if text was deleted or if the text actor</doc>
26390 <type name="boolean" c:type="gboolean"/>
26393 <method name="set_password_char"
26394 c:identifier="clutter_text_set_password_char"
26396 <doc xml:whitespace="preserve">Sets the character to use in place of the actual text in a
26397 password text actor.
26398 If @wc is 0 the text will be displayed as it is entered in the
26399 #ClutterText actor.</doc>
26400 <return-value transfer-ownership="none">
26401 <type name="none" c:type="void"/>
26404 <parameter name="wc" transfer-ownership="none">
26405 <doc xml:whitespace="preserve">a Unicode character, or 0 to unset the password character</doc>
26406 <type name="GLib.unichar" c:type="gunichar"/>
26410 <method name="get_password_char"
26411 c:identifier="clutter_text_get_password_char"
26413 <doc xml:whitespace="preserve">Retrieves the character to use in place of the actual text
26414 as set by clutter_text_set_password_char().
26415 character is not set</doc>
26416 <return-value transfer-ownership="full">
26417 <doc xml:whitespace="preserve">a Unicode character or 0 if the password</doc>
26418 <type name="GLib.unichar" c:type="gunichar"/>
26421 <method name="set_max_length"
26422 c:identifier="clutter_text_set_max_length"
26424 <doc xml:whitespace="preserve">Sets the maximum allowed length of the contents of the actor. If the
26425 current contents are longer than the given length, then they will be
26426 truncated to fit.</doc>
26427 <return-value transfer-ownership="none">
26428 <type name="none" c:type="void"/>
26431 <parameter name="max" transfer-ownership="none">
26432 <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>
26433 <type name="int" c:type="gint"/>
26437 <method name="get_max_length"
26438 c:identifier="clutter_text_get_max_length"
26440 <doc xml:whitespace="preserve">Gets the maximum length of text that can be set into a text actor.
26441 See clutter_text_set_max_length().</doc>
26442 <return-value transfer-ownership="none">
26443 <doc xml:whitespace="preserve">the maximum number of characters.</doc>
26444 <type name="int" c:type="gint"/>
26447 <method name="set_single_line_mode"
26448 c:identifier="clutter_text_set_single_line_mode"
26450 <doc xml:whitespace="preserve">Sets whether a #ClutterText actor should be in single line mode
26451 or not. Only editable #ClutterText<!-- -->s can be in single line
26453 A text actor in single line mode will not wrap text and will clip
26454 the the visible area to the predefined size. The contents of the
26455 text actor will scroll to display the end of the text if its length
26456 is bigger than the allocated width.
26457 When setting the single line mode the #ClutterText:activatable
26458 property is also set as a side effect. Instead of entering a new
26459 line character, the text actor will emit the #ClutterText::activate
26461 <return-value transfer-ownership="none">
26462 <type name="none" c:type="void"/>
26465 <parameter name="single_line" transfer-ownership="none">
26466 <doc xml:whitespace="preserve">whether to enable single line mode</doc>
26467 <type name="boolean" c:type="gboolean"/>
26471 <method name="get_single_line_mode"
26472 c:identifier="clutter_text_get_single_line_mode"
26474 <doc xml:whitespace="preserve">Retrieves whether the #ClutterText actor is in single line mode.</doc>
26475 <return-value transfer-ownership="none">
26476 <doc xml:whitespace="preserve">%TRUE if the #ClutterText actor is in single line mode</doc>
26477 <type name="boolean" c:type="gboolean"/>
26480 <method name="activate"
26481 c:identifier="clutter_text_activate"
26483 <doc xml:whitespace="preserve">Emits the #ClutterText::activate signal, if @self has been set
26484 as activatable using clutter_text_set_activatable().
26485 This function can be used to emit the ::activate signal inside
26486 a #ClutterActor::captured-event or #ClutterActor::key-press-event
26487 signal handlers before the default signal handler for the
26488 #ClutterText is invoked.
26489 and %FALSE otherwise</doc>
26490 <return-value transfer-ownership="none">
26491 <doc xml:whitespace="preserve">%TRUE if the ::activate signal has been emitted,</doc>
26492 <type name="boolean" c:type="gboolean"/>
26495 <method name="position_to_coords"
26496 c:identifier="clutter_text_position_to_coords"
26498 <doc xml:whitespace="preserve">Retrieves the coordinates of the given @position.</doc>
26499 <return-value transfer-ownership="none">
26500 <doc xml:whitespace="preserve">%TRUE if the conversion was successful</doc>
26501 <type name="boolean" c:type="gboolean"/>
26504 <parameter name="position" transfer-ownership="none">
26505 <doc xml:whitespace="preserve">position in characters</doc>
26506 <type name="int" c:type="gint"/>
26508 <parameter name="x"
26510 caller-allocates="0"
26511 transfer-ownership="full">
26512 <doc xml:whitespace="preserve">return location for the X coordinate, or %NULL</doc>
26513 <type name="float" c:type="gfloat*"/>
26515 <parameter name="y"
26517 caller-allocates="0"
26518 transfer-ownership="full">
26519 <doc xml:whitespace="preserve">return location for the Y coordinate, or %NULL</doc>
26520 <type name="float" c:type="gfloat*"/>
26522 <parameter name="line_height"
26524 caller-allocates="0"
26525 transfer-ownership="full">
26526 <doc xml:whitespace="preserve">return location for the line height, or %NULL</doc>
26527 <type name="float" c:type="gfloat*"/>
26531 <method name="set_preedit_string"
26532 c:identifier="clutter_text_set_preedit_string"
26534 <doc xml:whitespace="preserve">Sets, or unsets, the pre-edit string. This function is useful
26535 for input methods to display a string (with eventual specific
26536 Pango attributes) before it is entered inside the #ClutterText
26538 The preedit string and attributes are ignored if the #ClutterText
26539 actor is not editable.
26540 This function should not be used by applications</doc>
26541 <return-value transfer-ownership="none">
26542 <type name="none" c:type="void"/>
26545 <parameter name="preedit_str"
26546 transfer-ownership="none"
26548 <doc xml:whitespace="preserve">the pre-edit string, or %NULL to unset it</doc>
26549 <type name="utf8" c:type="gchar*"/>
26551 <parameter name="preedit_attrs"
26552 transfer-ownership="none"
26554 <doc xml:whitespace="preserve">the pre-edit string attributes</doc>
26555 <type name="Pango.AttrList" c:type="PangoAttrList*"/>
26557 <parameter name="cursor_pos" transfer-ownership="none">
26558 <doc xml:whitespace="preserve">the cursor position for the pre-edit string</doc>
26559 <type name="uint" c:type="guint"/>
26563 <property name="activatable"
26566 transfer-ownership="none">
26567 <doc xml:whitespace="preserve">Toggles whether return invokes the activate signal or not.</doc>
26568 <type name="boolean" c:type="gboolean"/>
26570 <property name="attributes"
26573 transfer-ownership="none">
26574 <doc xml:whitespace="preserve">A list of #PangoStyleAttribute<!-- -->s to be applied to the
26575 contents of the #ClutterText actor.</doc>
26576 <type name="Pango.AttrList" c:type="PangoAttrList"/>
26578 <property name="color"
26581 transfer-ownership="none">
26582 <doc xml:whitespace="preserve">The color used to render the text.</doc>
26583 <type name="Color" c:type="ClutterColor"/>
26585 <property name="cursor-color"
26588 transfer-ownership="none">
26589 <doc xml:whitespace="preserve">The color of the cursor.</doc>
26590 <type name="Color" c:type="ClutterColor"/>
26592 <property name="cursor-color-set"
26594 transfer-ownership="none">
26595 <doc xml:whitespace="preserve">Will be set to %TRUE if #ClutterText:cursor-color has been set.</doc>
26596 <type name="boolean" c:type="gboolean"/>
26598 <property name="cursor-size"
26601 transfer-ownership="none">
26602 <doc xml:whitespace="preserve">The size of the cursor, in pixels. If set to -1 the size used will
26603 be the default cursor size of 2 pixels.</doc>
26604 <type name="int" c:type="gint"/>
26606 <property name="cursor-visible"
26609 transfer-ownership="none">
26610 <doc xml:whitespace="preserve">Whether the input cursor is visible or not, it will only be visible
26611 if both #ClutterText:cursor-visible and #ClutterText:editable are
26612 set to %TRUE.</doc>
26613 <type name="boolean" c:type="gboolean"/>
26615 <property name="editable"
26618 transfer-ownership="none">
26619 <doc xml:whitespace="preserve">Whether key events delivered to the actor causes editing.</doc>
26620 <type name="boolean" c:type="gboolean"/>
26622 <property name="ellipsize"
26625 transfer-ownership="none">
26626 <doc xml:whitespace="preserve">The preferred place to ellipsize the contents of the #ClutterText actor</doc>
26627 <type name="Pango.EllipsizeMode" c:type="PangoEllipsizeMode"/>
26629 <property name="font-description"
26632 transfer-ownership="none">
26633 <doc xml:whitespace="preserve">The #PangoFontDescription that should be used by the #ClutterText
26634 If you have a string describing the font then you should look at
26635 #ClutterText:font-name instead</doc>
26636 <type name="Pango.FontDescription" c:type="PangoFontDescription"/>
26638 <property name="font-name"
26641 transfer-ownership="none">
26642 <doc xml:whitespace="preserve">The font to be used by the #ClutterText, as a string
26643 that can be parsed by pango_font_description_from_string().
26644 If set to %NULL, the default system font will be used instead.</doc>
26645 <type name="utf8" c:type="gchararray"/>
26647 <property name="justify"
26650 transfer-ownership="none">
26651 <doc xml:whitespace="preserve">Whether the contents of the #ClutterText should be justified
26652 on both margins.</doc>
26653 <type name="boolean" c:type="gboolean"/>
26655 <property name="line-alignment"
26658 transfer-ownership="none">
26659 <doc xml:whitespace="preserve">The preferred alignment for the text. This property controls
26660 the alignment of multi-line paragraphs.</doc>
26661 <type name="Pango.Alignment" c:type="PangoAlignment"/>
26663 <property name="line-wrap"
26666 transfer-ownership="none">
26667 <doc xml:whitespace="preserve">Whether to wrap the lines of #ClutterText:text if the contents
26668 exceed the available allocation. The wrapping strategy is
26669 controlled by the #ClutterText:line-wrap-mode property.</doc>
26670 <type name="boolean" c:type="gboolean"/>
26672 <property name="line-wrap-mode"
26675 transfer-ownership="none">
26676 <doc xml:whitespace="preserve">If #ClutterText:line-wrap is set to %TRUE, this property will
26677 control how the text is wrapped.</doc>
26678 <type name="Pango.WrapMode" c:type="PangoWrapMode"/>
26680 <property name="max-length"
26683 transfer-ownership="none">
26684 <doc xml:whitespace="preserve">The maximum length of the contents of the #ClutterText actor.</doc>
26685 <type name="int" c:type="gint"/>
26687 <property name="password-char"
26690 transfer-ownership="none">
26691 <doc xml:whitespace="preserve">If non-zero, the character that should be used in place of
26692 the actual text in a password text actor.</doc>
26693 <type name="uint" c:type="guint"/>
26695 <property name="position"
26698 transfer-ownership="none">
26699 <doc xml:whitespace="preserve">The current input cursor position. -1 is taken to be the end of the text</doc>
26700 <type name="int" c:type="gint"/>
26702 <property name="selectable"
26705 transfer-ownership="none">
26706 <doc xml:whitespace="preserve">Whether it is possible to select text, either using the pointer
26707 or the keyboard.</doc>
26708 <type name="boolean" c:type="gboolean"/>
26710 <property name="selection-bound"
26713 transfer-ownership="none">
26714 <doc xml:whitespace="preserve">The current input cursor position. -1 is taken to be the end of the text</doc>
26715 <type name="int" c:type="gint"/>
26717 <property name="selection-color"
26720 transfer-ownership="none">
26721 <doc xml:whitespace="preserve">The color of the selection.</doc>
26722 <type name="Color" c:type="ClutterColor"/>
26724 <property name="selection-color-set"
26726 transfer-ownership="none">
26727 <doc xml:whitespace="preserve">Will be set to %TRUE if #ClutterText:selection-color has been set.</doc>
26728 <type name="boolean" c:type="gboolean"/>
26730 <property name="single-line-mode"
26733 transfer-ownership="none">
26734 <doc xml:whitespace="preserve">Whether the #ClutterText actor should be in single line mode
26735 or not. A single line #ClutterText actor will only contain a
26736 single line of text, scrolling it in case its length is bigger
26737 than the allocated size.
26738 Setting this property will also set the #ClutterText:activatable
26739 property as a side-effect.
26740 The #ClutterText:single-line-mode property is used only if the
26741 #ClutterText:editable property is set to %TRUE.</doc>
26742 <type name="boolean" c:type="gboolean"/>
26744 <property name="text"
26747 transfer-ownership="none">
26748 <doc xml:whitespace="preserve">The text to render inside the actor.</doc>
26749 <type name="utf8" c:type="gchararray"/>
26751 <property name="use-markup"
26754 transfer-ownership="none">
26755 <doc xml:whitespace="preserve">Whether the text includes Pango markup.
26756 For more informations about the Pango markup format, see
26757 pango_layout_set_markup() in the Pango documentation.
26758 <note>It is not possible to round-trip this property between
26759 %TRUE and %FALSE. Once a string with markup has been set on
26760 a #ClutterText actor with :use-markup set to %TRUE, the markup
26761 is stripped from the string.</note></doc>
26762 <type name="boolean" c:type="gboolean"/>
26764 <field name="parent_instance">
26765 <type name="Actor" c:type="ClutterActor"/>
26767 <field name="priv">
26768 <type name="TextPrivate" c:type="ClutterTextPrivate*"/>
26770 <glib:signal name="activate">
26771 <return-value transfer-ownership="full">
26772 <type name="none" c:type="void"/>
26775 <glib:signal name="cursor-event" version="1.0">
26776 <doc xml:whitespace="preserve">The ::cursor-event signal is emitted whenever the cursor position
26777 changes inside a #ClutterText actor. Inside @geometry it is stored
26778 the current position and size of the cursor, relative to the actor
26780 <return-value transfer-ownership="full">
26781 <type name="none" c:type="void"/>
26784 <parameter name="geometry" transfer-ownership="none">
26785 <doc xml:whitespace="preserve">the coordinates of the cursor</doc>
26786 <type name="Geometry" c:type="ClutterGeometry"/>
26790 <glib:signal name="delete-text" version="1.2">
26791 <doc xml:whitespace="preserve">This signal is emitted when text is deleted from the actor by
26792 the user. It is emitted before @self text changes.</doc>
26793 <return-value transfer-ownership="full">
26794 <type name="none" c:type="void"/>
26797 <parameter name="start_pos" transfer-ownership="none">
26798 <doc xml:whitespace="preserve">the starting position</doc>
26799 <type name="int" c:type="gint"/>
26801 <parameter name="end_pos" transfer-ownership="none">
26802 <doc xml:whitespace="preserve">the end position</doc>
26803 <type name="int" c:type="gint"/>
26807 <glib:signal name="insert-text" version="1.2">
26808 <doc xml:whitespace="preserve">This signal is emitted when text is inserted into the actor by
26809 the user. It is emitted before @self text changes.</doc>
26810 <return-value transfer-ownership="full">
26811 <type name="none" c:type="void"/>
26814 <parameter name="new_text" transfer-ownership="none">
26815 <doc xml:whitespace="preserve">the new text to insert</doc>
26816 <type name="utf8" c:type="gchararray"/>
26818 <parameter name="new_text_length" transfer-ownership="none">
26819 <doc xml:whitespace="preserve">the length of the new text, in bytes, or -1 if new_text is nul-terminated</doc>
26820 <type name="int" c:type="gint"/>
26822 <parameter name="position" transfer-ownership="none">
26823 <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>
26824 <type name="any" c:type="gpointer"/>
26828 <glib:signal name="text-changed" version="1.0">
26829 <doc xml:whitespace="preserve">The ::text-changed signal is emitted after @actor's text changes</doc>
26830 <return-value transfer-ownership="full">
26831 <type name="none" c:type="void"/>
26835 <record name="TextClass"
26836 c:type="ClutterTextClass"
26837 glib:is-gtype-struct-for="Text"
26839 <doc xml:whitespace="preserve">The #ClutterTextClass struct contains only private data.</doc>
26840 <field name="parent_class">
26841 <type name="ActorClass" c:type="ClutterActorClass"/>
26843 <field name="text_changed">
26844 <callback name="text_changed" c:type="text_changed">
26845 <return-value transfer-ownership="none">
26846 <type name="none" c:type="void"/>
26849 <parameter name="self" transfer-ownership="none">
26850 <type name="Text" c:type="ClutterText*"/>
26855 <field name="activate">
26856 <callback name="activate" c:type="activate">
26857 <return-value transfer-ownership="none">
26858 <type name="none" c:type="void"/>
26861 <parameter name="self" transfer-ownership="none">
26862 <type name="Text" c:type="ClutterText*"/>
26867 <field name="cursor_event">
26868 <callback name="cursor_event" c:type="cursor_event">
26869 <return-value transfer-ownership="none">
26870 <type name="none" c:type="void"/>
26873 <parameter name="self" transfer-ownership="none">
26874 <type name="Text" c:type="ClutterText*"/>
26876 <parameter name="geometry" transfer-ownership="none">
26877 <type name="Geometry" c:type="ClutterGeometry*"/>
26882 <field name="clutter_reserved1">
26883 <callback name="clutter_reserved1" c:type="_clutter_reserved1">
26884 <return-value transfer-ownership="none">
26885 <type name="none" c:type="void"/>
26889 <field name="clutter_reserved2">
26890 <callback name="clutter_reserved2" c:type="_clutter_reserved2">
26891 <return-value transfer-ownership="none">
26892 <type name="none" c:type="void"/>
26896 <field name="clutter_reserved3">
26897 <callback name="clutter_reserved3" c:type="_clutter_reserved3">
26898 <return-value transfer-ownership="none">
26899 <type name="none" c:type="void"/>
26903 <field name="clutter_reserved4">
26904 <callback name="clutter_reserved4" c:type="_clutter_reserved4">
26905 <return-value transfer-ownership="none">
26906 <type name="none" c:type="void"/>
26910 <field name="clutter_reserved5">
26911 <callback name="clutter_reserved5" c:type="_clutter_reserved5">
26912 <return-value transfer-ownership="none">
26913 <type name="none" c:type="void"/>
26917 <field name="clutter_reserved6">
26918 <callback name="clutter_reserved6" c:type="_clutter_reserved6">
26919 <return-value transfer-ownership="none">
26920 <type name="none" c:type="void"/>
26924 <field name="clutter_reserved7">
26925 <callback name="clutter_reserved7" c:type="_clutter_reserved7">
26926 <return-value transfer-ownership="none">
26927 <type name="none" c:type="void"/>
26931 <field name="clutter_reserved8">
26932 <callback name="clutter_reserved8" c:type="_clutter_reserved8">
26933 <return-value transfer-ownership="none">
26934 <type name="none" c:type="void"/>
26939 <enumeration name="TextDirection"
26941 glib:type-name="ClutterTextDirection"
26942 glib:get-type="clutter_text_direction_get_type"
26943 c:type="ClutterTextDirection">
26944 <doc xml:whitespace="preserve">The text direction to be used by #ClutterActor<!-- -->s</doc>
26945 <member name="default"
26947 c:identifier="CLUTTER_TEXT_DIRECTION_DEFAULT"
26948 glib:nick="default"/>
26951 c:identifier="CLUTTER_TEXT_DIRECTION_LTR"
26955 c:identifier="CLUTTER_TEXT_DIRECTION_RTL"
26958 <record name="TextPrivate" c:type="ClutterTextPrivate">
26960 <class name="Texture"
26961 c:type="ClutterTexture"
26964 glib:type-name="ClutterTexture"
26965 glib:get-type="clutter_texture_get_type"
26966 glib:type-struct="TextureClass">
26967 <doc xml:whitespace="preserve">The #ClutterTexture structure contains only private data
26968 and should be accessed using the provided API</doc>
26969 <implements name="Animatable"/>
26970 <implements name="Atk.ImplementorIface"/>
26971 <implements name="Scriptable"/>
26972 <constructor name="new" c:identifier="clutter_texture_new">
26973 <doc xml:whitespace="preserve">Creates a new empty #ClutterTexture object.</doc>
26974 <return-value transfer-ownership="full">
26975 <doc xml:whitespace="preserve">A newly created #ClutterTexture object.</doc>
26976 <type name="Texture" c:type="ClutterActor*"/>
26979 <constructor name="new_from_file"
26980 c:identifier="clutter_texture_new_from_file"
26983 <doc xml:whitespace="preserve">Creates a new ClutterTexture actor to display the image contained a
26984 file. If the image failed to load then NULL is returned and @error
26987 <return-value transfer-ownership="full">
26988 <doc xml:whitespace="preserve">A newly created #ClutterTexture object or NULL on</doc>
26989 <type name="Texture" c:type="ClutterActor*"/>
26992 <parameter name="filename" transfer-ownership="none">
26993 <doc xml:whitespace="preserve">The name of an image file to load.</doc>
26994 <type name="utf8" c:type="gchar*"/>
26998 <constructor name="new_from_actor"
26999 c:identifier="clutter_texture_new_from_actor"
27001 <doc xml:whitespace="preserve">Creates a new #ClutterTexture object with its source a prexisting
27002 actor (and associated children). The textures content will contain
27003 'live' redirected output of the actors scene.
27004 Note this function is intented as a utility call for uniformly applying
27005 shaders to groups and other potential visual effects. It requires that
27006 the %CLUTTER_FEATURE_OFFSCREEN feature is supported by the current backend
27007 and the target system.
27008 Some tips on usage:
27009 <itemizedlist>
27011 <para>The source actor must be made visible (i.e by calling
27012 #clutter_actor_show).</para>
27015 <para>The source actor must have a parent in order for it to be
27016 allocated a size from the layouting mechanism. If the source
27017 actor does not have a parent when this function is called then
27018 the ClutterTexture will adopt it and allocate it at its
27019 preferred size. Using this you can clone an actor that is
27020 otherwise not displayed. Because of this feature if you do
27021 intend to display the source actor then you must make sure that
27022 the actor is parented before calling
27023 clutter_texture_new_from_actor() or that you unparent it before
27024 adding it to a container.</para>
27027 <para>When getting the image for the clone texture, Clutter
27028 will attempt to render the source actor exactly as it would
27029 appear if it was rendered on screen. The source actor's parent
27030 transformations are taken into account. Therefore if your
27031 source actor is rotated along the X or Y axes so that it has
27032 some depth, the texture will appear differently depending on
27033 the on-screen location of the source actor. While painting the
27034 source actor, Clutter will set up a temporary asymmetric
27035 perspective matrix as the projection matrix so that the source
27036 actor will be projected as if a small section of the screen was
27037 being viewed. Before version 0.8.2, an orthogonal identity
27038 projection was used which meant that the source actor would be
27039 clipped if any part of it was not on the zero Z-plane.</para>
27042 <para>Avoid reparenting the source with the created texture.</para>
27045 <para>A group can be padded with a transparent rectangle as to
27046 provide a border to contents for shader output (blurring text
27047 for example).</para>
27050 <para>The texture will automatically resize to contain a further
27051 transformed source. However, this involves overhead and can be
27052 avoided by placing the source actor in a bounding group
27053 sized large enough to contain any child tranformations.</para>
27056 <para>Uploading pixel data to the texture (e.g by using
27057 clutter_actor_set_from_file()) will destroy the offscreen texture data
27058 and end redirection.</para>
27061 <para>cogl_texture_get_data() with the handle returned by
27062 clutter_texture_get_cogl_texture() can be used to read the
27063 offscreen texture pixels into a pixbuf.</para>
27065 </itemizedlist></doc>
27066 <return-value transfer-ownership="full">
27067 <doc xml:whitespace="preserve">A newly created #ClutterTexture object, or %NULL on failure.</doc>
27068 <type name="Texture" c:type="ClutterActor*"/>
27071 <parameter name="actor" transfer-ownership="none">
27072 <doc xml:whitespace="preserve">A source #ClutterActor</doc>
27073 <type name="Actor" c:type="ClutterActor*"/>
27077 <method name="set_from_file"
27078 c:identifier="clutter_texture_set_from_file"
27081 <doc xml:whitespace="preserve">Sets the #ClutterTexture image data from an image file. In case of
27082 failure, %FALSE is returned and @error is set.
27083 If #ClutterTexture:load-async is set to %TRUE, this function
27084 will return as soon as possible, and the actual image loading
27085 from disk will be performed asynchronously. #ClutterTexture::size-change
27086 will be emitten when the size of the texture is available and
27087 #ClutterTexture::load-finished will be emitted when the image has been
27088 loaded or if an error occurred.</doc>
27089 <return-value transfer-ownership="none">
27090 <doc xml:whitespace="preserve">%TRUE if the image was successfully loaded and set</doc>
27091 <type name="boolean" c:type="gboolean"/>
27094 <parameter name="filename" transfer-ownership="none">
27095 <doc xml:whitespace="preserve">The filename of the image in GLib file name encoding</doc>
27096 <type name="utf8" c:type="gchar*"/>
27100 <method name="set_from_rgb_data"
27101 c:identifier="clutter_texture_set_from_rgb_data"
27104 <doc xml:whitespace="preserve">Sets #ClutterTexture image data.</doc>
27105 <return-value transfer-ownership="none">
27106 <doc xml:whitespace="preserve">%TRUE on success, %FALSE on failure.</doc>
27107 <type name="boolean" c:type="gboolean"/>
27110 <parameter name="data" transfer-ownership="none">
27111 <doc xml:whitespace="preserve">Image data in RGBA type colorspace.</doc>
27112 <array c:type="guchar*">
27113 <type name="uint8"/>
27116 <parameter name="has_alpha" transfer-ownership="none">
27117 <doc xml:whitespace="preserve">Set to TRUE if image data has an alpha channel.</doc>
27118 <type name="boolean" c:type="gboolean"/>
27120 <parameter name="width" transfer-ownership="none">
27121 <doc xml:whitespace="preserve">Width in pixels of image data.</doc>
27122 <type name="int" c:type="gint"/>
27124 <parameter name="height" transfer-ownership="none">
27125 <doc xml:whitespace="preserve">Height in pixels of image data</doc>
27126 <type name="int" c:type="gint"/>
27128 <parameter name="rowstride" transfer-ownership="none">
27129 <doc xml:whitespace="preserve">Distance in bytes between row starts.</doc>
27130 <type name="int" c:type="gint"/>
27132 <parameter name="bpp" transfer-ownership="none">
27133 <doc xml:whitespace="preserve">bytes per pixel (Currently only 3 and 4 supported, depending on @has_alpha)</doc>
27134 <type name="int" c:type="gint"/>
27136 <parameter name="flags" transfer-ownership="none">
27137 <doc xml:whitespace="preserve">#ClutterTextureFlags</doc>
27138 <type name="TextureFlags" c:type="ClutterTextureFlags"/>
27142 <method name="set_from_yuv_data"
27143 c:identifier="clutter_texture_set_from_yuv_data"
27146 <doc xml:whitespace="preserve">Sets a #ClutterTexture from YUV image data. If an error occurred,
27147 %FALSE is returned and @error is set.</doc>
27148 <return-value transfer-ownership="none">
27149 <doc xml:whitespace="preserve">%TRUE if the texture was successfully updated</doc>
27150 <type name="boolean" c:type="gboolean"/>
27153 <parameter name="data" transfer-ownership="none">
27154 <doc xml:whitespace="preserve">Image data in YUV type colorspace.</doc>
27155 <array c:type="guchar*">
27156 <type name="uint8"/>
27159 <parameter name="width" transfer-ownership="none">
27160 <doc xml:whitespace="preserve">Width in pixels of image data.</doc>
27161 <type name="int" c:type="gint"/>
27163 <parameter name="height" transfer-ownership="none">
27164 <doc xml:whitespace="preserve">Height in pixels of image data</doc>
27165 <type name="int" c:type="gint"/>
27167 <parameter name="flags" transfer-ownership="none">
27168 <doc xml:whitespace="preserve">#ClutterTextureFlags</doc>
27169 <type name="TextureFlags" c:type="ClutterTextureFlags"/>
27173 <method name="set_area_from_rgb_data"
27174 c:identifier="clutter_texture_set_area_from_rgb_data"
27177 <doc xml:whitespace="preserve">Updates a sub-region of the pixel data in a #ClutterTexture.</doc>
27178 <return-value transfer-ownership="none">
27179 <doc xml:whitespace="preserve">%TRUE on success, %FALSE on failure.</doc>
27180 <type name="boolean" c:type="gboolean"/>
27183 <parameter name="data" transfer-ownership="none">
27184 <doc xml:whitespace="preserve">Image data in RGB type colorspace.</doc>
27185 <array c:type="guchar*">
27186 <type name="uint8"/>
27189 <parameter name="has_alpha" transfer-ownership="none">
27190 <doc xml:whitespace="preserve">Set to TRUE if image data has an alpha channel.</doc>
27191 <type name="boolean" c:type="gboolean"/>
27193 <parameter name="x" transfer-ownership="none">
27194 <doc xml:whitespace="preserve">X coordinate of upper left corner of region to update.</doc>
27195 <type name="int" c:type="gint"/>
27197 <parameter name="y" transfer-ownership="none">
27198 <doc xml:whitespace="preserve">Y coordinate of upper left corner of region to update.</doc>
27199 <type name="int" c:type="gint"/>
27201 <parameter name="width" transfer-ownership="none">
27202 <doc xml:whitespace="preserve">Width in pixels of region to update.</doc>
27203 <type name="int" c:type="gint"/>
27205 <parameter name="height" transfer-ownership="none">
27206 <doc xml:whitespace="preserve">Height in pixels of region to update.</doc>
27207 <type name="int" c:type="gint"/>
27209 <parameter name="rowstride" transfer-ownership="none">
27210 <doc xml:whitespace="preserve">Distance in bytes between row starts on source buffer.</doc>
27211 <type name="int" c:type="gint"/>
27213 <parameter name="bpp" transfer-ownership="none">
27214 <doc xml:whitespace="preserve">bytes per pixel (Currently only 3 and 4 supported, depending on @has_alpha)</doc>
27215 <type name="int" c:type="gint"/>
27217 <parameter name="flags" transfer-ownership="none">
27218 <doc xml:whitespace="preserve">#ClutterTextureFlags</doc>
27219 <type name="TextureFlags" c:type="ClutterTextureFlags"/>
27223 <method name="get_base_size"
27224 c:identifier="clutter_texture_get_base_size">
27225 <doc xml:whitespace="preserve">Gets the size in pixels of the untransformed underlying image</doc>
27226 <return-value transfer-ownership="none">
27227 <type name="none" c:type="void"/>
27230 <parameter name="width"
27232 caller-allocates="0"
27233 transfer-ownership="full">
27234 <doc xml:whitespace="preserve">return location for the width, or %NULL</doc>
27235 <type name="int" c:type="gint*"/>
27237 <parameter name="height"
27239 caller-allocates="0"
27240 transfer-ownership="full">
27241 <doc xml:whitespace="preserve">return location for the height, or %NULL</doc>
27242 <type name="int" c:type="gint*"/>
27246 <method name="set_filter_quality"
27247 c:identifier="clutter_texture_set_filter_quality"
27249 <doc xml:whitespace="preserve">Sets the filter quality when scaling a texture. The quality is an
27250 enumeration currently the following values are supported:
27251 %CLUTTER_TEXTURE_QUALITY_LOW which is fast but only uses nearest neighbour
27252 interpolation. %CLUTTER_TEXTURE_QUALITY_MEDIUM which is computationally a
27253 bit more expensive (bilinear interpolation), and
27254 %CLUTTER_TEXTURE_QUALITY_HIGH which uses extra texture memory resources to
27255 improve scaled down rendering as well (by using mipmaps). The default value
27256 is %CLUTTER_TEXTURE_QUALITY_MEDIUM.</doc>
27257 <return-value transfer-ownership="none">
27258 <type name="none" c:type="void"/>
27261 <parameter name="filter_quality" transfer-ownership="none">
27262 <doc xml:whitespace="preserve">new filter quality value</doc>
27263 <type name="TextureQuality" c:type="ClutterTextureQuality"/>
27267 <method name="get_filter_quality"
27268 c:identifier="clutter_texture_get_filter_quality">
27269 <return-value transfer-ownership="full">
27270 <type name="TextureQuality" c:type="ClutterTextureQuality"/>
27273 <method name="get_cogl_texture"
27274 c:identifier="clutter_texture_get_cogl_texture">
27275 <return-value transfer-ownership="full">
27276 <type name="Cogl.Handle" c:type="CoglHandle"/>
27279 <method name="set_cogl_texture"
27280 c:identifier="clutter_texture_set_cogl_texture">
27281 <return-value transfer-ownership="none">
27282 <type name="none" c:type="void"/>
27285 <parameter name="cogl_tex" transfer-ownership="none">
27286 <type name="Cogl.Handle" c:type="CoglHandle"/>
27290 <method name="get_cogl_material"
27291 c:identifier="clutter_texture_get_cogl_material"
27293 <doc xml:whitespace="preserve">Returns a handle to the underlying COGL material used for drawing
27294 the actor. No extra reference is taken so if you need to keep the
27295 handle then you should call cogl_handle_ref() on it.</doc>
27296 <return-value transfer-ownership="full">
27297 <doc xml:whitespace="preserve">COGL material handle</doc>
27298 <type name="Cogl.Handle" c:type="CoglHandle"/>
27301 <method name="set_cogl_material"
27302 c:identifier="clutter_texture_set_cogl_material"
27304 <doc xml:whitespace="preserve">Replaces the underlying Cogl material drawn by this actor with
27305 handle is no longer needed it should be deref'd with
27306 cogl_handle_unref. Texture data is attached to the material so
27307 calling this function also replaces the Cogl
27308 texture. #ClutterTexture requires that the material have a texture
27309 layer so you should set one on the material before calling this
27311 <return-value transfer-ownership="none">
27312 <type name="none" c:type="void"/>
27315 <parameter name="cogl_material" transfer-ownership="none">
27316 <doc xml:whitespace="preserve">A CoglHandle for a material</doc>
27317 <type name="Cogl.Handle" c:type="CoglHandle"/>
27321 <method name="set_sync_size"
27322 c:identifier="clutter_texture_set_sync_size"
27324 <doc xml:whitespace="preserve">Sets whether @texture should have the same preferred size as the
27325 underlying image data.</doc>
27326 <return-value transfer-ownership="none">
27327 <type name="none" c:type="void"/>
27330 <parameter name="sync_size" transfer-ownership="none">
27331 <doc xml:whitespace="preserve">%TRUE if the texture should have the same size of the underlying image data</doc>
27332 <type name="boolean" c:type="gboolean"/>
27336 <method name="get_sync_size"
27337 c:identifier="clutter_texture_get_sync_size"
27339 <doc xml:whitespace="preserve">Retrieves the value set with clutter_texture_set_sync_size()
27340 preferred size of the underlying image data</doc>
27341 <return-value transfer-ownership="none">
27342 <doc xml:whitespace="preserve">%TRUE if the #ClutterTexture should have the same</doc>
27343 <type name="boolean" c:type="gboolean"/>
27346 <method name="set_repeat"
27347 c:identifier="clutter_texture_set_repeat"
27349 <doc xml:whitespace="preserve">Sets whether the @texture should repeat horizontally or
27350 vertically when the actor size is bigger than the image size</doc>
27351 <return-value transfer-ownership="none">
27352 <type name="none" c:type="void"/>
27355 <parameter name="repeat_x" transfer-ownership="none">
27356 <doc xml:whitespace="preserve">%TRUE if the texture should repeat horizontally</doc>
27357 <type name="boolean" c:type="gboolean"/>
27359 <parameter name="repeat_y" transfer-ownership="none">
27360 <doc xml:whitespace="preserve">%TRUE if the texture should repeat vertically</doc>
27361 <type name="boolean" c:type="gboolean"/>
27365 <method name="get_repeat"
27366 c:identifier="clutter_texture_get_repeat"
27368 <doc xml:whitespace="preserve">Retrieves the horizontal and vertical repeat values set
27369 using clutter_texture_set_repeat()</doc>
27370 <return-value transfer-ownership="none">
27371 <type name="none" c:type="void"/>
27374 <parameter name="repeat_x"
27376 caller-allocates="0"
27377 transfer-ownership="full">
27378 <doc xml:whitespace="preserve">return location for the horizontal repeat</doc>
27379 <type name="boolean" c:type="gboolean*"/>
27381 <parameter name="repeat_y"
27383 caller-allocates="0"
27384 transfer-ownership="full">
27385 <doc xml:whitespace="preserve">return location for the vertical repeat</doc>
27386 <type name="boolean" c:type="gboolean*"/>
27390 <method name="get_pixel_format"
27391 c:identifier="clutter_texture_get_pixel_format"
27393 <doc xml:whitespace="preserve">Retrieves the pixel format used by @texture. This is
27396 handle = clutter_texture_get_pixel_format (texture);
27397 if (handle != COGL_INVALID_HANDLE)
27398 format = cogl_texture_get_format (handle);
27400 <return-value transfer-ownership="full">
27401 <doc xml:whitespace="preserve">a #CoglPixelFormat value</doc>
27402 <type name="Cogl.PixelFormat" c:type="CoglPixelFormat"/>
27405 <method name="get_max_tile_waste"
27406 c:identifier="clutter_texture_get_max_tile_waste">
27407 <return-value transfer-ownership="none">
27408 <type name="int" c:type="gint"/>
27411 <method name="set_keep_aspect_ratio"
27412 c:identifier="clutter_texture_set_keep_aspect_ratio"
27414 <doc xml:whitespace="preserve">Sets whether @texture should have a preferred size maintaining
27415 the aspect ratio of the underlying image</doc>
27416 <return-value transfer-ownership="none">
27417 <type name="none" c:type="void"/>
27420 <parameter name="keep_aspect" transfer-ownership="none">
27421 <doc xml:whitespace="preserve">%TRUE to maintain aspect ratio</doc>
27422 <type name="boolean" c:type="gboolean"/>
27426 <method name="get_keep_aspect_ratio"
27427 c:identifier="clutter_texture_get_keep_aspect_ratio"
27429 <doc xml:whitespace="preserve">Retrieves the value set using clutter_texture_set_keep_aspect_ratio()
27430 aspect ratio of the underlying image</doc>
27431 <return-value transfer-ownership="none">
27432 <doc xml:whitespace="preserve">%TRUE if the #ClutterTexture should maintain the</doc>
27433 <type name="boolean" c:type="gboolean"/>
27436 <method name="set_load_async"
27437 c:identifier="clutter_texture_set_load_async"
27439 <doc xml:whitespace="preserve">Sets whether @texture should use a worker thread to load the data
27440 from disk asynchronously. Setting @load_async to %TRUE will make
27441 clutter_texture_set_from_file() return immediately.
27442 See the #ClutterTexture:load-async property documentation, and
27443 clutter_texture_set_load_data_async().</doc>
27444 <return-value transfer-ownership="none">
27445 <type name="none" c:type="void"/>
27448 <parameter name="load_async" transfer-ownership="none">
27449 <doc xml:whitespace="preserve">%TRUE if the texture should asynchronously load data from a filename</doc>
27450 <type name="boolean" c:type="gboolean"/>
27454 <method name="get_load_async"
27455 c:identifier="clutter_texture_get_load_async"
27457 <doc xml:whitespace="preserve">Retrieves the value set using clutter_texture_set_load_async()
27458 disk asynchronously</doc>
27459 <return-value transfer-ownership="none">
27460 <doc xml:whitespace="preserve">%TRUE if the #ClutterTexture should load the data from</doc>
27461 <type name="boolean" c:type="gboolean"/>
27464 <method name="set_load_data_async"
27465 c:identifier="clutter_texture_set_load_data_async"
27467 <doc xml:whitespace="preserve">Sets whether @texture should use a worker thread to load the data
27468 from disk asynchronously. Setting @load_async to %TRUE will make
27469 clutter_texture_set_from_file() block until the #ClutterTexture has
27470 determined the width and height of the image data.
27471 See the #ClutterTexture:load-async property documentation, and
27472 clutter_texture_set_load_async().</doc>
27473 <return-value transfer-ownership="none">
27474 <type name="none" c:type="void"/>
27477 <parameter name="load_async" transfer-ownership="none">
27478 <doc xml:whitespace="preserve">%TRUE if the texture should asynchronously load data from a filename</doc>
27479 <type name="boolean" c:type="gboolean"/>
27483 <method name="get_load_data_async"
27484 c:identifier="clutter_texture_get_load_data_async"
27486 <doc xml:whitespace="preserve">Retrieves the value set by clutter_texture_set_load_data_async()
27487 data from a file asynchronously</doc>
27488 <return-value transfer-ownership="none">
27489 <doc xml:whitespace="preserve">%TRUE if the #ClutterTexture should load the image</doc>
27490 <type name="boolean" c:type="gboolean"/>
27493 <method name="set_pick_with_alpha"
27494 c:identifier="clutter_texture_set_pick_with_alpha"
27496 <doc xml:whitespace="preserve">Sets whether @texture should have it's shape defined by the alpha
27497 channel when picking.
27498 Be aware that this is a bit more costly than the default picking
27499 due to the texture lookup, extra test against the alpha value and
27500 the fact that it will also interrupt the batching of geometry done
27502 Also there is currently no control over the threshold used to
27503 determine what value of alpha is considered pickable, and so only
27504 fully opaque parts of the texture will react to picking.</doc>
27505 <return-value transfer-ownership="none">
27506 <type name="none" c:type="void"/>
27509 <parameter name="pick_with_alpha" transfer-ownership="none">
27510 <doc xml:whitespace="preserve">%TRUE if the alpha channel should affect the picking shape</doc>
27511 <type name="boolean" c:type="gboolean"/>
27515 <method name="get_pick_with_alpha"
27516 c:identifier="clutter_texture_get_pick_with_alpha"
27518 <doc xml:whitespace="preserve">Retrieves the value set by clutter_texture_set_load_data_async()
27519 using the alpha channel when picking.</doc>
27520 <return-value transfer-ownership="none">
27521 <doc xml:whitespace="preserve">%TRUE if the #ClutterTexture should define its shape</doc>
27522 <type name="boolean" c:type="gboolean"/>
27525 <property name="cogl-material" writable="1" transfer-ownership="none">
27526 <type name="Cogl.Handle" c:type="CoglHandle"/>
27528 <property name="cogl-texture" writable="1" transfer-ownership="none">
27529 <type name="Cogl.Handle" c:type="CoglHandle"/>
27531 <property name="disable-slicing"
27534 transfer-ownership="none">
27535 <type name="boolean" c:type="gboolean"/>
27537 <property name="filename" writable="1" transfer-ownership="none">
27538 <doc xml:whitespace="preserve">The path of the file containing the image data to be displayed by
27540 This property is unset when using the clutter_texture_set_from_*_data()
27541 family of functions.</doc>
27542 <type name="utf8" c:type="gchararray"/>
27544 <property name="filter-quality"
27547 transfer-ownership="none">
27548 <type name="TextureQuality" c:type="ClutterTextureQuality"/>
27550 <property name="keep-aspect-ratio"
27552 transfer-ownership="none">
27553 <type name="boolean" c:type="gboolean"/>
27555 <property name="load-async"
27559 transfer-ownership="none">
27560 <doc xml:whitespace="preserve">Tries to load a texture from a filename by using a local thread to perform
27561 the read operations. The initially created texture has dimensions 0x0 when
27562 the true size becomes available the #ClutterTexture::size-change signal is
27563 emitted and when the image has completed loading the
27564 #ClutterTexture::load-finished signal is emitted.
27565 Threading is only enabled if g_thread_init() has been called prior to
27566 clutter_init(), otherwise #ClutterTexture will use the main loop to load
27568 The upload of the texture data on the GL pipeline is not asynchronous, as
27569 it must be performed from within the same thread that called
27570 clutter_main().</doc>
27571 <type name="boolean" c:type="gboolean"/>
27573 <property name="load-data-async"
27577 transfer-ownership="none">
27578 <doc xml:whitespace="preserve">Like #ClutterTexture:load-async but loads the width and height
27579 synchronously causing some blocking.</doc>
27580 <type name="boolean" c:type="gboolean"/>
27582 <property name="pick-with-alpha" writable="1" transfer-ownership="none">
27583 <type name="boolean" c:type="gboolean"/>
27585 <property name="pixel-format" transfer-ownership="none">
27586 <type name="Cogl.PixelFormat" c:type="CoglPixelFormat"/>
27588 <property name="repeat-x" writable="1" transfer-ownership="none">
27589 <type name="boolean" c:type="gboolean"/>
27591 <property name="repeat-y" writable="1" transfer-ownership="none">
27592 <type name="boolean" c:type="gboolean"/>
27594 <property name="sync-size" writable="1" transfer-ownership="none">
27595 <type name="boolean" c:type="gboolean"/>
27597 <property name="tile-waste" transfer-ownership="none">
27598 <type name="int" c:type="gint"/>
27600 <field name="parent">
27601 <type name="Actor" c:type="ClutterActor"/>
27603 <field name="priv">
27604 <type name="TexturePrivate" c:type="ClutterTexturePrivate*"/>
27606 <glib:signal name="load-finished" version="1.0">
27607 <doc xml:whitespace="preserve">The ::load-finished signal is emitted when a texture load has
27608 completed. If there was an error during loading, @error will
27609 be set, otherwise it will be %NULL</doc>
27610 <return-value transfer-ownership="full">
27611 <type name="none" c:type="void"/>
27614 <parameter name="error" transfer-ownership="none">
27615 <doc xml:whitespace="preserve">A set error, or %NULL</doc>
27616 <type name="any" c:type="gpointer"/>
27620 <glib:signal name="pixbuf-change">
27621 <doc xml:whitespace="preserve">The ::pixbuf-change signal is emitted each time the pixbuf
27622 used by @texture changes.</doc>
27623 <return-value transfer-ownership="full">
27624 <type name="none" c:type="void"/>
27627 <glib:signal name="size-change">
27628 <doc xml:whitespace="preserve">The ::size-change signal is emitted each time the size of the
27629 pixbuf used by @texture changes. The new size is given as
27630 argument to the callback.</doc>
27631 <return-value transfer-ownership="full">
27632 <type name="none" c:type="void"/>
27635 <parameter name="width" transfer-ownership="none">
27636 <doc xml:whitespace="preserve">the width of the new texture</doc>
27637 <type name="int" c:type="gint"/>
27639 <parameter name="height" transfer-ownership="none">
27640 <doc xml:whitespace="preserve">the height of the new texture</doc>
27641 <type name="int" c:type="gint"/>
27646 <record name="TextureClass"
27647 c:type="ClutterTextureClass"
27648 glib:is-gtype-struct-for="Texture"
27650 <doc xml:whitespace="preserve">The #ClutterTextureClass structure contains only private data</doc>
27651 <field name="parent_class">
27652 <type name="ActorClass" c:type="ClutterActorClass"/>
27654 <field name="size_change">
27655 <callback name="size_change" c:type="size_change">
27656 <return-value transfer-ownership="none">
27657 <type name="none" c:type="void"/>
27660 <parameter name="texture" transfer-ownership="none">
27661 <type name="Texture" c:type="ClutterTexture*"/>
27663 <parameter name="width" transfer-ownership="none">
27664 <type name="int" c:type="gint"/>
27666 <parameter name="height" transfer-ownership="none">
27667 <type name="int" c:type="gint"/>
27672 <field name="pixbuf_change">
27673 <callback name="pixbuf_change" c:type="pixbuf_change">
27674 <return-value transfer-ownership="none">
27675 <type name="none" c:type="void"/>
27678 <parameter name="texture" transfer-ownership="none">
27679 <type name="Texture" c:type="ClutterTexture*"/>
27684 <field name="load_finished">
27685 <callback name="load_finished" c:type="load_finished">
27686 <return-value transfer-ownership="none">
27687 <type name="none" c:type="void"/>
27690 <parameter name="texture" transfer-ownership="none">
27691 <type name="Texture" c:type="ClutterTexture*"/>
27693 <parameter name="error" transfer-ownership="none">
27694 <type name="GLib.Error" c:type="GError*"/>
27699 <field name="clutter_texture1">
27700 <callback name="clutter_texture1" c:type="_clutter_texture1">
27701 <return-value transfer-ownership="none">
27702 <type name="none" c:type="void"/>
27706 <field name="clutter_texture2">
27707 <callback name="clutter_texture2" c:type="_clutter_texture2">
27708 <return-value transfer-ownership="none">
27709 <type name="none" c:type="void"/>
27713 <field name="clutter_texture3">
27714 <callback name="clutter_texture3" c:type="_clutter_texture3">
27715 <return-value transfer-ownership="none">
27716 <type name="none" c:type="void"/>
27720 <field name="clutter_texture4">
27721 <callback name="clutter_texture4" c:type="_clutter_texture4">
27722 <return-value transfer-ownership="none">
27723 <type name="none" c:type="void"/>
27727 <field name="clutter_texture5">
27728 <callback name="clutter_texture5" c:type="_clutter_texture5">
27729 <return-value transfer-ownership="none">
27730 <type name="none" c:type="void"/>
27735 <enumeration name="TextureError"
27737 glib:type-name="ClutterTextureError"
27738 glib:get-type="clutter_texture_error_get_type"
27739 c:type="ClutterTextureError"
27740 glib:error-quark="clutter_texture_error_quark">
27741 <doc xml:whitespace="preserve">Error enumeration for #ClutterTexture</doc>
27742 <member name="out_of_memory"
27744 c:identifier="CLUTTER_TEXTURE_ERROR_OUT_OF_MEMORY"
27745 glib:nick="out-of-memory"/>
27746 <member name="no_yuv"
27748 c:identifier="CLUTTER_TEXTURE_ERROR_NO_YUV"
27749 glib:nick="no-yuv"/>
27750 <member name="bad_format"
27752 c:identifier="CLUTTER_TEXTURE_ERROR_BAD_FORMAT"
27753 glib:nick="bad-format"/>
27755 <bitfield name="TextureFlags"
27757 glib:type-name="ClutterTextureFlags"
27758 glib:get-type="clutter_texture_flags_get_type"
27759 c:type="ClutterTextureFlags">
27760 <doc xml:whitespace="preserve">Flags for clutter_texture_set_from_rgb_data() and
27761 clutter_texture_set_from_yuv_data().</doc>
27762 <member name="none"
27764 c:identifier="CLUTTER_TEXTURE_NONE"
27766 <member name="rgb_flag_bgr"
27768 c:identifier="CLUTTER_TEXTURE_RGB_FLAG_BGR"
27769 glib:nick="rgb-flag-bgr"/>
27770 <member name="rgb_flag_premult"
27772 c:identifier="CLUTTER_TEXTURE_RGB_FLAG_PREMULT"
27773 glib:nick="rgb-flag-premult"/>
27774 <member name="yuv_flag_yuv2"
27776 c:identifier="CLUTTER_TEXTURE_YUV_FLAG_YUV2"
27777 glib:nick="yuv-flag-yuv2"/>
27779 <record name="TexturePrivate" c:type="ClutterTexturePrivate">
27781 <enumeration name="TextureQuality"
27783 glib:type-name="ClutterTextureQuality"
27784 glib:get-type="clutter_texture_quality_get_type"
27785 c:type="ClutterTextureQuality">
27786 <doc xml:whitespace="preserve">Enumaration controlling the texture quality.</doc>
27789 c:identifier="CLUTTER_TEXTURE_QUALITY_LOW"
27791 <member name="medium"
27793 c:identifier="CLUTTER_TEXTURE_QUALITY_MEDIUM"
27794 glib:nick="medium"/>
27795 <member name="high"
27797 c:identifier="CLUTTER_TEXTURE_QUALITY_HIGH"
27800 <constant name="Thai_baht" value="3551">
27803 <constant name="Thai_bobaimai" value="3514">
27806 <constant name="Thai_chochan" value="3496">
27809 <constant name="Thai_chochang" value="3498">
27812 <constant name="Thai_choching" value="3497">
27815 <constant name="Thai_chochoe" value="3500">
27818 <constant name="Thai_dochada" value="3502">
27821 <constant name="Thai_dodek" value="3508">
27824 <constant name="Thai_fofa" value="3517">
27827 <constant name="Thai_fofan" value="3519">
27830 <constant name="Thai_hohip" value="3531">
27833 <constant name="Thai_honokhuk" value="3534">
27836 <constant name="Thai_khokhai" value="3490">
27839 <constant name="Thai_khokhon" value="3493">
27842 <constant name="Thai_khokhuat" value="3491">
27845 <constant name="Thai_khokhwai" value="3492">
27848 <constant name="Thai_khorakhang" value="3494">
27851 <constant name="Thai_kokai" value="3489">
27854 <constant name="Thai_lakkhangyao" value="3557">
27857 <constant name="Thai_lekchet" value="3575">
27860 <constant name="Thai_lekha" value="3573">
27863 <constant name="Thai_lekhok" value="3574">
27866 <constant name="Thai_lekkao" value="3577">
27869 <constant name="Thai_leknung" value="3569">
27872 <constant name="Thai_lekpaet" value="3576">
27875 <constant name="Thai_leksam" value="3571">
27878 <constant name="Thai_leksi" value="3572">
27881 <constant name="Thai_leksong" value="3570">
27884 <constant name="Thai_leksun" value="3568">
27887 <constant name="Thai_lochula" value="3532">
27890 <constant name="Thai_loling" value="3525">
27893 <constant name="Thai_lu" value="3526">
27896 <constant name="Thai_maichattawa" value="3563">
27899 <constant name="Thai_maiek" value="3560">
27902 <constant name="Thai_maihanakat" value="3537">
27905 <constant name="Thai_maihanakat_maitho" value="3550">
27908 <constant name="Thai_maitaikhu" value="3559">
27911 <constant name="Thai_maitho" value="3561">
27914 <constant name="Thai_maitri" value="3562">
27917 <constant name="Thai_maiyamok" value="3558">
27920 <constant name="Thai_moma" value="3521">
27923 <constant name="Thai_ngongu" value="3495">
27926 <constant name="Thai_nikhahit" value="3565">
27929 <constant name="Thai_nonen" value="3507">
27932 <constant name="Thai_nonu" value="3513">
27935 <constant name="Thai_oang" value="3533">
27938 <constant name="Thai_paiyannoi" value="3535">
27941 <constant name="Thai_phinthu" value="3546">
27944 <constant name="Thai_phophan" value="3518">
27947 <constant name="Thai_phophung" value="3516">
27950 <constant name="Thai_phosamphao" value="3520">
27953 <constant name="Thai_popla" value="3515">
27956 <constant name="Thai_rorua" value="3523">
27959 <constant name="Thai_ru" value="3524">
27962 <constant name="Thai_saraa" value="3536">
27965 <constant name="Thai_saraaa" value="3538">
27968 <constant name="Thai_saraae" value="3553">
27971 <constant name="Thai_saraaimaimalai" value="3556">
27974 <constant name="Thai_saraaimaimuan" value="3555">
27977 <constant name="Thai_saraam" value="3539">
27980 <constant name="Thai_sarae" value="3552">
27983 <constant name="Thai_sarai" value="3540">
27986 <constant name="Thai_saraii" value="3541">
27989 <constant name="Thai_sarao" value="3554">
27992 <constant name="Thai_sarau" value="3544">
27995 <constant name="Thai_saraue" value="3542">
27998 <constant name="Thai_sarauee" value="3543">
28001 <constant name="Thai_sarauu" value="3545">
28004 <constant name="Thai_sorusi" value="3529">
28007 <constant name="Thai_sosala" value="3528">
28010 <constant name="Thai_soso" value="3499">
28013 <constant name="Thai_sosua" value="3530">
28016 <constant name="Thai_thanthakhat" value="3564">
28019 <constant name="Thai_thonangmontho" value="3505">
28022 <constant name="Thai_thophuthao" value="3506">
28025 <constant name="Thai_thothahan" value="3511">
28028 <constant name="Thai_thothan" value="3504">
28031 <constant name="Thai_thothong" value="3512">
28034 <constant name="Thai_thothung" value="3510">
28037 <constant name="Thai_topatak" value="3503">
28040 <constant name="Thai_totao" value="3509">
28043 <constant name="Thai_wowaen" value="3527">
28046 <constant name="Thai_yoyak" value="3522">
28049 <constant name="Thai_yoying" value="3501">
28052 <constant name="Thorn" value="222">
28055 <class name="Timeline"
28056 c:type="ClutterTimeline"
28058 parent="GObject.Object"
28059 glib:type-name="ClutterTimeline"
28060 glib:get-type="clutter_timeline_get_type"
28061 glib:type-struct="TimelineClass">
28062 <doc xml:whitespace="preserve">The #ClutterTimeline structure contains only private data
28063 and should be accessed using the provided API</doc>
28064 <constructor name="new"
28065 c:identifier="clutter_timeline_new"
28067 <doc xml:whitespace="preserve">Creates a new #ClutterTimeline with a duration of @msecs.
28068 g_object_unref() when done using it</doc>
28069 <return-value transfer-ownership="full">
28070 <doc xml:whitespace="preserve">the newly created #ClutterTimeline instance. Use</doc>
28071 <type name="Timeline" c:type="ClutterTimeline*"/>
28074 <parameter name="msecs" transfer-ownership="none">
28075 <doc xml:whitespace="preserve">Duration of the timeline in milliseconds</doc>
28076 <type name="uint" c:type="guint"/>
28080 <method name="clone" c:identifier="clutter_timeline_clone" version="0.4">
28081 <doc xml:whitespace="preserve">Create a new #ClutterTimeline instance which has property values
28082 matching that of supplied timeline. The cloned timeline will not
28083 be started and will not be positioned to the current position of</doc>
28084 <return-value transfer-ownership="full">
28085 <doc xml:whitespace="preserve">a new #ClutterTimeline, cloned from @timeline</doc>
28086 <type name="Timeline" c:type="ClutterTimeline*"/>
28089 <method name="get_duration"
28090 c:identifier="clutter_timeline_get_duration"
28092 <doc xml:whitespace="preserve">Retrieves the duration of a #ClutterTimeline in milliseconds.
28093 See clutter_timeline_set_duration().</doc>
28094 <return-value transfer-ownership="none">
28095 <doc xml:whitespace="preserve">the duration of the timeline, in milliseconds.</doc>
28096 <type name="uint" c:type="guint"/>
28099 <method name="set_duration"
28100 c:identifier="clutter_timeline_set_duration"
28102 <doc xml:whitespace="preserve">Sets the duration of the timeline, in milliseconds. The speed
28103 of the timeline depends on the ClutterTimeline:fps setting.</doc>
28104 <return-value transfer-ownership="none">
28105 <type name="none" c:type="void"/>
28108 <parameter name="msecs" transfer-ownership="none">
28109 <doc xml:whitespace="preserve">duration of the timeline in milliseconds</doc>
28110 <type name="uint" c:type="guint"/>
28114 <method name="get_direction"
28115 c:identifier="clutter_timeline_get_direction"
28117 <doc xml:whitespace="preserve">Retrieves the direction of the timeline set with
28118 clutter_timeline_set_direction().</doc>
28119 <return-value transfer-ownership="full">
28120 <doc xml:whitespace="preserve">the direction of the timeline</doc>
28121 <type name="TimelineDirection" c:type="ClutterTimelineDirection"/>
28124 <method name="set_direction"
28125 c:identifier="clutter_timeline_set_direction"
28127 <doc xml:whitespace="preserve">Sets the direction of @timeline, either %CLUTTER_TIMELINE_FORWARD or
28128 %CLUTTER_TIMELINE_BACKWARD.</doc>
28129 <return-value transfer-ownership="none">
28130 <type name="none" c:type="void"/>
28133 <parameter name="direction" transfer-ownership="none">
28134 <doc xml:whitespace="preserve">the direction of the timeline</doc>
28135 <type name="TimelineDirection" c:type="ClutterTimelineDirection"/>
28139 <method name="start" c:identifier="clutter_timeline_start">
28140 <doc xml:whitespace="preserve">Starts the #ClutterTimeline playing.</doc>
28141 <return-value transfer-ownership="none">
28142 <type name="none" c:type="void"/>
28145 <method name="pause" c:identifier="clutter_timeline_pause">
28146 <doc xml:whitespace="preserve">Pauses the #ClutterTimeline on current frame</doc>
28147 <return-value transfer-ownership="none">
28148 <type name="none" c:type="void"/>
28151 <method name="stop" c:identifier="clutter_timeline_stop">
28152 <doc xml:whitespace="preserve">Stops the #ClutterTimeline and moves to frame 0</doc>
28153 <return-value transfer-ownership="none">
28154 <type name="none" c:type="void"/>
28157 <method name="set_loop" c:identifier="clutter_timeline_set_loop">
28158 <doc xml:whitespace="preserve">Sets whether @timeline should loop.</doc>
28159 <return-value transfer-ownership="none">
28160 <type name="none" c:type="void"/>
28163 <parameter name="loop" transfer-ownership="none">
28164 <doc xml:whitespace="preserve">%TRUE for enable looping</doc>
28165 <type name="boolean" c:type="gboolean"/>
28169 <method name="get_loop" c:identifier="clutter_timeline_get_loop">
28170 <doc xml:whitespace="preserve">Gets whether @timeline is looping</doc>
28171 <return-value transfer-ownership="none">
28172 <doc xml:whitespace="preserve">%TRUE if the timeline is looping</doc>
28173 <type name="boolean" c:type="gboolean"/>
28176 <method name="rewind" c:identifier="clutter_timeline_rewind">
28177 <doc xml:whitespace="preserve">Rewinds #ClutterTimeline to the first frame if its direction is
28178 %CLUTTER_TIMELINE_FORWARD and the last frame if it is
28179 %CLUTTER_TIMELINE_BACKWARD.</doc>
28180 <return-value transfer-ownership="none">
28181 <type name="none" c:type="void"/>
28184 <method name="skip" c:identifier="clutter_timeline_skip">
28185 <doc xml:whitespace="preserve">Advance timeline by the requested time in milliseconds</doc>
28186 <return-value transfer-ownership="none">
28187 <type name="none" c:type="void"/>
28190 <parameter name="msecs" transfer-ownership="none">
28191 <doc xml:whitespace="preserve">Amount of time to skip</doc>
28192 <type name="uint" c:type="guint"/>
28196 <method name="advance" c:identifier="clutter_timeline_advance">
28197 <doc xml:whitespace="preserve">Advance timeline to the requested point. The point is given as a
28198 time in milliseconds since the timeline started.
28199 <note><para>The @timeline will not emit the #ClutterTimeline::new-frame
28200 signal for the given time. The first ::new-frame signal after the call to
28201 clutter_timeline_advance() will be emit the skipped markers.
28202 </para></note></doc>
28203 <return-value transfer-ownership="none">
28204 <type name="none" c:type="void"/>
28207 <parameter name="msecs" transfer-ownership="none">
28208 <doc xml:whitespace="preserve">Time to advance to</doc>
28209 <type name="uint" c:type="guint"/>
28213 <method name="get_elapsed_time"
28214 c:identifier="clutter_timeline_get_elapsed_time">
28215 <doc xml:whitespace="preserve">Request the current time position of the timeline.</doc>
28216 <return-value transfer-ownership="none">
28217 <doc xml:whitespace="preserve">current elapsed time in milliseconds.</doc>
28218 <type name="uint" c:type="guint"/>
28221 <method name="get_progress"
28222 c:identifier="clutter_timeline_get_progress"
28224 <doc xml:whitespace="preserve">The position of the timeline in a [0, 1] interval.</doc>
28225 <return-value transfer-ownership="none">
28226 <doc xml:whitespace="preserve">the position of the timeline.</doc>
28227 <type name="double" c:type="gdouble"/>
28230 <method name="is_playing" c:identifier="clutter_timeline_is_playing">
28231 <doc xml:whitespace="preserve">Queries state of a #ClutterTimeline.</doc>
28232 <return-value transfer-ownership="none">
28233 <doc xml:whitespace="preserve">%TRUE if timeline is currently playing</doc>
28234 <type name="boolean" c:type="gboolean"/>
28237 <method name="set_delay"
28238 c:identifier="clutter_timeline_set_delay"
28240 <doc xml:whitespace="preserve">Sets the delay, in milliseconds, before @timeline should start.</doc>
28241 <return-value transfer-ownership="none">
28242 <type name="none" c:type="void"/>
28245 <parameter name="msecs" transfer-ownership="none">
28246 <doc xml:whitespace="preserve">delay in milliseconds</doc>
28247 <type name="uint" c:type="guint"/>
28251 <method name="get_delay"
28252 c:identifier="clutter_timeline_get_delay"
28254 <doc xml:whitespace="preserve">Retrieves the delay set using clutter_timeline_set_delay().</doc>
28255 <return-value transfer-ownership="none">
28256 <doc xml:whitespace="preserve">the delay in milliseconds.</doc>
28257 <type name="uint" c:type="guint"/>
28260 <method name="get_delta"
28261 c:identifier="clutter_timeline_get_delta"
28263 <doc xml:whitespace="preserve">Retrieves the amount of time elapsed since the last
28264 ClutterTimeline::new-frame signal.
28265 This function is only useful inside handlers for the ::new-frame
28266 signal, and its behaviour is undefined if the timeline is not
28269 <return-value transfer-ownership="none">
28270 <doc xml:whitespace="preserve">the amount of time in milliseconds elapsed since the</doc>
28271 <type name="uint" c:type="guint"/>
28274 <method name="add_marker_at_time"
28275 c:identifier="clutter_timeline_add_marker_at_time"
28277 <doc xml:whitespace="preserve">Adds a named marker that will be hit when the timeline has been
28278 running for @msecs milliseconds. Markers are unique string
28279 identifiers for a given time. Once @timeline reaches
28280 attached to that time.
28281 A marker can be removed with clutter_timeline_remove_marker(). The
28282 timeline can be advanced to a marker using
28283 clutter_timeline_advance_to_marker().</doc>
28284 <return-value transfer-ownership="none">
28285 <type name="none" c:type="void"/>
28288 <parameter name="marker_name" transfer-ownership="none">
28289 <doc xml:whitespace="preserve">the unique name for this marker</doc>
28290 <type name="utf8" c:type="gchar*"/>
28292 <parameter name="msecs" transfer-ownership="none">
28293 <doc xml:whitespace="preserve">position of the marker in milliseconds</doc>
28294 <type name="uint" c:type="guint"/>
28298 <method name="remove_marker"
28299 c:identifier="clutter_timeline_remove_marker"
28301 <doc xml:whitespace="preserve">Removes @marker_name, if found, from @timeline.</doc>
28302 <return-value transfer-ownership="none">
28303 <type name="none" c:type="void"/>
28306 <parameter name="marker_name" transfer-ownership="none">
28307 <doc xml:whitespace="preserve">the name of the marker to remove</doc>
28308 <type name="utf8" c:type="gchar*"/>
28312 <method name="list_markers"
28313 c:identifier="clutter_timeline_list_markers"
28315 <doc xml:whitespace="preserve">Retrieves the list of markers at time @msecs. If @frame_num is a
28316 negative integer, all the markers attached to @timeline will be
28318 allocated, %NULL terminated string array containing the names of
28319 the markers. Use g_strfreev() when done.</doc>
28320 <return-value transfer-ownership="full">
28321 <doc xml:whitespace="preserve">a newly</doc>
28322 <array length="2" c:type="gchar**">
28323 <type name="utf8"/>
28327 <parameter name="msecs" transfer-ownership="none">
28328 <doc xml:whitespace="preserve">the time to check, or -1</doc>
28329 <type name="int" c:type="gint"/>
28331 <parameter name="n_markers"
28333 caller-allocates="0"
28334 transfer-ownership="full">
28335 <doc xml:whitespace="preserve">the number of markers returned</doc>
28336 <type name="gsize" c:type="gsize*"/>
28340 <method name="has_marker"
28341 c:identifier="clutter_timeline_has_marker"
28343 <doc xml:whitespace="preserve">Checks whether @timeline has a marker set with the given name.</doc>
28344 <return-value transfer-ownership="none">
28345 <doc xml:whitespace="preserve">%TRUE if the marker was found</doc>
28346 <type name="boolean" c:type="gboolean"/>
28349 <parameter name="marker_name" transfer-ownership="none">
28350 <doc xml:whitespace="preserve">the name of the marker</doc>
28351 <type name="utf8" c:type="gchar*"/>
28355 <method name="advance_to_marker"
28356 c:identifier="clutter_timeline_advance_to_marker"
28358 <doc xml:whitespace="preserve">Advances @timeline to the time of the given @marker_name.
28359 <note><para>Like clutter_timeline_advance(), this function will not
28360 emit the #ClutterTimeline::new-frame for the time where @marker_name
28361 is set, nor it will emit #ClutterTimeline::marker-reached for</doc>
28362 <return-value transfer-ownership="none">
28363 <type name="none" c:type="void"/>
28366 <parameter name="marker_name" transfer-ownership="none">
28367 <doc xml:whitespace="preserve">the name of the marker</doc>
28368 <type name="utf8" c:type="gchar*"/>
28372 <method name="do_tick" c:identifier="clutter_timeline_do_tick">
28373 <return-value transfer-ownership="none">
28374 <type name="none" c:type="void"/>
28377 <parameter name="tick_time" transfer-ownership="none">
28378 <type name="GLib.TimeVal" c:type="GTimeVal*"/>
28382 <property name="delay"
28385 transfer-ownership="none">
28386 <doc xml:whitespace="preserve">A delay, in milliseconds, that should be observed by the
28387 timeline before actually starting.</doc>
28388 <type name="uint" c:type="guint"/>
28390 <property name="direction"
28393 transfer-ownership="none">
28394 <doc xml:whitespace="preserve">The direction of the timeline, either %CLUTTER_TIMELINE_FORWARD or
28395 %CLUTTER_TIMELINE_BACKWARD.</doc>
28396 <type name="TimelineDirection" c:type="ClutterTimelineDirection"/>
28398 <property name="duration"
28401 transfer-ownership="none">
28402 <doc xml:whitespace="preserve">Duration of the timeline in milliseconds, depending on the
28403 ClutterTimeline:fps value.</doc>
28404 <type name="uint" c:type="guint"/>
28406 <property name="loop" writable="1" transfer-ownership="none">
28407 <doc xml:whitespace="preserve">Whether the timeline should automatically rewind and restart.</doc>
28408 <type name="boolean" c:type="gboolean"/>
28410 <field name="parent">
28411 <type name="GObject.Object" c:type="GObject"/>
28413 <field name="priv">
28414 <type name="TimelinePrivate" c:type="ClutterTimelinePrivate*"/>
28416 <glib:signal name="completed">
28417 <doc xml:whitespace="preserve">The ::completed signal is emitted when the timeline reaches the
28418 number of frames specified by the ClutterTimeline:num-frames property.</doc>
28419 <return-value transfer-ownership="full">
28420 <type name="none" c:type="void"/>
28423 <glib:signal name="marker-reached" version="0.8">
28424 <doc xml:whitespace="preserve">The ::marker-reached signal is emitted each time a timeline
28425 reaches a marker set with
28426 clutter_timeline_add_marker_at_time(). This signal is detailed
28427 with the name of the marker as well, so it is possible to connect
28428 a callback to the ::marker-reached signal for a specific marker
28430 <informalexample><programlisting>
28431 clutter_timeline_add_marker_at_time (timeline, "foo", 500);
28432 clutter_timeline_add_marker_at_time (timeline, "bar", 750);
28433 g_signal_connect (timeline, "marker-reached",
28434 G_CALLBACK (each_marker_reached), NULL);
28435 g_signal_connect (timeline, "marker-reached::foo",
28436 G_CALLBACK (foo_marker_reached), NULL);
28437 g_signal_connect (timeline, "marker-reached::bar",
28438 G_CALLBACK (bar_marker_reached), NULL);
28439 </programlisting></informalexample>
28440 In the example, the first callback will be invoked for both
28441 the "foo" and "bar" marker, while the second and third callbacks
28442 will be invoked for the "foo" or "bar" markers, respectively.</doc>
28443 <return-value transfer-ownership="full">
28444 <type name="none" c:type="void"/>
28447 <parameter name="marker_name" transfer-ownership="none">
28448 <doc xml:whitespace="preserve">the name of the marker reached</doc>
28449 <type name="utf8" c:type="gchararray"/>
28451 <parameter name="msecs" transfer-ownership="none">
28452 <doc xml:whitespace="preserve">the elapsed time</doc>
28453 <type name="int" c:type="gint"/>
28457 <glib:signal name="new-frame">
28458 <doc xml:whitespace="preserve">The ::new-frame signal is emitted for each timeline running
28459 timeline before a new frame is drawn to give animations a chance
28460 to update the scene.</doc>
28461 <return-value transfer-ownership="full">
28462 <type name="none" c:type="void"/>
28465 <parameter name="msecs" transfer-ownership="none">
28466 <doc xml:whitespace="preserve">the elapsed time between 0 and duration</doc>
28467 <type name="int" c:type="gint"/>
28471 <glib:signal name="paused">
28472 <doc xml:whitespace="preserve">The ::paused signal is emitted when clutter_timeline_pause() is invoked.</doc>
28473 <return-value transfer-ownership="full">
28474 <type name="none" c:type="void"/>
28477 <glib:signal name="started">
28478 <doc xml:whitespace="preserve">The ::started signal is emitted when the timeline starts its run.
28479 This might be as soon as clutter_timeline_start() is invoked or
28480 after the delay set in the ClutterTimeline:delay property has
28482 <return-value transfer-ownership="full">
28483 <type name="none" c:type="void"/>
28487 <record name="TimelineClass"
28488 c:type="ClutterTimelineClass"
28489 glib:is-gtype-struct-for="Timeline"
28491 <doc xml:whitespace="preserve">The #ClutterTimelineClass structure contains only private data</doc>
28492 <field name="parent_class">
28493 <type name="GObject.ObjectClass" c:type="GObjectClass"/>
28495 <field name="started">
28496 <callback name="started" c:type="started">
28497 <return-value transfer-ownership="none">
28498 <type name="none" c:type="void"/>
28501 <parameter name="timeline" transfer-ownership="none">
28502 <type name="Timeline" c:type="ClutterTimeline*"/>
28507 <field name="completed">
28508 <callback name="completed" c:type="completed">
28509 <return-value transfer-ownership="none">
28510 <type name="none" c:type="void"/>
28513 <parameter name="timeline" transfer-ownership="none">
28514 <type name="Timeline" c:type="ClutterTimeline*"/>
28519 <field name="paused">
28520 <callback name="paused" c:type="paused">
28521 <return-value transfer-ownership="none">
28522 <type name="none" c:type="void"/>
28525 <parameter name="timeline" transfer-ownership="none">
28526 <type name="Timeline" c:type="ClutterTimeline*"/>
28531 <field name="new_frame">
28532 <callback name="new_frame" c:type="new_frame">
28533 <return-value transfer-ownership="none">
28534 <type name="none" c:type="void"/>
28537 <parameter name="timeline" transfer-ownership="none">
28538 <type name="Timeline" c:type="ClutterTimeline*"/>
28540 <parameter name="frame_num" transfer-ownership="none">
28541 <type name="int" c:type="gint"/>
28546 <field name="marker_reached">
28547 <callback name="marker_reached" c:type="marker_reached">
28548 <return-value transfer-ownership="none">
28549 <type name="none" c:type="void"/>
28552 <parameter name="timeline" transfer-ownership="none">
28553 <type name="Timeline" c:type="ClutterTimeline*"/>
28555 <parameter name="marker_name" transfer-ownership="none">
28556 <type name="utf8" c:type="gchar*"/>
28558 <parameter name="frame_num" transfer-ownership="none">
28559 <type name="int" c:type="gint"/>
28564 <field name="clutter_timeline_1">
28565 <callback name="clutter_timeline_1" c:type="_clutter_timeline_1">
28566 <return-value transfer-ownership="none">
28567 <type name="none" c:type="void"/>
28571 <field name="clutter_timeline_2">
28572 <callback name="clutter_timeline_2" c:type="_clutter_timeline_2">
28573 <return-value transfer-ownership="none">
28574 <type name="none" c:type="void"/>
28578 <field name="clutter_timeline_3">
28579 <callback name="clutter_timeline_3" c:type="_clutter_timeline_3">
28580 <return-value transfer-ownership="none">
28581 <type name="none" c:type="void"/>
28585 <field name="clutter_timeline_4">
28586 <callback name="clutter_timeline_4" c:type="_clutter_timeline_4">
28587 <return-value transfer-ownership="none">
28588 <type name="none" c:type="void"/>
28592 <field name="clutter_timeline_5">
28593 <callback name="clutter_timeline_5" c:type="_clutter_timeline_5">
28594 <return-value transfer-ownership="none">
28595 <type name="none" c:type="void"/>
28600 <enumeration name="TimelineDirection"
28602 glib:type-name="ClutterTimelineDirection"
28603 glib:get-type="clutter_timeline_direction_get_type"
28604 c:type="ClutterTimelineDirection">
28605 <doc xml:whitespace="preserve">The direction of a #ClutterTimeline</doc>
28606 <member name="forward"
28608 c:identifier="CLUTTER_TIMELINE_FORWARD"
28609 glib:nick="forward"/>
28610 <member name="backward"
28612 c:identifier="CLUTTER_TIMELINE_BACKWARD"
28613 glib:nick="backward"/>
28615 <record name="TimelinePrivate" c:type="ClutterTimelinePrivate">
28617 <record name="TimeoutPool" c:type="ClutterTimeoutPool">
28618 <constructor name="new"
28619 c:identifier="clutter_timeout_pool_new"
28621 <doc xml:whitespace="preserve">Creates a new timeout pool source. A timeout pool should be used when
28622 multiple timeout functions, running at the same priority, are needed and
28623 the g_timeout_add() API might lead to starvation of the time slice of
28624 the main loop. A timeout pool allocates a single time slice of the main
28625 loop and runs every timeout function inside it. The timeout pool is
28626 always sorted, so that the extraction of the next timeout function is
28627 a constant time operation.
28628 is owned by the GLib default context and will be automatically
28629 destroyed when the context is destroyed. It is possible to force
28630 the destruction of the timeout pool using g_source_destroy()</doc>
28631 <return-value transfer-ownership="full">
28632 <doc xml:whitespace="preserve">the newly created #ClutterTimeoutPool. The created pool</doc>
28633 <type name="TimeoutPool" c:type="ClutterTimeoutPool*"/>
28636 <parameter name="priority" transfer-ownership="none">
28637 <doc xml:whitespace="preserve">the priority of the timeout pool. Typically this will be #G_PRIORITY_DEFAULT</doc>
28638 <type name="int" c:type="gint"/>
28642 <method name="add" c:identifier="clutter_timeout_pool_add" version="0.4">
28643 <doc xml:whitespace="preserve">Sets a function to be called at regular intervals, and puts it inside
28644 the @pool. The function is repeatedly called until it returns %FALSE,
28645 at which point the timeout is automatically destroyed and the function
28646 won't be called again. If @notify is not %NULL, the @notify function
28647 will be called. The first call to @func will be at the end of @interval.
28648 Since Clutter 0.8 this will try to compensate for delays. For
28649 example, if @func takes half the interval time to execute then the
28650 function will be called again half the interval time after it
28651 finished. Before version 0.8 it would not fire until a full
28652 interval after the function completes so the delay between calls
28653 would be @interval * 1.5. This function does not however try to
28654 invoke the function multiple times to catch up missing frames if
28655 Use clutter_timeout_pool_remove() to stop the timeout.</doc>
28656 <return-value transfer-ownership="none">
28657 <doc xml:whitespace="preserve">the ID (greater than 0) of the timeout inside the pool.</doc>
28658 <type name="uint" c:type="guint"/>
28661 <parameter name="fps" transfer-ownership="none">
28662 <doc xml:whitespace="preserve">the time between calls to the function, in frames per second</doc>
28663 <type name="uint" c:type="guint"/>
28665 <parameter name="func"
28666 transfer-ownership="none"
28670 <doc xml:whitespace="preserve">function to call</doc>
28671 <type name="GLib.SourceFunc" c:type="GSourceFunc"/>
28673 <parameter name="data" transfer-ownership="none">
28674 <doc xml:whitespace="preserve">data to pass to the function, or %NULL</doc>
28675 <type name="any" c:type="gpointer"/>
28677 <parameter name="notify" transfer-ownership="none" scope="call">
28678 <doc xml:whitespace="preserve">function to call when the timeout is removed, or %NULL</doc>
28679 <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
28683 <method name="remove"
28684 c:identifier="clutter_timeout_pool_remove"
28686 <doc xml:whitespace="preserve">Removes a timeout function with @id from the timeout pool. The id
28687 is the same returned when adding a function to the timeout pool with
28688 clutter_timeout_pool_add().</doc>
28689 <return-value transfer-ownership="none">
28690 <type name="none" c:type="void"/>
28693 <parameter name="id" transfer-ownership="none">
28694 <doc xml:whitespace="preserve">the id of the timeout to remove</doc>
28695 <type name="uint" c:type="guint"/>
28700 <constant name="Touroku" value="65323">
28703 <constant name="Tslash" value="940">
28706 <constant name="U" value="85">
28709 <constant name="Uacute" value="218">
28712 <constant name="Ubelowdot" value="16785124">
28715 <constant name="Ubreve" value="733">
28718 <constant name="Ucircumflex" value="219">
28721 <constant name="Udiaeresis" value="220">
28724 <constant name="Udoubleacute" value="475">
28727 <constant name="Ugrave" value="217">
28730 <constant name="Uhook" value="16785126">
28733 <constant name="Uhorn" value="16777647">
28736 <constant name="Uhornacute" value="16785128">
28739 <constant name="Uhornbelowdot" value="16785136">
28742 <constant name="Uhorngrave" value="16785130">
28745 <constant name="Uhornhook" value="16785132">
28748 <constant name="Uhorntilde" value="16785134">
28751 <constant name="Ukrainian_GHE_WITH_UPTURN" value="1725">
28754 <constant name="Ukrainian_I" value="1718">
28757 <constant name="Ukrainian_IE" value="1716">
28760 <constant name="Ukrainian_YI" value="1719">
28763 <constant name="Ukrainian_ghe_with_upturn" value="1709">
28766 <constant name="Ukrainian_i" value="1702">
28769 <constant name="Ukrainian_ie" value="1700">
28772 <constant name="Ukrainian_yi" value="1703">
28775 <constant name="Ukranian_I" value="1718">
28778 <constant name="Ukranian_JE" value="1716">
28781 <constant name="Ukranian_YI" value="1719">
28784 <constant name="Ukranian_i" value="1702">
28787 <constant name="Ukranian_je" value="1700">
28790 <constant name="Ukranian_yi" value="1703">
28793 <constant name="Umacron" value="990">
28796 <constant name="Undo" value="65381">
28799 <enumeration name="UnitType"
28801 glib:type-name="ClutterUnitType"
28802 glib:get-type="clutter_unit_type_get_type"
28803 c:type="ClutterUnitType">
28804 <doc xml:whitespace="preserve">The type of unit in which a value is expressed
28805 This enumeration might be expanded at later date</doc>
28806 <member name="pixel"
28808 c:identifier="CLUTTER_UNIT_PIXEL"
28809 glib:nick="pixel"/>
28812 c:identifier="CLUTTER_UNIT_EM"
28816 c:identifier="CLUTTER_UNIT_MM"
28818 <member name="point"
28820 c:identifier="CLUTTER_UNIT_POINT"
28821 glib:nick="point"/>
28824 c:identifier="CLUTTER_UNIT_CM"
28827 <record name="Units"
28828 c:type="ClutterUnits"
28830 glib:type-name="ClutterUnits"
28831 glib:get-type="clutter_units_get_type">
28832 <doc xml:whitespace="preserve">An opaque structure, to be used to store sizing and positioning
28833 values along with their unit.</doc>
28834 <field name="unit_type" writable="1">
28835 <type name="UnitType" c:type="ClutterUnitType"/>
28837 <field name="value" writable="1">
28838 <type name="float" c:type="gfloat"/>
28840 <field name="pixels" writable="1">
28841 <type name="float" c:type="gfloat"/>
28843 <field name="pixels_set" writable="1">
28844 <type name="uint" c:type="guint"/>
28846 <field name="serial" writable="1">
28847 <type name="int32" c:type="gint32"/>
28849 <field name="__padding_1" writable="1">
28850 <type name="int32" c:type="gint32"/>
28852 <field name="__padding_2" writable="1">
28853 <type name="int64" c:type="gint64"/>
28855 <method name="get_unit_type"
28856 c:identifier="clutter_units_get_unit_type"
28858 <doc xml:whitespace="preserve">Retrieves the unit type of the value stored inside @units</doc>
28859 <return-value transfer-ownership="full">
28860 <doc xml:whitespace="preserve">a unit type</doc>
28861 <type name="UnitType" c:type="ClutterUnitType"/>
28864 <method name="get_unit_value"
28865 c:identifier="clutter_units_get_unit_value"
28867 <doc xml:whitespace="preserve">Retrieves the value stored inside @units</doc>
28868 <return-value transfer-ownership="none">
28869 <doc xml:whitespace="preserve">the value stored inside a #ClutterUnits</doc>
28870 <type name="float" c:type="gfloat"/>
28873 <method name="copy" c:identifier="clutter_units_copy" version="1.0">
28874 <doc xml:whitespace="preserve">Copies @units
28875 Use clutter_units_free() to free the allocated resources</doc>
28876 <return-value transfer-ownership="full">
28877 <doc xml:whitespace="preserve">the newly created copy of a #ClutterUnits structure.</doc>
28878 <type name="Units" c:type="ClutterUnits*"/>
28881 <method name="free" c:identifier="clutter_units_free" version="1.0">
28882 <doc xml:whitespace="preserve">Frees the resources allocated by @units
28883 You should only call this function on a #ClutterUnits
28884 created using clutter_units_copy()</doc>
28885 <return-value transfer-ownership="none">
28886 <type name="none" c:type="void"/>
28889 <method name="from_pixels"
28890 c:identifier="clutter_units_from_pixels"
28892 <doc xml:whitespace="preserve">Stores a value in pixels inside @units</doc>
28893 <return-value transfer-ownership="none">
28894 <type name="none" c:type="void"/>
28897 <parameter name="px" transfer-ownership="none">
28898 <doc xml:whitespace="preserve">pixels</doc>
28899 <type name="int" c:type="gint"/>
28903 <method name="from_em"
28904 c:identifier="clutter_units_from_em"
28906 <doc xml:whitespace="preserve">Stores a value in em inside @units, using the default font
28907 name as returned by clutter_backend_get_font_name()</doc>
28908 <return-value transfer-ownership="none">
28909 <type name="none" c:type="void"/>
28912 <parameter name="em" transfer-ownership="none">
28913 <doc xml:whitespace="preserve">em</doc>
28914 <type name="float" c:type="gfloat"/>
28918 <method name="from_em_for_font"
28919 c:identifier="clutter_units_from_em_for_font"
28921 <doc xml:whitespace="preserve">Stores a value in em inside @units using @font_name</doc>
28922 <return-value transfer-ownership="none">
28923 <type name="none" c:type="void"/>
28926 <parameter name="font_name" transfer-ownership="none">
28927 <doc xml:whitespace="preserve">the font name and size</doc>
28928 <type name="utf8" c:type="gchar*"/>
28930 <parameter name="em" transfer-ownership="none">
28931 <doc xml:whitespace="preserve">em</doc>
28932 <type name="float" c:type="gfloat"/>
28936 <method name="from_mm"
28937 c:identifier="clutter_units_from_mm"
28939 <doc xml:whitespace="preserve">Stores a value in millimiters inside @units</doc>
28940 <return-value transfer-ownership="none">
28941 <type name="none" c:type="void"/>
28944 <parameter name="mm" transfer-ownership="none">
28945 <doc xml:whitespace="preserve">millimeters</doc>
28946 <type name="float" c:type="gfloat"/>
28950 <method name="from_cm"
28951 c:identifier="clutter_units_from_cm"
28953 <doc xml:whitespace="preserve">Stores a value in centimeters inside @units</doc>
28954 <return-value transfer-ownership="none">
28955 <type name="none" c:type="void"/>
28958 <parameter name="cm" transfer-ownership="none">
28959 <doc xml:whitespace="preserve">centimeters</doc>
28960 <type name="float" c:type="gfloat"/>
28964 <method name="from_pt"
28965 c:identifier="clutter_units_from_pt"
28967 <doc xml:whitespace="preserve">Stores a value in typographic points inside @units</doc>
28968 <return-value transfer-ownership="none">
28969 <type name="none" c:type="void"/>
28972 <parameter name="pt" transfer-ownership="none">
28973 <doc xml:whitespace="preserve">typographic points</doc>
28974 <type name="float" c:type="gfloat"/>
28978 <method name="to_pixels"
28979 c:identifier="clutter_units_to_pixels"
28981 <doc xml:whitespace="preserve">Converts a value in #ClutterUnits to pixels</doc>
28982 <return-value transfer-ownership="none">
28983 <doc xml:whitespace="preserve">the value in pixels</doc>
28984 <type name="float" c:type="gfloat"/>
28987 <method name="from_string"
28988 c:identifier="clutter_units_from_string"
28990 <doc xml:whitespace="preserve">Parses a value and updates @units with it
28991 A #ClutterUnits expressed in string should match:
28993 | digit* sep digit+
28995 For instance, these are valid strings:
29003 While these are not:
29008 <note><para>If no unit is specified, pixels are assumed.</para></note>
29009 and %FALSE otherwise</doc>
29010 <return-value transfer-ownership="none">
29011 <doc xml:whitespace="preserve">%TRUE if the string was successfully parsed,</doc>
29012 <type name="boolean" c:type="gboolean"/>
29015 <parameter name="str" transfer-ownership="none">
29016 <doc xml:whitespace="preserve">the string to convert</doc>
29017 <type name="utf8" c:type="gchar*"/>
29021 <method name="to_string"
29022 c:identifier="clutter_units_to_string"
29024 <doc xml:whitespace="preserve">Converts @units into a string
29025 See clutter_units_from_string() for the units syntax and for
29027 <note>Fractional values are truncated to the second decimal
29028 position for em, mm and cm, and to the first decimal position for
29029 typographic points. Pixels are integers.</note>
29030 #ClutterUnits value. Use g_free() to free the string</doc>
29031 <return-value transfer-ownership="full">
29032 <doc xml:whitespace="preserve">a newly allocated string containing the encoded</doc>
29033 <type name="utf8" c:type="gchar*"/>
29037 <constant name="Uogonek" value="985">
29040 <constant name="Up" value="65362">
29043 <constant name="Uring" value="473">
29046 <constant name="Utilde" value="989">
29049 <constant name="V" value="86">
29052 <constant name="VERSION" value="1.3">
29053 <type name="double"/>
29055 <constant name="VERSION_HEX" value="0">
29058 <constant name="VERSION_S" value="1.3.13">
29059 <type name="utf8"/>
29061 <record name="Vertex"
29062 c:type="ClutterVertex"
29064 glib:type-name="ClutterVertex"
29065 glib:get-type="clutter_vertex_get_type">
29066 <doc xml:whitespace="preserve">Vertex of an actor in 3D space, expressed in pixels</doc>
29067 <field name="x" writable="1">
29068 <type name="float" c:type="gfloat"/>
29070 <field name="y" writable="1">
29071 <type name="float" c:type="gfloat"/>
29073 <field name="z" writable="1">
29074 <type name="float" c:type="gfloat"/>
29076 <constructor name="new" c:identifier="clutter_vertex_new" version="1.0">
29077 <doc xml:whitespace="preserve">Creates a new #ClutterVertex for the point in 3D space
29078 identified by the 3 coordinates @x, @y, @z
29079 clutter_vertex_free() to free the resources</doc>
29080 <return-value transfer-ownership="full">
29081 <doc xml:whitespace="preserve">the newly allocate #ClutterVertex. Use</doc>
29082 <type name="Vertex" c:type="ClutterVertex*"/>
29085 <parameter name="x" transfer-ownership="none">
29086 <doc xml:whitespace="preserve">X coordinate</doc>
29087 <type name="float" c:type="gfloat"/>
29089 <parameter name="y" transfer-ownership="none">
29090 <doc xml:whitespace="preserve">Y coordinate</doc>
29091 <type name="float" c:type="gfloat"/>
29093 <parameter name="z" transfer-ownership="none">
29094 <doc xml:whitespace="preserve">Z coordinate</doc>
29095 <type name="float" c:type="gfloat"/>
29099 <method name="copy" c:identifier="clutter_vertex_copy" version="1.0">
29100 <doc xml:whitespace="preserve">Copies @vertex
29101 clutter_vertex_free() to free the allocated resources</doc>
29102 <return-value transfer-ownership="full">
29103 <doc xml:whitespace="preserve">a newly allocated copy of #ClutterVertex. Use</doc>
29104 <type name="Vertex" c:type="ClutterVertex*"/>
29107 <method name="free" c:identifier="clutter_vertex_free" version="1.0">
29108 <doc xml:whitespace="preserve">Frees a #ClutterVertex allocated using clutter_vertex_copy()</doc>
29109 <return-value transfer-ownership="none">
29110 <type name="none" c:type="void"/>
29113 <method name="equal" c:identifier="clutter_vertex_equal" version="1.0">
29114 <doc xml:whitespace="preserve">Compares @vertex_a and @vertex_b for equality</doc>
29115 <return-value transfer-ownership="none">
29116 <doc xml:whitespace="preserve">%TRUE if the passed #ClutterVertex are equal</doc>
29117 <type name="boolean" c:type="gboolean"/>
29120 <parameter name="vertex_b" transfer-ownership="none">
29121 <doc xml:whitespace="preserve">a #ClutterVertex</doc>
29122 <type name="Vertex" c:type="ClutterVertex*"/>
29127 <constant name="VoidSymbol" value="16777215">
29130 <constant name="W" value="87">
29133 <constant name="Wacute" value="16785026">
29136 <constant name="Wcircumflex" value="16777588">
29139 <constant name="Wdiaeresis" value="16785028">
29142 <constant name="Wgrave" value="16785024">
29145 <constant name="WonSign" value="16785577">
29148 <constant name="X" value="88">
29151 <constant name="Xabovedot" value="16785034">
29154 <constant name="Y" value="89">
29157 <constant name="Yacute" value="221">
29160 <constant name="Ybelowdot" value="16785140">
29163 <constant name="Ycircumflex" value="16777590">
29166 <constant name="Ydiaeresis" value="5054">
29169 <constant name="Ygrave" value="16785138">
29172 <constant name="Yhook" value="16785142">
29175 <constant name="Ytilde" value="16785144">
29178 <constant name="Z" value="90">
29181 <constant name="Zabovedot" value="431">
29184 <constant name="Zacute" value="428">
29187 <constant name="Zcaron" value="430">
29190 <constant name="Zen_Koho" value="65341">
29193 <constant name="Zenkaku" value="65320">
29196 <constant name="Zenkaku_Hankaku" value="65322">
29199 <constant name="Zstroke" value="16777653">
29202 <constant name="a" value="97">
29205 <constant name="aacute" value="225">
29208 <constant name="abelowdot" value="16785057">
29211 <constant name="abovedot" value="511">
29214 <constant name="abreve" value="483">
29217 <constant name="abreveacute" value="16785071">
29220 <constant name="abrevebelowdot" value="16785079">
29223 <constant name="abrevegrave" value="16785073">
29226 <constant name="abrevehook" value="16785075">
29229 <constant name="abrevetilde" value="16785077">
29232 <constant name="acircumflex" value="226">
29235 <constant name="acircumflexacute" value="16785061">
29238 <constant name="acircumflexbelowdot" value="16785069">
29241 <constant name="acircumflexgrave" value="16785063">
29244 <constant name="acircumflexhook" value="16785065">
29247 <constant name="acircumflextilde" value="16785067">
29250 <constant name="acute" value="180">
29253 <constant name="adiaeresis" value="228">
29256 <constant name="ae" value="230">
29259 <constant name="agrave" value="224">
29262 <constant name="ahook" value="16785059">
29265 <constant name="amacron" value="992">
29268 <constant name="ampersand" value="38">
29271 <constant name="aogonek" value="433">
29274 <constant name="apostrophe" value="39">
29277 <constant name="approxeq" value="16785992">
29280 <constant name="approximate" value="2248">
29283 <constant name="aring" value="229">
29286 <constant name="asciicircum" value="94">
29289 <constant name="asciitilde" value="126">
29292 <constant name="asterisk" value="42">
29295 <constant name="at" value="64">
29298 <constant name="atilde" value="227">
29301 <constant name="b" value="98">
29304 <constant name="babovedot" value="16784899">
29307 <constant name="backslash" value="92">
29310 <constant name="ballotcross" value="2804">
29313 <constant name="bar" value="124">
29316 <function name="base_init" c:identifier="clutter_base_init">
29317 <return-value transfer-ownership="none">
29318 <type name="none" c:type="void"/>
29321 <constant name="because" value="16785973">
29324 <constant name="blank" value="2527">
29327 <constant name="botintegral" value="2213">
29330 <constant name="botleftparens" value="2220">
29333 <constant name="botleftsqbracket" value="2216">
29336 <constant name="botleftsummation" value="2226">
29339 <constant name="botrightparens" value="2222">
29342 <constant name="botrightsqbracket" value="2218">
29345 <constant name="botrightsummation" value="2230">
29348 <constant name="bott" value="2550">
29351 <constant name="botvertsummationconnector" value="2228">
29354 <constant name="braceleft" value="123">
29357 <constant name="braceright" value="125">
29360 <constant name="bracketleft" value="91">
29363 <constant name="bracketright" value="93">
29366 <constant name="braille_blank" value="16787456">
29369 <constant name="braille_dot_1" value="65521">
29372 <constant name="braille_dot_10" value="65530">
29375 <constant name="braille_dot_2" value="65522">
29378 <constant name="braille_dot_3" value="65523">
29381 <constant name="braille_dot_4" value="65524">
29384 <constant name="braille_dot_5" value="65525">
29387 <constant name="braille_dot_6" value="65526">
29390 <constant name="braille_dot_7" value="65527">
29393 <constant name="braille_dot_8" value="65528">
29396 <constant name="braille_dot_9" value="65529">
29399 <constant name="braille_dots_1" value="16787457">
29402 <constant name="braille_dots_12" value="16787459">
29405 <constant name="braille_dots_123" value="16787463">
29408 <constant name="braille_dots_1234" value="16787471">
29411 <constant name="braille_dots_12345" value="16787487">
29414 <constant name="braille_dots_123456" value="16787519">
29417 <constant name="braille_dots_1234567" value="16787583">
29420 <constant name="braille_dots_12345678" value="16787711">
29423 <constant name="braille_dots_1234568" value="16787647">
29426 <constant name="braille_dots_123457" value="16787551">
29429 <constant name="braille_dots_1234578" value="16787679">
29432 <constant name="braille_dots_123458" value="16787615">
29435 <constant name="braille_dots_12346" value="16787503">
29438 <constant name="braille_dots_123467" value="16787567">
29441 <constant name="braille_dots_1234678" value="16787695">
29444 <constant name="braille_dots_123468" value="16787631">
29447 <constant name="braille_dots_12347" value="16787535">
29450 <constant name="braille_dots_123478" value="16787663">
29453 <constant name="braille_dots_12348" value="16787599">
29456 <constant name="braille_dots_1235" value="16787479">
29459 <constant name="braille_dots_12356" value="16787511">
29462 <constant name="braille_dots_123567" value="16787575">
29465 <constant name="braille_dots_1235678" value="16787703">
29468 <constant name="braille_dots_123568" value="16787639">
29471 <constant name="braille_dots_12357" value="16787543">
29474 <constant name="braille_dots_123578" value="16787671">
29477 <constant name="braille_dots_12358" value="16787607">
29480 <constant name="braille_dots_1236" value="16787495">
29483 <constant name="braille_dots_12367" value="16787559">
29486 <constant name="braille_dots_123678" value="16787687">
29489 <constant name="braille_dots_12368" value="16787623">
29492 <constant name="braille_dots_1237" value="16787527">
29495 <constant name="braille_dots_12378" value="16787655">
29498 <constant name="braille_dots_1238" value="16787591">
29501 <constant name="braille_dots_124" value="16787467">
29504 <constant name="braille_dots_1245" value="16787483">
29507 <constant name="braille_dots_12456" value="16787515">
29510 <constant name="braille_dots_124567" value="16787579">
29513 <constant name="braille_dots_1245678" value="16787707">
29516 <constant name="braille_dots_124568" value="16787643">
29519 <constant name="braille_dots_12457" value="16787547">
29522 <constant name="braille_dots_124578" value="16787675">
29525 <constant name="braille_dots_12458" value="16787611">
29528 <constant name="braille_dots_1246" value="16787499">
29531 <constant name="braille_dots_12467" value="16787563">
29534 <constant name="braille_dots_124678" value="16787691">
29537 <constant name="braille_dots_12468" value="16787627">
29540 <constant name="braille_dots_1247" value="16787531">
29543 <constant name="braille_dots_12478" value="16787659">
29546 <constant name="braille_dots_1248" value="16787595">
29549 <constant name="braille_dots_125" value="16787475">
29552 <constant name="braille_dots_1256" value="16787507">
29555 <constant name="braille_dots_12567" value="16787571">
29558 <constant name="braille_dots_125678" value="16787699">
29561 <constant name="braille_dots_12568" value="16787635">
29564 <constant name="braille_dots_1257" value="16787539">
29567 <constant name="braille_dots_12578" value="16787667">
29570 <constant name="braille_dots_1258" value="16787603">
29573 <constant name="braille_dots_126" value="16787491">
29576 <constant name="braille_dots_1267" value="16787555">
29579 <constant name="braille_dots_12678" value="16787683">
29582 <constant name="braille_dots_1268" value="16787619">
29585 <constant name="braille_dots_127" value="16787523">
29588 <constant name="braille_dots_1278" value="16787651">
29591 <constant name="braille_dots_128" value="16787587">
29594 <constant name="braille_dots_13" value="16787461">
29597 <constant name="braille_dots_134" value="16787469">
29600 <constant name="braille_dots_1345" value="16787485">
29603 <constant name="braille_dots_13456" value="16787517">
29606 <constant name="braille_dots_134567" value="16787581">
29609 <constant name="braille_dots_1345678" value="16787709">
29612 <constant name="braille_dots_134568" value="16787645">
29615 <constant name="braille_dots_13457" value="16787549">
29618 <constant name="braille_dots_134578" value="16787677">
29621 <constant name="braille_dots_13458" value="16787613">
29624 <constant name="braille_dots_1346" value="16787501">
29627 <constant name="braille_dots_13467" value="16787565">
29630 <constant name="braille_dots_134678" value="16787693">
29633 <constant name="braille_dots_13468" value="16787629">
29636 <constant name="braille_dots_1347" value="16787533">
29639 <constant name="braille_dots_13478" value="16787661">
29642 <constant name="braille_dots_1348" value="16787597">
29645 <constant name="braille_dots_135" value="16787477">
29648 <constant name="braille_dots_1356" value="16787509">
29651 <constant name="braille_dots_13567" value="16787573">
29654 <constant name="braille_dots_135678" value="16787701">
29657 <constant name="braille_dots_13568" value="16787637">
29660 <constant name="braille_dots_1357" value="16787541">
29663 <constant name="braille_dots_13578" value="16787669">
29666 <constant name="braille_dots_1358" value="16787605">
29669 <constant name="braille_dots_136" value="16787493">
29672 <constant name="braille_dots_1367" value="16787557">
29675 <constant name="braille_dots_13678" value="16787685">
29678 <constant name="braille_dots_1368" value="16787621">
29681 <constant name="braille_dots_137" value="16787525">
29684 <constant name="braille_dots_1378" value="16787653">
29687 <constant name="braille_dots_138" value="16787589">
29690 <constant name="braille_dots_14" value="16787465">
29693 <constant name="braille_dots_145" value="16787481">
29696 <constant name="braille_dots_1456" value="16787513">
29699 <constant name="braille_dots_14567" value="16787577">
29702 <constant name="braille_dots_145678" value="16787705">
29705 <constant name="braille_dots_14568" value="16787641">
29708 <constant name="braille_dots_1457" value="16787545">
29711 <constant name="braille_dots_14578" value="16787673">
29714 <constant name="braille_dots_1458" value="16787609">
29717 <constant name="braille_dots_146" value="16787497">
29720 <constant name="braille_dots_1467" value="16787561">
29723 <constant name="braille_dots_14678" value="16787689">
29726 <constant name="braille_dots_1468" value="16787625">
29729 <constant name="braille_dots_147" value="16787529">
29732 <constant name="braille_dots_1478" value="16787657">
29735 <constant name="braille_dots_148" value="16787593">
29738 <constant name="braille_dots_15" value="16787473">
29741 <constant name="braille_dots_156" value="16787505">
29744 <constant name="braille_dots_1567" value="16787569">
29747 <constant name="braille_dots_15678" value="16787697">
29750 <constant name="braille_dots_1568" value="16787633">
29753 <constant name="braille_dots_157" value="16787537">
29756 <constant name="braille_dots_1578" value="16787665">
29759 <constant name="braille_dots_158" value="16787601">
29762 <constant name="braille_dots_16" value="16787489">
29765 <constant name="braille_dots_167" value="16787553">
29768 <constant name="braille_dots_1678" value="16787681">
29771 <constant name="braille_dots_168" value="16787617">
29774 <constant name="braille_dots_17" value="16787521">
29777 <constant name="braille_dots_178" value="16787649">
29780 <constant name="braille_dots_18" value="16787585">
29783 <constant name="braille_dots_2" value="16787458">
29786 <constant name="braille_dots_23" value="16787462">
29789 <constant name="braille_dots_234" value="16787470">
29792 <constant name="braille_dots_2345" value="16787486">
29795 <constant name="braille_dots_23456" value="16787518">
29798 <constant name="braille_dots_234567" value="16787582">
29801 <constant name="braille_dots_2345678" value="16787710">
29804 <constant name="braille_dots_234568" value="16787646">
29807 <constant name="braille_dots_23457" value="16787550">
29810 <constant name="braille_dots_234578" value="16787678">
29813 <constant name="braille_dots_23458" value="16787614">
29816 <constant name="braille_dots_2346" value="16787502">
29819 <constant name="braille_dots_23467" value="16787566">
29822 <constant name="braille_dots_234678" value="16787694">
29825 <constant name="braille_dots_23468" value="16787630">
29828 <constant name="braille_dots_2347" value="16787534">
29831 <constant name="braille_dots_23478" value="16787662">
29834 <constant name="braille_dots_2348" value="16787598">
29837 <constant name="braille_dots_235" value="16787478">
29840 <constant name="braille_dots_2356" value="16787510">
29843 <constant name="braille_dots_23567" value="16787574">
29846 <constant name="braille_dots_235678" value="16787702">
29849 <constant name="braille_dots_23568" value="16787638">
29852 <constant name="braille_dots_2357" value="16787542">
29855 <constant name="braille_dots_23578" value="16787670">
29858 <constant name="braille_dots_2358" value="16787606">
29861 <constant name="braille_dots_236" value="16787494">
29864 <constant name="braille_dots_2367" value="16787558">
29867 <constant name="braille_dots_23678" value="16787686">
29870 <constant name="braille_dots_2368" value="16787622">
29873 <constant name="braille_dots_237" value="16787526">
29876 <constant name="braille_dots_2378" value="16787654">
29879 <constant name="braille_dots_238" value="16787590">
29882 <constant name="braille_dots_24" value="16787466">
29885 <constant name="braille_dots_245" value="16787482">
29888 <constant name="braille_dots_2456" value="16787514">
29891 <constant name="braille_dots_24567" value="16787578">
29894 <constant name="braille_dots_245678" value="16787706">
29897 <constant name="braille_dots_24568" value="16787642">
29900 <constant name="braille_dots_2457" value="16787546">
29903 <constant name="braille_dots_24578" value="16787674">
29906 <constant name="braille_dots_2458" value="16787610">
29909 <constant name="braille_dots_246" value="16787498">
29912 <constant name="braille_dots_2467" value="16787562">
29915 <constant name="braille_dots_24678" value="16787690">
29918 <constant name="braille_dots_2468" value="16787626">
29921 <constant name="braille_dots_247" value="16787530">
29924 <constant name="braille_dots_2478" value="16787658">
29927 <constant name="braille_dots_248" value="16787594">
29930 <constant name="braille_dots_25" value="16787474">
29933 <constant name="braille_dots_256" value="16787506">
29936 <constant name="braille_dots_2567" value="16787570">
29939 <constant name="braille_dots_25678" value="16787698">
29942 <constant name="braille_dots_2568" value="16787634">
29945 <constant name="braille_dots_257" value="16787538">
29948 <constant name="braille_dots_2578" value="16787666">
29951 <constant name="braille_dots_258" value="16787602">
29954 <constant name="braille_dots_26" value="16787490">
29957 <constant name="braille_dots_267" value="16787554">
29960 <constant name="braille_dots_2678" value="16787682">
29963 <constant name="braille_dots_268" value="16787618">
29966 <constant name="braille_dots_27" value="16787522">
29969 <constant name="braille_dots_278" value="16787650">
29972 <constant name="braille_dots_28" value="16787586">
29975 <constant name="braille_dots_3" value="16787460">
29978 <constant name="braille_dots_34" value="16787468">
29981 <constant name="braille_dots_345" value="16787484">
29984 <constant name="braille_dots_3456" value="16787516">
29987 <constant name="braille_dots_34567" value="16787580">
29990 <constant name="braille_dots_345678" value="16787708">
29993 <constant name="braille_dots_34568" value="16787644">
29996 <constant name="braille_dots_3457" value="16787548">
29999 <constant name="braille_dots_34578" value="16787676">
30002 <constant name="braille_dots_3458" value="16787612">
30005 <constant name="braille_dots_346" value="16787500">
30008 <constant name="braille_dots_3467" value="16787564">
30011 <constant name="braille_dots_34678" value="16787692">
30014 <constant name="braille_dots_3468" value="16787628">
30017 <constant name="braille_dots_347" value="16787532">
30020 <constant name="braille_dots_3478" value="16787660">
30023 <constant name="braille_dots_348" value="16787596">
30026 <constant name="braille_dots_35" value="16787476">
30029 <constant name="braille_dots_356" value="16787508">
30032 <constant name="braille_dots_3567" value="16787572">
30035 <constant name="braille_dots_35678" value="16787700">
30038 <constant name="braille_dots_3568" value="16787636">
30041 <constant name="braille_dots_357" value="16787540">
30044 <constant name="braille_dots_3578" value="16787668">
30047 <constant name="braille_dots_358" value="16787604">
30050 <constant name="braille_dots_36" value="16787492">
30053 <constant name="braille_dots_367" value="16787556">
30056 <constant name="braille_dots_3678" value="16787684">
30059 <constant name="braille_dots_368" value="16787620">
30062 <constant name="braille_dots_37" value="16787524">
30065 <constant name="braille_dots_378" value="16787652">
30068 <constant name="braille_dots_38" value="16787588">
30071 <constant name="braille_dots_4" value="16787464">
30074 <constant name="braille_dots_45" value="16787480">
30077 <constant name="braille_dots_456" value="16787512">
30080 <constant name="braille_dots_4567" value="16787576">
30083 <constant name="braille_dots_45678" value="16787704">
30086 <constant name="braille_dots_4568" value="16787640">
30089 <constant name="braille_dots_457" value="16787544">
30092 <constant name="braille_dots_4578" value="16787672">
30095 <constant name="braille_dots_458" value="16787608">
30098 <constant name="braille_dots_46" value="16787496">
30101 <constant name="braille_dots_467" value="16787560">
30104 <constant name="braille_dots_4678" value="16787688">
30107 <constant name="braille_dots_468" value="16787624">
30110 <constant name="braille_dots_47" value="16787528">
30113 <constant name="braille_dots_478" value="16787656">
30116 <constant name="braille_dots_48" value="16787592">
30119 <constant name="braille_dots_5" value="16787472">
30122 <constant name="braille_dots_56" value="16787504">
30125 <constant name="braille_dots_567" value="16787568">
30128 <constant name="braille_dots_5678" value="16787696">
30131 <constant name="braille_dots_568" value="16787632">
30134 <constant name="braille_dots_57" value="16787536">
30137 <constant name="braille_dots_578" value="16787664">
30140 <constant name="braille_dots_58" value="16787600">
30143 <constant name="braille_dots_6" value="16787488">
30146 <constant name="braille_dots_67" value="16787552">
30149 <constant name="braille_dots_678" value="16787680">
30152 <constant name="braille_dots_68" value="16787616">
30155 <constant name="braille_dots_7" value="16787520">
30158 <constant name="braille_dots_78" value="16787648">
30161 <constant name="braille_dots_8" value="16787584">
30164 <constant name="breve" value="418">
30167 <constant name="brokenbar" value="166">
30170 <constant name="c" value="99">
30173 <constant name="cabovedot" value="741">
30176 <constant name="cacute" value="486">
30179 <function name="cairo_set_source_color"
30180 c:identifier="clutter_cairo_set_source_color"
30182 <doc xml:whitespace="preserve">Utility function for setting the source color of @cr using
30183 a #ClutterColor.</doc>
30184 <return-value transfer-ownership="none">
30185 <type name="none" c:type="void"/>
30188 <parameter name="cr" transfer-ownership="none">
30189 <doc xml:whitespace="preserve">a Cairo context</doc>
30190 <type name="cairo.Context" c:type="cairo_t*"/>
30192 <parameter name="color" transfer-ownership="none">
30193 <doc xml:whitespace="preserve">a #ClutterColor</doc>
30194 <type name="Color" c:type="ClutterColor*"/>
30198 <constant name="careof" value="2744">
30201 <constant name="caret" value="2812">
30204 <constant name="caron" value="439">
30207 <constant name="ccaron" value="488">
30210 <constant name="ccedilla" value="231">
30213 <constant name="ccircumflex" value="742">
30216 <constant name="cedilla" value="184">
30219 <constant name="cent" value="162">
30222 <function name="check_version"
30223 c:identifier="clutter_check_version"
30225 <doc xml:whitespace="preserve">Run-time version check, to check the version the Clutter library
30226 that an application is currently linked against
30227 This is the run-time equivalent of the compile-time %CLUTTER_CHECK_VERSION
30228 pre-processor macro
30229 greater than (@major, @minor, @micro), and %FALSE otherwise</doc>
30230 <return-value transfer-ownership="none">
30231 <doc xml:whitespace="preserve">%TRUE if the version of the Clutter library is</doc>
30232 <type name="boolean" c:type="gboolean"/>
30235 <parameter name="major" transfer-ownership="none">
30236 <doc xml:whitespace="preserve">major version, like 1 in 1.2.3</doc>
30237 <type name="uint" c:type="guint"/>
30239 <parameter name="minor" transfer-ownership="none">
30240 <doc xml:whitespace="preserve">minor version, like 2 in 1.2.3</doc>
30241 <type name="uint" c:type="guint"/>
30243 <parameter name="micro" transfer-ownership="none">
30244 <doc xml:whitespace="preserve">micro version, like 3 in 1.2.3</doc>
30245 <type name="uint" c:type="guint"/>
30249 <constant name="checkerboard" value="2529">
30252 <constant name="checkmark" value="2803">
30255 <constant name="circle" value="3023">
30258 <function name="clear_glyph_cache"
30259 c:identifier="clutter_clear_glyph_cache"
30261 <doc xml:whitespace="preserve">Clears the internal cache of glyphs used by the Pango
30262 renderer. This will free up some memory and GL texture
30263 resources. The cache will be automatically refilled as more text is
30265 <return-value transfer-ownership="none">
30266 <type name="none" c:type="void"/>
30269 <constant name="club" value="2796">
30272 <constant name="colon" value="58">
30275 <function name="color_equal"
30276 c:identifier="clutter_color_equal"
30278 <doc xml:whitespace="preserve">Compares two #ClutterColor<!-- -->s and checks if they are the same.
30279 This function can be passed to g_hash_table_new() as the @key_equal_func
30280 parameter, when using #ClutterColor<!-- -->s as keys in a #GHashTable.</doc>
30281 <return-value transfer-ownership="none">
30282 <doc xml:whitespace="preserve">%TRUE if the two colors are the same.</doc>
30283 <type name="boolean" c:type="gboolean"/>
30286 <parameter name="v1" transfer-ownership="none">
30287 <doc xml:whitespace="preserve">a #ClutterColor</doc>
30288 <type name="any" c:type="gconstpointer"/>
30290 <parameter name="v2" transfer-ownership="none">
30291 <doc xml:whitespace="preserve">a #ClutterColor</doc>
30292 <type name="any" c:type="gconstpointer"/>
30296 <function name="color_hash"
30297 c:identifier="clutter_color_hash"
30299 <doc xml:whitespace="preserve">Converts a #ClutterColor to a hash value.
30300 This function can be passed to g_hash_table_new() as the @hash_func
30301 parameter, when using #ClutterColor<!-- -->s as keys in a #GHashTable.</doc>
30302 <return-value transfer-ownership="none">
30303 <doc xml:whitespace="preserve">a hash value corresponding to the color</doc>
30304 <type name="uint" c:type="guint"/>
30307 <parameter name="v" transfer-ownership="none">
30308 <doc xml:whitespace="preserve">a #ClutterColor</doc>
30309 <type name="any" c:type="gconstpointer"/>
30313 <constant name="comma" value="44">
30316 <function name="container_class_find_child_property"
30317 c:identifier="clutter_container_class_find_child_property"
30319 <doc xml:whitespace="preserve">Looks up the #GParamSpec for a child property of @klass.
30320 if no such property exist.</doc>
30321 <return-value transfer-ownership="none">
30322 <doc xml:whitespace="preserve">The #GParamSpec for the property or %NULL</doc>
30323 <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
30326 <parameter name="klass" transfer-ownership="none">
30327 <doc xml:whitespace="preserve">a #GObjectClass implementing the #ClutterContainer interface.</doc>
30328 <type name="GObject.ObjectClass" c:type="GObjectClass*"/>
30330 <parameter name="property_name" transfer-ownership="none">
30331 <doc xml:whitespace="preserve">a property name.</doc>
30332 <type name="utf8" c:type="gchar*"/>
30336 <function name="container_class_list_child_properties"
30337 c:identifier="clutter_container_class_list_child_properties"
30339 <doc xml:whitespace="preserve">Returns an array of #GParamSpec for all child properties.
30340 of #GParamSpec<!-- -->s which should be freed after use.</doc>
30341 <return-value transfer-ownership="container">
30342 <doc xml:whitespace="preserve">an array</doc>
30343 <array length="1" c:type="GParamSpec**">
30344 <type name="GObject.ParamSpec"/>
30348 <parameter name="klass" transfer-ownership="none">
30349 <doc xml:whitespace="preserve">a #GObjectClass implementing the #ClutterContainer interface.</doc>
30350 <type name="GObject.ObjectClass" c:type="GObjectClass*"/>
30352 <parameter name="n_properties"
30354 caller-allocates="0"
30355 transfer-ownership="full">
30356 <doc xml:whitespace="preserve">return location for length of returned array.</doc>
30357 <type name="uint" c:type="guint*"/>
30361 <constant name="containsas" value="16785931">
30364 <constant name="copyright" value="169">
30367 <constant name="cr" value="2532">
30370 <constant name="crossinglines" value="2542">
30373 <constant name="cuberoot" value="16785947">
30376 <constant name="currency" value="164">
30379 <constant name="cursor" value="2815">
30382 <constant name="d" value="100">
30385 <constant name="dabovedot" value="16784907">
30388 <constant name="dagger" value="2801">
30391 <constant name="dcaron" value="495">
30394 <constant name="dead_abovecomma" value="65124">
30397 <constant name="dead_abovedot" value="65110">
30400 <constant name="dead_abovereversedcomma" value="65125">
30403 <constant name="dead_abovering" value="65112">
30406 <constant name="dead_acute" value="65105">
30409 <constant name="dead_belowbreve" value="65131">
30412 <constant name="dead_belowcircumflex" value="65129">
30415 <constant name="dead_belowdiaeresis" value="65132">
30418 <constant name="dead_belowdot" value="65120">
30421 <constant name="dead_belowmacron" value="65128">
30424 <constant name="dead_belowring" value="65127">
30427 <constant name="dead_belowtilde" value="65130">
30430 <constant name="dead_breve" value="65109">
30433 <constant name="dead_caron" value="65114">
30436 <constant name="dead_cedilla" value="65115">
30439 <constant name="dead_circumflex" value="65106">
30442 <constant name="dead_dasia" value="65125">
30445 <constant name="dead_diaeresis" value="65111">
30448 <constant name="dead_doubleacute" value="65113">
30451 <constant name="dead_grave" value="65104">
30454 <constant name="dead_hook" value="65121">
30457 <constant name="dead_horn" value="65122">
30460 <constant name="dead_iota" value="65117">
30463 <constant name="dead_macron" value="65108">
30466 <constant name="dead_ogonek" value="65116">
30469 <constant name="dead_perispomeni" value="65107">
30472 <constant name="dead_psili" value="65124">
30475 <constant name="dead_semivoiced_sound" value="65119">
30478 <constant name="dead_stroke" value="65123">
30481 <constant name="dead_tilde" value="65107">
30484 <constant name="dead_voiced_sound" value="65118">
30487 <constant name="decimalpoint" value="2749">
30490 <constant name="degree" value="176">
30493 <constant name="diaeresis" value="168">
30496 <constant name="diamond" value="2797">
30499 <constant name="digitspace" value="2725">
30502 <constant name="dintegral" value="16785964">
30505 <constant name="division" value="247">
30508 <function name="do_event" c:identifier="clutter_do_event">
30509 <return-value transfer-ownership="none">
30510 <type name="none" c:type="void"/>
30513 <parameter name="event" transfer-ownership="none">
30514 <type name="Event" c:type="ClutterEvent*"/>
30518 <constant name="dollar" value="36">
30521 <constant name="doubbaselinedot" value="2735">
30524 <constant name="doubleacute" value="445">
30527 <constant name="doubledagger" value="2802">
30530 <constant name="doublelowquotemark" value="2814">
30533 <constant name="downarrow" value="2302">
30536 <constant name="downcaret" value="2984">
30539 <constant name="downshoe" value="3030">
30542 <constant name="downstile" value="3012">
30545 <constant name="downtack" value="3010">
30548 <constant name="dstroke" value="496">
30551 <constant name="e" value="101">
30554 <constant name="eabovedot" value="1004">
30557 <constant name="eacute" value="233">
30560 <constant name="ebelowdot" value="16785081">
30563 <constant name="ecaron" value="492">
30566 <constant name="ecircumflex" value="234">
30569 <constant name="ecircumflexacute" value="16785087">
30572 <constant name="ecircumflexbelowdot" value="16785095">
30575 <constant name="ecircumflexgrave" value="16785089">
30578 <constant name="ecircumflexhook" value="16785091">
30581 <constant name="ecircumflextilde" value="16785093">
30584 <constant name="ediaeresis" value="235">
30587 <constant name="egrave" value="232">
30590 <constant name="ehook" value="16785083">
30593 <constant name="eightsubscript" value="16785544">
30596 <constant name="eightsuperior" value="16785528">
30599 <constant name="elementof" value="16785928">
30602 <constant name="ellipsis" value="2734">
30605 <constant name="em3space" value="2723">
30608 <constant name="em4space" value="2724">
30611 <constant name="emacron" value="954">
30614 <constant name="emdash" value="2729">
30617 <constant name="emfilledcircle" value="2782">
30620 <constant name="emfilledrect" value="2783">
30623 <constant name="emopencircle" value="2766">
30626 <constant name="emopenrectangle" value="2767">
30629 <constant name="emptyset" value="16785925">
30632 <constant name="emspace" value="2721">
30635 <constant name="endash" value="2730">
30638 <constant name="enfilledcircbullet" value="2790">
30641 <constant name="enfilledsqbullet" value="2791">
30644 <constant name="eng" value="959">
30647 <constant name="enopencircbullet" value="2784">
30650 <constant name="enopensquarebullet" value="2785">
30653 <constant name="enspace" value="2722">
30656 <constant name="eogonek" value="490">
30659 <constant name="equal" value="61">
30662 <constant name="eth" value="240">
30665 <constant name="etilde" value="16785085">
30668 <function name="event_get" c:identifier="clutter_event_get" version="0.4">
30669 <doc xml:whitespace="preserve">Pops an event off the event queue. Applications should not need to call
30671 <return-value transfer-ownership="full">
30672 <doc xml:whitespace="preserve">A #ClutterEvent or NULL if queue empty</doc>
30673 <type name="Event" c:type="ClutterEvent*"/>
30676 <function name="event_peek"
30677 c:identifier="clutter_event_peek"
30679 <doc xml:whitespace="preserve">Returns a pointer to the first event from the event queue but
30680 does not remove it.</doc>
30681 <return-value transfer-ownership="none">
30682 <doc xml:whitespace="preserve">A #ClutterEvent or NULL if queue empty.</doc>
30683 <type name="Event" c:type="ClutterEvent*"/>
30686 <function name="events_pending"
30687 c:identifier="clutter_events_pending"
30689 <doc xml:whitespace="preserve">Checks if events are pending in the event queue.</doc>
30690 <return-value transfer-ownership="none">
30691 <doc xml:whitespace="preserve">TRUE if there are pending events, FALSE otherwise.</doc>
30692 <type name="boolean" c:type="gboolean"/>
30695 <constant name="exclam" value="33">
30698 <constant name="exclamdown" value="161">
30701 <constant name="f" value="102">
30704 <constant name="fabovedot" value="16784927">
30707 <function name="feature_available"
30708 c:identifier="clutter_feature_available"
30710 <doc xml:whitespace="preserve">Checks whether @feature is available. @feature can be a logical
30711 OR of #ClutterFeatureFlags.</doc>
30712 <return-value transfer-ownership="none">
30713 <doc xml:whitespace="preserve">%TRUE if a feature is available</doc>
30714 <type name="boolean" c:type="gboolean"/>
30717 <parameter name="feature" transfer-ownership="none">
30718 <doc xml:whitespace="preserve">a #ClutterFeatureFlags</doc>
30719 <type name="FeatureFlags" c:type="ClutterFeatureFlags"/>
30723 <function name="feature_get_all"
30724 c:identifier="clutter_feature_get_all"
30726 <doc xml:whitespace="preserve">Returns all the supported features.</doc>
30727 <return-value transfer-ownership="full">
30728 <doc xml:whitespace="preserve">a logical OR of all the supported features.</doc>
30729 <type name="FeatureFlags" c:type="ClutterFeatureFlags"/>
30732 <constant name="femalesymbol" value="2808">
30735 <constant name="ff" value="2531">
30738 <constant name="figdash" value="2747">
30741 <constant name="filledlefttribullet" value="2780">
30744 <constant name="filledrectbullet" value="2779">
30747 <constant name="filledrighttribullet" value="2781">
30750 <constant name="filledtribulletdown" value="2793">
30753 <constant name="filledtribulletup" value="2792">
30756 <constant name="fiveeighths" value="2757">
30759 <constant name="fivesixths" value="2743">
30762 <constant name="fivesubscript" value="16785541">
30765 <constant name="fivesuperior" value="16785525">
30768 <constant name="fourfifths" value="2741">
30771 <constant name="foursubscript" value="16785540">
30774 <constant name="foursuperior" value="16785524">
30777 <constant name="fourthroot" value="16785948">
30780 <function name="frame_source_add"
30781 c:identifier="clutter_frame_source_add"
30783 <doc xml:whitespace="preserve">Simple wrapper around clutter_frame_source_add_full().</doc>
30784 <return-value transfer-ownership="none">
30785 <doc xml:whitespace="preserve">the ID (greater than 0) of the event source.</doc>
30786 <type name="uint" c:type="guint"/>
30789 <parameter name="fps" transfer-ownership="none">
30790 <doc xml:whitespace="preserve">the number of times per second to call the function</doc>
30791 <type name="uint" c:type="guint"/>
30793 <parameter name="func"
30794 transfer-ownership="none"
30797 <doc xml:whitespace="preserve">function to call</doc>
30798 <type name="GLib.SourceFunc" c:type="GSourceFunc"/>
30800 <parameter name="data" transfer-ownership="none">
30801 <doc xml:whitespace="preserve">data to pass to the function</doc>
30802 <type name="any" c:type="gpointer"/>
30806 <function name="frame_source_add_full"
30807 c:identifier="clutter_frame_source_add_full"
30809 <doc xml:whitespace="preserve">Sets a function to be called at regular intervals with the given
30810 priority. The function is called repeatedly until it returns
30811 %FALSE, at which point the timeout is automatically destroyed and
30812 the function will not be called again. The @notify function is
30813 called when the timeout is destroyed. The first call to the
30814 function will be at the end of the first @interval.
30815 This function is similar to g_timeout_add_full() except that it
30816 will try to compensate for delays. For example, if @func takes half
30817 the interval time to execute then the function will be called again
30818 half the interval time after it finished. In contrast
30819 g_timeout_add_full() would not fire until a full interval after the
30820 function completes so the delay between calls would be 1.0 / @fps *
30821 1.5. This function does not however try to invoke the function
30822 multiple times to catch up missing frames if @func takes more than</doc>
30823 <return-value transfer-ownership="none">
30824 <doc xml:whitespace="preserve">the ID (greater than 0) of the event source.</doc>
30825 <type name="uint" c:type="guint"/>
30828 <parameter name="priority" transfer-ownership="none">
30829 <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>
30830 <type name="int" c:type="gint"/>
30832 <parameter name="fps" transfer-ownership="none">
30833 <doc xml:whitespace="preserve">the number of times per second to call the function</doc>
30834 <type name="uint" c:type="guint"/>
30836 <parameter name="func"
30837 transfer-ownership="none"
30841 <doc xml:whitespace="preserve">function to call</doc>
30842 <type name="GLib.SourceFunc" c:type="GSourceFunc"/>
30844 <parameter name="data" transfer-ownership="none">
30845 <doc xml:whitespace="preserve">data to pass to the function</doc>
30846 <type name="any" c:type="gpointer"/>
30848 <parameter name="notify" transfer-ownership="none" scope="call">
30849 <doc xml:whitespace="preserve">function to call when the timeout source is removed</doc>
30850 <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
30854 <constant name="function" value="2294">
30857 <constant name="g" value="103">
30860 <constant name="gabovedot" value="757">
30863 <constant name="gbreve" value="699">
30866 <constant name="gcaron" value="16777703">
30869 <constant name="gcedilla" value="955">
30872 <constant name="gcircumflex" value="760">
30875 <function name="get_accessibility_enabled"
30876 c:identifier="clutter_get_accessibility_enabled"
30878 <doc xml:whitespace="preserve">Returns whether Clutter has accessibility support enabled. As
30879 least, a value of TRUE means that there are a proper AtkUtil
30880 implementation available</doc>
30881 <return-value transfer-ownership="none">
30882 <doc xml:whitespace="preserve">%TRUE if Clutter has accessibility support enabled</doc>
30883 <type name="boolean" c:type="gboolean"/>
30886 <function name="get_actor_by_gid" c:identifier="clutter_get_actor_by_gid">
30887 <return-value transfer-ownership="full">
30888 <type name="Actor" c:type="ClutterActor*"/>
30891 <parameter name="id" transfer-ownership="none">
30892 <type name="uint32" c:type="guint32"/>
30896 <function name="get_current_event"
30897 c:identifier="clutter_get_current_event"
30899 <doc xml:whitespace="preserve">If an event is currently being processed, return that event.
30900 This function is intended to be used to access event state
30901 that might not be exposed by higher-level widgets. For
30902 example, to get the key modifier state from a Button 'clicked'
30904 <return-value transfer-ownership="none">
30905 <doc xml:whitespace="preserve">The current ClutterEvent, or %NULL if none</doc>
30906 <type name="Event" c:type="ClutterEvent*"/>
30909 <function name="get_current_event_time"
30910 c:identifier="clutter_get_current_event_time"
30912 <doc xml:whitespace="preserve">Retrieves the timestamp of the last event, if there is an
30913 event or if the event has a timestamp.</doc>
30914 <return-value transfer-ownership="none">
30915 <doc xml:whitespace="preserve">the event timestamp, or %CLUTTER_CURRENT_TIME</doc>
30916 <type name="uint32" c:type="guint32"/>
30919 <function name="get_debug_enabled"
30920 c:identifier="clutter_get_debug_enabled">
30921 <doc xml:whitespace="preserve">Check if clutter has debugging turned on.</doc>
30922 <return-value transfer-ownership="none">
30923 <doc xml:whitespace="preserve">TRUE if debugging is turned on, FALSE otherwise.</doc>
30924 <type name="boolean" c:type="gboolean"/>
30927 <function name="get_default_backend"
30928 c:identifier="clutter_get_default_backend"
30930 <doc xml:whitespace="preserve">Retrieves the default #ClutterBackend used by Clutter. The
30931 #ClutterBackend holds backend-specific configuration options.
30932 not ref or unref the returned object. Applications should rarely
30933 need to use this.</doc>
30934 <return-value transfer-ownership="none">
30935 <doc xml:whitespace="preserve">the default backend. You should</doc>
30936 <type name="Backend" c:type="ClutterBackend*"/>
30939 <function name="get_default_frame_rate"
30940 c:identifier="clutter_get_default_frame_rate"
30942 <doc xml:whitespace="preserve">Retrieves the default frame rate. See clutter_set_default_frame_rate().</doc>
30943 <return-value transfer-ownership="none">
30944 <doc xml:whitespace="preserve">the default frame rate</doc>
30945 <type name="uint" c:type="guint"/>
30948 <function name="get_default_text_direction"
30949 c:identifier="clutter_get_default_text_direction"
30951 <doc xml:whitespace="preserve">Retrieves the default direction for the text. The text direction is
30952 determined by the locale and/or by the %CLUTTER_TEXT_DIRECTION environment
30954 The default text direction can be overridden on a per-actor basis by using
30955 clutter_actor_set_text_direction()</doc>
30956 <return-value transfer-ownership="full">
30957 <doc xml:whitespace="preserve">the default text direction</doc>
30958 <type name="TextDirection" c:type="ClutterTextDirection"/>
30961 <function name="get_font_flags"
30962 c:identifier="clutter_get_font_flags"
30964 <doc xml:whitespace="preserve">Gets the current font flags for rendering text. See
30965 clutter_set_font_flags().</doc>
30966 <return-value transfer-ownership="full">
30967 <doc xml:whitespace="preserve">The font flags</doc>
30968 <type name="FontFlags" c:type="ClutterFontFlags"/>
30971 <function name="get_font_map"
30972 c:identifier="clutter_get_font_map"
30974 <doc xml:whitespace="preserve">Retrieves the #PangoFontMap instance used by Clutter.
30975 You can use the global font map object with the COGL
30977 value is owned by Clutter and it should never be unreferenced.</doc>
30978 <return-value transfer-ownership="none">
30979 <doc xml:whitespace="preserve">the #PangoFontMap instance. The returned</doc>
30980 <type name="Pango.FontMap" c:type="PangoFontMap*"/>
30983 <function name="get_input_device_for_id"
30984 c:identifier="clutter_get_input_device_for_id"
30986 <doc xml:whitespace="preserve">Retrieves the #ClutterInputDevice from its @id. This is a convenience
30987 wrapper for clutter_device_manager_get_device() and it is functionally
30990 ClutterDeviceManager *manager;
30991 ClutterInputDevice *device;
30992 manager = clutter_device_manager_get_default ();
30993 device = clutter_device_manager_get_device (manager, id);
30995 <return-value transfer-ownership="none">
30996 <doc xml:whitespace="preserve">a #ClutterInputDevice, or %NULL</doc>
30997 <type name="InputDevice" c:type="ClutterInputDevice*"/>
31000 <parameter name="id" transfer-ownership="none">
31001 <doc xml:whitespace="preserve">the unique id for a device</doc>
31002 <type name="int" c:type="gint"/>
31006 <function name="get_keyboard_grab"
31007 c:identifier="clutter_get_keyboard_grab"
31009 <doc xml:whitespace="preserve">Queries the current keyboard grab of clutter.</doc>
31010 <return-value transfer-ownership="none">
31011 <doc xml:whitespace="preserve">the actor currently holding the keyboard grab, or NULL if there is no grab.</doc>
31012 <type name="Actor" c:type="ClutterActor*"/>
31015 <function name="get_motion_events_enabled"
31016 c:identifier="clutter_get_motion_events_enabled"
31018 <doc xml:whitespace="preserve">Gets whether the per-actor motion events are enabled.</doc>
31019 <return-value transfer-ownership="none">
31020 <doc xml:whitespace="preserve">%TRUE if the motion events are enabled</doc>
31021 <type name="boolean" c:type="gboolean"/>
31024 <function name="get_option_group"
31025 c:identifier="clutter_get_option_group"
31027 <doc xml:whitespace="preserve">Returns a #GOptionGroup for the command line arguments recognized
31028 by Clutter. You should add this group to your #GOptionContext with
31029 g_option_context_add_group(), if you are using g_option_context_parse()
31030 to parse your commandline arguments.
31031 Calling g_option_context_parse() with Clutter's #GOptionGroup will result
31032 in Clutter's initialization. That is, the following code:
31034 g_option_context_set_main_group (context, clutter_get_option_group ());
31035 res = g_option_context_parse (context, &amp;argc, &amp;argc, NULL);
31037 is functionally equivalent to:
31039 clutter_init (&amp;argc, &amp;argv);
31041 After g_option_context_parse() on a #GOptionContext containing the
31042 Clutter #GOptionGroup has returned %TRUE, Clutter is guaranteed to be
31044 recognized by Clutter</doc>
31045 <return-value transfer-ownership="full">
31046 <doc xml:whitespace="preserve">a #GOptionGroup for the commandline arguments</doc>
31047 <type name="GLib.OptionGroup" c:type="GOptionGroup*"/>
31050 <function name="get_option_group_without_init"
31051 c:identifier="clutter_get_option_group_without_init"
31053 <doc xml:whitespace="preserve">Returns a #GOptionGroup for the command line arguments recognized
31054 by Clutter. You should add this group to your #GOptionContext with
31055 g_option_context_add_group(), if you are using g_option_context_parse()
31056 to parse your commandline arguments. Unlike clutter_get_option_group(),
31057 calling g_option_context_parse() with the #GOptionGroup returned by this
31058 function requires a subsequent explicit call to clutter_init(); use this
31059 function when needing to set foreign display connection with
31060 clutter_x11_set_display(), or with gtk_clutter_init().
31061 recognized by Clutter</doc>
31062 <return-value transfer-ownership="full">
31063 <doc xml:whitespace="preserve">a #GOptionGroup for the commandline arguments</doc>
31064 <type name="GLib.OptionGroup" c:type="GOptionGroup*"/>
31067 <function name="get_pointer_grab"
31068 c:identifier="clutter_get_pointer_grab"
31070 <doc xml:whitespace="preserve">Queries the current pointer grab of clutter.</doc>
31071 <return-value transfer-ownership="none">
31072 <doc xml:whitespace="preserve">the actor currently holding the pointer grab, or NULL if there is no grab.</doc>
31073 <type name="Actor" c:type="ClutterActor*"/>
31076 <function name="get_script_id"
31077 c:identifier="clutter_get_script_id"
31079 <doc xml:whitespace="preserve">Retrieves the Clutter script id, if any.
31080 a UI definition file. The returned string is owned by the object and
31081 should never be modified or freed.</doc>
31082 <return-value transfer-ownership="none">
31083 <doc xml:whitespace="preserve">the script id, or %NULL if @object was not defined inside</doc>
31084 <type name="utf8" c:type="gchar*"/>
31087 <parameter name="gobject" transfer-ownership="none">
31088 <doc xml:whitespace="preserve">a #GObject</doc>
31089 <type name="GObject.Object" c:type="GObject*"/>
31093 <function name="get_show_fps"
31094 c:identifier="clutter_get_show_fps"
31096 <doc xml:whitespace="preserve">Returns whether Clutter should print out the frames per second on the
31097 console. You can enable this setting either using the
31098 <literal>CLUTTER_SHOW_FPS</literal> environment variable or passing
31099 the <literal>--clutter-show-fps</literal> command line argument. *</doc>
31100 <return-value transfer-ownership="none">
31101 <doc xml:whitespace="preserve">%TRUE if Clutter should show the FPS.</doc>
31102 <type name="boolean" c:type="gboolean"/>
31105 <function name="get_timestamp" c:identifier="clutter_get_timestamp">
31106 <doc xml:whitespace="preserve">Returns the approximate number of microseconds passed since clutter was
31108 <return-value transfer-ownership="none">
31109 <doc xml:whitespace="preserve">Number of microseconds since clutter_init() was called.</doc>
31110 <type name="ulong" c:type="gulong"/>
31113 <function name="grab_keyboard"
31114 c:identifier="clutter_grab_keyboard"
31116 <doc xml:whitespace="preserve">Grabs keyboard events, after the grab is done keyboard
31117 events (#ClutterActor::key-press-event and #ClutterActor::key-release-event)
31118 are delivered to this actor directly. The source set in the event will be
31119 the actor that would have received the event if the keyboard grab was not
31121 Like pointer grabs, keyboard grabs should only be used as a last
31123 See also clutter_stage_set_key_focus() and clutter_actor_grab_key_focus()
31124 to perform a "soft" key grab and assign key focus to a specific actor.</doc>
31125 <return-value transfer-ownership="none">
31126 <type name="none" c:type="void"/>
31129 <parameter name="actor" transfer-ownership="none">
31130 <doc xml:whitespace="preserve">a #ClutterActor</doc>
31131 <type name="Actor" c:type="ClutterActor*"/>
31135 <function name="grab_pointer"
31136 c:identifier="clutter_grab_pointer"
31138 <doc xml:whitespace="preserve">Grabs pointer events, after the grab is done all pointer related events
31139 (press, motion, release, enter, leave and scroll) are delivered to this
31140 actor directly without passing through both capture and bubble phases of
31141 the event delivery chain. The source set in the event will be the actor
31142 that would have received the event if the pointer grab was not in effect.
31143 <note><para>Grabs completely override the entire event delivery chain
31144 done by Clutter. Pointer grabs should only be used as a last resource;
31145 using the #ClutterActor::captured-event signal should always be the
31146 preferred way to intercept event delivery to reactive actors.</para></note>
31147 If you wish to grab all the pointer events for a specific input device,
31148 you should use clutter_grab_pointer_for_device().</doc>
31149 <return-value transfer-ownership="none">
31150 <type name="none" c:type="void"/>
31153 <parameter name="actor" transfer-ownership="none">
31154 <doc xml:whitespace="preserve">a #ClutterActor</doc>
31155 <type name="Actor" c:type="ClutterActor*"/>
31159 <function name="grab_pointer_for_device"
31160 c:identifier="clutter_grab_pointer_for_device"
31162 <doc xml:whitespace="preserve">Grabs all the pointer events coming from the device @id for @actor.
31163 If @id is -1 then this function is equivalent to clutter_grab_pointer().</doc>
31164 <return-value transfer-ownership="none">
31165 <type name="none" c:type="void"/>
31168 <parameter name="actor" transfer-ownership="none">
31169 <doc xml:whitespace="preserve">a #ClutterActor</doc>
31170 <type name="Actor" c:type="ClutterActor*"/>
31172 <parameter name="id" transfer-ownership="none">
31173 <doc xml:whitespace="preserve">a device id, or -1</doc>
31174 <type name="int" c:type="gint"/>
31178 <constant name="grave" value="96">
31181 <constant name="greater" value="62">
31184 <constant name="greaterthanequal" value="2238">
31187 <constant name="guillemotleft" value="171">
31190 <constant name="guillemotright" value="187">
31193 <constant name="h" value="104">
31196 <constant name="hairspace" value="2728">
31199 <constant name="hcircumflex" value="694">
31202 <constant name="heart" value="2798">
31205 <constant name="hebrew_aleph" value="3296">
31208 <constant name="hebrew_ayin" value="3314">
31211 <constant name="hebrew_bet" value="3297">
31214 <constant name="hebrew_beth" value="3297">
31217 <constant name="hebrew_chet" value="3303">
31220 <constant name="hebrew_dalet" value="3299">
31223 <constant name="hebrew_daleth" value="3299">
31226 <constant name="hebrew_doublelowline" value="3295">
31229 <constant name="hebrew_finalkaph" value="3306">
31232 <constant name="hebrew_finalmem" value="3309">
31235 <constant name="hebrew_finalnun" value="3311">
31238 <constant name="hebrew_finalpe" value="3315">
31241 <constant name="hebrew_finalzade" value="3317">
31244 <constant name="hebrew_finalzadi" value="3317">
31247 <constant name="hebrew_gimel" value="3298">
31250 <constant name="hebrew_gimmel" value="3298">
31253 <constant name="hebrew_he" value="3300">
31256 <constant name="hebrew_het" value="3303">
31259 <constant name="hebrew_kaph" value="3307">
31262 <constant name="hebrew_kuf" value="3319">
31265 <constant name="hebrew_lamed" value="3308">
31268 <constant name="hebrew_mem" value="3310">
31271 <constant name="hebrew_nun" value="3312">
31274 <constant name="hebrew_pe" value="3316">
31277 <constant name="hebrew_qoph" value="3319">
31280 <constant name="hebrew_resh" value="3320">
31283 <constant name="hebrew_samech" value="3313">
31286 <constant name="hebrew_samekh" value="3313">
31289 <constant name="hebrew_shin" value="3321">
31292 <constant name="hebrew_taf" value="3322">
31295 <constant name="hebrew_taw" value="3322">
31298 <constant name="hebrew_tet" value="3304">
31301 <constant name="hebrew_teth" value="3304">
31304 <constant name="hebrew_waw" value="3301">
31307 <constant name="hebrew_yod" value="3305">
31310 <constant name="hebrew_zade" value="3318">
31313 <constant name="hebrew_zadi" value="3318">
31316 <constant name="hebrew_zain" value="3302">
31319 <constant name="hebrew_zayin" value="3302">
31322 <constant name="hexagram" value="2778">
31325 <constant name="horizconnector" value="2211">
31328 <constant name="horizlinescan1" value="2543">
31331 <constant name="horizlinescan3" value="2544">
31334 <constant name="horizlinescan5" value="2545">
31337 <constant name="horizlinescan7" value="2546">
31340 <constant name="horizlinescan9" value="2547">
31343 <constant name="hstroke" value="689">
31346 <constant name="ht" value="2530">
31349 <constant name="hyphen" value="173">
31352 <constant name="i" value="105">
31355 <constant name="iacute" value="237">
31358 <constant name="ibelowdot" value="16785099">
31361 <constant name="ibreve" value="16777517">
31364 <constant name="icircumflex" value="238">
31367 <constant name="identical" value="2255">
31370 <constant name="idiaeresis" value="239">
31373 <constant name="idotless" value="697">
31376 <constant name="ifonlyif" value="2253">
31379 <constant name="igrave" value="236">
31382 <constant name="ihook" value="16785097">
31385 <constant name="imacron" value="1007">
31388 <constant name="implies" value="2254">
31391 <constant name="includedin" value="2266">
31394 <constant name="includes" value="2267">
31397 <constant name="infinity" value="2242">
31400 <function name="init" c:identifier="clutter_init">
31401 <doc xml:whitespace="preserve">It will initialise everything needed to operate with Clutter and
31402 parses some standard command line options. @argc and @argv are
31403 adjusted accordingly so your own code will never see those standard
31405 <return-value transfer-ownership="full">
31406 <doc xml:whitespace="preserve">1 on success, < 0 on failure.</doc>
31407 <type name="InitError" c:type="ClutterInitError"/>
31410 <parameter name="argc"
31412 caller-allocates="0"
31413 transfer-ownership="full">
31414 <doc xml:whitespace="preserve">The number of arguments in @argv</doc>
31415 <type name="int" c:type="int*"/>
31417 <parameter name="argv"
31419 caller-allocates="0"
31420 transfer-ownership="full"
31422 <doc xml:whitespace="preserve">A pointer to an array of arguments.</doc>
31423 <array length="0" c:type="char***">
31424 <type name="utf8"/>
31429 <function name="init_with_args"
31430 c:identifier="clutter_init_with_args"
31433 <doc xml:whitespace="preserve">This function does the same work as clutter_init(). Additionally,
31434 it allows you to add your own command line options, and it
31435 automatically generates nicely formatted <option>--help</option>
31436 output. Note that your program will be terminated after writing
31437 out the help output. Also note that, in case of error, the
31438 error message will be placed inside @error instead of being
31439 printed on the display.
31440 initialised, or other values or #ClutterInitError in case of
31442 <return-value transfer-ownership="full">
31443 <doc xml:whitespace="preserve">%CLUTTER_INIT_SUCCESS if Clutter has been successfully</doc>
31444 <type name="InitError" c:type="ClutterInitError"/>
31447 <parameter name="argc"
31449 caller-allocates="0"
31450 transfer-ownership="full">
31451 <doc xml:whitespace="preserve">a pointer to the number of command line arguments</doc>
31452 <type name="int" c:type="int*"/>
31454 <parameter name="argv"
31456 caller-allocates="0"
31457 transfer-ownership="full"
31459 <doc xml:whitespace="preserve">a pointer to the array of command line arguments</doc>
31460 <array length="0" c:type="char***">
31461 <type name="utf8"/>
31464 <parameter name="parameter_string"
31465 transfer-ownership="none"
31467 <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>
31468 <type name="utf8" c:type="char*"/>
31470 <parameter name="entries" transfer-ownership="none" allow-none="1">
31471 <doc xml:whitespace="preserve">a %NULL terminated array of #GOptionEntry<!-- -->s describing the options of your program</doc>
31472 <type name="GLib.OptionEntry" c:type="GOptionEntry*"/>
31474 <parameter name="translation_domain"
31475 transfer-ownership="none"
31477 <doc xml:whitespace="preserve">a translation domain to use for translating the <option>--help</option> output for the options in</doc>
31478 <type name="utf8" c:type="char*"/>
31482 <constant name="integral" value="2239">
31485 <constant name="intersection" value="2268">
31488 <constant name="iogonek" value="999">
31491 <constant name="itilde" value="949">
31494 <constant name="j" value="106">
31497 <constant name="jcircumflex" value="700">
31500 <constant name="jot" value="3018">
31503 <constant name="k" value="107">
31506 <constant name="kana_A" value="1201">
31509 <constant name="kana_CHI" value="1217">
31512 <constant name="kana_E" value="1204">
31515 <constant name="kana_FU" value="1228">
31518 <constant name="kana_HA" value="1226">
31521 <constant name="kana_HE" value="1229">
31524 <constant name="kana_HI" value="1227">
31527 <constant name="kana_HO" value="1230">
31530 <constant name="kana_HU" value="1228">
31533 <constant name="kana_I" value="1202">
31536 <constant name="kana_KA" value="1206">
31539 <constant name="kana_KE" value="1209">
31542 <constant name="kana_KI" value="1207">
31545 <constant name="kana_KO" value="1210">
31548 <constant name="kana_KU" value="1208">
31551 <constant name="kana_MA" value="1231">
31554 <constant name="kana_ME" value="1234">
31557 <constant name="kana_MI" value="1232">
31560 <constant name="kana_MO" value="1235">
31563 <constant name="kana_MU" value="1233">
31566 <constant name="kana_N" value="1245">
31569 <constant name="kana_NA" value="1221">
31572 <constant name="kana_NE" value="1224">
31575 <constant name="kana_NI" value="1222">
31578 <constant name="kana_NO" value="1225">
31581 <constant name="kana_NU" value="1223">
31584 <constant name="kana_O" value="1205">
31587 <constant name="kana_RA" value="1239">
31590 <constant name="kana_RE" value="1242">
31593 <constant name="kana_RI" value="1240">
31596 <constant name="kana_RO" value="1243">
31599 <constant name="kana_RU" value="1241">
31602 <constant name="kana_SA" value="1211">
31605 <constant name="kana_SE" value="1214">
31608 <constant name="kana_SHI" value="1212">
31611 <constant name="kana_SO" value="1215">
31614 <constant name="kana_SU" value="1213">
31617 <constant name="kana_TA" value="1216">
31620 <constant name="kana_TE" value="1219">
31623 <constant name="kana_TI" value="1217">
31626 <constant name="kana_TO" value="1220">
31629 <constant name="kana_TSU" value="1218">
31632 <constant name="kana_TU" value="1218">
31635 <constant name="kana_U" value="1203">
31638 <constant name="kana_WA" value="1244">
31641 <constant name="kana_WO" value="1190">
31644 <constant name="kana_YA" value="1236">
31647 <constant name="kana_YO" value="1238">
31650 <constant name="kana_YU" value="1237">
31653 <constant name="kana_a" value="1191">
31656 <constant name="kana_closingbracket" value="1187">
31659 <constant name="kana_comma" value="1188">
31662 <constant name="kana_conjunctive" value="1189">
31665 <constant name="kana_e" value="1194">
31668 <constant name="kana_fullstop" value="1185">
31671 <constant name="kana_i" value="1192">
31674 <constant name="kana_middledot" value="1189">
31677 <constant name="kana_o" value="1195">
31680 <constant name="kana_openingbracket" value="1186">
31683 <constant name="kana_switch" value="65406">
31686 <constant name="kana_tsu" value="1199">
31689 <constant name="kana_tu" value="1199">
31692 <constant name="kana_u" value="1193">
31695 <constant name="kana_ya" value="1196">
31698 <constant name="kana_yo" value="1198">
31701 <constant name="kana_yu" value="1197">
31704 <constant name="kappa" value="930">
31707 <constant name="kcedilla" value="1011">
31710 <function name="keysym_to_unicode"
31711 c:identifier="clutter_keysym_to_unicode">
31712 <doc xml:whitespace="preserve">Convert from a Clutter key symbol to the corresponding ISO10646 (Unicode)
31715 <return-value transfer-ownership="none">
31716 <doc xml:whitespace="preserve">a Unicode character, or 0 if there is no corresponding</doc>
31717 <type name="uint32" c:type="guint32"/>
31720 <parameter name="keyval" transfer-ownership="none">
31721 <doc xml:whitespace="preserve">a key symbol</doc>
31722 <type name="uint" c:type="guint"/>
31726 <constant name="kra" value="930">
31729 <constant name="l" value="108">
31732 <constant name="lacute" value="485">
31735 <constant name="latincross" value="2777">
31738 <constant name="lbelowdot" value="16784951">
31741 <constant name="lcaron" value="437">
31744 <constant name="lcedilla" value="950">
31747 <constant name="leftanglebracket" value="2748">
31750 <constant name="leftarrow" value="2299">
31753 <constant name="leftcaret" value="2979">
31756 <constant name="leftdoublequotemark" value="2770">
31759 <constant name="leftmiddlecurlybrace" value="2223">
31762 <constant name="leftopentriangle" value="2764">
31765 <constant name="leftpointer" value="2794">
31768 <constant name="leftradical" value="2209">
31771 <constant name="leftshoe" value="3034">
31774 <constant name="leftsinglequotemark" value="2768">
31777 <constant name="leftt" value="2548">
31780 <constant name="lefttack" value="3036">
31783 <constant name="less" value="60">
31786 <constant name="lessthanequal" value="2236">
31789 <constant name="lf" value="2533">
31792 <constant name="logicaland" value="2270">
31795 <constant name="logicalor" value="2271">
31798 <constant name="lowleftcorner" value="2541">
31801 <constant name="lowrightcorner" value="2538">
31804 <constant name="lstroke" value="435">
31807 <constant name="m" value="109">
31810 <constant name="mabovedot" value="16784961">
31813 <constant name="macron" value="175">
31816 <function name="main" c:identifier="clutter_main">
31817 <doc xml:whitespace="preserve">Starts the Clutter mainloop.</doc>
31818 <return-value transfer-ownership="none">
31819 <type name="none" c:type="void"/>
31822 <function name="main_level" c:identifier="clutter_main_level">
31823 <doc xml:whitespace="preserve">Retrieves the depth of the Clutter mainloop.</doc>
31824 <return-value transfer-ownership="none">
31825 <doc xml:whitespace="preserve">The level of the mainloop.</doc>
31826 <type name="int" c:type="gint"/>
31829 <function name="main_quit" c:identifier="clutter_main_quit">
31830 <doc xml:whitespace="preserve">Terminates the Clutter mainloop.</doc>
31831 <return-value transfer-ownership="none">
31832 <type name="none" c:type="void"/>
31835 <constant name="malesymbol" value="2807">
31838 <constant name="maltesecross" value="2800">
31841 <constant name="marker" value="2751">
31844 <constant name="masculine" value="186">
31847 <constant name="minus" value="45">
31850 <constant name="minutes" value="2774">
31853 <constant name="mu" value="181">
31856 <constant name="multiply" value="215">
31859 <constant name="musicalflat" value="2806">
31862 <constant name="musicalsharp" value="2805">
31865 <constant name="n" value="110">
31868 <constant name="nabla" value="2245">
31871 <constant name="nacute" value="497">
31874 <constant name="ncaron" value="498">
31877 <constant name="ncedilla" value="1009">
31880 <constant name="ninesubscript" value="16785545">
31883 <constant name="ninesuperior" value="16785529">
31886 <constant name="nl" value="2536">
31889 <constant name="nobreakspace" value="160">
31892 <constant name="notapproxeq" value="16785991">
31895 <constant name="notelementof" value="16785929">
31898 <constant name="notequal" value="2237">
31901 <constant name="notidentical" value="16786018">
31904 <constant name="notsign" value="172">
31907 <constant name="ntilde" value="241">
31910 <constant name="numbersign" value="35">
31913 <constant name="numerosign" value="1712">
31916 <constant name="o" value="111">
31919 <constant name="oacute" value="243">
31922 <constant name="obarred" value="16777845">
31925 <constant name="obelowdot" value="16785101">
31928 <constant name="ocaron" value="16777682">
31931 <constant name="ocircumflex" value="244">
31934 <constant name="ocircumflexacute" value="16785105">
31937 <constant name="ocircumflexbelowdot" value="16785113">
31940 <constant name="ocircumflexgrave" value="16785107">
31943 <constant name="ocircumflexhook" value="16785109">
31946 <constant name="ocircumflextilde" value="16785111">
31949 <constant name="odiaeresis" value="246">
31952 <constant name="odoubleacute" value="501">
31955 <constant name="oe" value="5053">
31958 <constant name="ogonek" value="434">
31961 <constant name="ograve" value="242">
31964 <constant name="ohook" value="16785103">
31967 <constant name="ohorn" value="16777633">
31970 <constant name="ohornacute" value="16785115">
31973 <constant name="ohornbelowdot" value="16785123">
31976 <constant name="ohorngrave" value="16785117">
31979 <constant name="ohornhook" value="16785119">
31982 <constant name="ohorntilde" value="16785121">
31985 <constant name="omacron" value="1010">
31988 <constant name="oneeighth" value="2755">
31991 <constant name="onefifth" value="2738">
31994 <constant name="onehalf" value="189">
31997 <constant name="onequarter" value="188">
32000 <constant name="onesixth" value="2742">
32003 <constant name="onesubscript" value="16785537">
32006 <constant name="onesuperior" value="185">
32009 <constant name="onethird" value="2736">
32012 <constant name="ooblique" value="248">
32015 <constant name="openrectbullet" value="2786">
32018 <constant name="openstar" value="2789">
32021 <constant name="opentribulletdown" value="2788">
32024 <constant name="opentribulletup" value="2787">
32027 <constant name="ordfeminine" value="170">
32030 <constant name="oslash" value="248">
32033 <constant name="otilde" value="245">
32036 <constant name="overbar" value="3008">
32039 <constant name="overline" value="1150">
32042 <constant name="p" value="112">
32045 <constant name="pabovedot" value="16784983">
32048 <constant name="paragraph" value="182">
32051 <function name="param_spec_color"
32052 c:identifier="clutter_param_spec_color"
32054 <doc xml:whitespace="preserve">Creates a #GParamSpec for properties using #ClutterColor.</doc>
32055 <return-value transfer-ownership="full">
32056 <doc xml:whitespace="preserve">the newly created #GParamSpec</doc>
32057 <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
32060 <parameter name="name" transfer-ownership="none">
32061 <doc xml:whitespace="preserve">name of the property</doc>
32062 <type name="utf8" c:type="gchar*"/>
32064 <parameter name="nick" transfer-ownership="none">
32065 <doc xml:whitespace="preserve">short name</doc>
32066 <type name="utf8" c:type="gchar*"/>
32068 <parameter name="blurb" transfer-ownership="none">
32069 <doc xml:whitespace="preserve">description (can be translatable)</doc>
32070 <type name="utf8" c:type="gchar*"/>
32072 <parameter name="default_value" transfer-ownership="none">
32073 <doc xml:whitespace="preserve">default value</doc>
32074 <type name="Color" c:type="ClutterColor*"/>
32076 <parameter name="flags" transfer-ownership="none">
32077 <doc xml:whitespace="preserve">flags for the param spec</doc>
32078 <type name="GObject.ParamFlags" c:type="GParamFlags"/>
32082 <function name="param_spec_fixed"
32083 c:identifier="clutter_param_spec_fixed"
32085 <doc xml:whitespace="preserve">Creates a #GParamSpec for properties using #CoglFixed values</doc>
32086 <return-value transfer-ownership="full">
32087 <doc xml:whitespace="preserve">the newly created #GParamSpec</doc>
32088 <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
32091 <parameter name="name" transfer-ownership="none">
32092 <doc xml:whitespace="preserve">name of the property</doc>
32093 <type name="utf8" c:type="gchar*"/>
32095 <parameter name="nick" transfer-ownership="none">
32096 <doc xml:whitespace="preserve">short name</doc>
32097 <type name="utf8" c:type="gchar*"/>
32099 <parameter name="blurb" transfer-ownership="none">
32100 <doc xml:whitespace="preserve">description (can be translatable)</doc>
32101 <type name="utf8" c:type="gchar*"/>
32103 <parameter name="minimum" transfer-ownership="none">
32104 <doc xml:whitespace="preserve">lower boundary</doc>
32105 <type name="Cogl.Fixed" c:type="CoglFixed"/>
32107 <parameter name="maximum" transfer-ownership="none">
32108 <doc xml:whitespace="preserve">higher boundary</doc>
32109 <type name="Cogl.Fixed" c:type="CoglFixed"/>
32111 <parameter name="default_value" transfer-ownership="none">
32112 <doc xml:whitespace="preserve">default value</doc>
32113 <type name="Cogl.Fixed" c:type="CoglFixed"/>
32115 <parameter name="flags" transfer-ownership="none">
32116 <doc xml:whitespace="preserve">flags for the param spec</doc>
32117 <type name="GObject.ParamFlags" c:type="GParamFlags"/>
32121 <function name="param_spec_units"
32122 c:identifier="clutter_param_spec_units"
32124 <doc xml:whitespace="preserve">Creates a #GParamSpec for properties using #ClutterUnits.</doc>
32125 <return-value transfer-ownership="full">
32126 <doc xml:whitespace="preserve">the newly created #GParamSpec</doc>
32127 <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
32130 <parameter name="name" transfer-ownership="none">
32131 <doc xml:whitespace="preserve">name of the property</doc>
32132 <type name="utf8" c:type="gchar*"/>
32134 <parameter name="nick" transfer-ownership="none">
32135 <doc xml:whitespace="preserve">short name</doc>
32136 <type name="utf8" c:type="gchar*"/>
32138 <parameter name="blurb" transfer-ownership="none">
32139 <doc xml:whitespace="preserve">description (can be translatable)</doc>
32140 <type name="utf8" c:type="gchar*"/>
32142 <parameter name="default_type" transfer-ownership="none">
32143 <doc xml:whitespace="preserve">the default type for the #ClutterUnits</doc>
32144 <type name="UnitType" c:type="ClutterUnitType"/>
32146 <parameter name="minimum" transfer-ownership="none">
32147 <doc xml:whitespace="preserve">lower boundary</doc>
32148 <type name="float" c:type="gfloat"/>
32150 <parameter name="maximum" transfer-ownership="none">
32151 <doc xml:whitespace="preserve">higher boundary</doc>
32152 <type name="float" c:type="gfloat"/>
32154 <parameter name="default_value" transfer-ownership="none">
32155 <doc xml:whitespace="preserve">default value</doc>
32156 <type name="float" c:type="gfloat"/>
32158 <parameter name="flags" transfer-ownership="none">
32159 <doc xml:whitespace="preserve">flags for the param spec</doc>
32160 <type name="GObject.ParamFlags" c:type="GParamFlags"/>
32164 <constant name="parenleft" value="40">
32167 <constant name="parenright" value="41">
32170 <constant name="partdifferential" value="16785922">
32173 <constant name="partialderivative" value="2287">
32176 <constant name="percent" value="37">
32179 <constant name="period" value="46">
32182 <constant name="periodcentered" value="183">
32185 <constant name="phonographcopyright" value="2811">
32188 <constant name="plus" value="43">
32191 <constant name="plusminus" value="177">
32194 <constant name="prescription" value="2772">
32197 <constant name="prolongedsound" value="1200">
32200 <constant name="punctspace" value="2726">
32203 <constant name="q" value="113">
32206 <constant name="quad" value="3020">
32209 <constant name="question" value="63">
32212 <constant name="questiondown" value="191">
32215 <constant name="quotedbl" value="34">
32218 <constant name="quoteleft" value="96">
32221 <constant name="quoteright" value="39">
32224 <constant name="r" value="114">
32227 <constant name="racute" value="480">
32230 <constant name="radical" value="2262">
32233 <constant name="rcaron" value="504">
32236 <constant name="rcedilla" value="947">
32239 <function name="redraw" c:identifier="clutter_redraw">
32240 <doc xml:whitespace="preserve">Forces a redraw of the entire stage. Applications should never use this
32241 function, but queue a redraw using clutter_actor_queue_redraw().
32242 This function should only be used by libraries integrating Clutter from
32243 within another toolkit.</doc>
32244 <return-value transfer-ownership="none">
32245 <type name="none" c:type="void"/>
32248 <parameter name="stage" transfer-ownership="none">
32249 <type name="Stage" c:type="ClutterStage*"/>
32253 <constant name="registered" value="174">
32256 <constant name="rightanglebracket" value="2750">
32259 <constant name="rightarrow" value="2301">
32262 <constant name="rightcaret" value="2982">
32265 <constant name="rightdoublequotemark" value="2771">
32268 <constant name="rightmiddlecurlybrace" value="2224">
32271 <constant name="rightmiddlesummation" value="2231">
32274 <constant name="rightopentriangle" value="2765">
32277 <constant name="rightpointer" value="2795">
32280 <constant name="rightshoe" value="3032">
32283 <constant name="rightsinglequotemark" value="2769">
32286 <constant name="rightt" value="2549">
32289 <constant name="righttack" value="3068">
32292 <constant name="s" value="115">
32295 <constant name="sabovedot" value="16784993">
32298 <constant name="sacute" value="438">
32301 <constant name="scaron" value="441">
32304 <constant name="scedilla" value="442">
32307 <constant name="schwa" value="16777817">
32310 <constant name="scircumflex" value="766">
32313 <constant name="script_switch" value="65406">
32316 <constant name="seconds" value="2775">
32319 <constant name="section" value="167">
32322 <constant name="semicolon" value="59">
32325 <constant name="semivoicedsound" value="1247">
32328 <function name="set_default_frame_rate"
32329 c:identifier="clutter_set_default_frame_rate"
32331 <doc xml:whitespace="preserve">Sets the default frame rate. This frame rate will be used to limit
32332 the number of frames drawn if Clutter is not able to synchronize
32333 with the vertical refresh rate of the display. When synchronization
32334 is possible, this value is ignored.</doc>
32335 <return-value transfer-ownership="none">
32336 <type name="none" c:type="void"/>
32339 <parameter name="frames_per_sec" transfer-ownership="none">
32340 <doc xml:whitespace="preserve">the new default frame rate</doc>
32341 <type name="uint" c:type="guint"/>
32345 <function name="set_font_flags"
32346 c:identifier="clutter_set_font_flags"
32348 <doc xml:whitespace="preserve">Sets the font quality options for subsequent text rendering
32350 Using mipmapped textures will improve the quality for scaled down
32351 text but will use more texture memory.
32352 Enabling hinting improves text quality for static text but may
32353 introduce some artifacts if the text is animated.</doc>
32354 <return-value transfer-ownership="none">
32355 <type name="none" c:type="void"/>
32358 <parameter name="flags" transfer-ownership="none">
32359 <doc xml:whitespace="preserve">The new flags</doc>
32360 <type name="FontFlags" c:type="ClutterFontFlags"/>
32364 <function name="set_motion_events_enabled"
32365 c:identifier="clutter_set_motion_events_enabled"
32367 <doc xml:whitespace="preserve">Sets whether per-actor motion events should be enabled or not (the
32368 default is to enable them).
32369 If @enable is %FALSE the following events will not work:
32370 <itemizedlist>
32371 <listitem><para>ClutterActor::motion-event, unless on the
32372 #ClutterStage</para></listitem>
32373 <listitem><para>ClutterActor::enter-event</para></listitem>
32374 <listitem><para>ClutterActor::leave-event</para></listitem>
32375 </itemizedlist></doc>
32376 <return-value transfer-ownership="none">
32377 <type name="none" c:type="void"/>
32380 <parameter name="enable" transfer-ownership="none">
32381 <doc xml:whitespace="preserve">%TRUE to enable per-actor motion events</doc>
32382 <type name="boolean" c:type="gboolean"/>
32386 <constant name="seveneighths" value="2758">
32389 <constant name="sevensubscript" value="16785543">
32392 <constant name="sevensuperior" value="16785527">
32395 <constant name="signaturemark" value="2762">
32398 <constant name="signifblank" value="2732">
32401 <constant name="similarequal" value="2249">
32404 <constant name="singlelowquotemark" value="2813">
32407 <constant name="sixsubscript" value="16785542">
32410 <constant name="sixsuperior" value="16785526">
32413 <constant name="slash" value="47">
32416 <constant name="soliddiamond" value="2528">
32419 <constant name="space" value="32">
32422 <constant name="squareroot" value="16785946">
32425 <constant name="ssharp" value="223">
32428 <constant name="sterling" value="163">
32431 <constant name="stricteq" value="16786019">
32434 <constant name="t" value="116">
32437 <constant name="tabovedot" value="16785003">
32440 <constant name="tcaron" value="443">
32443 <constant name="tcedilla" value="510">
32446 <constant name="telephone" value="2809">
32449 <constant name="telephonerecorder" value="2810">
32452 <constant name="therefore" value="2240">
32455 <constant name="thinspace" value="2727">
32458 <constant name="thorn" value="254">
32461 <function name="threads_add_frame_source"
32462 c:identifier="clutter_threads_add_frame_source"
32464 <doc xml:whitespace="preserve">Simple wrapper around clutter_threads_add_frame_source_full().</doc>
32465 <return-value transfer-ownership="none">
32466 <doc xml:whitespace="preserve">the ID (greater than 0) of the event source.</doc>
32467 <type name="uint" c:type="guint"/>
32470 <parameter name="fps" transfer-ownership="none">
32471 <doc xml:whitespace="preserve">the number of times per second to call the function</doc>
32472 <type name="uint" c:type="guint"/>
32474 <parameter name="func"
32475 transfer-ownership="none"
32478 <doc xml:whitespace="preserve">function to call</doc>
32479 <type name="GLib.SourceFunc" c:type="GSourceFunc"/>
32481 <parameter name="data" transfer-ownership="none">
32482 <doc xml:whitespace="preserve">data to pass to the function</doc>
32483 <type name="any" c:type="gpointer"/>
32487 <function name="threads_add_frame_source_full"
32488 c:identifier="clutter_threads_add_frame_source_full"
32490 <doc xml:whitespace="preserve">Sets a function to be called at regular intervals holding the Clutter
32491 threads lock, with the given priority. The function is called repeatedly
32492 until it returns %FALSE, at which point the timeout is automatically
32493 removed and the function will not be called again. The @notify function
32494 is called when the timeout is removed.
32495 This function is similar to clutter_threads_add_timeout_full()
32496 except that it will try to compensate for delays. For example, if
32497 will be called again half the interval time after it finished. In
32498 contrast clutter_threads_add_timeout_full() would not fire until a
32499 full interval after the function completes so the delay between
32500 calls would be @interval * 1.5. This function does not however try
32501 to invoke the function multiple times to catch up missing frames if
32502 See also clutter_threads_add_idle_full().</doc>
32503 <return-value transfer-ownership="none">
32504 <doc xml:whitespace="preserve">the ID (greater than 0) of the event source.</doc>
32505 <type name="uint" c:type="guint"/>
32508 <parameter name="priority" transfer-ownership="none">
32509 <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>
32510 <type name="int" c:type="gint"/>
32512 <parameter name="fps" transfer-ownership="none">
32513 <doc xml:whitespace="preserve">the number of times per second to call the function</doc>
32514 <type name="uint" c:type="guint"/>
32516 <parameter name="func"
32517 transfer-ownership="none"
32521 <doc xml:whitespace="preserve">function to call</doc>
32522 <type name="GLib.SourceFunc" c:type="GSourceFunc"/>
32524 <parameter name="data" transfer-ownership="none">
32525 <doc xml:whitespace="preserve">data to pass to the function</doc>
32526 <type name="any" c:type="gpointer"/>
32528 <parameter name="notify" transfer-ownership="none" scope="call">
32529 <doc xml:whitespace="preserve">function to call when the timeout source is removed</doc>
32530 <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
32534 <function name="threads_add_idle"
32535 c:identifier="clutter_threads_add_idle"
32537 <doc xml:whitespace="preserve">Simple wrapper around clutter_threads_add_idle_full() using the
32538 default priority.</doc>
32539 <return-value transfer-ownership="none">
32540 <doc xml:whitespace="preserve">the ID (greater than 0) of the event source.</doc>
32541 <type name="uint" c:type="guint"/>
32544 <parameter name="func"
32545 transfer-ownership="none"
32548 <doc xml:whitespace="preserve">function to call</doc>
32549 <type name="GLib.SourceFunc" c:type="GSourceFunc"/>
32551 <parameter name="data" transfer-ownership="none">
32552 <doc xml:whitespace="preserve">data to pass to the function</doc>
32553 <type name="any" c:type="gpointer"/>
32557 <function name="threads_add_idle_full"
32558 c:identifier="clutter_threads_add_idle_full"
32560 <doc xml:whitespace="preserve">Adds a function to be called whenever there are no higher priority
32561 events pending. If the function returns %FALSE it is automatically
32562 removed from the list of event sources and will not be called again.
32563 This function can be considered a thread-safe variant of g_idle_add_full():
32564 it will call @function while holding the Clutter lock. It is logically
32565 equivalent to the following implementation:
32568 idle_safe_callback (gpointer data)
32570 SafeClosure *closure = data;
32571 gboolean res = FALSE;
32572 /&ast; mark the critical section &ast;/
32573 clutter_threads_enter();
32574 /&ast; the callback does not need to acquire the Clutter
32575 &ast; lock itself, as it is held by the this proxy handler
32577 res = closure->callback (closure->data);
32578 clutter_threads_leave();
32582 add_safe_idle (GSourceFunc callback,
32585 SafeClosure *closure = g_new0 (SafeClosure, 1);
32586 closure-&gt;callback = callback;
32587 closure-&gt;data = data;
32588 return g_add_idle_full (G_PRIORITY_DEFAULT_IDLE,
32589 idle_safe_callback,
32594 This function should be used by threaded applications to make sure
32595 that @func is emitted under the Clutter threads lock and invoked
32596 from the same thread that started the Clutter main loop. For instance,
32597 it can be used to update the UI using the results from a worker
32601 update_ui (gpointer data)
32603 SomeClosure *closure = data;
32604 /&ast; it is safe to call Clutter API from this function because
32605 &ast; it is invoked from the same thread that started the main
32606 &ast; loop and under the Clutter thread lock
32608 clutter_label_set_text (CLUTTER_LABEL (closure-&gt;label),
32609 closure-&gt;text);
32610 g_object_unref (closure-&gt;label);
32614 /&ast; within another thread &ast;/
32615 closure = g_new0 (SomeClosure, 1);
32616 /&ast; always take a reference on GObject instances &ast;/
32617 closure-&gt;label = g_object_ref (my_application-&gt;label);
32618 closure-&gt;text = g_strdup (processed_text_to_update_the_label);
32619 clutter_threads_add_idle_full (G_PRIORITY_HIGH_IDLE,
32624 <return-value transfer-ownership="none">
32625 <doc xml:whitespace="preserve">the ID (greater than 0) of the event source.</doc>
32626 <type name="uint" c:type="guint"/>
32629 <parameter name="priority" transfer-ownership="none">
32630 <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>
32631 <type name="int" c:type="gint"/>
32633 <parameter name="func"
32634 transfer-ownership="none"
32638 <doc xml:whitespace="preserve">function to call</doc>
32639 <type name="GLib.SourceFunc" c:type="GSourceFunc"/>
32641 <parameter name="data" transfer-ownership="none">
32642 <doc xml:whitespace="preserve">data to pass to the function</doc>
32643 <type name="any" c:type="gpointer"/>
32645 <parameter name="notify" transfer-ownership="none" scope="call">
32646 <doc xml:whitespace="preserve">functio to call when the idle source is removed</doc>
32647 <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
32651 <function name="threads_add_repaint_func"
32652 c:identifier="clutter_threads_add_repaint_func"
32654 <doc xml:whitespace="preserve">Adds a function to be called whenever Clutter is repainting a Stage.
32655 If the function returns %FALSE it is automatically removed from the
32656 list of repaint functions and will not be called again.
32657 This function is guaranteed to be called from within the same thread
32658 that called clutter_main(), and while the Clutter lock is being held.
32659 A repaint function is useful to ensure that an update of the scenegraph
32660 is performed before the scenegraph is repainted; for instance, uploading
32661 a frame from a video into a #ClutterTexture.
32662 When the repaint function is removed (either because it returned %FALSE
32663 or because clutter_threads_remove_repaint_func() has been called) the
32664 can use the returned integer to remove the repaint function by
32665 calling clutter_threads_remove_repaint_func().</doc>
32666 <return-value transfer-ownership="none">
32667 <doc xml:whitespace="preserve">the ID (greater than 0) of the repaint function. You</doc>
32668 <type name="uint" c:type="guint"/>
32671 <parameter name="func"
32672 transfer-ownership="none"
32676 <doc xml:whitespace="preserve">the function to be called within the paint cycle</doc>
32677 <type name="GLib.SourceFunc" c:type="GSourceFunc"/>
32679 <parameter name="data" transfer-ownership="none">
32680 <doc xml:whitespace="preserve">data to be passed to the function, or %NULL</doc>
32681 <type name="any" c:type="gpointer"/>
32683 <parameter name="notify" transfer-ownership="none" scope="call">
32684 <doc xml:whitespace="preserve">function to be called when removing the repaint function, or %NULL</doc>
32685 <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
32689 <function name="threads_add_timeout"
32690 c:identifier="clutter_threads_add_timeout"
32692 <doc xml:whitespace="preserve">Simple wrapper around clutter_threads_add_timeout_full().</doc>
32693 <return-value transfer-ownership="none">
32694 <doc xml:whitespace="preserve">the ID (greater than 0) of the event source.</doc>
32695 <type name="uint" c:type="guint"/>
32698 <parameter name="interval" transfer-ownership="none">
32699 <doc xml:whitespace="preserve">the time between calls to the function, in milliseconds</doc>
32700 <type name="uint" c:type="guint"/>
32702 <parameter name="func"
32703 transfer-ownership="none"
32706 <doc xml:whitespace="preserve">function to call</doc>
32707 <type name="GLib.SourceFunc" c:type="GSourceFunc"/>
32709 <parameter name="data" transfer-ownership="none">
32710 <doc xml:whitespace="preserve">data to pass to the function</doc>
32711 <type name="any" c:type="gpointer"/>
32715 <function name="threads_add_timeout_full"
32716 c:identifier="clutter_threads_add_timeout_full"
32718 <doc xml:whitespace="preserve">Sets a function to be called at regular intervals holding the Clutter
32719 threads lock, with the given priority. The function is called repeatedly
32720 until it returns %FALSE, at which point the timeout is automatically
32721 removed and the function will not be called again. The @notify function
32722 is called when the timeout is removed.
32723 The first call to the function will be at the end of the first @interval.
32724 It is important to note that, due to how the Clutter main loop is
32725 implemented, the timing will not be accurate and it will not try to
32726 "keep up" with the interval. A more reliable source is available
32727 using clutter_threads_add_frame_source_full(), which is also internally
32728 used by #ClutterTimeline.
32729 See also clutter_threads_add_idle_full().</doc>
32730 <return-value transfer-ownership="none">
32731 <doc xml:whitespace="preserve">the ID (greater than 0) of the event source.</doc>
32732 <type name="uint" c:type="guint"/>
32735 <parameter name="priority" transfer-ownership="none">
32736 <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>
32737 <type name="int" c:type="gint"/>
32739 <parameter name="interval" transfer-ownership="none">
32740 <doc xml:whitespace="preserve">the time between calls to the function, in milliseconds</doc>
32741 <type name="uint" c:type="guint"/>
32743 <parameter name="func"
32744 transfer-ownership="none"
32748 <doc xml:whitespace="preserve">function to call</doc>
32749 <type name="GLib.SourceFunc" c:type="GSourceFunc"/>
32751 <parameter name="data" transfer-ownership="none">
32752 <doc xml:whitespace="preserve">data to pass to the function</doc>
32753 <type name="any" c:type="gpointer"/>
32755 <parameter name="notify" transfer-ownership="none" scope="call">
32756 <doc xml:whitespace="preserve">function to call when the timeout source is removed</doc>
32757 <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
32761 <function name="threads_enter"
32762 c:identifier="clutter_threads_enter"
32764 <doc xml:whitespace="preserve">Locks the Clutter thread lock.</doc>
32765 <return-value transfer-ownership="none">
32766 <type name="none" c:type="void"/>
32769 <function name="threads_init"
32770 c:identifier="clutter_threads_init"
32772 <doc xml:whitespace="preserve">Initialises the Clutter threading mechanism, so that Clutter API can be
32773 called by multiple threads, using clutter_threads_enter() and
32774 clutter_threads_leave() to mark the critical sections.
32775 You must call g_thread_init() before this function.
32776 This function must be called before clutter_init().
32777 It is safe to call this function multiple times.</doc>
32778 <return-value transfer-ownership="none">
32779 <type name="none" c:type="void"/>
32782 <function name="threads_leave"
32783 c:identifier="clutter_threads_leave"
32785 <doc xml:whitespace="preserve">Unlocks the Clutter thread lock.</doc>
32786 <return-value transfer-ownership="none">
32787 <type name="none" c:type="void"/>
32790 <function name="threads_remove_repaint_func"
32791 c:identifier="clutter_threads_remove_repaint_func"
32793 <doc xml:whitespace="preserve">Removes the repaint function with @handle_id as its id</doc>
32794 <return-value transfer-ownership="none">
32795 <type name="none" c:type="void"/>
32798 <parameter name="handle_id" transfer-ownership="none">
32799 <doc xml:whitespace="preserve">an unsigned integer greater than zero</doc>
32800 <type name="uint" c:type="guint"/>
32804 <function name="threads_set_lock_functions"
32805 c:identifier="clutter_threads_set_lock_functions"
32807 <doc xml:whitespace="preserve">Allows the application to replace the standard method that
32808 Clutter uses to protect its data structures. Normally, Clutter
32809 creates a single #GMutex that is locked by clutter_threads_enter(),
32810 and released by clutter_threads_leave(); using this function an
32811 application provides, instead, a function @enter_fn that is
32812 called by clutter_threads_enter() and a function @leave_fn that is
32813 called by clutter_threads_leave().
32814 The functions must provide at least same locking functionality
32815 as the default implementation, but can also do extra application
32816 specific processing.
32817 As an example, consider an application that has its own recursive
32818 lock that when held, holds the Clutter lock as well. When Clutter
32819 unlocks the Clutter lock when entering a recursive main loop, the
32820 application must temporarily release its lock as well.
32821 Most threaded Clutter apps won't need to use this method.
32822 This method must be called before clutter_threads_init(), and cannot
32823 be called multiple times.</doc>
32824 <return-value transfer-ownership="none">
32825 <type name="none" c:type="void"/>
32828 <parameter name="enter_fn" transfer-ownership="none" scope="call">
32829 <doc xml:whitespace="preserve">function called when aquiring the Clutter main lock</doc>
32830 <type name="GObject.Callback" c:type="GCallback"/>
32832 <parameter name="leave_fn" transfer-ownership="none" scope="call">
32833 <doc xml:whitespace="preserve">function called when releasing the Clutter main lock</doc>
32834 <type name="GObject.Callback" c:type="GCallback"/>
32838 <constant name="threeeighths" value="2756">
32841 <constant name="threefifths" value="2740">
32844 <constant name="threequarters" value="190">
32847 <constant name="threesubscript" value="16785539">
32850 <constant name="threesuperior" value="179">
32853 <constant name="tintegral" value="16785965">
32856 <constant name="topintegral" value="2212">
32859 <constant name="topleftparens" value="2219">
32862 <constant name="topleftradical" value="2210">
32865 <constant name="topleftsqbracket" value="2215">
32868 <constant name="topleftsummation" value="2225">
32871 <constant name="toprightparens" value="2221">
32874 <constant name="toprightsqbracket" value="2217">
32877 <constant name="toprightsummation" value="2229">
32880 <constant name="topt" value="2551">
32883 <constant name="topvertsummationconnector" value="2227">
32886 <constant name="trademark" value="2761">
32889 <constant name="trademarkincircle" value="2763">
32892 <constant name="tslash" value="956">
32895 <constant name="twofifths" value="2739">
32898 <constant name="twosubscript" value="16785538">
32901 <constant name="twosuperior" value="178">
32904 <constant name="twothirds" value="2737">
32907 <constant name="u" value="117">
32910 <constant name="uacute" value="250">
32913 <constant name="ubelowdot" value="16785125">
32916 <constant name="ubreve" value="765">
32919 <constant name="ucircumflex" value="251">
32922 <constant name="udiaeresis" value="252">
32925 <constant name="udoubleacute" value="507">
32928 <constant name="ugrave" value="249">
32931 <constant name="uhook" value="16785127">
32934 <constant name="uhorn" value="16777648">
32937 <constant name="uhornacute" value="16785129">
32940 <constant name="uhornbelowdot" value="16785137">
32943 <constant name="uhorngrave" value="16785131">
32946 <constant name="uhornhook" value="16785133">
32949 <constant name="uhorntilde" value="16785135">
32952 <constant name="umacron" value="1022">
32955 <constant name="underbar" value="3014">
32958 <constant name="underscore" value="95">
32961 <function name="ungrab_keyboard"
32962 c:identifier="clutter_ungrab_keyboard"
32964 <doc xml:whitespace="preserve">Removes an existing grab of the keyboard.</doc>
32965 <return-value transfer-ownership="none">
32966 <type name="none" c:type="void"/>
32969 <function name="ungrab_pointer"
32970 c:identifier="clutter_ungrab_pointer"
32972 <doc xml:whitespace="preserve">Removes an existing grab of the pointer.</doc>
32973 <return-value transfer-ownership="none">
32974 <type name="none" c:type="void"/>
32977 <function name="ungrab_pointer_for_device"
32978 c:identifier="clutter_ungrab_pointer_for_device"
32980 <doc xml:whitespace="preserve">Removes an existing grab of the pointer events for device @id.</doc>
32981 <return-value transfer-ownership="none">
32982 <type name="none" c:type="void"/>
32985 <parameter name="id" transfer-ownership="none">
32986 <doc xml:whitespace="preserve">a device id</doc>
32987 <type name="int" c:type="gint"/>
32991 <constant name="union" value="2269">
32994 <constant name="uogonek" value="1017">
32997 <constant name="uparrow" value="2300">
33000 <constant name="upcaret" value="2985">
33003 <constant name="upleftcorner" value="2540">
33006 <constant name="uprightcorner" value="2539">
33009 <constant name="upshoe" value="3011">
33012 <constant name="upstile" value="3027">
33015 <constant name="uptack" value="3022">
33018 <constant name="uring" value="505">
33021 <function name="util_next_p2"
33022 c:identifier="clutter_util_next_p2"
33024 <doc xml:whitespace="preserve">Calculates the nearest power of two, greater than or equal to @a.</doc>
33025 <return-value transfer-ownership="none">
33026 <doc xml:whitespace="preserve">The nearest power of two, greater or equal to @a.</doc>
33027 <type name="int" c:type="gint"/>
33030 <parameter name="a" transfer-ownership="none">
33031 <doc xml:whitespace="preserve">Value to get the next power</doc>
33032 <type name="int" c:type="gint"/>
33036 <constant name="utilde" value="1021">
33039 <constant name="v" value="118">
33042 <function name="value_get_color"
33043 c:identifier="clutter_value_get_color"
33045 <doc xml:whitespace="preserve">Gets the #ClutterColor contained in @value.</doc>
33046 <return-value transfer-ownership="none">
33047 <doc xml:whitespace="preserve">the colors inside the passed #GValue</doc>
33048 <type name="Color" c:type="ClutterColor*"/>
33051 <parameter name="value" transfer-ownership="none">
33052 <doc xml:whitespace="preserve">a #GValue initialized to #CLUTTER_TYPE_COLOR</doc>
33053 <type name="GObject.Value" c:type="GValue*"/>
33057 <function name="value_get_fixed"
33058 c:identifier="clutter_value_get_fixed"
33060 <doc xml:whitespace="preserve">Gets the fixed point value stored inside @value.</doc>
33061 <return-value transfer-ownership="full">
33062 <doc xml:whitespace="preserve">the value inside the passed #GValue</doc>
33063 <type name="Cogl.Fixed" c:type="CoglFixed"/>
33066 <parameter name="value" transfer-ownership="none">
33067 <doc xml:whitespace="preserve">a #GValue initialized to %COGL_TYPE_FIXED</doc>
33068 <type name="GObject.Value" c:type="GValue*"/>
33072 <function name="value_get_shader_float"
33073 c:identifier="clutter_value_get_shader_float"
33075 <doc xml:whitespace="preserve">Retrieves the list of floating point values stored inside
33076 the passed #GValue. @value must have been initialized with
33077 %CLUTTER_TYPE_SHADER_FLOAT.
33078 The returned value is owned by the #GValue and should never
33079 be modified or freed.</doc>
33080 <return-value transfer-ownership="none">
33081 <doc xml:whitespace="preserve">the pointer to a list of floating point values.</doc>
33082 <type name="float" c:type="gfloat*"/>
33085 <parameter name="value" transfer-ownership="none">
33086 <doc xml:whitespace="preserve">a #GValue</doc>
33087 <type name="GObject.Value" c:type="GValue*"/>
33089 <parameter name="length"
33091 caller-allocates="0"
33092 transfer-ownership="full">
33093 <doc xml:whitespace="preserve">return location for the number of returned floating point values, or %NULL</doc>
33094 <type name="gsize" c:type="gsize*"/>
33098 <function name="value_get_shader_int"
33099 c:identifier="clutter_value_get_shader_int"
33101 <doc xml:whitespace="preserve">Retrieves the list of integer values stored inside the passed
33102 #GValue. @value must have been initialized with
33103 %CLUTTER_TYPE_SHADER_INT.
33104 The returned value is owned by the #GValue and should never
33105 be modified or freed.</doc>
33106 <return-value transfer-ownership="none">
33107 <doc xml:whitespace="preserve">the pointer to a list of integer values.</doc>
33108 <type name="int" c:type="gint*"/>
33111 <parameter name="value" transfer-ownership="none">
33112 <doc xml:whitespace="preserve">a #GValue</doc>
33113 <type name="GObject.Value" c:type="GValue*"/>
33115 <parameter name="length"
33117 caller-allocates="0"
33118 transfer-ownership="full">
33119 <doc xml:whitespace="preserve">return location for the number of returned integer values, or %NULL</doc>
33120 <type name="gsize" c:type="gsize*"/>
33124 <function name="value_get_shader_matrix"
33125 c:identifier="clutter_value_get_shader_matrix"
33127 <doc xml:whitespace="preserve">Retrieves a matrix of floating point values stored inside
33128 the passed #GValue. @value must have been initialized with
33129 %CLUTTER_TYPE_SHADER_MATRIX.
33130 of floating point values. The returned value is owned by the #GValue and
33131 should never be modified or freed.</doc>
33132 <return-value transfer-ownership="none">
33133 <doc xml:whitespace="preserve">the pointer to a matrix</doc>
33134 <array length="1" c:type="gfloat*">
33135 <type name="float"/>
33139 <parameter name="value" transfer-ownership="none">
33140 <doc xml:whitespace="preserve">a #GValue</doc>
33141 <type name="GObject.Value" c:type="GValue*"/>
33143 <parameter name="length"
33145 caller-allocates="0"
33146 transfer-ownership="full">
33147 <doc xml:whitespace="preserve">return location for the number of returned floating point values, or %NULL</doc>
33148 <type name="gsize" c:type="gsize*"/>
33152 <function name="value_get_units"
33153 c:identifier="clutter_value_get_units"
33155 <doc xml:whitespace="preserve">Gets the #ClutterUnit<!-- -->s contained in @value.</doc>
33156 <return-value transfer-ownership="none">
33157 <doc xml:whitespace="preserve">the units inside the passed #GValue</doc>
33158 <type name="Units" c:type="ClutterUnits*"/>
33161 <parameter name="value" transfer-ownership="none">
33162 <doc xml:whitespace="preserve">a #GValue initialized to #CLUTTER_TYPE_UNIT</doc>
33163 <type name="GObject.Value" c:type="GValue*"/>
33167 <function name="value_set_color"
33168 c:identifier="clutter_value_set_color"
33170 <doc xml:whitespace="preserve">Sets @value to @color.</doc>
33171 <return-value transfer-ownership="none">
33172 <type name="none" c:type="void"/>
33175 <parameter name="value" transfer-ownership="none">
33176 <doc xml:whitespace="preserve">a #GValue initialized to #CLUTTER_TYPE_COLOR</doc>
33177 <type name="GObject.Value" c:type="GValue*"/>
33179 <parameter name="color" transfer-ownership="none">
33180 <doc xml:whitespace="preserve">the color to set</doc>
33181 <type name="Color" c:type="ClutterColor*"/>
33185 <function name="value_set_fixed"
33186 c:identifier="clutter_value_set_fixed"
33188 <doc xml:whitespace="preserve">Sets @value to @fixed_.</doc>
33189 <return-value transfer-ownership="none">
33190 <type name="none" c:type="void"/>
33193 <parameter name="value" transfer-ownership="none">
33194 <doc xml:whitespace="preserve">a #GValue initialized to %COGL_TYPE_FIXED</doc>
33195 <type name="GObject.Value" c:type="GValue*"/>
33197 <parameter name="fixed_" transfer-ownership="none">
33198 <doc xml:whitespace="preserve">the fixed point value to set</doc>
33199 <type name="Cogl.Fixed" c:type="CoglFixed"/>
33203 <function name="value_set_shader_float"
33204 c:identifier="clutter_value_set_shader_float"
33206 <doc xml:whitespace="preserve">Sets @floats as the contents of @value. The passed #GValue
33207 must have been initialized using %CLUTTER_TYPE_SHADER_FLOAT.</doc>
33208 <return-value transfer-ownership="none">
33209 <type name="none" c:type="void"/>
33212 <parameter name="value" transfer-ownership="none">
33213 <doc xml:whitespace="preserve">a #GValue</doc>
33214 <type name="GObject.Value" c:type="GValue*"/>
33216 <parameter name="size" transfer-ownership="none">
33217 <doc xml:whitespace="preserve">number of floating point values in @floats</doc>
33218 <type name="int" c:type="gint"/>
33220 <parameter name="floats"
33222 caller-allocates="0"
33223 transfer-ownership="none">
33224 <doc xml:whitespace="preserve">an array of floating point values</doc>
33225 <type name="float" c:type="gfloat*"/>
33229 <function name="value_set_shader_int"
33230 c:identifier="clutter_value_set_shader_int"
33232 <doc xml:whitespace="preserve">Sets @ints as the contents of @value. The passed #GValue
33233 must have been initialized using %CLUTTER_TYPE_SHADER_INT.</doc>
33234 <return-value transfer-ownership="none">
33235 <type name="none" c:type="void"/>
33238 <parameter name="value" transfer-ownership="none">
33239 <doc xml:whitespace="preserve">a #GValue</doc>
33240 <type name="GObject.Value" c:type="GValue*"/>
33242 <parameter name="size" transfer-ownership="none">
33243 <doc xml:whitespace="preserve">number of integer values in @ints</doc>
33244 <type name="int" c:type="gint"/>
33246 <parameter name="ints"
33248 caller-allocates="0"
33249 transfer-ownership="none">
33250 <doc xml:whitespace="preserve">an array of integer values</doc>
33251 <type name="int" c:type="gint*"/>
33255 <function name="value_set_shader_matrix"
33256 c:identifier="clutter_value_set_shader_matrix"
33258 <doc xml:whitespace="preserve">Sets @matrix as the contents of @value. The passed #GValue
33259 must have been initialized using %CLUTTER_TYPE_SHADER_MATRIX.</doc>
33260 <return-value transfer-ownership="none">
33261 <type name="none" c:type="void"/>
33264 <parameter name="value" transfer-ownership="none">
33265 <doc xml:whitespace="preserve">a #GValue</doc>
33266 <type name="GObject.Value" c:type="GValue*"/>
33268 <parameter name="size" transfer-ownership="none">
33269 <doc xml:whitespace="preserve">number of floating point values in @floats</doc>
33270 <type name="int" c:type="gint"/>
33272 <parameter name="matrix"
33274 caller-allocates="0"
33275 transfer-ownership="none">
33276 <doc xml:whitespace="preserve">a matrix of floating point values</doc>
33277 <type name="float" c:type="gfloat*"/>
33281 <function name="value_set_units"
33282 c:identifier="clutter_value_set_units"
33284 <doc xml:whitespace="preserve">Sets @value to @units</doc>
33285 <return-value transfer-ownership="none">
33286 <type name="none" c:type="void"/>
33289 <parameter name="value" transfer-ownership="none">
33290 <doc xml:whitespace="preserve">a #GValue initialized to #CLUTTER_TYPE_UNIT</doc>
33291 <type name="GObject.Value" c:type="GValue*"/>
33293 <parameter name="units" transfer-ownership="none">
33294 <doc xml:whitespace="preserve">the units to set</doc>
33295 <type name="Units" c:type="ClutterUnits*"/>
33299 <constant name="variation" value="2241">
33302 <constant name="vertbar" value="2552">
33305 <constant name="vertconnector" value="2214">
33308 <constant name="voicedsound" value="1246">
33311 <constant name="vt" value="2537">
33314 <constant name="w" value="119">
33317 <constant name="wacute" value="16785027">
33320 <constant name="wcircumflex" value="16777589">
33323 <constant name="wdiaeresis" value="16785029">
33326 <constant name="wgrave" value="16785025">
33329 <constant name="x" value="120">
33332 <constant name="xabovedot" value="16785035">
33335 <constant name="y" value="121">
33338 <constant name="yacute" value="253">
33341 <constant name="ybelowdot" value="16785141">
33344 <constant name="ycircumflex" value="16777591">
33347 <constant name="ydiaeresis" value="255">
33350 <constant name="yen" value="165">
33353 <constant name="ygrave" value="16785139">
33356 <constant name="yhook" value="16785143">
33359 <constant name="ytilde" value="16785145">
33362 <constant name="z" value="122">
33365 <constant name="zabovedot" value="447">
33368 <constant name="zacute" value="444">
33371 <constant name="zcaron" value="446">
33374 <constant name="zerosubscript" value="16785536">
33377 <constant name="zerosuperior" value="16785520">
33380 <constant name="zstroke" value="16777654">