clutter-gtk 2.2.4-x64-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +75 -0
  3. data/lib/clutter-gtk.rb +77 -0
  4. data/sample/events.rb +176 -0
  5. data/sample/multistage.rb +78 -0
  6. data/sample/redhand.png +0 -0
  7. data/sample/test-actor.rb +163 -0
  8. data/sample/test-scroll.rb +174 -0
  9. data/sample/test.rb +169 -0
  10. data/sample/window-test.rb +113 -0
  11. data/sample/window-test2.rb +132 -0
  12. data/test/clutter-gtk-test-utils.rb +21 -0
  13. data/test/run-test.rb +73 -0
  14. data/test/test-clutter-gtk-embed.rb +21 -0
  15. data/vendor/local/bin/libclutter-gtk-1.0-0.dll +0 -0
  16. data/vendor/local/include/clutter-gtk-1.0/clutter-gtk/clutter-gtk.h +17 -0
  17. data/vendor/local/include/clutter-gtk-1.0/clutter-gtk/gtk-clutter-actor.h +87 -0
  18. data/vendor/local/include/clutter-gtk-1.0/clutter-gtk/gtk-clutter-embed.h +94 -0
  19. data/vendor/local/include/clutter-gtk-1.0/clutter-gtk/gtk-clutter-texture.h +115 -0
  20. data/vendor/local/include/clutter-gtk-1.0/clutter-gtk/gtk-clutter-util.h +46 -0
  21. data/vendor/local/include/clutter-gtk-1.0/clutter-gtk/gtk-clutter-version.h +111 -0
  22. data/vendor/local/include/clutter-gtk-1.0/clutter-gtk/gtk-clutter-window.h +90 -0
  23. data/vendor/local/lib/girepository-1.0/GtkClutter-1.0.typelib +0 -0
  24. data/vendor/local/lib/libclutter-gtk-1.0.dll.a +0 -0
  25. data/vendor/local/lib/libclutter-gtk-1.0.la +41 -0
  26. data/vendor/local/lib/pkgconfig/clutter-gtk-1.0.pc +13 -0
  27. data/vendor/local/share/gir-1.0/GtkClutter-1.0.gir +696 -0
  28. data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/GtkClutterActor.html +307 -0
  29. data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/GtkClutterEmbed.html +305 -0
  30. data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/GtkClutterWindow.html +179 -0
  31. data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/annotation-glossary.html +48 -0
  32. data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/ch01.html +36 -0
  33. data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/ch02.html +42 -0
  34. data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/ch03.html +34 -0
  35. data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/clutter-gtk-1.0-Utility-Functions.html +258 -0
  36. data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/clutter-gtk-1.0.devhelp2 +50 -0
  37. data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/cluttergtk-glossary.html +35 -0
  38. data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/cluttergtk-object-hierarchy.html +45 -0
  39. data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/cluttergtk-object-index.html +60 -0
  40. data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/cluttergtk-objects.html +38 -0
  41. data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/home.png +0 -0
  42. data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/index.html +83 -0
  43. data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/index.sgml +60 -0
  44. data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/ix01.html +100 -0
  45. data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/ix02.html +198 -0
  46. data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/ix03.html +66 -0
  47. data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/ix04.html +32 -0
  48. data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/left-insensitive.png +0 -0
  49. data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/left.png +0 -0
  50. data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/license.html +59 -0
  51. data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/right-insensitive.png +0 -0
  52. data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/right.png +0 -0
  53. data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/style.css +476 -0
  54. data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/up-insensitive.png +0 -0
  55. data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/up.png +0 -0
  56. data/vendor/local/share/license/clutter-gtk/COPYING +504 -0
  57. data/vendor/local/share/locale/ja/LC_MESSAGES/cluttergtk-1.0.mo +0 -0
  58. data/vendor/local/share/locale/pl/LC_MESSAGES/cluttergtk-1.0.mo +0 -0
  59. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/cluttergtk-1.0.mo +0 -0
  60. metadata +143 -0
