clutter-gtk 2.0.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +74 -0
- data/lib/clutter-gtk.rb +65 -0
- data/sample/events.rb +178 -0
- data/sample/multistage.rb +176 -0
- data/sample/redhand.png +0 -0
- data/sample/test-actor.rb +165 -0
- data/sample/test-scroll.rb +176 -0
- data/sample/test.rb +171 -0
- data/sample/window-test.rb +115 -0
- data/sample/window-test2.rb +134 -0
- data/test/clutter-gtk-test-utils.rb +21 -0
- data/test/run-test.rb +50 -0
- data/vendor/local/include/clutter-gtk-1.0/clutter-gtk/clutter-gtk.h +17 -0
- data/vendor/local/include/clutter-gtk-1.0/clutter-gtk/gtk-clutter-actor.h +87 -0
- data/vendor/local/include/clutter-gtk-1.0/clutter-gtk/gtk-clutter-embed.h +94 -0
- data/vendor/local/include/clutter-gtk-1.0/clutter-gtk/gtk-clutter-texture.h +115 -0
- data/vendor/local/include/clutter-gtk-1.0/clutter-gtk/gtk-clutter-util.h +46 -0
- data/vendor/local/include/clutter-gtk-1.0/clutter-gtk/gtk-clutter-version.h +111 -0
- data/vendor/local/include/clutter-gtk-1.0/clutter-gtk/gtk-clutter-window.h +90 -0
- data/vendor/local/lib/girepository-1.0/GtkClutter-1.0.typelib +0 -0
- data/vendor/local/lib/libclutter-gtk-1.0.a +0 -0
- data/vendor/local/lib/libclutter-gtk-1.0.la +41 -0
- data/vendor/local/lib/pkgconfig/clutter-gtk-1.0.pc +13 -0
- data/vendor/local/share/gir-1.0/GtkClutter-1.0.gir +669 -0
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/GtkClutterActor.html +275 -0
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/GtkClutterEmbed.html +272 -0
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/GtkClutterWindow.html +170 -0
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/annotation-glossary.html +58 -0
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/ch01.html +36 -0
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/ch02.html +42 -0
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/ch03.html +34 -0
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/clutter-gtk-1.0-Utility-Functions.html +257 -0
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/clutter-gtk-1.0.devhelp2 +50 -0
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/cluttergtk-glossary.html +35 -0
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/cluttergtk-object-hierarchy.html +45 -0
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/cluttergtk-object-index.html +60 -0
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/cluttergtk-objects.html +38 -0
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/index.html +82 -0
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/index.sgml +53 -0
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/ix01.html +100 -0
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/ix02.html +203 -0
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/ix03.html +71 -0
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/ix04.html +32 -0
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/license.html +59 -0
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/up.png +0 -0
- data/vendor/local/share/license/clutter-gtk/COPYING +504 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/cluttergtk-1.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/cluttergtk-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/cluttergtk-1.0.mo +0 -0
- metadata +145 -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 (4)
|
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 (4)
|
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.4.4
|
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.4.4"
|
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__ */
|
Binary file
|
Binary file
|
@@ -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=''
|
9
|
+
|
10
|
+
# Names of this library.
|
11
|
+
library_names=''
|
12
|
+
|
13
|
+
# The name of the static archive.
|
14
|
+
old_library='libclutter-gtk-1.0.a'
|
15
|
+
|
16
|
+
# Linker flags that can not go in dependency_libs.
|
17
|
+
inherited_linker_flags=''
|
18
|
+
|
19
|
+
# Libraries that this one depends upon.
|
20
|
+
dependency_libs=' -L/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/kou/work/ruby/rcairo.win32/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/clutter-gtk/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/atk/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/gdk_pixbuf2/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/clutter/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/gdk3/vendor/local/lib /home/kou/work/ruby/ruby-gnome2.win32/clutter/vendor/local/lib/libclutter-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/clutter/vendor/local/lib/libcogl-pango.la /home/kou/work/ruby/ruby-gnome2.win32/clutter/vendor/local/lib/libjson-glib-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/clutter/vendor/local/lib/libcogl.la -lopengl32 /home/kou/work/ruby/ruby-gnome2.win32/gdk3/vendor/local/lib/libgtk-3.la -lcomdlg32 -lwinspool -lcomctl32 /home/kou/work/ruby/ruby-gnome2.win32/gdk3/vendor/local/lib/libgdk-3.la -limm32 -lshell32 /home/kou/work/ruby/ruby-gnome2.win32/atk/vendor/local/lib/libatk-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libpangocairo-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/gdk_pixbuf2/vendor/local/lib/libgdk_pixbuf-2.0.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgio-2.0.la -ldnsapi -lz -lpng14 -lcairo-gobject /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libpangowin32-1.0.la -lgdi32 /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libpango-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgmodule-2.0.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgthread-2.0.la -lcairo /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgobject-2.0.la -lffi /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libglib-2.0.la -lws2_32 -lole32 -lwinmm -lshlwapi -lintl'
|
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=0
|
27
|
+
age=0
|
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/kou/work/ruby/ruby-gnome2.win32/clutter-gtk/vendor/local/lib'
|
@@ -0,0 +1,13 @@
|
|
1
|
+
prefix=/home/kou/work/ruby/ruby-gnome2.win32/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.4.4
|
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,669 @@
|
|
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=""
|
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:whitespace="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:whitespace="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:whitespace="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:whitespace="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:whitespace="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:whitespace="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:whitespace="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:whitespace="preserve">a #GtkWidget, or %NULL if not content has been set</doc>
|
79
|
+
<type name="Gtk.Widget" c:type="GtkWidget*"/>
|
80
|
+
</return-value>
|
81
|
+
<parameters>
|
82
|
+
<instance-parameter name="actor" transfer-ownership="none">
|
83
|
+
<doc xml:whitespace="preserve">a #GtkClutterActor</doc>
|
84
|
+
<type name="Actor" c:type="GtkClutterActor*"/>
|
85
|
+
</instance-parameter>
|
86
|
+
</parameters>
|
87
|
+
</method>
|
88
|
+
<method name="get_widget" c:identifier="gtk_clutter_actor_get_widget">
|
89
|
+
<doc xml:whitespace="preserve">Retrieves the #GtkBin used to hold the #GtkClutterActor:contents widget</doc>
|
90
|
+
<return-value transfer-ownership="none">
|
91
|
+
<doc xml:whitespace="preserve">a #GtkBin</doc>
|
92
|
+
<type name="Gtk.Widget" c:type="GtkWidget*"/>
|
93
|
+
</return-value>
|
94
|
+
<parameters>
|
95
|
+
<instance-parameter name="actor" transfer-ownership="none">
|
96
|
+
<doc xml:whitespace="preserve">a #GtkClutterActor</doc>
|
97
|
+
<type name="Actor" c:type="GtkClutterActor*"/>
|
98
|
+
</instance-parameter>
|
99
|
+
</parameters>
|
100
|
+
</method>
|
101
|
+
<property name="contents"
|
102
|
+
writable="1"
|
103
|
+
construct="1"
|
104
|
+
transfer-ownership="none">
|
105
|
+
<doc xml:whitespace="preserve">The #GtkWidget to be embedded into the #GtkClutterActor</doc>
|
106
|
+
<type name="Gtk.Widget"/>
|
107
|
+
</property>
|
108
|
+
<field name="parent_instance" readable="0" private="1">
|
109
|
+
<type name="Clutter.Actor" c:type="ClutterActor"/>
|
110
|
+
</field>
|
111
|
+
<field name="priv" readable="0" private="1">
|
112
|
+
<type name="ActorPrivate" c:type="GtkClutterActorPrivate*"/>
|
113
|
+
</field>
|
114
|
+
</class>
|
115
|
+
<record name="ActorClass"
|
116
|
+
c:type="GtkClutterActorClass"
|
117
|
+
glib:is-gtype-struct-for="Actor">
|
118
|
+
<doc xml:whitespace="preserve">Base class for #GtkClutterActor.</doc>
|
119
|
+
<field name="parent_class" readable="0" private="1">
|
120
|
+
<type name="Clutter.ActorClass" c:type="ClutterActorClass"/>
|
121
|
+
</field>
|
122
|
+
<field name="_clutter_gtk_reserved1" introspectable="0">
|
123
|
+
<callback name="_clutter_gtk_reserved1">
|
124
|
+
<return-value transfer-ownership="none">
|
125
|
+
<type name="none" c:type="void"/>
|
126
|
+
</return-value>
|
127
|
+
</callback>
|
128
|
+
</field>
|
129
|
+
<field name="_clutter_gtk_reserved2" introspectable="0">
|
130
|
+
<callback name="_clutter_gtk_reserved2">
|
131
|
+
<return-value transfer-ownership="none">
|
132
|
+
<type name="none" c:type="void"/>
|
133
|
+
</return-value>
|
134
|
+
</callback>
|
135
|
+
</field>
|
136
|
+
<field name="_clutter_gtk_reserved3" introspectable="0">
|
137
|
+
<callback name="_clutter_gtk_reserved3">
|
138
|
+
<return-value transfer-ownership="none">
|
139
|
+
<type name="none" c:type="void"/>
|
140
|
+
</return-value>
|
141
|
+
</callback>
|
142
|
+
</field>
|
143
|
+
<field name="_clutter_gtk_reserved4" introspectable="0">
|
144
|
+
<callback name="_clutter_gtk_reserved4">
|
145
|
+
<return-value transfer-ownership="none">
|
146
|
+
<type name="none" c:type="void"/>
|
147
|
+
</return-value>
|
148
|
+
</callback>
|
149
|
+
</field>
|
150
|
+
<field name="_clutter_gtk_reserved5" introspectable="0">
|
151
|
+
<callback name="_clutter_gtk_reserved5">
|
152
|
+
<return-value transfer-ownership="none">
|
153
|
+
<type name="none" c:type="void"/>
|
154
|
+
</return-value>
|
155
|
+
</callback>
|
156
|
+
</field>
|
157
|
+
<field name="_clutter_gtk_reserved6" introspectable="0">
|
158
|
+
<callback name="_clutter_gtk_reserved6">
|
159
|
+
<return-value transfer-ownership="none">
|
160
|
+
<type name="none" c:type="void"/>
|
161
|
+
</return-value>
|
162
|
+
</callback>
|
163
|
+
</field>
|
164
|
+
</record>
|
165
|
+
<record name="ActorPrivate" c:type="GtkClutterActorPrivate" disguised="1">
|
166
|
+
</record>
|
167
|
+
<class name="Embed"
|
168
|
+
c:symbol-prefix="embed"
|
169
|
+
c:type="GtkClutterEmbed"
|
170
|
+
parent="Gtk.Container"
|
171
|
+
glib:type-name="GtkClutterEmbed"
|
172
|
+
glib:get-type="gtk_clutter_embed_get_type"
|
173
|
+
glib:type-struct="EmbedClass">
|
174
|
+
<doc xml:whitespace="preserve">A #GtkWidget containing the default Clutter stage.
|
175
|
+
|
176
|
+
The <structname>GtkClutterEmbed</structname> structure contains only
|
177
|
+
private data and should be accessed using the provided API.</doc>
|
178
|
+
<implements name="Atk.ImplementorIface"/>
|
179
|
+
<implements name="Gtk.Buildable"/>
|
180
|
+
<constructor name="new" c:identifier="gtk_clutter_embed_new">
|
181
|
+
<doc xml:whitespace="preserve">Creates a new #GtkClutterEmbed widget. This widget can be
|
182
|
+
used to build a scene using Clutter API into a GTK+ application.</doc>
|
183
|
+
<return-value transfer-ownership="none">
|
184
|
+
<doc xml:whitespace="preserve">the newly created #GtkClutterEmbed</doc>
|
185
|
+
<type name="Gtk.Widget" c:type="GtkWidget*"/>
|
186
|
+
</return-value>
|
187
|
+
</constructor>
|
188
|
+
<method name="get_stage" c:identifier="gtk_clutter_embed_get_stage">
|
189
|
+
<doc xml:whitespace="preserve">Retrieves the #ClutterStage from @embed. The returned stage can be
|
190
|
+
used to add actors to the Clutter scene.</doc>
|
191
|
+
<return-value transfer-ownership="none">
|
192
|
+
<doc xml:whitespace="preserve">the Clutter stage. You should never destroy or unref the returned actor.</doc>
|
193
|
+
<type name="Clutter.Actor" c:type="ClutterActor*"/>
|
194
|
+
</return-value>
|
195
|
+
<parameters>
|
196
|
+
<instance-parameter name="embed" transfer-ownership="none">
|
197
|
+
<doc xml:whitespace="preserve">a #GtkClutterEmbed</doc>
|
198
|
+
<type name="Embed" c:type="GtkClutterEmbed*"/>
|
199
|
+
</instance-parameter>
|
200
|
+
</parameters>
|
201
|
+
</method>
|
202
|
+
<method name="get_use_layout_size"
|
203
|
+
c:identifier="gtk_clutter_embed_get_use_layout_size"
|
204
|
+
version="1.4">
|
205
|
+
<doc xml:whitespace="preserve">Retrieves whether the embedding uses the layout size, see
|
206
|
+
gtk_clutter_embed_set_use_layout_size() for details.</doc>
|
207
|
+
<return-value transfer-ownership="none">
|
208
|
+
<doc xml:whitespace="preserve">%TRUE if reporting stage size as widget size, %FALSE otherwise.</doc>
|
209
|
+
<type name="gboolean" c:type="gboolean"/>
|
210
|
+
</return-value>
|
211
|
+
<parameters>
|
212
|
+
<instance-parameter name="embed" transfer-ownership="none">
|
213
|
+
<doc xml:whitespace="preserve">a #GtkClutterEmbed</doc>
|
214
|
+
<type name="Embed" c:type="GtkClutterEmbed*"/>
|
215
|
+
</instance-parameter>
|
216
|
+
</parameters>
|
217
|
+
</method>
|
218
|
+
<method name="set_use_layout_size"
|
219
|
+
c:identifier="gtk_clutter_embed_set_use_layout_size"
|
220
|
+
version="1.4">
|
221
|
+
<doc xml:whitespace="preserve">Changes the way @embed requests size. If @use_layout_size is
|
222
|
+
%TRUE, the @embed widget will request the size that the
|
223
|
+
LayoutManager reports as the preferred size. This means that
|
224
|
+
a Gtk+ window will automatically get the natural and minimum
|
225
|
+
toplevel window sizes. This is useful when the contents of the
|
226
|
+
clutter stage is similar to a traditional UI.
|
227
|
+
|
228
|
+
If @use_layout_size is %FALSE (which is the default) then @embed
|
229
|
+
will not request any size and its up to the embedder to make sure
|
230
|
+
there is some size (by setting a custom size on the widget or a default
|
231
|
+
size on the toplevel. This makes more sense when using the @embed
|
232
|
+
as a viewport into a potentially unlimited clutter space.</doc>
|
233
|
+
<return-value transfer-ownership="none">
|
234
|
+
<type name="none" c:type="void"/>
|
235
|
+
</return-value>
|
236
|
+
<parameters>
|
237
|
+
<instance-parameter name="embed" transfer-ownership="none">
|
238
|
+
<doc xml:whitespace="preserve">a #GtkClutterEmbed</doc>
|
239
|
+
<type name="Embed" c:type="GtkClutterEmbed*"/>
|
240
|
+
</instance-parameter>
|
241
|
+
<parameter name="use_layout_size" transfer-ownership="none">
|
242
|
+
<doc xml:whitespace="preserve">a boolean</doc>
|
243
|
+
<type name="gboolean" c:type="gboolean"/>
|
244
|
+
</parameter>
|
245
|
+
</parameters>
|
246
|
+
</method>
|
247
|
+
<property name="use-layout-size"
|
248
|
+
version="1.4"
|
249
|
+
writable="1"
|
250
|
+
construct="1"
|
251
|
+
transfer-ownership="none">
|
252
|
+
<doc xml:whitespace="preserve">The #GtkWidget to be embedded into the #GtkClutterActor</doc>
|
253
|
+
<type name="gboolean" c:type="gboolean"/>
|
254
|
+
</property>
|
255
|
+
<field name="parent_instance" readable="0" private="1">
|
256
|
+
<type name="Gtk.Container" c:type="GtkContainer"/>
|
257
|
+
</field>
|
258
|
+
<field name="priv" readable="0" private="1">
|
259
|
+
<type name="EmbedPrivate" c:type="GtkClutterEmbedPrivate*"/>
|
260
|
+
</field>
|
261
|
+
</class>
|
262
|
+
<record name="EmbedClass"
|
263
|
+
c:type="GtkClutterEmbedClass"
|
264
|
+
glib:is-gtype-struct-for="Embed">
|
265
|
+
<doc xml:whitespace="preserve">Base class for #GtkClutterEmbed.
|
266
|
+
|
267
|
+
The <structname>GtkClutterEmbedClass</structname> contains only private
|
268
|
+
data.</doc>
|
269
|
+
<field name="parent_class" readable="0" private="1">
|
270
|
+
<type name="Gtk.ContainerClass" c:type="GtkContainerClass"/>
|
271
|
+
</field>
|
272
|
+
<field name="_clutter_gtk_reserved1" introspectable="0">
|
273
|
+
<callback name="_clutter_gtk_reserved1">
|
274
|
+
<return-value transfer-ownership="none">
|
275
|
+
<type name="none" c:type="void"/>
|
276
|
+
</return-value>
|
277
|
+
</callback>
|
278
|
+
</field>
|
279
|
+
<field name="_clutter_gtk_reserved2" introspectable="0">
|
280
|
+
<callback name="_clutter_gtk_reserved2">
|
281
|
+
<return-value transfer-ownership="none">
|
282
|
+
<type name="none" c:type="void"/>
|
283
|
+
</return-value>
|
284
|
+
</callback>
|
285
|
+
</field>
|
286
|
+
<field name="_clutter_gtk_reserved3" introspectable="0">
|
287
|
+
<callback name="_clutter_gtk_reserved3">
|
288
|
+
<return-value transfer-ownership="none">
|
289
|
+
<type name="none" c:type="void"/>
|
290
|
+
</return-value>
|
291
|
+
</callback>
|
292
|
+
</field>
|
293
|
+
<field name="_clutter_gtk_reserved4" introspectable="0">
|
294
|
+
<callback name="_clutter_gtk_reserved4">
|
295
|
+
<return-value transfer-ownership="none">
|
296
|
+
<type name="none" c:type="void"/>
|
297
|
+
</return-value>
|
298
|
+
</callback>
|
299
|
+
</field>
|
300
|
+
<field name="_clutter_gtk_reserved5" introspectable="0">
|
301
|
+
<callback name="_clutter_gtk_reserved5">
|
302
|
+
<return-value transfer-ownership="none">
|
303
|
+
<type name="none" c:type="void"/>
|
304
|
+
</return-value>
|
305
|
+
</callback>
|
306
|
+
</field>
|
307
|
+
<field name="_clutter_gtk_reserved6" introspectable="0">
|
308
|
+
<callback name="_clutter_gtk_reserved6">
|
309
|
+
<return-value transfer-ownership="none">
|
310
|
+
<type name="none" c:type="void"/>
|
311
|
+
</return-value>
|
312
|
+
</callback>
|
313
|
+
</field>
|
314
|
+
</record>
|
315
|
+
<record name="EmbedPrivate" c:type="GtkClutterEmbedPrivate" disguised="1">
|
316
|
+
</record>
|
317
|
+
<class name="Texture"
|
318
|
+
c:symbol-prefix="texture"
|
319
|
+
c:type="GtkClutterTexture"
|
320
|
+
version="1.0"
|
321
|
+
parent="Clutter.Texture"
|
322
|
+
glib:type-name="GtkClutterTexture"
|
323
|
+
glib:get-type="gtk_clutter_texture_get_type"
|
324
|
+
glib:type-struct="TextureClass">
|
325
|
+
<doc xml:whitespace="preserve">The <structname>GtkClutterTexture</structname> structure contains
|
326
|
+
only private data and should be accessed using the provided API.</doc>
|
327
|
+
<implements name="Atk.ImplementorIface"/>
|
328
|
+
<implements name="Clutter.Animatable"/>
|
329
|
+
<implements name="Clutter.Container"/>
|
330
|
+
<implements name="Clutter.Scriptable"/>
|
331
|
+
<constructor name="new"
|
332
|
+
c:identifier="gtk_clutter_texture_new"
|
333
|
+
version="1.0">
|
334
|
+
<doc xml:whitespace="preserve">Creates a new #GtkClutterTexture actor.</doc>
|
335
|
+
<return-value transfer-ownership="none">
|
336
|
+
<doc xml:whitespace="preserve">the newly created #GtkClutterTexture instance</doc>
|
337
|
+
<type name="Clutter.Actor" c:type="ClutterActor*"/>
|
338
|
+
</return-value>
|
339
|
+
</constructor>
|
340
|
+
<function name="error_quark"
|
341
|
+
c:identifier="gtk_clutter_texture_error_quark">
|
342
|
+
<return-value transfer-ownership="none">
|
343
|
+
<type name="GLib.Quark" c:type="GQuark"/>
|
344
|
+
</return-value>
|
345
|
+
</function>
|
346
|
+
<method name="set_from_icon_name"
|
347
|
+
c:identifier="gtk_clutter_texture_set_from_icon_name"
|
348
|
+
version="1.0"
|
349
|
+
throws="1">
|
350
|
+
<doc xml:whitespace="preserve">Sets the contents of @texture using the @icon_name from the
|
351
|
+
current icon theme.</doc>
|
352
|
+
<return-value transfer-ownership="none">
|
353
|
+
<doc xml:whitespace="preserve">%TRUE on success, %FALSE on failure</doc>
|
354
|
+
<type name="gboolean" c:type="gboolean"/>
|
355
|
+
</return-value>
|
356
|
+
<parameters>
|
357
|
+
<instance-parameter name="texture" transfer-ownership="none">
|
358
|
+
<doc xml:whitespace="preserve">a #GtkClutterTexture</doc>
|
359
|
+
<type name="Texture" c:type="GtkClutterTexture*"/>
|
360
|
+
</instance-parameter>
|
361
|
+
<parameter name="widget" transfer-ownership="none" allow-none="1">
|
362
|
+
<doc xml:whitespace="preserve">a #GtkWidget or %NULL</doc>
|
363
|
+
<type name="Gtk.Widget" c:type="GtkWidget*"/>
|
364
|
+
</parameter>
|
365
|
+
<parameter name="icon_name" transfer-ownership="none">
|
366
|
+
<doc xml:whitespace="preserve">the name of the icon</doc>
|
367
|
+
<type name="utf8" c:type="const gchar*"/>
|
368
|
+
</parameter>
|
369
|
+
<parameter name="icon_size" transfer-ownership="none">
|
370
|
+
<doc xml:whitespace="preserve">the icon size or -1</doc>
|
371
|
+
<type name="Gtk.IconSize" c:type="GtkIconSize"/>
|
372
|
+
</parameter>
|
373
|
+
</parameters>
|
374
|
+
</method>
|
375
|
+
<method name="set_from_pixbuf"
|
376
|
+
c:identifier="gtk_clutter_texture_set_from_pixbuf"
|
377
|
+
throws="1">
|
378
|
+
<doc xml:whitespace="preserve">Sets the contents of @texture with a copy of @pixbuf.</doc>
|
379
|
+
<return-value transfer-ownership="none">
|
380
|
+
<doc xml:whitespace="preserve">%TRUE on success, %FALSE on failure.</doc>
|
381
|
+
<type name="gboolean" c:type="gboolean"/>
|
382
|
+
</return-value>
|
383
|
+
<parameters>
|
384
|
+
<instance-parameter name="texture" transfer-ownership="none">
|
385
|
+
<doc xml:whitespace="preserve">a #GtkClutterTexture</doc>
|
386
|
+
<type name="Texture" c:type="GtkClutterTexture*"/>
|
387
|
+
</instance-parameter>
|
388
|
+
<parameter name="pixbuf" transfer-ownership="none">
|
389
|
+
<doc xml:whitespace="preserve">a #GdkPixbuf</doc>
|
390
|
+
<type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
|
391
|
+
</parameter>
|
392
|
+
</parameters>
|
393
|
+
</method>
|
394
|
+
<method name="set_from_stock"
|
395
|
+
c:identifier="gtk_clutter_texture_set_from_stock"
|
396
|
+
throws="1">
|
397
|
+
<doc xml:whitespace="preserve">Sets the contents of @texture using the stock icon @stock_id, as
|
398
|
+
rendered by @widget.</doc>
|
399
|
+
<return-value transfer-ownership="none">
|
400
|
+
<doc xml:whitespace="preserve">%TRUE on success, %FALSE on failure.</doc>
|
401
|
+
<type name="gboolean" c:type="gboolean"/>
|
402
|
+
</return-value>
|
403
|
+
<parameters>
|
404
|
+
<instance-parameter name="texture" transfer-ownership="none">
|
405
|
+
<doc xml:whitespace="preserve">a #GtkClutterTexture</doc>
|
406
|
+
<type name="Texture" c:type="GtkClutterTexture*"/>
|
407
|
+
</instance-parameter>
|
408
|
+
<parameter name="widget" transfer-ownership="none">
|
409
|
+
<doc xml:whitespace="preserve">a #GtkWidget</doc>
|
410
|
+
<type name="Gtk.Widget" c:type="GtkWidget*"/>
|
411
|
+
</parameter>
|
412
|
+
<parameter name="stock_id" transfer-ownership="none">
|
413
|
+
<doc xml:whitespace="preserve">the stock id of the icon</doc>
|
414
|
+
<type name="utf8" c:type="const gchar*"/>
|
415
|
+
</parameter>
|
416
|
+
<parameter name="icon_size" transfer-ownership="none">
|
417
|
+
<doc xml:whitespace="preserve">the size of the icon, or -1</doc>
|
418
|
+
<type name="Gtk.IconSize" c:type="GtkIconSize"/>
|
419
|
+
</parameter>
|
420
|
+
</parameters>
|
421
|
+
</method>
|
422
|
+
<field name="parent_instance" readable="0" private="1">
|
423
|
+
<type name="Clutter.Texture" c:type="ClutterTexture"/>
|
424
|
+
</field>
|
425
|
+
</class>
|
426
|
+
<record name="TextureClass"
|
427
|
+
c:type="GtkClutterTextureClass"
|
428
|
+
glib:is-gtype-struct-for="Texture"
|
429
|
+
version="1.0">
|
430
|
+
<doc xml:whitespace="preserve">The <structname>GtkClutterTextureClass</structname> structure contains
|
431
|
+
only private data.</doc>
|
432
|
+
<field name="parent_class" readable="0" private="1">
|
433
|
+
<type name="Clutter.TextureClass" c:type="ClutterTextureClass"/>
|
434
|
+
</field>
|
435
|
+
</record>
|
436
|
+
<enumeration name="TextureError"
|
437
|
+
version="1.0"
|
438
|
+
c:type="GtkClutterTextureError">
|
439
|
+
<doc xml:whitespace="preserve">Error enumeration for #GtkClutterTexture</doc>
|
440
|
+
<member name="texture_error_invalid_stock_id"
|
441
|
+
value="0"
|
442
|
+
c:identifier="GTK_CLUTTER_TEXTURE_ERROR_INVALID_STOCK_ID">
|
443
|
+
<doc xml:whitespace="preserve">Invalid stock id</doc>
|
444
|
+
</member>
|
445
|
+
</enumeration>
|
446
|
+
<class name="Window"
|
447
|
+
c:symbol-prefix="window"
|
448
|
+
c:type="GtkClutterWindow"
|
449
|
+
parent="Gtk.Window"
|
450
|
+
glib:type-name="GtkClutterWindow"
|
451
|
+
glib:get-type="gtk_clutter_window_get_type"
|
452
|
+
glib:type-struct="WindowClass">
|
453
|
+
<doc xml:whitespace="preserve">A #GtkWindow containing a #ClutterStage.
|
454
|
+
|
455
|
+
The <structname>GtkClutterWindow</structname> structure contains only
|
456
|
+
private data and it should be accessed using the provided API.</doc>
|
457
|
+
<implements name="Atk.ImplementorIface"/>
|
458
|
+
<implements name="Gtk.Buildable"/>
|
459
|
+
<constructor name="new" c:identifier="gtk_clutter_window_new">
|
460
|
+
<doc xml:whitespace="preserve">Creates a new #GtkClutterWindow widget.
|
461
|
+
|
462
|
+
This window provides a hidden #ClutterStage on which the child
|
463
|
+
#GtkWidget<!-- -->s are placed. This allows other #ClutterActor<!-- -->s
|
464
|
+
to also be placed on the stage.</doc>
|
465
|
+
<return-value transfer-ownership="none">
|
466
|
+
<doc xml:whitespace="preserve">the newly created #GtkClutterWindow</doc>
|
467
|
+
<type name="Gtk.Widget" c:type="GtkWidget*"/>
|
468
|
+
</return-value>
|
469
|
+
</constructor>
|
470
|
+
<method name="get_stage" c:identifier="gtk_clutter_window_get_stage">
|
471
|
+
<doc xml:whitespace="preserve">Retrieves the #ClutterStage that this window is embedding
|
472
|
+
|
473
|
+
Use this function if you wish to add other actors to the #ClutterStage.</doc>
|
474
|
+
<return-value transfer-ownership="none">
|
475
|
+
<doc xml:whitespace="preserve">the window's #ClutterStage</doc>
|
476
|
+
<type name="Clutter.Actor" c:type="ClutterActor*"/>
|
477
|
+
</return-value>
|
478
|
+
<parameters>
|
479
|
+
<instance-parameter name="window" transfer-ownership="none">
|
480
|
+
<doc xml:whitespace="preserve">the #GtkClutterWindow</doc>
|
481
|
+
<type name="Window" c:type="GtkClutterWindow*"/>
|
482
|
+
</instance-parameter>
|
483
|
+
</parameters>
|
484
|
+
</method>
|
485
|
+
<field name="parent_instance" readable="0" private="1">
|
486
|
+
<type name="Gtk.Window" c:type="GtkWindow"/>
|
487
|
+
</field>
|
488
|
+
<field name="priv" readable="0" private="1">
|
489
|
+
<type name="WindowPrivate" c:type="GtkClutterWindowPrivate*"/>
|
490
|
+
</field>
|
491
|
+
</class>
|
492
|
+
<record name="WindowClass"
|
493
|
+
c:type="GtkClutterWindowClass"
|
494
|
+
glib:is-gtype-struct-for="Window">
|
495
|
+
<doc xml:whitespace="preserve">Base class for #GtkClutterWindow.
|
496
|
+
|
497
|
+
The <structname>GtkClutterWindowClass</structname> structure contains
|
498
|
+
only private data.</doc>
|
499
|
+
<field name="parent_class" readable="0" private="1">
|
500
|
+
<type name="Gtk.WindowClass" c:type="GtkWindowClass"/>
|
501
|
+
</field>
|
502
|
+
<field name="_clutter_gtk_reserved1" introspectable="0">
|
503
|
+
<callback name="_clutter_gtk_reserved1">
|
504
|
+
<return-value transfer-ownership="none">
|
505
|
+
<type name="none" c:type="void"/>
|
506
|
+
</return-value>
|
507
|
+
</callback>
|
508
|
+
</field>
|
509
|
+
<field name="_clutter_gtk_reserved2" introspectable="0">
|
510
|
+
<callback name="_clutter_gtk_reserved2">
|
511
|
+
<return-value transfer-ownership="none">
|
512
|
+
<type name="none" c:type="void"/>
|
513
|
+
</return-value>
|
514
|
+
</callback>
|
515
|
+
</field>
|
516
|
+
<field name="_clutter_gtk_reserved3" introspectable="0">
|
517
|
+
<callback name="_clutter_gtk_reserved3">
|
518
|
+
<return-value transfer-ownership="none">
|
519
|
+
<type name="none" c:type="void"/>
|
520
|
+
</return-value>
|
521
|
+
</callback>
|
522
|
+
</field>
|
523
|
+
<field name="_clutter_gtk_reserved4" introspectable="0">
|
524
|
+
<callback name="_clutter_gtk_reserved4">
|
525
|
+
<return-value transfer-ownership="none">
|
526
|
+
<type name="none" c:type="void"/>
|
527
|
+
</return-value>
|
528
|
+
</callback>
|
529
|
+
</field>
|
530
|
+
<field name="_clutter_gtk_reserved5" introspectable="0">
|
531
|
+
<callback name="_clutter_gtk_reserved5">
|
532
|
+
<return-value transfer-ownership="none">
|
533
|
+
<type name="none" c:type="void"/>
|
534
|
+
</return-value>
|
535
|
+
</callback>
|
536
|
+
</field>
|
537
|
+
<field name="_clutter_gtk_reserved6" introspectable="0">
|
538
|
+
<callback name="_clutter_gtk_reserved6">
|
539
|
+
<return-value transfer-ownership="none">
|
540
|
+
<type name="none" c:type="void"/>
|
541
|
+
</return-value>
|
542
|
+
</callback>
|
543
|
+
</field>
|
544
|
+
</record>
|
545
|
+
<record name="WindowPrivate"
|
546
|
+
c:type="GtkClutterWindowPrivate"
|
547
|
+
disguised="1">
|
548
|
+
</record>
|
549
|
+
<function name="get_option_group"
|
550
|
+
c:identifier="gtk_clutter_get_option_group"
|
551
|
+
introspectable="0">
|
552
|
+
<doc xml:whitespace="preserve">Returns a #GOptionGroup for the command line arguments recognized
|
553
|
+
by Clutter. You should add this group to your #GOptionContext with
|
554
|
+
g_option_context_add_group(), if you are using g_option_context_parse()
|
555
|
+
to parse your commandline arguments instead of using gtk_clutter_init()
|
556
|
+
or gtk_clutter_init_with_args().
|
557
|
+
|
558
|
+
You should add this option group to your #GOptionContext after
|
559
|
+
the GTK option group created with gtk_get_option_group(), and after
|
560
|
+
the clutter option group obtained from clutter_get_option_group_without_init().
|
561
|
+
You should not use clutter_get_option_group() together with this function.
|
562
|
+
|
563
|
+
You must pass %TRUE to gtk_get_option_group() since gtk-clutter's option
|
564
|
+
group relies on it.
|
565
|
+
|
566
|
+
Parsing options using g_option_context_parse() with a #GOptionContext
|
567
|
+
containing the returned #GOptionGroupwith will result in Clutter's and
|
568
|
+
GTK-Clutter's initialisation. That is, the following code:
|
569
|
+
|
570
|
+
|[
|
571
|
+
g_option_context_add_group (context, gtk_get_option_group (TRUE));
|
572
|
+
g_option_context_add_group (context, cogl_get_option_group ());
|
573
|
+
g_option_context_add_group (context, clutter_get_option_group_without_init ());
|
574
|
+
g_option_context_add_group (context, gtk_clutter_get_option_group ());
|
575
|
+
res = g_option_context_parse (context, &amp;argc, &amp;argc, NULL);
|
576
|
+
]|
|
577
|
+
|
578
|
+
is functionally equivalent to:
|
579
|
+
|
580
|
+
|[
|
581
|
+
gtk_clutter_init (&amp;argc, &amp;argv);
|
582
|
+
]|
|
583
|
+
|
584
|
+
After g_option_context_parse() on a #GOptionContext containing the
|
585
|
+
the returned #GOptionGroup has returned %TRUE, Clutter and GTK-Clutter are
|
586
|
+
guaranteed to be initialized.</doc>
|
587
|
+
<return-value transfer-ownership="full">
|
588
|
+
<doc xml:whitespace="preserve">a #GOptionGroup for the commandline arguments recognized by ClutterGtk</doc>
|
589
|
+
<type name="GLib.OptionGroup" c:type="GOptionGroup*"/>
|
590
|
+
</return-value>
|
591
|
+
</function>
|
592
|
+
<function name="init" c:identifier="gtk_clutter_init">
|
593
|
+
<doc xml:whitespace="preserve">This function should be called instead of clutter_init() and
|
594
|
+
gtk_init().</doc>
|
595
|
+
<return-value transfer-ownership="none">
|
596
|
+
<doc xml:whitespace="preserve">%CLUTTER_INIT_SUCCESS on success, a negative integer on failure.</doc>
|
597
|
+
<type name="Clutter.InitError" c:type="ClutterInitError"/>
|
598
|
+
</return-value>
|
599
|
+
<parameters>
|
600
|
+
<parameter name="argc"
|
601
|
+
direction="inout"
|
602
|
+
caller-allocates="0"
|
603
|
+
transfer-ownership="full"
|
604
|
+
allow-none="1">
|
605
|
+
<doc xml:whitespace="preserve">pointer to the arguments count, or %NULL</doc>
|
606
|
+
<type name="gint" c:type="int*"/>
|
607
|
+
</parameter>
|
608
|
+
<parameter name="argv"
|
609
|
+
direction="inout"
|
610
|
+
caller-allocates="0"
|
611
|
+
transfer-ownership="full"
|
612
|
+
allow-none="1">
|
613
|
+
<doc xml:whitespace="preserve">pointer to the arguments vector, or %NULL</doc>
|
614
|
+
<array length="0" zero-terminated="0" c:type="char***">
|
615
|
+
<type name="utf8" c:type="char**"/>
|
616
|
+
</array>
|
617
|
+
</parameter>
|
618
|
+
</parameters>
|
619
|
+
</function>
|
620
|
+
<function name="init_with_args"
|
621
|
+
c:identifier="gtk_clutter_init_with_args"
|
622
|
+
throws="1">
|
623
|
+
<doc xml:whitespace="preserve">This function should be called instead of clutter_init() and
|
624
|
+
gtk_init_with_args().</doc>
|
625
|
+
<return-value transfer-ownership="none">
|
626
|
+
<doc xml:whitespace="preserve">%CLUTTER_INIT_SUCCESS on success, a negative integer on failure.</doc>
|
627
|
+
<type name="Clutter.InitError" c:type="ClutterInitError"/>
|
628
|
+
</return-value>
|
629
|
+
<parameters>
|
630
|
+
<parameter name="argc"
|
631
|
+
direction="inout"
|
632
|
+
caller-allocates="0"
|
633
|
+
transfer-ownership="full"
|
634
|
+
allow-none="1">
|
635
|
+
<doc xml:whitespace="preserve">a pointer to the number of command line arguments, or %NULL</doc>
|
636
|
+
<type name="gint" c:type="int*"/>
|
637
|
+
</parameter>
|
638
|
+
<parameter name="argv"
|
639
|
+
direction="inout"
|
640
|
+
caller-allocates="0"
|
641
|
+
transfer-ownership="full"
|
642
|
+
allow-none="1">
|
643
|
+
<doc xml:whitespace="preserve">a pointer to the array of command line arguments, or %NULL</doc>
|
644
|
+
<array length="0" zero-terminated="0" c:type="char***">
|
645
|
+
<type name="utf8" c:type="char**"/>
|
646
|
+
</array>
|
647
|
+
</parameter>
|
648
|
+
<parameter name="parameter_string"
|
649
|
+
transfer-ownership="none"
|
650
|
+
allow-none="1">
|
651
|
+
<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>
|
652
|
+
<type name="utf8" c:type="const char*"/>
|
653
|
+
</parameter>
|
654
|
+
<parameter name="entries" transfer-ownership="none" allow-none="1">
|
655
|
+
<doc xml:whitespace="preserve">a %NULL-terminated array of #GOptionEntry<!-- -->s describing the options of your program</doc>
|
656
|
+
<array c:type="GOptionEntry*">
|
657
|
+
<type name="GLib.OptionEntry" c:type="GOptionEntry"/>
|
658
|
+
</array>
|
659
|
+
</parameter>
|
660
|
+
<parameter name="translation_domain"
|
661
|
+
transfer-ownership="none"
|
662
|
+
allow-none="1">
|
663
|
+
<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>
|
664
|
+
<type name="utf8" c:type="const char*"/>
|
665
|
+
</parameter>
|
666
|
+
</parameters>
|
667
|
+
</function>
|
668
|
+
</namespace>
|
669
|
+
</repository>
|