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+-x11-2.0"/>
30 <namespace name="GtkClutter"
32 shared-library="libclutter-gtk-0.10.so.0,libgtk-x11-2.0.so.0,libgdk-x11-2.0.so.0,libatk-1.0.so.0,libpangoft2-1.0.so.0,libgdk_pixbuf-2.0.so.0,libpangocairo-1.0.so.0,libcairo.so.2,libpango-1.0.so.0,libfreetype.so.6,libfontconfig.so.1,libgio-2.0.so.0,libgobject-2.0.so.0,libgmodule-2.0.so.0,libgthread-2.0.so.0,librt.so.1,libglib-2.0.so.0"
33 c:prefix="GtkClutter">
34 <enumeration name="ClutterGtkInitError"
36 c:type="ClutterGtkInitError">
37 <doc xml:whitespace="preserve">Extension of the #ClutterInitError enumeration for the integration
39 <member name="last" value="-3" c:identifier="CLUTTER_INIT_ERROR_LAST"/>
40 <member name="gtk" value="-4" c:identifier="CLUTTER_INIT_ERROR_GTK"/>
42 <enumeration name="ClutterGtkTextureError"
44 c:type="ClutterGtkTextureError">
45 <doc xml:whitespace="preserve">An enumeration of error types used in ClutterGtk texture functions</doc>
46 <member name="invalid_stock_id"
48 c:identifier="CLUTTER_GTK_TEXTURE_INVALID_STOCK_ID"/>
49 <member name="error_last"
51 c:identifier="CLUTTER_GTK_TEXTURE_ERROR_LAST"/>
54 c:type="GtkClutterEmbed"
56 parent="Gtk.Container"
57 glib:type-name="GtkClutterEmbed"
58 glib:get-type="gtk_clutter_embed_get_type"
59 glib:type-struct="EmbedClass">
60 <doc xml:whitespace="preserve">A #GtkWidget containing the default Clutter stage.</doc>
61 <implements name="Atk.ImplementorIface"/>
62 <implements name="Gtk.Buildable"/>
63 <constructor name="new"
64 c:identifier="gtk_clutter_embed_new"
66 <doc xml:whitespace="preserve">Creates a new #GtkClutterEmbed widget. This widget can be
67 used to build a scene using Clutter API into a GTK+ application.</doc>
68 <return-value transfer-ownership="full">
69 <doc xml:whitespace="preserve">the newly created #GtkClutterEmbed</doc>
70 <type name="Embed" c:type="GtkWidget*"/>
73 <method name="get_stage"
74 c:identifier="gtk_clutter_embed_get_stage"
76 <doc xml:whitespace="preserve">Retrieves the #ClutterStage from @embed. The returned stage can be
77 used to add actors to the Clutter scene.
78 the returned actor.</doc>
79 <return-value transfer-ownership="full">
80 <doc xml:whitespace="preserve">the Clutter stage. You should never destroy or unref</doc>
81 <type name="Clutter.Actor" c:type="ClutterActor*"/>
84 <field name="parent_instance">
85 <type name="Gtk.Container" c:type="GtkContainer"/>
88 <type name="EmbedPrivate" c:type="GtkClutterEmbedPrivate*"/>
91 <record name="EmbedClass"
92 c:type="GtkClutterEmbedClass"
93 glib:is-gtype-struct-for="Embed"
95 <doc xml:whitespace="preserve">Base class for #GtkClutterEmbed.</doc>
96 <field name="parent_class">
97 <type name="Gtk.ContainerClass" c:type="GtkContainerClass"/>
99 <field name="clutter_gtk_reserved1">
100 <callback name="clutter_gtk_reserved1" c:type="_clutter_gtk_reserved1">
101 <return-value transfer-ownership="none">
102 <type name="none" c:type="void"/>
106 <field name="clutter_gtk_reserved2">
107 <callback name="clutter_gtk_reserved2" c:type="_clutter_gtk_reserved2">
108 <return-value transfer-ownership="none">
109 <type name="none" c:type="void"/>
113 <field name="clutter_gtk_reserved3">
114 <callback name="clutter_gtk_reserved3" c:type="_clutter_gtk_reserved3">
115 <return-value transfer-ownership="none">
116 <type name="none" c:type="void"/>
120 <field name="clutter_gtk_reserved4">
121 <callback name="clutter_gtk_reserved4" c:type="_clutter_gtk_reserved4">
122 <return-value transfer-ownership="none">
123 <type name="none" c:type="void"/>
127 <field name="clutter_gtk_reserved5">
128 <callback name="clutter_gtk_reserved5" c:type="_clutter_gtk_reserved5">
129 <return-value transfer-ownership="none">
130 <type name="none" c:type="void"/>
134 <field name="clutter_gtk_reserved6">
135 <callback name="clutter_gtk_reserved6" c:type="_clutter_gtk_reserved6">
136 <return-value transfer-ownership="none">
137 <type name="none" c:type="void"/>
142 <record name="EmbedPrivate" c:type="GtkClutterEmbedPrivate">
144 <interface name="Scrollable"
145 c:type="GtkClutterScrollable"
146 glib:type-name="GtkClutterScrollable"
147 glib:get-type="gtk_clutter_scrollable_get_type"
148 glib:type-struct="ScrollableIface">
149 <virtual-method name="set_adjustments"
150 invoker="set_adjustments"
152 <doc xml:whitespace="preserve">Sets the horizontal and vertical adjustments used to determine
153 the position of the scrollable actor.</doc>
154 <return-value transfer-ownership="none">
155 <type name="none" c:type="void"/>
158 <parameter name="h_adjust" transfer-ownership="none">
159 <doc xml:whitespace="preserve">a #GtkAdjustment, or %NULL</doc>
160 <type name="Gtk.Adjustment" c:type="GtkAdjustment*"/>
162 <parameter name="v_adjust" transfer-ownership="none">
163 <doc xml:whitespace="preserve">a #GtkAdjustment, or %NULL</doc>
164 <type name="Gtk.Adjustment" c:type="GtkAdjustment*"/>
168 <virtual-method name="get_adjustments"
169 invoker="get_adjustments"
171 <doc xml:whitespace="preserve">Retrieves the horizontal and vertical adjustments used to
172 determine the position of the scrollable actor.</doc>
173 <return-value transfer-ownership="none">
174 <type name="none" c:type="void"/>
177 <parameter name="h_adjust" transfer-ownership="none">
178 <doc xml:whitespace="preserve">return location for a #GtkAdjustment, or %NULL</doc>
179 <type name="Gtk.Adjustment" c:type="GtkAdjustment**"/>
181 <parameter name="v_adjust" transfer-ownership="none">
182 <doc xml:whitespace="preserve">return location for a #GtkAdjustment, or %NULL</doc>
183 <type name="Gtk.Adjustment" c:type="GtkAdjustment**"/>
187 <method name="set_adjustments"
188 c:identifier="gtk_clutter_scrollable_set_adjustments"
190 <doc xml:whitespace="preserve">Sets the horizontal and vertical adjustments used to determine
191 the position of the scrollable actor.</doc>
192 <return-value transfer-ownership="none">
193 <type name="none" c:type="void"/>
196 <parameter name="h_adjust" transfer-ownership="none">
197 <doc xml:whitespace="preserve">a #GtkAdjustment, or %NULL</doc>
198 <type name="Gtk.Adjustment" c:type="GtkAdjustment*"/>
200 <parameter name="v_adjust" transfer-ownership="none">
201 <doc xml:whitespace="preserve">a #GtkAdjustment, or %NULL</doc>
202 <type name="Gtk.Adjustment" c:type="GtkAdjustment*"/>
206 <method name="get_adjustments"
207 c:identifier="gtk_clutter_scrollable_get_adjustments"
209 <doc xml:whitespace="preserve">Retrieves the horizontal and vertical adjustments used to
210 determine the position of the scrollable actor.</doc>
211 <return-value transfer-ownership="none">
212 <type name="none" c:type="void"/>
215 <parameter name="h_adjust" transfer-ownership="none">
216 <doc xml:whitespace="preserve">return location for a #GtkAdjustment, or %NULL</doc>
217 <type name="Gtk.Adjustment" c:type="GtkAdjustment**"/>
219 <parameter name="v_adjust" transfer-ownership="none">
220 <doc xml:whitespace="preserve">return location for a #GtkAdjustment, or %NULL</doc>
221 <type name="Gtk.Adjustment" c:type="GtkAdjustment**"/>
225 <property name="hadjustment"
229 transfer-ownership="none">
230 <doc xml:whitespace="preserve">The #GtkAdjustment that determines the value of the
231 horizontal position for this scrollable actor.</doc>
232 <type name="Gtk.Adjustment" c:type="GtkAdjustment"/>
234 <property name="vadjustment"
238 transfer-ownership="none">
239 <doc xml:whitespace="preserve">The #GtkAdjustment that determines the value of the
240 vertical position for this scrollable actor.</doc>
241 <type name="Gtk.Adjustment" c:type="GtkAdjustment"/>
244 <record name="ScrollableIface"
245 c:type="GtkClutterScrollableIface"
246 glib:is-gtype-struct-for="Scrollable"
248 <doc xml:whitespace="preserve">The #GtkClutterScrollableIface structure contains only private data
249 and should be accessed using the provided functions.</doc>
250 <field name="parent_iface">
251 <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
253 <field name="set_adjustments">
254 <callback name="set_adjustments" c:type="set_adjustments">
255 <return-value transfer-ownership="none">
256 <type name="none" c:type="void"/>
259 <parameter name="scrollable" transfer-ownership="none">
260 <type name="Scrollable" c:type="GtkClutterScrollable*"/>
262 <parameter name="h_adjust" transfer-ownership="none">
263 <doc xml:whitespace="preserve">a #GtkAdjustment, or %NULL</doc>
264 <type name="Gtk.Adjustment" c:type="GtkAdjustment*"/>
266 <parameter name="v_adjust" transfer-ownership="none">
267 <doc xml:whitespace="preserve">a #GtkAdjustment, or %NULL</doc>
268 <type name="Gtk.Adjustment" c:type="GtkAdjustment*"/>
273 <field name="get_adjustments">
274 <callback name="get_adjustments" c:type="get_adjustments">
275 <return-value transfer-ownership="none">
276 <type name="none" c:type="void"/>
279 <parameter name="scrollable" transfer-ownership="none">
280 <type name="Scrollable" c:type="GtkClutterScrollable*"/>
282 <parameter name="h_adjust" transfer-ownership="none">
283 <doc xml:whitespace="preserve">return location for a #GtkAdjustment, or %NULL</doc>
284 <type name="Gtk.Adjustment" c:type="GtkAdjustment**"/>
286 <parameter name="v_adjust" transfer-ownership="none">
287 <doc xml:whitespace="preserve">return location for a #GtkAdjustment, or %NULL</doc>
288 <type name="Gtk.Adjustment" c:type="GtkAdjustment**"/>
294 <class name="Viewport"
295 c:type="GtkClutterViewport"
297 parent="Clutter.Actor"
298 glib:type-name="GtkClutterViewport"
299 glib:get-type="gtk_clutter_viewport_get_type"
300 glib:type-struct="ViewportClass">
301 <doc xml:whitespace="preserve">The #GtkClutterViewport structure contains only private data and
302 should be accessed using the provided functions.</doc>
303 <implements name="Clutter.Container"/>
304 <implements name="Clutter.Scriptable"/>
305 <implements name="Scrollable"/>
306 <implements name="Zoomable"/>
307 <constructor name="new"
308 c:identifier="gtk_clutter_viewport_new"
310 <doc xml:whitespace="preserve">Creates a new #GtkClutterViewport with the given adjustments.</doc>
311 <return-value transfer-ownership="full">
312 <doc xml:whitespace="preserve">the newly created viewport actor</doc>
313 <type name="Viewport" c:type="ClutterActor*"/>
316 <parameter name="h_adjust" transfer-ownership="none">
317 <doc xml:whitespace="preserve">horizontal adjustment, or %NULL</doc>
318 <type name="Gtk.Adjustment" c:type="GtkAdjustment*"/>
320 <parameter name="v_adjust" transfer-ownership="none">
321 <doc xml:whitespace="preserve">vertical adjustment, or %NULL</doc>
322 <type name="Gtk.Adjustment" c:type="GtkAdjustment*"/>
324 <parameter name="z_adjust" transfer-ownership="none">
325 <doc xml:whitespace="preserve">zoom adjustment, or %NULL</doc>
326 <type name="Gtk.Adjustment" c:type="GtkAdjustment*"/>
330 <method name="get_origin"
331 c:identifier="gtk_clutter_viewport_get_origin"
333 <doc xml:whitespace="preserve">Retrieves the current translation factor ("origin") used when
334 displaying the child of @viewport.</doc>
335 <return-value transfer-ownership="none">
336 <type name="none" c:type="void"/>
342 transfer-ownership="full">
343 <doc xml:whitespace="preserve">return location for the X origin in pixels, or %NULL</doc>
344 <type name="float" c:type="gfloat*"/>
349 transfer-ownership="full">
350 <doc xml:whitespace="preserve">return location for the Y origin in pixels, or %NULL</doc>
351 <type name="float" c:type="gfloat*"/>
356 transfer-ownership="full">
357 <doc xml:whitespace="preserve">return location for the Z origin in pixels, or %NULL</doc>
358 <type name="float" c:type="gfloat*"/>
362 <property name="child"
365 transfer-ownership="none">
366 <doc xml:whitespace="preserve">The #ClutterActor inside the viewport.</doc>
367 <type name="Clutter.Actor" c:type="ClutterActor"/>
369 <property name="origin" version="0.10" transfer-ownership="none">
370 <doc xml:whitespace="preserve">The current origin of the viewport. You should use the
371 vertex to convert event coordinates for the child of the
373 <type name="Clutter.Vertex" c:type="ClutterVertex"/>
375 <field name="parent_instance">
376 <type name="Clutter.Actor" c:type="ClutterActor"/>
379 <type name="ViewportPrivate" c:type="GtkClutterViewportPrivate*"/>
382 <record name="ViewportClass"
383 c:type="GtkClutterViewportClass"
384 glib:is-gtype-struct-for="Viewport"
386 <doc xml:whitespace="preserve">The #GtkClutterViewportClass structure contains only private data and
387 should be accessed using the provided functions.</doc>
388 <field name="parent_class">
389 <type name="Clutter.ActorClass" c:type="ClutterActorClass"/>
392 <record name="ViewportPrivate" c:type="GtkClutterViewportPrivate">
394 <interface name="Zoomable"
395 c:type="GtkClutterZoomable"
396 glib:type-name="GtkClutterZoomable"
397 glib:get-type="gtk_clutter_zoomable_get_type"
398 glib:type-struct="ZoomableIface">
399 <virtual-method name="set_adjustment"
400 invoker="set_adjustment"
402 <doc xml:whitespace="preserve">Sets the adjustment used to determine the zoom factor of
403 the zoomable actor</doc>
404 <return-value transfer-ownership="none">
405 <type name="none" c:type="void"/>
408 <parameter name="z_adjust" transfer-ownership="none">
409 <doc xml:whitespace="preserve">a #GtkAdjustment, or %NULL</doc>
410 <type name="Gtk.Adjustment" c:type="GtkAdjustment*"/>
414 <virtual-method name="get_adjustment"
415 invoker="get_adjustment"
417 <doc xml:whitespace="preserve">Retrieves the adjustment used to determine the zoom factor of
418 the zoomable actor</doc>
419 <return-value transfer-ownership="none">
420 <doc xml:whitespace="preserve">a #GtkAdjustment</doc>
421 <type name="Gtk.Adjustment" c:type="GtkAdjustment*"/>
424 <method name="set_adjustment"
425 c:identifier="gtk_clutter_zoomable_set_adjustment"
427 <doc xml:whitespace="preserve">Sets the adjustment used to determine the zoom factor of
428 the zoomable actor</doc>
429 <return-value transfer-ownership="none">
430 <type name="none" c:type="void"/>
433 <parameter name="z_adjust" transfer-ownership="none">
434 <doc xml:whitespace="preserve">a #GtkAdjustment, or %NULL</doc>
435 <type name="Gtk.Adjustment" c:type="GtkAdjustment*"/>
439 <method name="get_adjustment"
440 c:identifier="gtk_clutter_zoomable_get_adjustment"
442 <doc xml:whitespace="preserve">Retrieves the adjustment used to determine the zoom factor of
443 the zoomable actor</doc>
444 <return-value transfer-ownership="none">
445 <doc xml:whitespace="preserve">a #GtkAdjustment</doc>
446 <type name="Gtk.Adjustment" c:type="GtkAdjustment*"/>
449 <property name="zadjustment"
453 transfer-ownership="none">
454 <doc xml:whitespace="preserve">The #GtkAdjustment that determines the value of
455 the zoom factor for this zoomable actor</doc>
456 <type name="Gtk.Adjustment" c:type="GtkAdjustment"/>
459 <record name="ZoomableIface"
460 c:type="GtkClutterZoomableIface"
461 glib:is-gtype-struct-for="Zoomable"
463 <doc xml:whitespace="preserve">The #GtkClutterZoomableIface structure contains only private data</doc>
464 <field name="parent_iface">
465 <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
467 <field name="set_adjustment">
468 <callback name="set_adjustment" c:type="set_adjustment">
469 <return-value transfer-ownership="none">
470 <type name="none" c:type="void"/>
473 <parameter name="zoomable" transfer-ownership="none">
474 <type name="Zoomable" c:type="GtkClutterZoomable*"/>
476 <parameter name="z_adjust" transfer-ownership="none">
477 <doc xml:whitespace="preserve">a #GtkAdjustment, or %NULL</doc>
478 <type name="Gtk.Adjustment" c:type="GtkAdjustment*"/>
483 <field name="get_adjustment">
484 <callback name="get_adjustment" c:type="get_adjustment">
485 <return-value transfer-ownership="none">
486 <doc xml:whitespace="preserve">a #GtkAdjustment</doc>
487 <type name="Gtk.Adjustment" c:type="GtkAdjustment*"/>
490 <parameter name="zoomable" transfer-ownership="none">
491 <type name="Zoomable" c:type="GtkClutterZoomable*"/>
497 <function name="get_base_color"
498 c:identifier="gtk_clutter_get_base_color"
500 <doc xml:whitespace="preserve">Retrieves the base color of @widget for the given @state and copies it
502 <return-value transfer-ownership="none">
503 <type name="none" c:type="void"/>
506 <parameter name="widget" transfer-ownership="none">
507 <doc xml:whitespace="preserve">a #GtkWidget</doc>
508 <type name="Gtk.Widget" c:type="GtkWidget*"/>
510 <parameter name="state" transfer-ownership="none">
511 <doc xml:whitespace="preserve">a state</doc>
512 <type name="Gtk.StateType" c:type="GtkStateType"/>
514 <parameter name="color" transfer-ownership="none">
515 <doc xml:whitespace="preserve">return location for a #ClutterColor</doc>
516 <type name="Clutter.Color" c:type="ClutterColor*"/>
520 <function name="get_bg_color"
521 c:identifier="gtk_clutter_get_bg_color"
523 <doc xml:whitespace="preserve">Retrieves the background color of @widget for the given @state and copies
524 it into @color.</doc>
525 <return-value transfer-ownership="none">
526 <type name="none" c:type="void"/>
529 <parameter name="widget" transfer-ownership="none">
530 <doc xml:whitespace="preserve">a #GtkWidget</doc>
531 <type name="Gtk.Widget" c:type="GtkWidget*"/>
533 <parameter name="state" transfer-ownership="none">
534 <doc xml:whitespace="preserve">a state</doc>
535 <type name="Gtk.StateType" c:type="GtkStateType"/>
537 <parameter name="color" transfer-ownership="none">
538 <doc xml:whitespace="preserve">return location for a #ClutterColor</doc>
539 <type name="Clutter.Color" c:type="ClutterColor*"/>
543 <function name="get_dark_color"
544 c:identifier="gtk_clutter_get_dark_color"
546 <doc xml:whitespace="preserve">Retrieves the dark color of @widget for the given @state and copies it
548 <return-value transfer-ownership="none">
549 <type name="none" c:type="void"/>
552 <parameter name="widget" transfer-ownership="none">
553 <doc xml:whitespace="preserve">a #GtkWidget</doc>
554 <type name="Gtk.Widget" c:type="GtkWidget*"/>
556 <parameter name="state" transfer-ownership="none">
557 <doc xml:whitespace="preserve">a state</doc>
558 <type name="Gtk.StateType" c:type="GtkStateType"/>
560 <parameter name="color" transfer-ownership="none">
561 <doc xml:whitespace="preserve">return location for a #ClutterColor</doc>
562 <type name="Clutter.Color" c:type="ClutterColor*"/>
566 <function name="get_fg_color"
567 c:identifier="gtk_clutter_get_fg_color"
569 <doc xml:whitespace="preserve">Retrieves the foreground color of @widget for the given @state and copies
570 it into @color.</doc>
571 <return-value transfer-ownership="none">
572 <type name="none" c:type="void"/>
575 <parameter name="widget" transfer-ownership="none">
576 <doc xml:whitespace="preserve">a #GtkWidget</doc>
577 <type name="Gtk.Widget" c:type="GtkWidget*"/>
579 <parameter name="state" transfer-ownership="none">
580 <doc xml:whitespace="preserve">a state</doc>
581 <type name="Gtk.StateType" c:type="GtkStateType"/>
583 <parameter name="color" transfer-ownership="none">
584 <doc xml:whitespace="preserve">return location for a #ClutterColor</doc>
585 <type name="Clutter.Color" c:type="ClutterColor*"/>
589 <function name="get_light_color"
590 c:identifier="gtk_clutter_get_light_color"
592 <doc xml:whitespace="preserve">Retrieves the light color of @widget for the given @state and copies it
594 <return-value transfer-ownership="none">
595 <type name="none" c:type="void"/>
598 <parameter name="widget" transfer-ownership="none">
599 <doc xml:whitespace="preserve">a #GtkWidget</doc>
600 <type name="Gtk.Widget" c:type="GtkWidget*"/>
602 <parameter name="state" transfer-ownership="none">
603 <doc xml:whitespace="preserve">a state</doc>
604 <type name="Gtk.StateType" c:type="GtkStateType"/>
606 <parameter name="color" transfer-ownership="none">
607 <doc xml:whitespace="preserve">return location for a #ClutterColor</doc>
608 <type name="Clutter.Color" c:type="ClutterColor*"/>
612 <function name="get_mid_color"
613 c:identifier="gtk_clutter_get_mid_color"
615 <doc xml:whitespace="preserve">Retrieves the mid color of @widget for the given @state and copies it
617 <return-value transfer-ownership="none">
618 <type name="none" c:type="void"/>
621 <parameter name="widget" transfer-ownership="none">
622 <doc xml:whitespace="preserve">a #GtkWidget</doc>
623 <type name="Gtk.Widget" c:type="GtkWidget*"/>
625 <parameter name="state" transfer-ownership="none">
626 <doc xml:whitespace="preserve">a state</doc>
627 <type name="Gtk.StateType" c:type="GtkStateType"/>
629 <parameter name="color" transfer-ownership="none">
630 <doc xml:whitespace="preserve">return location for a #ClutterColor</doc>
631 <type name="Clutter.Color" c:type="ClutterColor*"/>
635 <function name="get_text_aa_color"
636 c:identifier="gtk_clutter_get_text_aa_color"
638 <doc xml:whitespace="preserve">Retrieves the text-aa color of @widget for the given @state and copies it
640 <return-value transfer-ownership="none">
641 <type name="none" c:type="void"/>
644 <parameter name="widget" transfer-ownership="none">
645 <doc xml:whitespace="preserve">a #GtkWidget</doc>
646 <type name="Gtk.Widget" c:type="GtkWidget*"/>
648 <parameter name="state" transfer-ownership="none">
649 <doc xml:whitespace="preserve">a state</doc>
650 <type name="Gtk.StateType" c:type="GtkStateType"/>
652 <parameter name="color" transfer-ownership="none">
653 <doc xml:whitespace="preserve">return location for a #ClutterColor</doc>
654 <type name="Clutter.Color" c:type="ClutterColor*"/>
658 <function name="get_text_color"
659 c:identifier="gtk_clutter_get_text_color"
661 <doc xml:whitespace="preserve">Retrieves the text color of @widget for the given @state and copies it
663 <return-value transfer-ownership="none">
664 <type name="none" c:type="void"/>
667 <parameter name="widget" transfer-ownership="none">
668 <doc xml:whitespace="preserve">a #GtkWidget</doc>
669 <type name="Gtk.Widget" c:type="GtkWidget*"/>
671 <parameter name="state" transfer-ownership="none">
672 <doc xml:whitespace="preserve">a state</doc>
673 <type name="Gtk.StateType" c:type="GtkStateType"/>
675 <parameter name="color" transfer-ownership="none">
676 <doc xml:whitespace="preserve">return location for a #ClutterColor</doc>
677 <type name="Clutter.Color" c:type="ClutterColor*"/>
681 <function name="init" c:identifier="gtk_clutter_init" version="0.8">
682 <doc xml:whitespace="preserve">This function should be called instead of clutter_init() and
685 <return-value transfer-ownership="full">
686 <doc xml:whitespace="preserve">%CLUTTER_INIT_SUCCESS on success, a negative integer</doc>
687 <type name="Clutter.InitError" c:type="ClutterInitError"/>
690 <parameter name="argc"
693 transfer-ownership="full">
694 <doc xml:whitespace="preserve">pointer to the arguments count, or %NULL</doc>
695 <type name="int" c:type="int*"/>
697 <parameter name="argv" transfer-ownership="none">
698 <doc xml:whitespace="preserve">pointer to the arguments vector, or %NULL</doc>
699 <type name="utf8" c:type="char***"/>
703 <function name="init_with_args"
704 c:identifier="gtk_clutter_init_with_args"
707 <doc xml:whitespace="preserve">This function should be called instead of clutter_init() and
708 gtk_init_with_args().
710 <return-value transfer-ownership="full">
711 <doc xml:whitespace="preserve">%CLUTTER_INIT_SUCCESS on success, a negative integer</doc>
712 <type name="Clutter.InitError" c:type="ClutterInitError"/>
715 <parameter name="argc"
718 transfer-ownership="full">
719 <doc xml:whitespace="preserve">a pointer to the number of command line arguments.</doc>
720 <type name="int" c:type="int*"/>
722 <parameter name="argv" transfer-ownership="none">
723 <doc xml:whitespace="preserve">a pointer to the array of command line arguments.</doc>
724 <type name="utf8" c:type="char***"/>
726 <parameter name="parameter_string" transfer-ownership="none">
727 <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>
728 <type name="utf8" c:type="char*"/>
730 <parameter name="entries" transfer-ownership="none">
731 <doc xml:whitespace="preserve">a %NULL-terminated array of #GOptionEntry<!-- -->s describing the options of your program</doc>
732 <type name="GLib.OptionEntry" c:type="GOptionEntry*"/>
734 <parameter name="translation_domain" transfer-ownership="none">
735 <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>
736 <type name="utf8" c:type="char*"/>
740 <function name="texture_new_from_icon_name"
741 c:identifier="gtk_clutter_texture_new_from_icon_name"
743 <doc xml:whitespace="preserve">Creates a new #ClutterTexture and sets its contents to be
744 the @icon_name from the current icon theme.
745 was %NULL and @icon_name was not found.</doc>
746 <return-value transfer-ownership="full">
747 <doc xml:whitespace="preserve">the newly created texture, or %NULL if @widget</doc>
748 <type name="Clutter.Actor" c:type="ClutterActor*"/>
751 <parameter name="widget" transfer-ownership="none">
752 <doc xml:whitespace="preserve">a #GtkWidget or %NULL</doc>
753 <type name="Gtk.Widget" c:type="GtkWidget*"/>
755 <parameter name="icon_name" transfer-ownership="none">
756 <doc xml:whitespace="preserve">the name of the icon</doc>
757 <type name="utf8" c:type="gchar*"/>
759 <parameter name="size" transfer-ownership="none">
760 <doc xml:whitespace="preserve">the size of the icon, or -1</doc>
761 <type name="Gtk.IconSize" c:type="GtkIconSize"/>
765 <function name="texture_new_from_pixbuf"
766 c:identifier="gtk_clutter_texture_new_from_pixbuf"
768 <doc xml:whitespace="preserve">Creates a new #ClutterTexture and sets its contents with a copy
770 <return-value transfer-ownership="full">
771 <doc xml:whitespace="preserve">the newly created #ClutterTexture</doc>
772 <type name="Clutter.Actor" c:type="ClutterActor*"/>
775 <parameter name="pixbuf" transfer-ownership="none">
776 <doc xml:whitespace="preserve">a #GdkPixbuf</doc>
777 <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
781 <function name="texture_new_from_stock"
782 c:identifier="gtk_clutter_texture_new_from_stock"
784 <doc xml:whitespace="preserve">Creates a new #ClutterTexture and sets its contents using the stock
785 icon @stock_id as rendered by @widget.</doc>
786 <return-value transfer-ownership="full">
787 <doc xml:whitespace="preserve">the newly created #ClutterTexture</doc>
788 <type name="Clutter.Actor" c:type="ClutterActor*"/>
791 <parameter name="widget" transfer-ownership="none">
792 <doc xml:whitespace="preserve">a #GtkWidget</doc>
793 <type name="Gtk.Widget" c:type="GtkWidget*"/>
795 <parameter name="stock_id" transfer-ownership="none">
796 <doc xml:whitespace="preserve">the stock id of the icon</doc>
797 <type name="utf8" c:type="gchar*"/>
799 <parameter name="size" transfer-ownership="none">
800 <doc xml:whitespace="preserve">the size of the icon, or -1</doc>
801 <type name="Gtk.IconSize" c:type="GtkIconSize"/>
805 <function name="texture_set_from_icon_name"
806 c:identifier="gtk_clutter_texture_set_from_icon_name"
809 <doc xml:whitespace="preserve">Sets the contents of @texture using the @icon_name from the
810 current icon theme.</doc>
811 <return-value transfer-ownership="none">
812 <doc xml:whitespace="preserve">%TRUE on success, %FALSE on failure.</doc>
813 <type name="boolean" c:type="gboolean"/>
816 <parameter name="texture" transfer-ownership="none">
817 <doc xml:whitespace="preserve">a #ClutterTexture</doc>
818 <type name="Clutter.Texture" c:type="ClutterTexture*"/>
820 <parameter name="widget" transfer-ownership="none">
821 <doc xml:whitespace="preserve">a #GtkWidget or %NULL</doc>
822 <type name="Gtk.Widget" c:type="GtkWidget*"/>
824 <parameter name="icon_name" transfer-ownership="none">
825 <doc xml:whitespace="preserve">the name of the icon</doc>
826 <type name="utf8" c:type="gchar*"/>
828 <parameter name="size" transfer-ownership="none">
829 <doc xml:whitespace="preserve">the icon size or -1</doc>
830 <type name="Gtk.IconSize" c:type="GtkIconSize"/>
834 <function name="texture_set_from_pixbuf"
835 c:identifier="gtk_clutter_texture_set_from_pixbuf"
838 <doc xml:whitespace="preserve">Sets the contents of @texture with a copy of @pixbuf.</doc>
839 <return-value transfer-ownership="none">
840 <doc xml:whitespace="preserve">%TRUE on success, %FALSE on failure.</doc>
841 <type name="boolean" c:type="gboolean"/>
844 <parameter name="texture" transfer-ownership="none">
845 <doc xml:whitespace="preserve">a #ClutterTexture</doc>
846 <type name="Clutter.Texture" c:type="ClutterTexture*"/>
848 <parameter name="pixbuf" transfer-ownership="none">
849 <doc xml:whitespace="preserve">a #GdkPixbuf</doc>
850 <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
854 <function name="texture_set_from_stock"
855 c:identifier="gtk_clutter_texture_set_from_stock"
858 <doc xml:whitespace="preserve">Sets the contents of @texture using the stock icon @stock_id, as
859 rendered by @widget.</doc>
860 <return-value transfer-ownership="none">
861 <doc xml:whitespace="preserve">%TRUE on success, %FALSE on failure.</doc>
862 <type name="boolean" c:type="gboolean"/>
865 <parameter name="texture" transfer-ownership="none">
866 <doc xml:whitespace="preserve">a #ClutterTexture</doc>
867 <type name="Clutter.Texture" c:type="ClutterTexture*"/>
869 <parameter name="widget" transfer-ownership="none">
870 <doc xml:whitespace="preserve">a #GtkWidget</doc>
871 <type name="Gtk.Widget" c:type="GtkWidget*"/>
873 <parameter name="stock_id" transfer-ownership="none">
874 <doc xml:whitespace="preserve">the stock id of the icon</doc>
875 <type name="utf8" c:type="gchar*"/>
877 <parameter name="size" transfer-ownership="none">
878 <doc xml:whitespace="preserve">the size of the icon, or -1</doc>
879 <type name="Gtk.IconSize" c:type="GtkIconSize"/>