@@ -0,0 +1,115 @@
1
+ /* gtk-clutter-texture.h
2
+ *
3
+ * Copyright (C) 2010 Intel Corp.
4
+ *
5
+ * This library is free software; you can redistribute it and/or
6
+ * modify it under the terms of the GNU Lesser General Public
7
+ * License as published by the Free Software Foundation; either
8
+ * version 2 of the License, or (at your option) any later version.
9
+ *
10
+ * This library is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ * Lesser General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU Lesser General Public
16
+ * License along with this library. If not see <http://www.fsf.org/licensing>.
17
+ *
18
+ * Authors:
19
+ * Emmanuele Bassi <ebassi@linux.intel.com>
20
+ */
21
+
22
+ #if !defined(__CLUTTER_GTK_H_INSIDE__) && !defined(CLUTTER_GTK_COMPILATION)
23
+ #error "Only <clutter-gtk/clutter-gtk.h> can be included directly."
24
+ #endif
25
+
26
+ #ifndef __GTK_CLUTTER_TEXTURE_H__
27
+ #define __GTK_CLUTTER_TEXTURE_H__
28
+
29
+ #include <gdk-pixbuf/gdk-pixbuf.h>
30
+ #include <gtk/gtk.h>
31
+ #include <clutter/clutter.h>
32
+
33
+ G_BEGIN_DECLS
34
+
35
+ #define GTK_CLUTTER_TYPE_TEXTURE (gtk_clutter_texture_get_type ())
36
+ #define GTK_CLUTTER_TEXTURE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_CLUTTER_TYPE_TEXTURE, GtkClutterTexture))
37
+ #define GTK_CLUTTER_IS_TEXTURE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_CLUTTER_TYPE_TEXTURE))
38
+ #define GTK_CLUTTER_TEXTURE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_CLUTTER_TYPE_TEXTURE, GtkClutterTextureClass))
39
+ #define GTK_CLUTTER_IS_TEXTURE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_CLUTTER_TYPE_TEXTURE))
40
+ #define GTK_CLUTTER_TEXTURE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_CLUTTER_TYPE_TEXTURE, GtkClutterTextureClass))
41
+
42
+ /**
43
+ * GTK_CLUTTER_TEXTURE_ERROR:
44
+ *
45
+ * Error domain for #GtkClutterTexture
46
+ *
47
+ * Since: 1.0
48
+ */
49
+ #define GTK_CLUTTER_TEXTURE_ERROR (gtk_clutter_texture_error_quark ())
50
+
51
+ typedef struct _GtkClutterTexture GtkClutterTexture;
52
+ typedef struct _GtkClutterTextureClass GtkClutterTextureClass;
53
+
54
+ /**
55
+ * GtkClutterTextureError:
56
+ * @GTK_CLUTTER_TEXTURE_ERROR_INVALID_STOCK_ID: Invalid stock id
57
+ *
58
+ * Error enumeration for #GtkClutterTexture
59
+ *
60
+ * Since: 1.0
61
+ */
62
+ typedef enum {
63
+ GTK_CLUTTER_TEXTURE_ERROR_INVALID_STOCK_ID
64
+ } GtkClutterTextureError;
65
+
66
+ /**
67
+ * GtkClutterTexture:
68
+ *
69
+ * The <structname>GtkClutterTexture</structname> structure contains
70
+ * only private data and should be accessed using the provided API.
71
+ *
72
+ * Since: 1.0
73
+ */
74
+ struct _GtkClutterTexture
75
+ {
76
+ /*< private >*/
77
+ ClutterTexture parent_instance;
78
+ };
79
+
80
+ /**
81
+ * GtkClutterTextureClass:
82
+ *
83
+ * The <structname>GtkClutterTextureClass</structname> structure contains
84
+ * only private data.
85
+ *
86
+ * Since: 1.0
87
+ */
88
+ struct _GtkClutterTextureClass
89
+ {
90
+ /*< private >*/
91
+ ClutterTextureClass parent_class;
92
+ };
93
+
94
+ GQuark gtk_clutter_texture_error_quark (void);
95
+ GType gtk_clutter_texture_get_type (void) G_GNUC_CONST;
96
+
97
+ ClutterActor * gtk_clutter_texture_new (void);
98
+
99
+ gboolean gtk_clutter_texture_set_from_pixbuf (GtkClutterTexture *texture,
100
+ GdkPixbuf *pixbuf,
101
+ GError **error);
102
+ gboolean gtk_clutter_texture_set_from_stock (GtkClutterTexture *texture,
103
+ GtkWidget *widget,
104
+ const gchar *stock_id,
105
+ GtkIconSize icon_size,
106
+ GError **error);
107
+ gboolean gtk_clutter_texture_set_from_icon_name (GtkClutterTexture *texture,
108
+ GtkWidget *widget,
109
+ const gchar *icon_name,
110
+ GtkIconSize icon_size,
111
+ GError **error);
112
+
113
+ G_END_DECLS
114
+
115
+ #endif /* __GTK_CLUTTER_TEXTURE_H__ */
@@ -0,0 +1,46 @@
1
+ /* gtk-clutter-util.h: GTK+ integration utilities
2
+ *
3
+ * Copyright (C) 2008 OpenedHand
4
+ *
5
+ * This library is free software; you can redistribute it and/or
6
+ * modify it under the terms of the GNU Lesser General Public
7
+ * License as published by the Free Software Foundation; either
8
+ * version 2 of the License, or (at your option) any later version.
9
+ *
10
+ * This library is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ * Lesser General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU Lesser General Public
16
+ * License along with this library. If not see <http://www.fsf.org/licensing>.
17
+ *
18
+ * Authors:
19
+ * Emmanuele Bassi <ebassi@openedhand.com>
20
+ */
21
+
22
+ #if !defined(__CLUTTER_GTK_H_INSIDE__) && !defined(CLUTTER_GTK_COMPILATION)
23
+ #error "Only <clutter-gtk/clutter-gtk.h> can be included directly."
24
+ #endif
25
+
26
+ #ifndef __GTK_CLUTTER_UTIL_H__
27
+ #define __GTK_CLUTTER_UTIL_H__
28
+
29
+ #include <gtk/gtk.h>
30
+ #include <clutter/clutter.h>
31
+
32
+ G_BEGIN_DECLS
33
+
34
+ ClutterInitError gtk_clutter_init (int *argc,
35
+ char ***argv) G_GNUC_WARN_UNUSED_RESULT;
36
+ ClutterInitError gtk_clutter_init_with_args (int *argc,
37
+ char ***argv,
38
+ const char *parameter_string,
39
+ GOptionEntry *entries,
40
+ const char *translation_domain,
41
+ GError **error) G_GNUC_WARN_UNUSED_RESULT;
42
+ GOptionGroup *gtk_clutter_get_option_group (void);
43
+
44
+ G_END_DECLS
45
+
46
+ #endif /* __GTK_CLUTTER_UTIL_H__ */
@@ -0,0 +1,111 @@
1
+ /*
2
+ * Clutter-GTK.
3
+ *
4
+ * Copyright (C) 2010 Intel Corp.
5
+ *
6
+ * This library is free software; you can redistribute it and/or
7
+ * modify it under the terms of the GNU Lesser General Public
8
+ * License as published by the Free Software Foundation; either
9
+ * version 2 of the License, or (at your option) any later version.
10
+ *
11
+ * This library is distributed in the hope that it will be useful,
12
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
+ * Lesser General Public License for more details.
15
+ *
16
+ * You should have received a copy of the GNU Lesser General Public
17
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
18
+ *
19
+ * Author:
20
+ * Emmanuele Bassi <ebassi@linux.intel.com>
21
+ */
22
+
23
+ #if !defined(__CLUTTER_GTK_H_INSIDE__) && !defined(CLUTTER_GTK_COMPILATION)
24
+ #error "Only <clutter-gtk/clutter-gtk.h> can be included directly."
25
+ #endif
26
+
27
+ /**
28
+ * SECTION:gtk-clutter-version
29
+ * @Title: Versioning
30
+ * @short_description: Versioning utility macros
31
+ *
32
+ * Clutter-GTK offers a set of macros for checking the version of the library
33
+ * an application was linked to.
34
+ */
35
+
36
+ #ifndef __GTK_CLUTTER_VERSION_H__
37
+ #define __GTK_CLUTTER_VERSION_H__
38
+
39
+ #include <glib.h>
40
+
41
+ G_BEGIN_DECLS
42
+
43
+ /**
44
+ * CLUTTER_GTK_MAJOR_VERSION:
45
+ *
46
+ * The major version of the Clutter-GTK library (1, if %CLUTTER_GTK_VERSION
47
+ * is 1.2.3)
48
+ */
49
+ #define CLUTTER_GTK_MAJOR_VERSION (1)
50
+
51
+ /**
52
+ * CLUTTER_GTK_MINOR_VERSION:
53
+ *
54
+ * The minor version of the Clutter-GTK library (2, if %CLUTTER_GTK_VERSION
55
+ * is 1.2.3)
56
+ */
57
+ #define CLUTTER_GTK_MINOR_VERSION (6)
58
+
59
+ /**
60
+ * CLUTTER_GTK_MICRO_VERSION:
61
+ *
62
+ * The micro version of the Clutter-GTK library (3, if %CLUTTER_GTK_VERSION
63
+ * is 1.2.3)
64
+ */
65
+ #define CLUTTER_GTK_MICRO_VERSION (0)
66
+
67
+ /**
68
+ * CLUTTER_GTK_VERSION:
69
+ *
70
+ * The full version of the Clutter-GTK library, like 1.2.3
71
+ */
72
+ #define CLUTTER_GTK_VERSION 1.6.0
73
+
74
+ /**
75
+ * CLUTTER_GTK_VERSION_S:
76
+ *
77
+ * The full version of the Clutter-GTK library, in string form (suited for
78
+ * string concatenation)
79
+ */
80
+ #define CLUTTER_GTK_VERSION_S "1.6.0"
81
+
82
+ /**
83
+ * CLUTTER_GTK_VERSION_HEX:
84
+ *
85
+ * Numerically encoded version of the Clutter-GTK library, like 0x010203
86
+ */
87
+ #define CLUTTER_GTK_VERSION_HEX ((CLUTTER_GTK_MAJOR_VERSION << 24) | \
88
+ (CLUTTER_GTK_MINOR_VERSION << 16) | \
89
+ (CLUTTER_GTK_MICRO_VERSION << 8))
90
+
91
+ /**
92
+ * CLUTTER_GTK_CHECK_VERSION:
93
+ * @major: major version, like 1 in 1.2.3
94
+ * @minor: minor version, like 2 in 1.2.3
95
+ * @micro: micro version, like 3 in 1.2.3
96
+ *
97
+ * Evaluates to %TRUE if the version of the Clutter-GTK library is greater
98
+ * than @major, @minor and @micro
99
+ */
100
+ #define CLUTTER_GTK_CHECK_VERSION(major,minor,micro) \
101
+ (CLUTTER_GTK_MAJOR_VERSION > (major) || \
102
+ (CLUTTER_GTK_MAJOR_VERSION == (major) && CLUTTER_GTK_MINOR_VERSION > (minor)) || \
103
+ (CLUTTER_GTK_MAJOR_VERSION == (major) && CLUTTER_GTK_MINOR_VERSION == (minor) && CLUTTER_GTK_MICRO_VERSION >= (micro)))
104
+
105
+ gboolean gtk_clutter_check_version (guint major,
106
+ guint minor,
107
+ guint micro);
108
+
109
+ G_END_DECLS
110
+
111
+ #endif /* __GTK_CLUTTER_VERSION_H__ */
@@ -0,0 +1,90 @@
1
+ /* gtk-clutter-window.h: GtkWindow which provides a hidden ClutterStage
2
+ *
3
+ * Copyright (C) 2009 Collabora Ltd.
4
+ *
5
+ * This library is free software; you can redistribute it and/or
6
+ * modify it under the terms of the GNU Lesser General Public
7
+ * License as published by the Free Software Foundation; either
8
+ * version 2 of the License, or (at your option) any later version.
9
+ *
10
+ * This library is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ * Lesser General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU Lesser General Public
16
+ * License along with this library. If not see <http://www.fsf.org/licensing>.
17
+ *
18
+ * Authors:
19
+ * Danielle Madeley <danielle.madeley@collabora.co.uk>
20
+ */
21
+
22
+ #if !defined(__CLUTTER_GTK_H_INSIDE__) && !defined(CLUTTER_GTK_COMPILATION)
23
+ #error "Only <clutter-gtk/clutter-gtk.h> can be included directly."
24
+ #endif
25
+
26
+ #ifndef __GTK_CLUTTER_WINDOW_H__
27
+ #define __GTK_CLUTTER_WINDOW_H__
28
+
29
+ #include <gtk/gtk.h>
30
+ #include <clutter/clutter.h>
31
+
32
+ G_BEGIN_DECLS
33
+
34
+ #define GTK_CLUTTER_TYPE_WINDOW (gtk_clutter_window_get_type ())
35
+ #define GTK_CLUTTER_WINDOW(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_CLUTTER_TYPE_WINDOW, GtkClutterWindow))
36
+ #define GTK_CLUTTER_IS_WINDOW(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_CLUTTER_TYPE_WINDOW))
37
+ #define GTK_CLUTTER_WINDOW_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_CLUTTER_TYPE_WINDOW, GtkClutterWindowClass))
38
+ #define GTK_CLUTTER_IS_WINDOW_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_CLUTTER_TYPE_WINDOW))
39
+ #define GTK_CLUTTER_WINDOW_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_CLUTTER_TYPE_WINDOW, GtkClutterWindowClass))
40
+
41
+ typedef struct _GtkClutterWindow GtkClutterWindow;
42
+ typedef struct _GtkClutterWindowPrivate GtkClutterWindowPrivate;
43
+ typedef struct _GtkClutterWindowClass GtkClutterWindowClass;
44
+
45
+ /**
46
+ * GtkClutterWindow:
47
+ *
48
+ * A #GtkWindow containing a #ClutterStage.
49
+ *
50
+ * The <structname>GtkClutterWindow</structname> structure contains only
51
+ * private data and it should be accessed using the provided API.
52
+ */
53
+ struct _GtkClutterWindow
54
+ {
55
+ /*< private >*/
56
+ GtkWindow parent_instance;
57
+
58
+ GtkClutterWindowPrivate *priv;
59
+ };
60
+
61
+ /**
62
+ * GtkClutterWindowClass:
63
+ *
64
+ * Base class for #GtkClutterWindow.
65
+ *
66
+ * The <structname>GtkClutterWindowClass</structname> structure contains
67
+ * only private data.
68
+ */
69
+ struct _GtkClutterWindowClass
70
+ {
71
+ /*< private >*/
72
+ GtkWindowClass parent_class;
73
+
74
+ /* padding for future expansion */
75
+ void (*_clutter_gtk_reserved1) (void);
76
+ void (*_clutter_gtk_reserved2) (void);
77
+ void (*_clutter_gtk_reserved3) (void);
78
+ void (*_clutter_gtk_reserved4) (void);
79
+ void (*_clutter_gtk_reserved5) (void);
80
+ void (*_clutter_gtk_reserved6) (void);
81
+ };
82
+
83
+ GType gtk_clutter_window_get_type (void) G_GNUC_CONST;
84
+
85
+ GtkWidget * gtk_clutter_window_new (void);
86
+ ClutterActor *gtk_clutter_window_get_stage (GtkClutterWindow *window);
87
+
88
+ G_END_DECLS
89
+
90
+ #endif /* __GTK_CLUTTER_WINDOW_H__ */
@@ -0,0 +1,41 @@
1
+ # libclutter-gtk-1.0.la - a libtool library file
2
+ # Generated by libtool (GNU libtool) 2.4.2
3
+ #
4
+ # Please DO NOT delete this file!
5
+ # It is necessary for linking the library.
6
+
7
+ # The name that we can dlopen(3).
8
+ dlname='../bin/libclutter-gtk-1.0-0.dll'
9
+
10
+ # Names of this library.
11
+ library_names='libclutter-gtk-1.0.dll.a'
12
+
13
+ # The name of the static archive.
14
+ old_library=''
15
+
16
+ # Linker flags that can not go in dependency_libs.
17
+ inherited_linker_flags=' -pthread'
18
+
19
+ # Libraries that this one depends upon.
20
+ dependency_libs=' -R/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib -L/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib -L/home/vagrant/rcairo.win64/vendor/local/lib -L/home/vagrant/ruby-gnome2.win64/clutter-gtk/vendor/local/lib -L/home/vagrant/ruby-gnome2.win64/atk/vendor/local/lib -L/home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib -L/home/vagrant/ruby-gnome2.win64/gdk_pixbuf2/vendor/local/lib -L/home/vagrant/ruby-gnome2.win64/clutter/vendor/local/lib -L/home/vagrant/ruby-gnome2.win64/gdk3/vendor/local/lib /home/vagrant/ruby-gnome2.win64/clutter/vendor/local/lib/libclutter-1.0.la /home/vagrant/ruby-gnome2.win64/clutter/vendor/local/lib/libcogl-path.la /home/vagrant/ruby-gnome2.win64/clutter/vendor/local/lib/libcogl-pango.la /home/vagrant/ruby-gnome2.win64/clutter/vendor/local/lib/libcogl.la -lopengl32 /home/vagrant/ruby-gnome2.win64/clutter/vendor/local/lib/libjson-glib-1.0.la /home/vagrant/ruby-gnome2.win64/gdk3/vendor/local/lib/libgtk-3.la -lcomdlg32 -lwinspool -lcomctl32 /home/vagrant/ruby-gnome2.win64/gdk3/vendor/local/lib/libgdk-3.la -limm32 -lshell32 /home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/libpangocairo-1.0.la /home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/libpangoft2-1.0.la /home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/libharfbuzz.la /home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/libpangowin32-1.0.la /home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/libpango-1.0.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libgthread-2.0.la /home/vagrant/ruby-gnome2.win64/atk/vendor/local/lib/libatk-1.0.la /home/vagrant/rcairo.win64/vendor/local/lib/libcairo-gobject.la /home/vagrant/rcairo.win64/vendor/local/lib/libcairo.la /home/vagrant/rcairo.win64/vendor/local/lib/libpixman-1.la /home/vagrant/rcairo.win64/vendor/local/lib/libfontconfig.la /home/vagrant/rcairo.win64/vendor/local/lib/libxml2.la /home/vagrant/rcairo.win64/vendor/local/lib/libfreetype.la -lgdi32 -lmsimg32 /home/vagrant/ruby-gnome2.win64/gdk_pixbuf2/vendor/local/lib/libgdk_pixbuf-2.0.la /home/vagrant/rcairo.win64/vendor/local/lib/libpng16.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libgio-2.0.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libgmodule-2.0.la -ldnsapi -liphlpapi -lz /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libgobject-2.0.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libffi.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libglib-2.0.la -lws2_32 -lole32 -lwinmm -lshlwapi /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libintl.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libiconv.la -lpthread'
21
+
22
+ # Names of additional weak libraries provided by this library
23
+ weak_library_names=''
24
+
25
+ # Version information for libclutter-gtk-1.0.
26
+ current=600
27
+ age=600
28
+ revision=0
29
+
30
+ # Is this an already installed library?
31
+ installed=yes
32
+
33
+ # Should we warn about portability when linking against -modules?
34
+ shouldnotlink=no
35
+
36
+ # Files to dlopen/dlpreopen
37
+ dlopen=''
38
+ dlpreopen=''
39
+
40
+ # Directory that this library needs to be installed in:
41
+ libdir='/home/vagrant/ruby-gnome2.win64/clutter-gtk/vendor/local/lib'
@@ -0,0 +1,13 @@
1
+ prefix=/home/vagrant/ruby-gnome2.win64/clutter-gtk/vendor/local
2
+ exec_prefix=${prefix}
3
+ libdir=${exec_prefix}/lib
4
+ includedir=${prefix}/include
5
+ apiversion=1.0
6
+ clutterapiversion=1.0
7
+
8
+ Name: clutter-gtk
9
+ Description: GTK+ integration for Clutter
10
+ Version: 1.6.0
11
+ Libs: -L${libdir} -lclutter-gtk-${apiversion}
12
+ Cflags: -I${includedir}/clutter-gtk-${apiversion}
13
+ Requires: clutter-1.0 gtk+-3.0
@@ -0,0 +1,696 @@
1
+ <?xml version="1.0"?>
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.2"
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="Clutter" version="1.0"/>
10
+ <include name="Gtk" version="3.0"/>
11
+ <package name="clutter-gtk-1.0"/>
12
+ <c:include name="clutter-gtk/clutter-gtk.h"/>
13
+ <namespace name="GtkClutter"
14
+ version="1.0"
15
+ shared-library="libclutter-gtk-1.0-0.dll"
16
+ c:identifier-prefixes="GtkClutter"
17
+ c:symbol-prefixes="gtk_clutter">
18
+ <class name="Actor"
19
+ c:symbol-prefix="actor"
20
+ c:type="GtkClutterActor"
21
+ parent="Clutter.Actor"
22
+ glib:type-name="GtkClutterActor"
23
+ glib:get-type="gtk_clutter_actor_get_type"
24
+ glib:type-struct="ActorClass">
25
+ <doc xml:space="preserve">A ClutterActor containing a #GtkWidget.</doc>
26
+ <implements name="Atk.ImplementorIface"/>
27
+ <implements name="Clutter.Animatable"/>
28
+ <implements name="Clutter.Container"/>
29
+ <implements name="Clutter.Scriptable"/>
30
+ <constructor name="new" c:identifier="gtk_clutter_actor_new">
31
+ <doc xml:space="preserve">Creates a new #GtkClutterActor.
32
+
33
+ This widget can be used to embed a #GtkWidget into a Clutter scene,
34
+ by retrieving the internal #GtkBin container using
35
+ gtk_clutter_actor_get_widget() and adding the #GtkWidget to it.</doc>
36
+ <return-value transfer-ownership="none">
37
+ <doc xml:space="preserve">the newly created #GtkClutterActor</doc>
38
+ <type name="Clutter.Actor" c:type="ClutterActor*"/>
39
+ </return-value>
40
+ </constructor>
41
+ <constructor name="new_with_contents"
42
+ c:identifier="gtk_clutter_actor_new_with_contents">
43
+ <doc xml:space="preserve">Creates a new #GtkClutterActor widget. This widget can be
44
+ used to embed a Gtk widget into a clutter scene.
45
+
46
+ This function is the logical equivalent of:
47
+
48
+ |[
49
+ ClutterActor *actor = gtk_clutter_actor_new ();
50
+ GtkWidget *bin = gtk_clutter_actor_get_widget (GTK_CLUTTER_ACTOR (actor));
51
+
52
+ gtk_container_add (GTK_CONTAINER (bin), contents);
53
+ ]|</doc>
54
+ <return-value transfer-ownership="none">
55
+ <doc xml:space="preserve">the newly created #GtkClutterActor</doc>
56
+ <type name="Clutter.Actor" c:type="ClutterActor*"/>
57
+ </return-value>
58
+ <parameters>
59
+ <parameter name="contents" transfer-ownership="none">
60
+ <doc xml:space="preserve">a #GtkWidget to pack into this #ClutterActor</doc>
61
+ <type name="Gtk.Widget" c:type="GtkWidget*"/>
62
+ </parameter>
63
+ </parameters>
64
+ </constructor>
65
+ <method name="get_contents"
66
+ c:identifier="gtk_clutter_actor_get_contents">
67
+ <doc xml:space="preserve">Retrieves the child of the #GtkBin used to hold the contents of @actor.
68
+
69
+ This convenience function is the logical equivalent of:
70
+
71
+ |[
72
+ GtkWidget *bin;
73
+
74
+ bin = gtk_clutter_actor_get_widget (GTK_CLUTTER_ACTOR (actor));
75
+ return gtk_bin_get_child (GTK_BIN (bin));
76
+ ]|</doc>
77
+ <return-value transfer-ownership="none">
78
+ <doc xml:space="preserve">a #GtkWidget, or %NULL if not content
79
+ has been set</doc>
80
+ <type name="Gtk.Widget" c:type="GtkWidget*"/>
81
+ </return-value>
82
+ <parameters>
83
+ <instance-parameter name="actor" transfer-ownership="none">
84
+ <doc xml:space="preserve">a #GtkClutterActor</doc>
85
+ <type name="Actor" c:type="GtkClutterActor*"/>
86
+ </instance-parameter>
87
+ </parameters>
88
+ </method>
89
+ <method name="get_widget" c:identifier="gtk_clutter_actor_get_widget">
90
+ <doc xml:space="preserve">Retrieves the #GtkBin used to hold the #GtkClutterActor:contents widget</doc>
91
+ <return-value transfer-ownership="none">
92
+ <doc xml:space="preserve">a #GtkBin</doc>
93
+ <type name="Gtk.Widget" c:type="GtkWidget*"/>
94
+ </return-value>
95
+ <parameters>
96
+ <instance-parameter name="actor" transfer-ownership="none">
97
+ <doc xml:space="preserve">a #GtkClutterActor</doc>
98
+ <type name="Actor" c:type="GtkClutterActor*"/>
99
+ </instance-parameter>
100
+ </parameters>
101
+ </method>
102
+ <property name="contents"
103
+ writable="1"
104
+ construct="1"
105
+ transfer-ownership="none">
106
+ <doc xml:space="preserve">The #GtkWidget to be embedded into the #GtkClutterActor</doc>
107
+ <type name="Gtk.Widget"/>
108
+ </property>
109
+ <field name="parent_instance" readable="0" private="1">
110
+ <type name="Clutter.Actor" c:type="ClutterActor"/>
111
+ </field>
112
+ <field name="priv" readable="0" private="1">
113
+ <type name="ActorPrivate" c:type="GtkClutterActorPrivate*"/>
114
+ </field>
115
+ </class>
116
+ <record name="ActorClass"
117
+ c:type="GtkClutterActorClass"
118
+ glib:is-gtype-struct-for="Actor">
119
+ <doc xml:space="preserve">Base class for #GtkClutterActor.</doc>
120
+ <field name="parent_class" readable="0" private="1">
121
+ <type name="Clutter.ActorClass" c:type="ClutterActorClass"/>
122
+ </field>
123
+ <field name="_clutter_gtk_reserved1" introspectable="0">
124
+ <callback name="_clutter_gtk_reserved1">
125
+ <return-value transfer-ownership="none">
126
+ <type name="none" c:type="void"/>
127
+ </return-value>
128
+ </callback>
129
+ </field>
130
+ <field name="_clutter_gtk_reserved2" introspectable="0">
131
+ <callback name="_clutter_gtk_reserved2">
132
+ <return-value transfer-ownership="none">
133
+ <type name="none" c:type="void"/>
134
+ </return-value>
135
+ </callback>
136
+ </field>
137
+ <field name="_clutter_gtk_reserved3" introspectable="0">
138
+ <callback name="_clutter_gtk_reserved3">
139
+ <return-value transfer-ownership="none">
140
+ <type name="none" c:type="void"/>
141
+ </return-value>
142
+ </callback>
143
+ </field>
144
+ <field name="_clutter_gtk_reserved4" introspectable="0">
145
+ <callback name="_clutter_gtk_reserved4">
146
+ <return-value transfer-ownership="none">
147
+ <type name="none" c:type="void"/>
148
+ </return-value>
149
+ </callback>
150
+ </field>
151
+ <field name="_clutter_gtk_reserved5" introspectable="0">
152
+ <callback name="_clutter_gtk_reserved5">
153
+ <return-value transfer-ownership="none">
154
+ <type name="none" c:type="void"/>
155
+ </return-value>
156
+ </callback>
157
+ </field>
158
+ <field name="_clutter_gtk_reserved6" introspectable="0">
159
+ <callback name="_clutter_gtk_reserved6">
160
+ <return-value transfer-ownership="none">
161
+ <type name="none" c:type="void"/>
162
+ </return-value>
163
+ </callback>
164
+ </field>
165
+ </record>
166
+ <record name="ActorPrivate" c:type="GtkClutterActorPrivate" disguised="1">
167
+ </record>
168
+ <class name="Embed"
169
+ c:symbol-prefix="embed"
170
+ c:type="GtkClutterEmbed"
171
+ parent="Gtk.Container"
172
+ glib:type-name="GtkClutterEmbed"
173
+ glib:get-type="gtk_clutter_embed_get_type"
174
+ glib:type-struct="EmbedClass">
175
+ <doc xml:space="preserve">A #GtkWidget containing the default Clutter stage.
176
+
177
+ The &lt;structname&gt;GtkClutterEmbed&lt;/structname&gt; structure contains only
178
+ private data and should be accessed using the provided API.</doc>
179
+ <implements name="Atk.ImplementorIface"/>
180
+ <implements name="Gtk.Buildable"/>
181
+ <constructor name="new" c:identifier="gtk_clutter_embed_new">
182
+ <doc xml:space="preserve">Creates a new #GtkClutterEmbed widget. This widget can be
183
+ used to build a scene using Clutter API into a GTK+ application.</doc>
184
+ <return-value transfer-ownership="none">
185
+ <doc xml:space="preserve">the newly created #GtkClutterEmbed</doc>
186
+ <type name="Gtk.Widget" c:type="GtkWidget*"/>
187
+ </return-value>
188
+ </constructor>
189
+ <method name="get_stage" c:identifier="gtk_clutter_embed_get_stage">
190
+ <doc xml:space="preserve">Retrieves the #ClutterStage from @embed. The returned stage can be
191
+ used to add actors to the Clutter scene.</doc>
192
+ <return-value transfer-ownership="none">
193
+ <doc xml:space="preserve">the Clutter stage. You should never
194
+ destroy or unref the returned actor.</doc>
195
+ <type name="Clutter.Actor" c:type="ClutterActor*"/>
196
+ </return-value>
197
+ <parameters>
198
+ <instance-parameter name="embed" transfer-ownership="none">
199
+ <doc xml:space="preserve">a #GtkClutterEmbed</doc>
200
+ <type name="Embed" c:type="GtkClutterEmbed*"/>
201
+ </instance-parameter>
202
+ </parameters>
203
+ </method>
204
+ <method name="get_use_layout_size"
205
+ c:identifier="gtk_clutter_embed_get_use_layout_size"
206
+ version="1.4">
207
+ <doc xml:space="preserve">Retrieves whether the embedding uses the layout size, see
208
+ gtk_clutter_embed_set_use_layout_size() for details.</doc>
209
+ <return-value transfer-ownership="none">
210
+ <doc xml:space="preserve">%TRUE if reporting stage size as widget size, %FALSE otherwise.</doc>
211
+ <type name="gboolean" c:type="gboolean"/>
212
+ </return-value>
213
+ <parameters>
214
+ <instance-parameter name="embed" transfer-ownership="none">
215
+ <doc xml:space="preserve">a #GtkClutterEmbed</doc>
216
+ <type name="Embed" c:type="GtkClutterEmbed*"/>
217
+ </instance-parameter>
218
+ </parameters>
219
+ </method>
220
+ <method name="set_use_layout_size"
221
+ c:identifier="gtk_clutter_embed_set_use_layout_size"
222
+ version="1.4">
223
+ <doc xml:space="preserve">Changes the way @embed requests size. If @use_layout_size is
224
+ %TRUE, the @embed widget will request the size that the
225
+ LayoutManager reports as the preferred size. This means that
226
+ a Gtk+ window will automatically get the natural and minimum
227
+ toplevel window sizes. This is useful when the contents of the
228
+ clutter stage is similar to a traditional UI.
229
+
230
+ If @use_layout_size is %FALSE (which is the default) then @embed
231
+ will not request any size and its up to the embedder to make sure
232
+ there is some size (by setting a custom size on the widget or a default
233
+ size on the toplevel. This makes more sense when using the @embed
234
+ as a viewport into a potentially unlimited clutter space.</doc>
235
+ <return-value transfer-ownership="none">
236
+ <type name="none" c:type="void"/>
237
+ </return-value>
238
+ <parameters>
239
+ <instance-parameter name="embed" transfer-ownership="none">
240
+ <doc xml:space="preserve">a #GtkClutterEmbed</doc>
241
+ <type name="Embed" c:type="GtkClutterEmbed*"/>
242
+ </instance-parameter>
243
+ <parameter name="use_layout_size" transfer-ownership="none">
244
+ <doc xml:space="preserve">a boolean</doc>
245
+ <type name="gboolean" c:type="gboolean"/>
246
+ </parameter>
247
+ </parameters>
248
+ </method>
249
+ <property name="use-layout-size"
250
+ version="1.4"
251
+ writable="1"
252
+ construct="1"
253
+ transfer-ownership="none">
254
+ <doc xml:space="preserve">The #GtkWidget to be embedded into the #GtkClutterActor</doc>
255
+ <type name="gboolean" c:type="gboolean"/>
256
+ </property>
257
+ <field name="parent_instance" readable="0" private="1">
258
+ <type name="Gtk.Container" c:type="GtkContainer"/>
259
+ </field>
260
+ <field name="priv" readable="0" private="1">
261
+ <type name="EmbedPrivate" c:type="GtkClutterEmbedPrivate*"/>
262
+ </field>
263
+ </class>
264
+ <record name="EmbedClass"
265
+ c:type="GtkClutterEmbedClass"
266
+ glib:is-gtype-struct-for="Embed">
267
+ <doc xml:space="preserve">Base class for #GtkClutterEmbed.
268
+
269
+ The &lt;structname&gt;GtkClutterEmbedClass&lt;/structname&gt; contains only private
270
+ data.</doc>
271
+ <field name="parent_class" readable="0" private="1">
272
+ <type name="Gtk.ContainerClass" c:type="GtkContainerClass"/>
273
+ </field>
274
+ <field name="_clutter_gtk_reserved1" introspectable="0">
275
+ <callback name="_clutter_gtk_reserved1">
276
+ <return-value transfer-ownership="none">
277
+ <type name="none" c:type="void"/>
278
+ </return-value>
279
+ </callback>
280
+ </field>
281
+ <field name="_clutter_gtk_reserved2" introspectable="0">
282
+ <callback name="_clutter_gtk_reserved2">
283
+ <return-value transfer-ownership="none">
284
+ <type name="none" c:type="void"/>
285
+ </return-value>
286
+ </callback>
287
+ </field>
288
+ <field name="_clutter_gtk_reserved3" introspectable="0">
289
+ <callback name="_clutter_gtk_reserved3">
290
+ <return-value transfer-ownership="none">
291
+ <type name="none" c:type="void"/>
292
+ </return-value>
293
+ </callback>
294
+ </field>
295
+ <field name="_clutter_gtk_reserved4" introspectable="0">
296
+ <callback name="_clutter_gtk_reserved4">
297
+ <return-value transfer-ownership="none">
298
+ <type name="none" c:type="void"/>
299
+ </return-value>
300
+ </callback>
301
+ </field>
302
+ <field name="_clutter_gtk_reserved5" introspectable="0">
303
+ <callback name="_clutter_gtk_reserved5">
304
+ <return-value transfer-ownership="none">
305
+ <type name="none" c:type="void"/>
306
+ </return-value>
307
+ </callback>
308
+ </field>
309
+ <field name="_clutter_gtk_reserved6" introspectable="0">
310
+ <callback name="_clutter_gtk_reserved6">
311
+ <return-value transfer-ownership="none">
312
+ <type name="none" c:type="void"/>
313
+ </return-value>
314
+ </callback>
315
+ </field>
316
+ </record>
317
+ <record name="EmbedPrivate" c:type="GtkClutterEmbedPrivate" disguised="1">
318
+ </record>
319
+ <class name="Texture"
320
+ c:symbol-prefix="texture"
321
+ c:type="GtkClutterTexture"
322
+ version="1.0"
323
+ parent="Clutter.Texture"
324
+ glib:type-name="GtkClutterTexture"
325
+ glib:get-type="gtk_clutter_texture_get_type"
326
+ glib:type-struct="TextureClass">
327
+ <doc xml:space="preserve">The &lt;structname&gt;GtkClutterTexture&lt;/structname&gt; structure contains
328
+ only private data and should be accessed using the provided API.</doc>
329
+ <implements name="Atk.ImplementorIface"/>
330
+ <implements name="Clutter.Animatable"/>
331
+ <implements name="Clutter.Container"/>
332
+ <implements name="Clutter.Scriptable"/>
333
+ <constructor name="new"
334
+ c:identifier="gtk_clutter_texture_new"
335
+ version="1.0">
336
+ <doc xml:space="preserve">Creates a new #GtkClutterTexture actor.</doc>
337
+ <return-value transfer-ownership="none">
338
+ <doc xml:space="preserve">the newly created #GtkClutterTexture
339
+ instance</doc>
340
+ <type name="Clutter.Actor" c:type="ClutterActor*"/>
341
+ </return-value>
342
+ </constructor>
343
+ <function name="error_quark"
344
+ c:identifier="gtk_clutter_texture_error_quark">
345
+ <return-value transfer-ownership="none">
346
+ <type name="GLib.Quark" c:type="GQuark"/>
347
+ </return-value>
348
+ </function>
349
+ <method name="set_from_icon_name"
350
+ c:identifier="gtk_clutter_texture_set_from_icon_name"
351
+ version="1.0"
352
+ throws="1">
353
+ <doc xml:space="preserve">Sets the contents of @texture using the @icon_name from the
354
+ current icon theme.</doc>
355
+ <return-value transfer-ownership="none">
356
+ <doc xml:space="preserve">%TRUE on success, %FALSE on failure</doc>
357
+ <type name="gboolean" c:type="gboolean"/>
358
+ </return-value>
359
+ <parameters>
360
+ <instance-parameter name="texture" transfer-ownership="none">
361
+ <doc xml:space="preserve">a #GtkClutterTexture</doc>
362
+ <type name="Texture" c:type="GtkClutterTexture*"/>
363
+ </instance-parameter>
364
+ <parameter name="widget"
365
+ transfer-ownership="none"
366
+ nullable="1"
367
+ allow-none="1">
368
+ <doc xml:space="preserve">a #GtkWidget or %NULL</doc>
369
+ <type name="Gtk.Widget" c:type="GtkWidget*"/>
370
+ </parameter>
371
+ <parameter name="icon_name" transfer-ownership="none">
372
+ <doc xml:space="preserve">the name of the icon</doc>
373
+ <type name="utf8" c:type="const gchar*"/>
374
+ </parameter>
375
+ <parameter name="icon_size" transfer-ownership="none">
376
+ <doc xml:space="preserve">the icon size or -1</doc>
377
+ <type name="Gtk.IconSize" c:type="GtkIconSize"/>
378
+ </parameter>
379
+ </parameters>
380
+ </method>
381
+ <method name="set_from_pixbuf"
382
+ c:identifier="gtk_clutter_texture_set_from_pixbuf"
383
+ throws="1">
384
+ <doc xml:space="preserve">Sets the contents of @texture with a copy of @pixbuf.</doc>
385
+ <return-value transfer-ownership="none">
386
+ <doc xml:space="preserve">%TRUE on success, %FALSE on failure.</doc>
387
+ <type name="gboolean" c:type="gboolean"/>
388
+ </return-value>
389
+ <parameters>
390
+ <instance-parameter name="texture" transfer-ownership="none">
391
+ <doc xml:space="preserve">a #GtkClutterTexture</doc>
392
+ <type name="Texture" c:type="GtkClutterTexture*"/>
393
+ </instance-parameter>
394
+ <parameter name="pixbuf" transfer-ownership="none">
395
+ <doc xml:space="preserve">a #GdkPixbuf</doc>
396
+ <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
397
+ </parameter>
398
+ </parameters>
399
+ </method>
400
+ <method name="set_from_stock"
401
+ c:identifier="gtk_clutter_texture_set_from_stock"
402
+ throws="1">
403
+ <doc xml:space="preserve">Sets the contents of @texture using the stock icon @stock_id, as
404
+ rendered by @widget.</doc>
405
+ <return-value transfer-ownership="none">
406
+ <doc xml:space="preserve">%TRUE on success, %FALSE on failure.</doc>
407
+ <type name="gboolean" c:type="gboolean"/>
408
+ </return-value>
409
+ <parameters>
410
+ <instance-parameter name="texture" transfer-ownership="none">
411
+ <doc xml:space="preserve">a #GtkClutterTexture</doc>
412
+ <type name="Texture" c:type="GtkClutterTexture*"/>
413
+ </instance-parameter>
414
+ <parameter name="widget" transfer-ownership="none">
415
+ <doc xml:space="preserve">a #GtkWidget</doc>
416
+ <type name="Gtk.Widget" c:type="GtkWidget*"/>
417
+ </parameter>
418
+ <parameter name="stock_id" transfer-ownership="none">
419
+ <doc xml:space="preserve">the stock id of the icon</doc>
420
+ <type name="utf8" c:type="const gchar*"/>
421
+ </parameter>
422
+ <parameter name="icon_size" transfer-ownership="none">
423
+ <doc xml:space="preserve">the size of the icon, or -1</doc>
424
+ <type name="Gtk.IconSize" c:type="GtkIconSize"/>
425
+ </parameter>
426
+ </parameters>
427
+ </method>
428
+ <field name="parent_instance" readable="0" private="1">
429
+ <type name="Clutter.Texture" c:type="ClutterTexture"/>
430
+ </field>
431
+ </class>
432
+ <record name="TextureClass"
433
+ c:type="GtkClutterTextureClass"
434
+ glib:is-gtype-struct-for="Texture"
435
+ version="1.0">
436
+ <doc xml:space="preserve">The &lt;structname&gt;GtkClutterTextureClass&lt;/structname&gt; structure contains
437
+ only private data.</doc>
438
+ <field name="parent_class" readable="0" private="1">
439
+ <type name="Clutter.TextureClass" c:type="ClutterTextureClass"/>
440
+ </field>
441
+ </record>
442
+ <enumeration name="TextureError"
443
+ version="1.0"
444
+ c:type="GtkClutterTextureError">
445
+ <doc xml:space="preserve">Error enumeration for #GtkClutterTexture</doc>
446
+ <member name="texture_error_invalid_stock_id"
447
+ value="0"
448
+ c:identifier="GTK_CLUTTER_TEXTURE_ERROR_INVALID_STOCK_ID">
449
+ <doc xml:space="preserve">Invalid stock id</doc>
450
+ </member>
451
+ </enumeration>
452
+ <class name="Window"
453
+ c:symbol-prefix="window"
454
+ c:type="GtkClutterWindow"
455
+ parent="Gtk.Window"
456
+ glib:type-name="GtkClutterWindow"
457
+ glib:get-type="gtk_clutter_window_get_type"
458
+ glib:type-struct="WindowClass">
459
+ <doc xml:space="preserve">A #GtkWindow containing a #ClutterStage.
460
+
461
+ The &lt;structname&gt;GtkClutterWindow&lt;/structname&gt; structure contains only
462
+ private data and it should be accessed using the provided API.</doc>
463
+ <implements name="Atk.ImplementorIface"/>
464
+ <implements name="Gtk.Buildable"/>
465
+ <constructor name="new" c:identifier="gtk_clutter_window_new">
466
+ <doc xml:space="preserve">Creates a new #GtkClutterWindow widget.
467
+
468
+ This window provides a hidden #ClutterStage on which the child
469
+ #GtkWidget&lt;!-- --&gt;s are placed. This allows other #ClutterActor&lt;!-- --&gt;s
470
+ to also be placed on the stage.</doc>
471
+ <return-value transfer-ownership="none">
472
+ <doc xml:space="preserve">the newly created #GtkClutterWindow</doc>
473
+ <type name="Gtk.Widget" c:type="GtkWidget*"/>
474
+ </return-value>
475
+ </constructor>
476
+ <method name="get_stage" c:identifier="gtk_clutter_window_get_stage">
477
+ <doc xml:space="preserve">Retrieves the #ClutterStage that this window is embedding
478
+
479
+ Use this function if you wish to add other actors to the #ClutterStage.</doc>
480
+ <return-value transfer-ownership="none">
481
+ <doc xml:space="preserve">the window's #ClutterStage</doc>
482
+ <type name="Clutter.Actor" c:type="ClutterActor*"/>
483
+ </return-value>
484
+ <parameters>
485
+ <instance-parameter name="window" transfer-ownership="none">
486
+ <doc xml:space="preserve">the #GtkClutterWindow</doc>
487
+ <type name="Window" c:type="GtkClutterWindow*"/>
488
+ </instance-parameter>
489
+ </parameters>
490
+ </method>
491
+ <field name="parent_instance" readable="0" private="1">
492
+ <type name="Gtk.Window" c:type="GtkWindow"/>
493
+ </field>
494
+ <field name="priv" readable="0" private="1">
495
+ <type name="WindowPrivate" c:type="GtkClutterWindowPrivate*"/>
496
+ </field>
497
+ </class>
498
+ <record name="WindowClass"
499
+ c:type="GtkClutterWindowClass"
500
+ glib:is-gtype-struct-for="Window">
501
+ <doc xml:space="preserve">Base class for #GtkClutterWindow.
502
+
503
+ The &lt;structname&gt;GtkClutterWindowClass&lt;/structname&gt; structure contains
504
+ only private data.</doc>
505
+ <field name="parent_class" readable="0" private="1">
506
+ <type name="Gtk.WindowClass" c:type="GtkWindowClass"/>
507
+ </field>
508
+ <field name="_clutter_gtk_reserved1" introspectable="0">
509
+ <callback name="_clutter_gtk_reserved1">
510
+ <return-value transfer-ownership="none">
511
+ <type name="none" c:type="void"/>
512
+ </return-value>
513
+ </callback>
514
+ </field>
515
+ <field name="_clutter_gtk_reserved2" introspectable="0">
516
+ <callback name="_clutter_gtk_reserved2">
517
+ <return-value transfer-ownership="none">
518
+ <type name="none" c:type="void"/>
519
+ </return-value>
520
+ </callback>
521
+ </field>
522
+ <field name="_clutter_gtk_reserved3" introspectable="0">
523
+ <callback name="_clutter_gtk_reserved3">
524
+ <return-value transfer-ownership="none">
525
+ <type name="none" c:type="void"/>
526
+ </return-value>
527
+ </callback>
528
+ </field>
529
+ <field name="_clutter_gtk_reserved4" introspectable="0">
530
+ <callback name="_clutter_gtk_reserved4">
531
+ <return-value transfer-ownership="none">
532
+ <type name="none" c:type="void"/>
533
+ </return-value>
534
+ </callback>
535
+ </field>
536
+ <field name="_clutter_gtk_reserved5" introspectable="0">
537
+ <callback name="_clutter_gtk_reserved5">
538
+ <return-value transfer-ownership="none">
539
+ <type name="none" c:type="void"/>
540
+ </return-value>
541
+ </callback>
542
+ </field>
543
+ <field name="_clutter_gtk_reserved6" introspectable="0">
544
+ <callback name="_clutter_gtk_reserved6">
545
+ <return-value transfer-ownership="none">
546
+ <type name="none" c:type="void"/>
547
+ </return-value>
548
+ </callback>
549
+ </field>
550
+ </record>
551
+ <record name="WindowPrivate"
552
+ c:type="GtkClutterWindowPrivate"
553
+ disguised="1">
554
+ </record>
555
+ <function name="get_option_group"
556
+ c:identifier="gtk_clutter_get_option_group"
557
+ introspectable="0">
558
+ <doc xml:space="preserve">Returns a #GOptionGroup for the command line arguments recognized
559
+ by Clutter. You should add this group to your #GOptionContext with
560
+ g_option_context_add_group(), if you are using g_option_context_parse()
561
+ to parse your commandline arguments instead of using gtk_clutter_init()
562
+ or gtk_clutter_init_with_args().
563
+
564
+ You should add this option group to your #GOptionContext after
565
+ the GTK option group created with gtk_get_option_group(), and after
566
+ the clutter option group obtained from clutter_get_option_group_without_init().
567
+ You should not use clutter_get_option_group() together with this function.
568
+
569
+ You must pass %TRUE to gtk_get_option_group() since gtk-clutter's option
570
+ group relies on it.
571
+
572
+ Parsing options using g_option_context_parse() with a #GOptionContext
573
+ containing the returned #GOptionGroupwith will result in Clutter's and
574
+ GTK-Clutter's initialisation. That is, the following code:
575
+
576
+ |[
577
+ g_option_context_add_group (context, gtk_get_option_group (TRUE));
578
+ g_option_context_add_group (context, cogl_get_option_group ());
579
+ g_option_context_add_group (context, clutter_get_option_group_without_init ());
580
+ g_option_context_add_group (context, gtk_clutter_get_option_group ());
581
+ res = g_option_context_parse (context, &amp;amp;argc, &amp;amp;argc, NULL);
582
+ ]|
583
+
584
+ is functionally equivalent to:
585
+
586
+ |[
587
+ gtk_clutter_init (&amp;amp;argc, &amp;amp;argv);
588
+ ]|
589
+
590
+ After g_option_context_parse() on a #GOptionContext containing the
591
+ the returned #GOptionGroup has returned %TRUE, Clutter and GTK-Clutter are
592
+ guaranteed to be initialized.</doc>
593
+ <return-value transfer-ownership="full">
594
+ <doc xml:space="preserve">a #GOptionGroup for the commandline arguments
595
+ recognized by ClutterGtk</doc>
596
+ <type name="GLib.OptionGroup" c:type="GOptionGroup*"/>
597
+ </return-value>
598
+ </function>
599
+ <function name="init" c:identifier="gtk_clutter_init">
600
+ <doc xml:space="preserve">This function should be called instead of clutter_init() and
601
+ gtk_init().</doc>
602
+ <return-value transfer-ownership="none">
603
+ <doc xml:space="preserve">%CLUTTER_INIT_SUCCESS on success, a negative integer
604
+ on failure.</doc>
605
+ <type name="Clutter.InitError" c:type="ClutterInitError"/>
606
+ </return-value>
607
+ <parameters>
608
+ <parameter name="argc"
609
+ direction="inout"
610
+ caller-allocates="0"
611
+ transfer-ownership="full"
612
+ nullable="1"
613
+ allow-none="1">
614
+ <doc xml:space="preserve">pointer to the arguments count, or %NULL</doc>
615
+ <type name="gint" c:type="int*"/>
616
+ </parameter>
617
+ <parameter name="argv"
618
+ direction="inout"
619
+ caller-allocates="0"
620
+ transfer-ownership="full"
621
+ nullable="1"
622
+ allow-none="1">
623
+ <doc xml:space="preserve">pointer to the
624
+ arguments vector, or %NULL</doc>
625
+ <array length="0" zero-terminated="0" c:type="char***">
626
+ <type name="utf8" c:type="char**"/>
627
+ </array>
628
+ </parameter>
629
+ </parameters>
630
+ </function>
631
+ <function name="init_with_args"
632
+ c:identifier="gtk_clutter_init_with_args"
633
+ throws="1">
634
+ <doc xml:space="preserve">This function should be called instead of clutter_init() and
635
+ gtk_init_with_args().</doc>
636
+ <return-value transfer-ownership="none">
637
+ <doc xml:space="preserve">%CLUTTER_INIT_SUCCESS on success, a negative integer
638
+ on failure.</doc>
639
+ <type name="Clutter.InitError" c:type="ClutterInitError"/>
640
+ </return-value>
641
+ <parameters>
642
+ <parameter name="argc"
643
+ direction="inout"
644
+ caller-allocates="0"
645
+ transfer-ownership="full"
646
+ nullable="1"
647
+ allow-none="1">
648
+ <doc xml:space="preserve">a pointer to the number of command line
649
+ arguments, or %NULL</doc>
650
+ <type name="gint" c:type="int*"/>
651
+ </parameter>
652
+ <parameter name="argv"
653
+ direction="inout"
654
+ caller-allocates="0"
655
+ transfer-ownership="full"
656
+ nullable="1"
657
+ allow-none="1">
658
+ <doc xml:space="preserve">a pointer to the array
659
+ of command line arguments, or %NULL</doc>
660
+ <array length="0" zero-terminated="0" c:type="char***">
661
+ <type name="utf8" c:type="char**"/>
662
+ </array>
663
+ </parameter>
664
+ <parameter name="parameter_string"
665
+ transfer-ownership="none"
666
+ nullable="1"
667
+ allow-none="1">
668
+ <doc xml:space="preserve">a string which is displayed in
669
+ the first line of &lt;option&gt;--help&lt;/option&gt; output, after
670
+ &lt;literal&gt;&lt;replaceable&gt;programname&lt;/replaceable&gt; [OPTION...]&lt;/literal&gt;</doc>
671
+ <type name="utf8" c:type="const char*"/>
672
+ </parameter>
673
+ <parameter name="entries"
674
+ transfer-ownership="none"
675
+ nullable="1"
676
+ allow-none="1">
677
+ <doc xml:space="preserve">a
678
+ %NULL-terminated array of #GOptionEntry&lt;!-- --&gt;s describing the
679
+ options of your program</doc>
680
+ <array c:type="GOptionEntry*">
681
+ <type name="GLib.OptionEntry" c:type="GOptionEntry"/>
682
+ </array>
683
+ </parameter>
684
+ <parameter name="translation_domain"
685
+ transfer-ownership="none"
686
+ nullable="1"
687
+ allow-none="1">
688
+ <doc xml:space="preserve">a translation domain to use for
689
+ translating the &lt;option&gt;--help&lt;/option&gt; output for the options
690
+ in @entries with gettext(), or %NULL</doc>
691
+ <type name="utf8" c:type="const char*"/>
692
+ </parameter>
693
+ </parameters>
694
+ </function>
695
+ </namespace>
696
+ </repository>