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="Clutter" version="1.0"/>
11 <include name="ClutterJson" version="1.0"/>
12 <include name="Cogl" version="1.0"/>
13 <include name="GL" version="1.0"/>
14 <include name="GLib" version="2.0"/>
15 <include name="GModule" version="2.0"/>
16 <include name="GObject" version="2.0"/>
17 <include name="Gdk" version="2.0"/>
18 <include name="GdkPixbuf" version="2.0"/>
19 <include name="Gio" version="2.0"/>
20 <include name="Gtk" version="2.0"/>
21 <include name="Pango" version="1.0"/>
22 <include name="PangoCairo" version="1.0"/>
23 <include name="PangoFT2" version="1.0"/>
24 <include name="cairo" version="1.0"/>
25 <include name="fontconfig" version="2.0"/>
26 <include name="freetype2" version="2.0"/>
27 <package name="clutter-1.0"/>
28 <package name="gobject-2.0"/>
29 <package name="gtk+-2.0"/>
30 <namespace name="GtkClutter"
32 shared-library="libclutter-gtk-0.90.so.0"
33 c:prefix="GtkClutter">
35 c:type="GtkClutterActor"
37 parent="Clutter.Actor"
38 glib:type-name="GtkClutterActor"
39 glib:get-type="gtk_clutter_actor_get_type"
40 glib:type-struct="ActorClass">
41 <doc xml:whitespace="preserve">A ClutterActor containing a #GtkWidget.</doc>
42 <implements name="Clutter.Container"/>
43 <implements name="Clutter.Scriptable"/>
44 <constructor name="new"
45 c:identifier="gtk_clutter_actor_new"
47 <doc xml:whitespace="preserve">Creates a new #GtkClutterActor widget. This widget can be
48 used to embed a Gtk widget into a clutter scene.</doc>
49 <return-value transfer-ownership="full">
50 <doc xml:whitespace="preserve">the newly created #GtkClutterActor</doc>
51 <type name="Actor" c:type="ClutterActor*"/>
54 <constructor name="new_with_contents"
55 c:identifier="gtk_clutter_actor_new_with_contents"
57 <doc xml:whitespace="preserve">Creates a new #GtkClutterActor widget. This widget can be
58 used to embed a Gtk widget into a clutter scene.
59 This function is shorthand for:
60 <example><programlisting>
61 ClutterActor *actor = gtk_clutter_actor_new ();
62 GtkWidget *bin = gtk_clutter_actor_get_widget (GTK_CLUTTER_ACTOR (actor));
63 gtk_container_add (GTK_CONTAINER (bin), contents);
64 </programlisting></example></doc>
65 <return-value transfer-ownership="full">
66 <doc xml:whitespace="preserve">the newly created #GtkClutterActor</doc>
67 <type name="Actor" c:type="ClutterActor*"/>
70 <parameter name="contents" transfer-ownership="none">
71 <doc xml:whitespace="preserve">a #GtkWidget to pack into this #ClutterActor</doc>
72 <type name="Gtk.Widget" c:type="GtkWidget*"/>
76 <method name="set_receives_events"
77 c:identifier="gtk_clutter_actor_set_receives_events">
78 <return-value transfer-ownership="none">
79 <type name="none" c:type="void"/>
82 <parameter name="receives_events" transfer-ownership="none">
83 <type name="boolean" c:type="gboolean"/>
87 <method name="get_receives_events"
88 c:identifier="gtk_clutter_actor_get_receives_events">
89 <return-value transfer-ownership="none">
90 <type name="boolean" c:type="gboolean"/>
93 <method name="get_widget"
94 c:identifier="gtk_clutter_actor_get_widget"
96 <return-value transfer-ownership="full">
97 <type name="Gtk.Widget" c:type="GtkWidget*"/>
100 <field name="parent_instance">
101 <type name="Clutter.Actor" c:type="ClutterActor"/>
104 <type name="ActorPrivate" c:type="GtkClutterActorPrivate*"/>
107 <record name="ActorClass"
108 c:type="GtkClutterActorClass"
109 glib:is-gtype-struct-for="Actor"
111 <doc xml:whitespace="preserve">Base class for #GtkClutterActor.</doc>
112 <field name="parent_class">
113 <type name="Clutter.ActorClass" c:type="ClutterActorClass"/>
115 <field name="clutter_gtk_reserved1">
116 <callback name="clutter_gtk_reserved1" c:type="_clutter_gtk_reserved1">
117 <return-value transfer-ownership="none">
118 <type name="none" c:type="void"/>
122 <field name="clutter_gtk_reserved2">
123 <callback name="clutter_gtk_reserved2" c:type="_clutter_gtk_reserved2">
124 <return-value transfer-ownership="none">
125 <type name="none" c:type="void"/>
129 <field name="clutter_gtk_reserved3">
130 <callback name="clutter_gtk_reserved3" c:type="_clutter_gtk_reserved3">
131 <return-value transfer-ownership="none">
132 <type name="none" c:type="void"/>
136 <field name="clutter_gtk_reserved4">
137 <callback name="clutter_gtk_reserved4" c:type="_clutter_gtk_reserved4">
138 <return-value transfer-ownership="none">
139 <type name="none" c:type="void"/>
143 <field name="clutter_gtk_reserved5">
144 <callback name="clutter_gtk_reserved5" c:type="_clutter_gtk_reserved5">
145 <return-value transfer-ownership="none">
146 <type name="none" c:type="void"/>
150 <field name="clutter_gtk_reserved6">
151 <callback name="clutter_gtk_reserved6" c:type="_clutter_gtk_reserved6">
152 <return-value transfer-ownership="none">
153 <type name="none" c:type="void"/>
158 <record name="ActorPrivate" c:type="GtkClutterActorPrivate">
160 <bitfield name="BindDirection" c:type="GtkClutterBindDirection">
161 <member name="horizontal"
163 c:identifier="GTK_CLUTTER_BIND_HORIZONTAL"/>
164 <member name="vertical"
166 c:identifier="GTK_CLUTTER_BIND_VERTICAL"/>
167 <member name="both" value="3" c:identifier="GTK_CLUTTER_BIND_BOTH"/>
169 <constant name="CLUTTER_GTK_MAJOR_VERSION" value="0">
172 <constant name="CLUTTER_GTK_MICRO_VERSION" value="1">
175 <constant name="CLUTTER_GTK_MINOR_VERSION" value="90">
178 <constant name="CLUTTER_GTK_VERSION" value="0.9">
179 <type name="double"/>
181 <constant name="CLUTTER_GTK_VERSION_HEX" value="0">
184 <constant name="CLUTTER_GTK_VERSION_S" value="0.90.1">
187 <enumeration name="ClutterGtkInitError"
189 c:type="ClutterGtkInitError">
190 <doc xml:whitespace="preserve">Extension of the #ClutterInitError enumeration for the integration
192 <member name="last" value="-3" c:identifier="CLUTTER_INIT_ERROR_LAST"/>
193 <member name="gtk" value="-4" c:identifier="CLUTTER_INIT_ERROR_GTK"/>
195 <enumeration name="ClutterGtkTextureError"
197 c:type="ClutterGtkTextureError">
198 <doc xml:whitespace="preserve">An enumeration of error types used in ClutterGtk texture functions</doc>
199 <member name="invalid_stock_id"
201 c:identifier="CLUTTER_GTK_TEXTURE_INVALID_STOCK_ID"/>
202 <member name="error_last"
204 c:identifier="CLUTTER_GTK_TEXTURE_ERROR_LAST"/>
207 c:type="GtkClutterEmbed"
209 parent="Gtk.Container"
210 glib:type-name="GtkClutterEmbed"
211 glib:get-type="gtk_clutter_embed_get_type"
212 glib:type-struct="EmbedClass">
213 <doc xml:whitespace="preserve">A #GtkWidget containing the default Clutter stage.</doc>
214 <implements name="Atk.ImplementorIface"/>
215 <implements name="Gtk.Buildable"/>
216 <constructor name="new"
217 c:identifier="gtk_clutter_embed_new"
219 <doc xml:whitespace="preserve">Creates a new #GtkClutterEmbed widget. This widget can be
220 used to build a scene using Clutter API into a GTK+ application.</doc>
221 <return-value transfer-ownership="full">
222 <doc xml:whitespace="preserve">the newly created #GtkClutterEmbed</doc>
223 <type name="Embed" c:type="GtkWidget*"/>
226 <method name="get_stage"
227 c:identifier="gtk_clutter_embed_get_stage"
229 <doc xml:whitespace="preserve">Retrieves the #ClutterStage from @embed. The returned stage can be
230 used to add actors to the Clutter scene.
231 the returned actor.</doc>
232 <return-value transfer-ownership="full">
233 <doc xml:whitespace="preserve">the Clutter stage. You should never destroy or unref</doc>
234 <type name="Clutter.Actor" c:type="ClutterActor*"/>
237 <field name="parent_instance">
238 <type name="Gtk.Container" c:type="GtkContainer"/>
241 <type name="EmbedPrivate" c:type="GtkClutterEmbedPrivate*"/>
244 <record name="EmbedClass"
245 c:type="GtkClutterEmbedClass"
246 glib:is-gtype-struct-for="Embed"
248 <doc xml:whitespace="preserve">Base class for #GtkClutterEmbed.</doc>
249 <field name="parent_class">
250 <type name="Gtk.ContainerClass" c:type="GtkContainerClass"/>
252 <field name="clutter_gtk_reserved1">
253 <callback name="clutter_gtk_reserved1" c:type="_clutter_gtk_reserved1">
254 <return-value transfer-ownership="none">
255 <type name="none" c:type="void"/>
259 <field name="clutter_gtk_reserved2">
260 <callback name="clutter_gtk_reserved2" c:type="_clutter_gtk_reserved2">
261 <return-value transfer-ownership="none">
262 <type name="none" c:type="void"/>
266 <field name="clutter_gtk_reserved3">
267 <callback name="clutter_gtk_reserved3" c:type="_clutter_gtk_reserved3">
268 <return-value transfer-ownership="none">
269 <type name="none" c:type="void"/>
273 <field name="clutter_gtk_reserved4">
274 <callback name="clutter_gtk_reserved4" c:type="_clutter_gtk_reserved4">
275 <return-value transfer-ownership="none">
276 <type name="none" c:type="void"/>
280 <field name="clutter_gtk_reserved5">
281 <callback name="clutter_gtk_reserved5" c:type="_clutter_gtk_reserved5">
282 <return-value transfer-ownership="none">
283 <type name="none" c:type="void"/>
287 <field name="clutter_gtk_reserved6">
288 <callback name="clutter_gtk_reserved6" c:type="_clutter_gtk_reserved6">
289 <return-value transfer-ownership="none">
290 <type name="none" c:type="void"/>
295 <record name="EmbedPrivate" c:type="GtkClutterEmbedPrivate">
297 <class name="Offscreen"
298 c:type="GtkClutterOffscreen"
300 glib:type-name="GtkClutterOffscreen"
301 glib:get-type="gtk_clutter_offscreen_get_type"
302 glib:type-struct="OffscreenClass">
303 <implements name="Atk.ImplementorIface"/>
304 <implements name="Gtk.Buildable"/>
305 <constructor name="new" c:identifier="gtk_clutter_offscreen_new">
306 <return-value transfer-ownership="full">
307 <type name="Offscreen" c:type="GtkWidget*"/>
310 <parameter name="actor" transfer-ownership="none">
311 <type name="Clutter.Actor" c:type="ClutterActor*"/>
315 <method name="set_active"
316 c:identifier="gtk_clutter_offscreen_set_active">
317 <return-value transfer-ownership="none">
318 <type name="none" c:type="void"/>
321 <parameter name="active" transfer-ownership="none">
322 <type name="boolean" c:type="gboolean"/>
327 <type name="Gtk.Bin" c:type="GtkBin"/>
329 <field name="active">
330 <type name="boolean" c:type="gboolean"/>
333 <type name="Clutter.Actor" c:type="ClutterActor*"/>
336 <record name="OffscreenClass"
337 c:type="GtkClutterOffscreenClass"
338 glib:is-gtype-struct-for="Offscreen">
339 <field name="parent_class">
340 <type name="Gtk.BinClass" c:type="GtkBinClass"/>
343 <interface name="Scrollable"
344 c:type="GtkClutterScrollable"
345 glib:type-name="GtkClutterScrollable"
346 glib:get-type="gtk_clutter_scrollable_get_type"
347 glib:type-struct="ScrollableIface">
348 <virtual-method name="set_adjustments"
349 invoker="set_adjustments"
351 <doc xml:whitespace="preserve">Sets the horizontal and vertical adjustments used to determine
352 the position of the scrollable actor.</doc>
353 <return-value transfer-ownership="none">
354 <type name="none" c:type="void"/>
357 <parameter name="h_adjust" transfer-ownership="none">
358 <doc xml:whitespace="preserve">a #GtkAdjustment, or %NULL</doc>
359 <type name="Gtk.Adjustment" c:type="GtkAdjustment*"/>
361 <parameter name="v_adjust" transfer-ownership="none">
362 <doc xml:whitespace="preserve">a #GtkAdjustment, or %NULL</doc>
363 <type name="Gtk.Adjustment" c:type="GtkAdjustment*"/>
367 <virtual-method name="get_adjustments"
368 invoker="get_adjustments"
370 <doc xml:whitespace="preserve">Retrieves the horizontal and vertical adjustments used to
371 determine the position of the scrollable actor.</doc>
372 <return-value transfer-ownership="none">
373 <type name="none" c:type="void"/>
376 <parameter name="h_adjust" transfer-ownership="none">
377 <doc xml:whitespace="preserve">return location for a #GtkAdjustment, or %NULL</doc>
378 <type name="Gtk.Adjustment" c:type="GtkAdjustment**"/>
380 <parameter name="v_adjust" transfer-ownership="none">
381 <doc xml:whitespace="preserve">return location for a #GtkAdjustment, or %NULL</doc>
382 <type name="Gtk.Adjustment" c:type="GtkAdjustment**"/>
386 <method name="set_adjustments"
387 c:identifier="gtk_clutter_scrollable_set_adjustments"
389 <doc xml:whitespace="preserve">Sets the horizontal and vertical adjustments used to determine
390 the position of the scrollable actor.</doc>
391 <return-value transfer-ownership="none">
392 <type name="none" c:type="void"/>
395 <parameter name="h_adjust" transfer-ownership="none">
396 <doc xml:whitespace="preserve">a #GtkAdjustment, or %NULL</doc>
397 <type name="Gtk.Adjustment" c:type="GtkAdjustment*"/>
399 <parameter name="v_adjust" transfer-ownership="none">
400 <doc xml:whitespace="preserve">a #GtkAdjustment, or %NULL</doc>
401 <type name="Gtk.Adjustment" c:type="GtkAdjustment*"/>
405 <method name="get_adjustments"
406 c:identifier="gtk_clutter_scrollable_get_adjustments"
408 <doc xml:whitespace="preserve">Retrieves the horizontal and vertical adjustments used to
409 determine the position of the scrollable actor.</doc>
410 <return-value transfer-ownership="none">
411 <type name="none" c:type="void"/>
414 <parameter name="h_adjust" transfer-ownership="none">
415 <doc xml:whitespace="preserve">return location for a #GtkAdjustment, or %NULL</doc>
416 <type name="Gtk.Adjustment" c:type="GtkAdjustment**"/>
418 <parameter name="v_adjust" transfer-ownership="none">
419 <doc xml:whitespace="preserve">return location for a #GtkAdjustment, or %NULL</doc>
420 <type name="Gtk.Adjustment" c:type="GtkAdjustment**"/>
424 <property name="hadjustment"
428 transfer-ownership="none">
429 <doc xml:whitespace="preserve">The #GtkAdjustment that determines the value of the
430 horizontal position for this scrollable actor.</doc>
431 <type name="Gtk.Adjustment" c:type="GtkAdjustment"/>
433 <property name="vadjustment"
437 transfer-ownership="none">
438 <doc xml:whitespace="preserve">The #GtkAdjustment that determines the value of the
439 vertical position for this scrollable actor.</doc>
440 <type name="Gtk.Adjustment" c:type="GtkAdjustment"/>
443 <record name="ScrollableIface"
444 c:type="GtkClutterScrollableIface"
445 glib:is-gtype-struct-for="Scrollable"
447 <doc xml:whitespace="preserve">The #GtkClutterScrollableIface structure contains only private data
448 and should be accessed using the provided functions.</doc>
449 <field name="parent_iface">
450 <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
452 <field name="set_adjustments">
453 <callback name="set_adjustments" c:type="set_adjustments">
454 <return-value transfer-ownership="none">
455 <type name="none" c:type="void"/>
458 <parameter name="scrollable" transfer-ownership="none">
459 <type name="Scrollable" c:type="GtkClutterScrollable*"/>
461 <parameter name="h_adjust" transfer-ownership="none">
462 <doc xml:whitespace="preserve">a #GtkAdjustment, or %NULL</doc>
463 <type name="Gtk.Adjustment" c:type="GtkAdjustment*"/>
465 <parameter name="v_adjust" transfer-ownership="none">
466 <doc xml:whitespace="preserve">a #GtkAdjustment, or %NULL</doc>
467 <type name="Gtk.Adjustment" c:type="GtkAdjustment*"/>
472 <field name="get_adjustments">
473 <callback name="get_adjustments" c:type="get_adjustments">
474 <return-value transfer-ownership="none">
475 <type name="none" c:type="void"/>
478 <parameter name="scrollable" transfer-ownership="none">
479 <type name="Scrollable" c:type="GtkClutterScrollable*"/>
481 <parameter name="h_adjust" transfer-ownership="none">
482 <doc xml:whitespace="preserve">return location for a #GtkAdjustment, or %NULL</doc>
483 <type name="Gtk.Adjustment" c:type="GtkAdjustment**"/>
485 <parameter name="v_adjust" transfer-ownership="none">
486 <doc xml:whitespace="preserve">return location for a #GtkAdjustment, or %NULL</doc>
487 <type name="Gtk.Adjustment" c:type="GtkAdjustment**"/>
493 <class name="Standin"
494 c:type="GtkClutterStandin"
497 glib:type-name="GtkClutterStandin"
498 glib:get-type="gtk_clutter_standin_get_type"
499 glib:type-struct="StandinClass">
500 <doc xml:whitespace="preserve">A #GtkWidget containing the default Clutter stage.</doc>
501 <implements name="Atk.ImplementorIface"/>
502 <implements name="Gtk.Buildable"/>
503 <constructor name="new"
504 c:identifier="gtk_clutter_standin_new"
506 <doc xml:whitespace="preserve">Creates a new #GtkClutterStandin widget. This widget is used as a stand-in
507 in the GTK+ widget tree for a widget that is sitting as a separate actor
508 on the #ClutterStage this widget is sat on.
509 This requires the widget tree to be embedded within a #GtkClutterActor.</doc>
510 <return-value transfer-ownership="full">
511 <doc xml:whitespace="preserve">the newly created #GtkClutterStandin</doc>
512 <type name="Standin" c:type="GtkWidget*"/>
515 <parameter name="actor" transfer-ownership="none">
516 <doc xml:whitespace="preserve">the #ClutterActor to stand-in for (or NULL)</doc>
517 <type name="Clutter.Actor" c:type="ClutterActor*"/>
521 <method name="set_actor"
522 c:identifier="gtk_clutter_standin_set_actor"
524 <doc xml:whitespace="preserve">Sets the actor for which the #GtkClutterStandin stands for</doc>
525 <return-value transfer-ownership="none">
526 <type name="none" c:type="void"/>
529 <parameter name="actor" transfer-ownership="none" allow-none="1">
530 <doc xml:whitespace="preserve">a #ClutterActor to stand in for, or %NULL</doc>
531 <type name="Clutter.Actor" c:type="ClutterActor*"/>
535 <method name="get_actor"
536 c:identifier="gtk_clutter_standin_get_actor"
538 <doc xml:whitespace="preserve">Retrieves a pointer to the actor that is represented by the standin widget</doc>
539 <return-value transfer-ownership="none">
540 <doc xml:whitespace="preserve">a #ClutterActor or %NULL</doc>
541 <type name="Clutter.Actor" c:type="ClutterActor*"/>
544 <property name="actor" writable="1" transfer-ownership="none">
545 <type name="Clutter.Actor" c:type="ClutterActor"/>
547 <field name="parent_instance">
548 <type name="Gtk.Widget" c:type="GtkWidget"/>
551 <type name="StandinPrivate" c:type="GtkClutterStandinPrivate*"/>
554 <class name="StandinBin"
555 c:type="GtkClutterStandinBin"
556 parent="Clutter.Actor"
557 glib:type-name="GtkClutterStandinBin"
558 glib:get-type="gtk_clutter_standin_bin_get_type"
559 glib:type-struct="StandinBinClass">
560 <implements name="Clutter.Container"/>
561 <implements name="Clutter.Scriptable"/>
562 <field name="parent_instance">
563 <type name="Clutter.Actor" c:type="ClutterActor"/>
565 <field name="standin">
566 <type name="Gtk.Widget" c:type="GtkWidget*"/>
569 <type name="Clutter.Actor" c:type="ClutterActor*"/>
571 <field name="child_allocation">
572 <type name="Clutter.ActorBox" c:type="ClutterActorBox"/>
575 <record name="StandinBinClass"
576 c:type="GtkClutterStandinBinClass"
577 glib:is-gtype-struct-for="StandinBin">
578 <field name="parent_class">
579 <type name="Clutter.ActorClass" c:type="ClutterActorClass"/>
582 <record name="StandinClass"
583 c:type="GtkClutterStandinClass"
584 glib:is-gtype-struct-for="Standin"
586 <doc xml:whitespace="preserve">Base class for #GtkClutterStandin.</doc>
587 <field name="parent_class">
588 <type name="Gtk.WidgetClass" c:type="GtkWidgetClass"/>
590 <field name="clutter_gtk_reserved1">
591 <callback name="clutter_gtk_reserved1" c:type="_clutter_gtk_reserved1">
592 <return-value transfer-ownership="none">
593 <type name="none" c:type="void"/>
597 <field name="clutter_gtk_reserved2">
598 <callback name="clutter_gtk_reserved2" c:type="_clutter_gtk_reserved2">
599 <return-value transfer-ownership="none">
600 <type name="none" c:type="void"/>
604 <field name="clutter_gtk_reserved3">
605 <callback name="clutter_gtk_reserved3" c:type="_clutter_gtk_reserved3">
606 <return-value transfer-ownership="none">
607 <type name="none" c:type="void"/>
611 <field name="clutter_gtk_reserved4">
612 <callback name="clutter_gtk_reserved4" c:type="_clutter_gtk_reserved4">
613 <return-value transfer-ownership="none">
614 <type name="none" c:type="void"/>
618 <field name="clutter_gtk_reserved5">
619 <callback name="clutter_gtk_reserved5" c:type="_clutter_gtk_reserved5">
620 <return-value transfer-ownership="none">
621 <type name="none" c:type="void"/>
625 <field name="clutter_gtk_reserved6">
626 <callback name="clutter_gtk_reserved6" c:type="_clutter_gtk_reserved6">
627 <return-value transfer-ownership="none">
628 <type name="none" c:type="void"/>
633 <record name="StandinPrivate" c:type="GtkClutterStandinPrivate">
635 <class name="Viewport"
636 c:type="GtkClutterViewport"
638 parent="Clutter.Actor"
639 glib:type-name="GtkClutterViewport"
640 glib:get-type="gtk_clutter_viewport_get_type"
641 glib:type-struct="ViewportClass">
642 <doc xml:whitespace="preserve">The #GtkClutterViewport structure contains only private data and
643 should be accessed using the provided functions.</doc>
644 <implements name="Clutter.Container"/>
645 <implements name="Clutter.Scriptable"/>
646 <implements name="Scrollable"/>
647 <implements name="Zoomable"/>
648 <constructor name="new"
649 c:identifier="gtk_clutter_viewport_new"
651 <doc xml:whitespace="preserve">Creates a new #GtkClutterViewport with the given adjustments.</doc>
652 <return-value transfer-ownership="full">
653 <doc xml:whitespace="preserve">the newly created viewport actor</doc>
654 <type name="Viewport" c:type="ClutterActor*"/>
657 <parameter name="h_adjust" transfer-ownership="none">
658 <doc xml:whitespace="preserve">horizontal adjustment, or %NULL</doc>
659 <type name="Gtk.Adjustment" c:type="GtkAdjustment*"/>
661 <parameter name="v_adjust" transfer-ownership="none">
662 <doc xml:whitespace="preserve">vertical adjustment, or %NULL</doc>
663 <type name="Gtk.Adjustment" c:type="GtkAdjustment*"/>
665 <parameter name="z_adjust" transfer-ownership="none">
666 <doc xml:whitespace="preserve">zoom adjustment, or %NULL</doc>
667 <type name="Gtk.Adjustment" c:type="GtkAdjustment*"/>
671 <method name="get_origin"
672 c:identifier="gtk_clutter_viewport_get_origin"
674 <doc xml:whitespace="preserve">Retrieves the current translation factor ("origin") used when
675 displaying the child of @viewport.</doc>
676 <return-value transfer-ownership="none">
677 <type name="none" c:type="void"/>
683 transfer-ownership="full">
684 <doc xml:whitespace="preserve">return location for the X origin in pixels, or %NULL</doc>
685 <type name="float" c:type="gfloat*"/>
690 transfer-ownership="full">
691 <doc xml:whitespace="preserve">return location for the Y origin in pixels, or %NULL</doc>
692 <type name="float" c:type="gfloat*"/>
697 transfer-ownership="full">
698 <doc xml:whitespace="preserve">return location for the Z origin in pixels, or %NULL</doc>
699 <type name="float" c:type="gfloat*"/>
703 <property name="child"
706 transfer-ownership="none">
707 <doc xml:whitespace="preserve">The #ClutterActor inside the viewport.</doc>
708 <type name="Clutter.Actor" c:type="ClutterActor"/>
710 <property name="origin" version="0.10" transfer-ownership="none">
711 <doc xml:whitespace="preserve">The current origin of the viewport. You should use the
712 vertex to convert event coordinates for the child of the
714 <type name="Clutter.Vertex" c:type="ClutterVertex"/>
716 <field name="parent_instance">
717 <type name="Clutter.Actor" c:type="ClutterActor"/>
720 <type name="ViewportPrivate" c:type="GtkClutterViewportPrivate*"/>
723 <record name="ViewportClass"
724 c:type="GtkClutterViewportClass"
725 glib:is-gtype-struct-for="Viewport"
727 <doc xml:whitespace="preserve">The #GtkClutterViewportClass structure contains only private data and
728 should be accessed using the provided functions.</doc>
729 <field name="parent_class">
730 <type name="Clutter.ActorClass" c:type="ClutterActorClass"/>
733 <record name="ViewportPrivate" c:type="GtkClutterViewportPrivate">
736 c:type="GtkClutterWindow"
739 glib:type-name="GtkClutterWindow"
740 glib:get-type="gtk_clutter_window_get_type"
741 glib:type-struct="WindowClass">
742 <doc xml:whitespace="preserve">A ClutterWindow containing a #GtkWidget.</doc>
743 <implements name="Atk.ImplementorIface"/>
744 <implements name="Gtk.Buildable"/>
745 <constructor name="new"
746 c:identifier="gtk_clutter_window_new"
748 <doc xml:whitespace="preserve">Creates a new #GtkClutterWindow widget. This window provides a hidden
749 ClutterStage on which the child GtkWidgets are placed. This allows other
750 ClutterActors to also be placed on the stage.</doc>
751 <return-value transfer-ownership="full">
752 <doc xml:whitespace="preserve">the newly created #GtkClutterWindow</doc>
753 <type name="Window" c:type="GtkWidget*"/>
756 <method name="get_stage"
757 c:identifier="gtk_clutter_window_get_stage"
759 <doc xml:whitespace="preserve">Retrieves the #ClutterStage that this window is mounting the GTK+ widget
761 Use this function if you wish to add other actors to the #ClutterStage.</doc>
762 <return-value transfer-ownership="full">
763 <doc xml:whitespace="preserve">the window's #ClutterStage</doc>
764 <type name="Clutter.Actor" c:type="ClutterActor*"/>
767 <method name="get_actor" c:identifier="gtk_clutter_window_get_actor">
768 <return-value transfer-ownership="full">
769 <type name="Clutter.Actor" c:type="ClutterActor*"/>
772 <field name="parent_instance">
773 <type name="Gtk.Window" c:type="GtkWindow"/>
776 <type name="WindowPrivate" c:type="GtkClutterWindowPrivate*"/>
779 <record name="WindowClass"
780 c:type="GtkClutterWindowClass"
781 glib:is-gtype-struct-for="Window"
783 <doc xml:whitespace="preserve">Base class for #GtkClutterWindow.</doc>
784 <field name="parent_class">
785 <type name="Gtk.WindowClass" c:type="GtkWindowClass"/>
787 <field name="clutter_gtk_reserved1">
788 <callback name="clutter_gtk_reserved1" c:type="_clutter_gtk_reserved1">
789 <return-value transfer-ownership="none">
790 <type name="none" c:type="void"/>
794 <field name="clutter_gtk_reserved2">
795 <callback name="clutter_gtk_reserved2" c:type="_clutter_gtk_reserved2">
796 <return-value transfer-ownership="none">
797 <type name="none" c:type="void"/>
801 <field name="clutter_gtk_reserved3">
802 <callback name="clutter_gtk_reserved3" c:type="_clutter_gtk_reserved3">
803 <return-value transfer-ownership="none">
804 <type name="none" c:type="void"/>
808 <field name="clutter_gtk_reserved4">
809 <callback name="clutter_gtk_reserved4" c:type="_clutter_gtk_reserved4">
810 <return-value transfer-ownership="none">
811 <type name="none" c:type="void"/>
815 <field name="clutter_gtk_reserved5">
816 <callback name="clutter_gtk_reserved5" c:type="_clutter_gtk_reserved5">
817 <return-value transfer-ownership="none">
818 <type name="none" c:type="void"/>
822 <field name="clutter_gtk_reserved6">
823 <callback name="clutter_gtk_reserved6" c:type="_clutter_gtk_reserved6">
824 <return-value transfer-ownership="none">
825 <type name="none" c:type="void"/>
830 <record name="WindowPrivate" c:type="GtkClutterWindowPrivate">
832 <interface name="Zoomable"
833 c:type="GtkClutterZoomable"
834 glib:type-name="GtkClutterZoomable"
835 glib:get-type="gtk_clutter_zoomable_get_type"
836 glib:type-struct="ZoomableIface">
837 <virtual-method name="set_adjustment"
838 invoker="set_adjustment"
840 <doc xml:whitespace="preserve">Sets the adjustment used to determine the zoom factor of
841 the zoomable actor</doc>
842 <return-value transfer-ownership="none">
843 <type name="none" c:type="void"/>
846 <parameter name="z_adjust" transfer-ownership="none">
847 <doc xml:whitespace="preserve">a #GtkAdjustment, or %NULL</doc>
848 <type name="Gtk.Adjustment" c:type="GtkAdjustment*"/>
852 <virtual-method name="get_adjustment"
853 invoker="get_adjustment"
855 <doc xml:whitespace="preserve">Retrieves the adjustment used to determine the zoom factor of
856 the zoomable actor</doc>
857 <return-value transfer-ownership="none">
858 <doc xml:whitespace="preserve">a #GtkAdjustment</doc>
859 <type name="Gtk.Adjustment" c:type="GtkAdjustment*"/>
862 <method name="set_adjustment"
863 c:identifier="gtk_clutter_zoomable_set_adjustment"
865 <doc xml:whitespace="preserve">Sets the adjustment used to determine the zoom factor of
866 the zoomable actor</doc>
867 <return-value transfer-ownership="none">
868 <type name="none" c:type="void"/>
871 <parameter name="z_adjust" transfer-ownership="none">
872 <doc xml:whitespace="preserve">a #GtkAdjustment, or %NULL</doc>
873 <type name="Gtk.Adjustment" c:type="GtkAdjustment*"/>
877 <method name="get_adjustment"
878 c:identifier="gtk_clutter_zoomable_get_adjustment"
880 <doc xml:whitespace="preserve">Retrieves the adjustment used to determine the zoom factor of
881 the zoomable actor</doc>
882 <return-value transfer-ownership="none">
883 <doc xml:whitespace="preserve">a #GtkAdjustment</doc>
884 <type name="Gtk.Adjustment" c:type="GtkAdjustment*"/>
887 <property name="zadjustment"
891 transfer-ownership="none">
892 <doc xml:whitespace="preserve">The #GtkAdjustment that determines the value of
893 the zoom factor for this zoomable actor</doc>
894 <type name="Gtk.Adjustment" c:type="GtkAdjustment"/>
897 <record name="ZoomableIface"
898 c:type="GtkClutterZoomableIface"
899 glib:is-gtype-struct-for="Zoomable"
901 <doc xml:whitespace="preserve">The #GtkClutterZoomableIface structure contains only private data</doc>
902 <field name="parent_iface">
903 <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
905 <field name="set_adjustment">
906 <callback name="set_adjustment" c:type="set_adjustment">
907 <return-value transfer-ownership="none">
908 <type name="none" c:type="void"/>
911 <parameter name="zoomable" transfer-ownership="none">
912 <type name="Zoomable" c:type="GtkClutterZoomable*"/>
914 <parameter name="z_adjust" transfer-ownership="none">
915 <doc xml:whitespace="preserve">a #GtkAdjustment, or %NULL</doc>
916 <type name="Gtk.Adjustment" c:type="GtkAdjustment*"/>
921 <field name="get_adjustment">
922 <callback name="get_adjustment" c:type="get_adjustment">
923 <return-value transfer-ownership="none">
924 <doc xml:whitespace="preserve">a #GtkAdjustment</doc>
925 <type name="Gtk.Adjustment" c:type="GtkAdjustment*"/>
928 <parameter name="zoomable" transfer-ownership="none">
929 <type name="Zoomable" c:type="GtkClutterZoomable*"/>
935 <function name="bind_dimensions"
936 c:identifier="gtk_clutter_bind_dimensions">
937 <doc xml:whitespace="preserve">This utility function copies the width/height from the actor @src to the
939 The primary use for this function is for packing actors in the
940 top-level #GtkClutterWindow, and having them resize with the window.</doc>
941 <return-value transfer-ownership="none">
942 <type name="none" c:type="void"/>
945 <parameter name="src" transfer-ownership="none">
946 <doc xml:whitespace="preserve">actor to copy the dimensions from</doc>
947 <type name="Clutter.Actor" c:type="ClutterActor*"/>
949 <parameter name="dest" transfer-ownership="none">
950 <doc xml:whitespace="preserve">actor to copy the dimensions to</doc>
951 <type name="Clutter.Actor" c:type="ClutterActor*"/>
953 <parameter name="dir" transfer-ownership="none">
954 <doc xml:whitespace="preserve">the direction to copy the dimensions in</doc>
955 <type name="BindDirection" c:type="GtkClutterBindDirection"/>
959 <function name="calculate_actor_allocation"
960 c:identifier="gtk_clutter_calculate_actor_allocation">
961 <doc xml:whitespace="preserve">Returns the #GtkAllocation of a widget relative to a widget known to
963 This function is similar to gtk_clutter_calculate_root_allocation() but
964 returns the coordinates relative to a #GtkWidget that is already connected
965 to a #ClutterActor (for example, a #GtkClutterActor).
966 This function is used internally by Clutter-GTK+ to position actors within
967 their #GtkClutterStandin, but is provided in case it's useful to find the
968 position of a widget within the #GtkClutterActor that contains it).</doc>
969 <return-value transfer-ownership="none">
970 <type name="none" c:type="void"/>
973 <parameter name="widget" transfer-ownership="none">
974 <doc xml:whitespace="preserve">a #GtkWidget to calculate the root-window allocation for</doc>
975 <type name="Gtk.Widget" c:type="GtkWidget*"/>
977 <parameter name="allocation" transfer-ownership="none">
978 <doc xml:whitespace="preserve">a #GtkAllocation to store the result in</doc>
979 <type name="Gtk.Allocation" c:type="GtkAllocation*"/>
983 <function name="calculate_root_allocation"
984 c:identifier="gtk_clutter_calculate_root_allocation">
985 <doc xml:whitespace="preserve">Returns the #GtkAllocation of a widget relative to the top-level.
986 The #GtkAllocation of a widget is relative to the allocation of any
987 parent container that is backed by a #GdkWindow. Thus to work out the
988 allocation in the coordinates of the top-level (which is needed to be
989 provided to Clutter), we must add walk the widget tree and add the
990 allocations of any window-backed parent containers.
991 Use this function if you want to find out the position of a widget in
992 stage coordinates (normally so that you can align some animation on the
994 <return-value transfer-ownership="none">
995 <type name="none" c:type="void"/>
998 <parameter name="widget" transfer-ownership="none">
999 <doc xml:whitespace="preserve">a #GtkWidget to calculate the root-window allocation for</doc>
1000 <type name="Gtk.Widget" c:type="GtkWidget*"/>
1002 <parameter name="allocation" transfer-ownership="none">
1003 <doc xml:whitespace="preserve">a #GtkAllocation to store the result in</doc>
1004 <type name="Gtk.Allocation" c:type="GtkAllocation*"/>
1008 <function name="clutter_gtk_check_version"
1009 c:identifier="clutter_gtk_check_version"
1011 <doc xml:whitespace="preserve">Run-time version check, to check the version the Clutter-GTK library
1012 that an application is currently linked against
1013 This is the run-time equivalent of the compile-time
1014 %CLUTTER_GTK_CHECK_VERSION pre-processor macro
1015 greater than (@major, @minor, @micro), and %FALSE otherwise</doc>
1016 <return-value transfer-ownership="none">
1017 <doc xml:whitespace="preserve">%TRUE if the version of the Clutter-GTK library is</doc>
1018 <type name="boolean" c:type="gboolean"/>
1021 <parameter name="major" transfer-ownership="none">
1022 <doc xml:whitespace="preserve">major version, like 1 in 1.2.3</doc>
1023 <type name="uint" c:type="guint"/>
1025 <parameter name="minor" transfer-ownership="none">
1026 <doc xml:whitespace="preserve">minor version, like 2 in 1.2.3</doc>
1027 <type name="uint" c:type="guint"/>
1029 <parameter name="micro" transfer-ownership="none">
1030 <doc xml:whitespace="preserve">micro version, like 3 in 1.2.3</doc>
1031 <type name="uint" c:type="guint"/>
1035 <function name="get_base_color"
1036 c:identifier="gtk_clutter_get_base_color"
1038 <doc xml:whitespace="preserve">Retrieves the base color of @widget for the given @state and copies it
1040 <return-value transfer-ownership="none">
1041 <type name="none" c:type="void"/>
1044 <parameter name="widget" transfer-ownership="none">
1045 <doc xml:whitespace="preserve">a #GtkWidget</doc>
1046 <type name="Gtk.Widget" c:type="GtkWidget*"/>
1048 <parameter name="state" transfer-ownership="none">
1049 <doc xml:whitespace="preserve">a state</doc>
1050 <type name="Gtk.StateType" c:type="GtkStateType"/>
1052 <parameter name="color" transfer-ownership="none">
1053 <doc xml:whitespace="preserve">return location for a #ClutterColor</doc>
1054 <type name="Clutter.Color" c:type="ClutterColor*"/>
1058 <function name="get_bg_color"
1059 c:identifier="gtk_clutter_get_bg_color"
1061 <doc xml:whitespace="preserve">Retrieves the background color of @widget for the given @state and copies
1062 it into @color.</doc>
1063 <return-value transfer-ownership="none">
1064 <type name="none" c:type="void"/>
1067 <parameter name="widget" transfer-ownership="none">
1068 <doc xml:whitespace="preserve">a #GtkWidget</doc>
1069 <type name="Gtk.Widget" c:type="GtkWidget*"/>
1071 <parameter name="state" transfer-ownership="none">
1072 <doc xml:whitespace="preserve">a state</doc>
1073 <type name="Gtk.StateType" c:type="GtkStateType"/>
1075 <parameter name="color" transfer-ownership="none">
1076 <doc xml:whitespace="preserve">return location for a #ClutterColor</doc>
1077 <type name="Clutter.Color" c:type="ClutterColor*"/>
1081 <function name="get_dark_color"
1082 c:identifier="gtk_clutter_get_dark_color"
1084 <doc xml:whitespace="preserve">Retrieves the dark color of @widget for the given @state and copies it
1086 <return-value transfer-ownership="none">
1087 <type name="none" c:type="void"/>
1090 <parameter name="widget" transfer-ownership="none">
1091 <doc xml:whitespace="preserve">a #GtkWidget</doc>
1092 <type name="Gtk.Widget" c:type="GtkWidget*"/>
1094 <parameter name="state" transfer-ownership="none">
1095 <doc xml:whitespace="preserve">a state</doc>
1096 <type name="Gtk.StateType" c:type="GtkStateType"/>
1098 <parameter name="color" transfer-ownership="none">
1099 <doc xml:whitespace="preserve">return location for a #ClutterColor</doc>
1100 <type name="Clutter.Color" c:type="ClutterColor*"/>
1104 <function name="get_fg_color"
1105 c:identifier="gtk_clutter_get_fg_color"
1107 <doc xml:whitespace="preserve">Retrieves the foreground color of @widget for the given @state and copies
1108 it into @color.</doc>
1109 <return-value transfer-ownership="none">
1110 <type name="none" c:type="void"/>
1113 <parameter name="widget" transfer-ownership="none">
1114 <doc xml:whitespace="preserve">a #GtkWidget</doc>
1115 <type name="Gtk.Widget" c:type="GtkWidget*"/>
1117 <parameter name="state" transfer-ownership="none">
1118 <doc xml:whitespace="preserve">a state</doc>
1119 <type name="Gtk.StateType" c:type="GtkStateType"/>
1121 <parameter name="color" transfer-ownership="none">
1122 <doc xml:whitespace="preserve">return location for a #ClutterColor</doc>
1123 <type name="Clutter.Color" c:type="ClutterColor*"/>
1127 <function name="get_light_color"
1128 c:identifier="gtk_clutter_get_light_color"
1130 <doc xml:whitespace="preserve">Retrieves the light color of @widget for the given @state and copies it
1132 <return-value transfer-ownership="none">
1133 <type name="none" c:type="void"/>
1136 <parameter name="widget" transfer-ownership="none">
1137 <doc xml:whitespace="preserve">a #GtkWidget</doc>
1138 <type name="Gtk.Widget" c:type="GtkWidget*"/>
1140 <parameter name="state" transfer-ownership="none">
1141 <doc xml:whitespace="preserve">a state</doc>
1142 <type name="Gtk.StateType" c:type="GtkStateType"/>
1144 <parameter name="color" transfer-ownership="none">
1145 <doc xml:whitespace="preserve">return location for a #ClutterColor</doc>
1146 <type name="Clutter.Color" c:type="ClutterColor*"/>
1150 <function name="get_mid_color"
1151 c:identifier="gtk_clutter_get_mid_color"
1153 <doc xml:whitespace="preserve">Retrieves the mid color of @widget for the given @state and copies it
1155 <return-value transfer-ownership="none">
1156 <type name="none" c:type="void"/>
1159 <parameter name="widget" transfer-ownership="none">
1160 <doc xml:whitespace="preserve">a #GtkWidget</doc>
1161 <type name="Gtk.Widget" c:type="GtkWidget*"/>
1163 <parameter name="state" transfer-ownership="none">
1164 <doc xml:whitespace="preserve">a state</doc>
1165 <type name="Gtk.StateType" c:type="GtkStateType"/>
1167 <parameter name="color" transfer-ownership="none">
1168 <doc xml:whitespace="preserve">return location for a #ClutterColor</doc>
1169 <type name="Clutter.Color" c:type="ClutterColor*"/>
1173 <function name="get_option_group"
1174 c:identifier="gtk_clutter_get_option_group"
1176 <doc xml:whitespace="preserve">Returns a #GOptionGroup for the command line arguments recognized
1177 by Clutter. You should add this group to your #GOptionContext with
1178 g_option_context_add_group(), if you are using g_option_context_parse()
1179 to parse your commandline arguments instead of using gtk_clutter_init()
1180 or gtk_clutter_init_with_args().
1181 You should add this option group to your #GOptionContext after
1182 the GTK option group created with gtk_get_option_group(), and after
1183 the clutter option group obtained from clutter_get_option_group_without_init().
1184 You should not use clutter_get_option_group() together with this function.
1185 You must pass %TRUE to gtk_get_option_group() since gtk-clutter's option
1187 Parsing options using g_option_context_parse() with a #GOptionContext
1188 containing the returned #GOptionGroupwith will result in Clutter's and
1189 GTK-Clutter's initialisation. That is, the following code:
1191 g_option_context_add_group (context, gtk_get_option_group (TRUE));
1192 g_option_context_add_group (context, cogl_get_option_group ());
1193 g_option_context_add_group (context, clutter_get_option_group_without_init ());
1194 g_option_context_add_group (context, gtk_clutter_get_option_group ());
1195 res = g_option_context_parse (context, &amp;argc, &amp;argc, NULL);
1197 is functionally equivalent to:
1199 gtk_clutter_init (&amp;argc, &amp;argv);
1201 After g_option_context_parse() on a #GOptionContext containing the
1202 the returned #GOptionGroup has returned %TRUE, Clutter and GTK-Clutter are
1203 guaranteed to be initialized.
1204 recognized by ClutterGtk</doc>
1205 <return-value transfer-ownership="full">
1206 <doc xml:whitespace="preserve">a #GOptionGroup for the commandline arguments</doc>
1207 <type name="GLib.OptionGroup" c:type="GOptionGroup*"/>
1210 <function name="get_text_aa_color"
1211 c:identifier="gtk_clutter_get_text_aa_color"
1213 <doc xml:whitespace="preserve">Retrieves the text-aa color of @widget for the given @state and copies it
1215 <return-value transfer-ownership="none">
1216 <type name="none" c:type="void"/>
1219 <parameter name="widget" transfer-ownership="none">
1220 <doc xml:whitespace="preserve">a #GtkWidget</doc>
1221 <type name="Gtk.Widget" c:type="GtkWidget*"/>
1223 <parameter name="state" transfer-ownership="none">
1224 <doc xml:whitespace="preserve">a state</doc>
1225 <type name="Gtk.StateType" c:type="GtkStateType"/>
1227 <parameter name="color" transfer-ownership="none">
1228 <doc xml:whitespace="preserve">return location for a #ClutterColor</doc>
1229 <type name="Clutter.Color" c:type="ClutterColor*"/>
1233 <function name="get_text_color"
1234 c:identifier="gtk_clutter_get_text_color"
1236 <doc xml:whitespace="preserve">Retrieves the text color of @widget for the given @state and copies it
1238 <return-value transfer-ownership="none">
1239 <type name="none" c:type="void"/>
1242 <parameter name="widget" transfer-ownership="none">
1243 <doc xml:whitespace="preserve">a #GtkWidget</doc>
1244 <type name="Gtk.Widget" c:type="GtkWidget*"/>
1246 <parameter name="state" transfer-ownership="none">
1247 <doc xml:whitespace="preserve">a state</doc>
1248 <type name="Gtk.StateType" c:type="GtkStateType"/>
1250 <parameter name="color" transfer-ownership="none">
1251 <doc xml:whitespace="preserve">return location for a #ClutterColor</doc>
1252 <type name="Clutter.Color" c:type="ClutterColor*"/>
1256 <function name="init" c:identifier="gtk_clutter_init" version="0.8">
1257 <doc xml:whitespace="preserve">This function should be called instead of clutter_init() and
1260 <return-value transfer-ownership="full">
1261 <doc xml:whitespace="preserve">%CLUTTER_INIT_SUCCESS on success, a negative integer</doc>
1262 <type name="Clutter.InitError" c:type="ClutterInitError"/>
1265 <parameter name="argc"
1267 caller-allocates="0"
1268 transfer-ownership="full">
1269 <doc xml:whitespace="preserve">pointer to the arguments count, or %NULL</doc>
1270 <type name="int" c:type="int*"/>
1272 <parameter name="argv" transfer-ownership="none">
1273 <doc xml:whitespace="preserve">pointer to the arguments vector, or %NULL</doc>
1274 <type name="utf8" c:type="char***"/>
1278 <function name="init_with_args"
1279 c:identifier="gtk_clutter_init_with_args"
1282 <doc xml:whitespace="preserve">This function should be called instead of clutter_init() and
1283 gtk_init_with_args().
1285 <return-value transfer-ownership="full">
1286 <doc xml:whitespace="preserve">%CLUTTER_INIT_SUCCESS on success, a negative integer</doc>
1287 <type name="Clutter.InitError" c:type="ClutterInitError"/>
1290 <parameter name="argc"
1292 caller-allocates="0"
1293 transfer-ownership="full">
1294 <doc xml:whitespace="preserve">a pointer to the number of command line arguments.</doc>
1295 <type name="int" c:type="int*"/>
1297 <parameter name="argv" transfer-ownership="none">
1298 <doc xml:whitespace="preserve">a pointer to the array of command line arguments.</doc>
1299 <type name="utf8" c:type="char***"/>
1301 <parameter name="parameter_string" transfer-ownership="none">
1302 <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>
1303 <type name="utf8" c:type="char*"/>
1305 <parameter name="entries" transfer-ownership="none">
1306 <doc xml:whitespace="preserve">a %NULL-terminated array of #GOptionEntry<!-- -->s describing the options of your program</doc>
1307 <type name="GLib.OptionEntry" c:type="GOptionEntry*"/>
1309 <parameter name="translation_domain" transfer-ownership="none">
1310 <doc xml:whitespace="preserve">a translation domain to use for translating the <option>--help</option> output for the options in @entries with gettext(), or %NULL</doc>
1311 <type name="utf8" c:type="char*"/>
1315 <function name="texture_new_from_icon_name"
1316 c:identifier="gtk_clutter_texture_new_from_icon_name"
1318 <doc xml:whitespace="preserve">Creates a new #ClutterTexture and sets its contents to be
1319 the @icon_name from the current icon theme.
1320 was %NULL and @icon_name was not found.</doc>
1321 <return-value transfer-ownership="full">
1322 <doc xml:whitespace="preserve">the newly created texture, or %NULL if @widget</doc>
1323 <type name="Clutter.Actor" c:type="ClutterActor*"/>
1326 <parameter name="widget" transfer-ownership="none">
1327 <doc xml:whitespace="preserve">a #GtkWidget or %NULL</doc>
1328 <type name="Gtk.Widget" c:type="GtkWidget*"/>
1330 <parameter name="icon_name" transfer-ownership="none">
1331 <doc xml:whitespace="preserve">the name of the icon</doc>
1332 <type name="utf8" c:type="gchar*"/>
1334 <parameter name="size" transfer-ownership="none">
1335 <doc xml:whitespace="preserve">the size of the icon, or -1</doc>
1336 <type name="Gtk.IconSize" c:type="GtkIconSize"/>
1340 <function name="texture_new_from_pixbuf"
1341 c:identifier="gtk_clutter_texture_new_from_pixbuf"
1343 <doc xml:whitespace="preserve">Creates a new #ClutterTexture and sets its contents with a copy
1345 <return-value transfer-ownership="full">
1346 <doc xml:whitespace="preserve">the newly created #ClutterTexture</doc>
1347 <type name="Clutter.Actor" c:type="ClutterActor*"/>
1350 <parameter name="pixbuf" transfer-ownership="none">
1351 <doc xml:whitespace="preserve">a #GdkPixbuf</doc>
1352 <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
1356 <function name="texture_new_from_stock"
1357 c:identifier="gtk_clutter_texture_new_from_stock"
1359 <doc xml:whitespace="preserve">Creates a new #ClutterTexture and sets its contents using the stock
1360 icon @stock_id as rendered by @widget.</doc>
1361 <return-value transfer-ownership="full">
1362 <doc xml:whitespace="preserve">the newly created #ClutterTexture</doc>
1363 <type name="Clutter.Actor" c:type="ClutterActor*"/>
1366 <parameter name="widget" transfer-ownership="none">
1367 <doc xml:whitespace="preserve">a #GtkWidget</doc>
1368 <type name="Gtk.Widget" c:type="GtkWidget*"/>
1370 <parameter name="stock_id" transfer-ownership="none">
1371 <doc xml:whitespace="preserve">the stock id of the icon</doc>
1372 <type name="utf8" c:type="gchar*"/>
1374 <parameter name="size" transfer-ownership="none">
1375 <doc xml:whitespace="preserve">the size of the icon, or -1</doc>
1376 <type name="Gtk.IconSize" c:type="GtkIconSize"/>
1380 <function name="texture_set_from_icon_name"
1381 c:identifier="gtk_clutter_texture_set_from_icon_name"
1384 <doc xml:whitespace="preserve">Sets the contents of @texture using the @icon_name from the
1385 current icon theme.</doc>
1386 <return-value transfer-ownership="none">
1387 <doc xml:whitespace="preserve">%TRUE on success, %FALSE on failure.</doc>
1388 <type name="boolean" c:type="gboolean"/>
1391 <parameter name="texture" transfer-ownership="none">
1392 <doc xml:whitespace="preserve">a #ClutterTexture</doc>
1393 <type name="Clutter.Texture" c:type="ClutterTexture*"/>
1395 <parameter name="widget" transfer-ownership="none">
1396 <doc xml:whitespace="preserve">a #GtkWidget or %NULL</doc>
1397 <type name="Gtk.Widget" c:type="GtkWidget*"/>
1399 <parameter name="icon_name" transfer-ownership="none">
1400 <doc xml:whitespace="preserve">the name of the icon</doc>
1401 <type name="utf8" c:type="gchar*"/>
1403 <parameter name="size" transfer-ownership="none">
1404 <doc xml:whitespace="preserve">the icon size or -1</doc>
1405 <type name="Gtk.IconSize" c:type="GtkIconSize"/>
1409 <function name="texture_set_from_pixbuf"
1410 c:identifier="gtk_clutter_texture_set_from_pixbuf"
1413 <doc xml:whitespace="preserve">Sets the contents of @texture with a copy of @pixbuf.</doc>
1414 <return-value transfer-ownership="none">
1415 <doc xml:whitespace="preserve">%TRUE on success, %FALSE on failure.</doc>
1416 <type name="boolean" c:type="gboolean"/>
1419 <parameter name="texture" transfer-ownership="none">
1420 <doc xml:whitespace="preserve">a #ClutterTexture</doc>
1421 <type name="Clutter.Texture" c:type="ClutterTexture*"/>
1423 <parameter name="pixbuf" transfer-ownership="none">
1424 <doc xml:whitespace="preserve">a #GdkPixbuf</doc>
1425 <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
1429 <function name="texture_set_from_stock"
1430 c:identifier="gtk_clutter_texture_set_from_stock"
1433 <doc xml:whitespace="preserve">Sets the contents of @texture using the stock icon @stock_id, as
1434 rendered by @widget.</doc>
1435 <return-value transfer-ownership="none">
1436 <doc xml:whitespace="preserve">%TRUE on success, %FALSE on failure.</doc>
1437 <type name="boolean" c:type="gboolean"/>
1440 <parameter name="texture" transfer-ownership="none">
1441 <doc xml:whitespace="preserve">a #ClutterTexture</doc>
1442 <type name="Clutter.Texture" c:type="ClutterTexture*"/>
1444 <parameter name="widget" transfer-ownership="none">
1445 <doc xml:whitespace="preserve">a #GtkWidget</doc>
1446 <type name="Gtk.Widget" c:type="GtkWidget*"/>
1448 <parameter name="stock_id" transfer-ownership="none">
1449 <doc xml:whitespace="preserve">the stock id of the icon</doc>
1450 <type name="utf8" c:type="gchar*"/>
1452 <parameter name="size" transfer-ownership="none">
1453 <doc xml:whitespace="preserve">the size of the icon, or -1</doc>
1454 <type name="Gtk.IconSize" c:type="GtkIconSize"/>