clutter-gtk 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -4
- data/lib/clutter-gtk.rb +2 -3
- data/vendor/local/bin/libclutter-gtk-1.0-0.dll +0 -0
- data/vendor/local/include/clutter-gtk-1.0/clutter-gtk/gtk-clutter-version.h +4 -4
- 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.dll.a +0 -0
- data/vendor/local/lib/libclutter-gtk-1.0.la +4 -4
- data/vendor/local/lib/pkgconfig/clutter-gtk-1.0.pc +1 -1
- data/vendor/local/share/gir-1.0/GtkClutter-1.0.gir +41 -14
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/GtkClutterActor.html +207 -175
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/GtkClutterEmbed.html +213 -180
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/GtkClutterWindow.html +125 -116
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/annotation-glossary.html +27 -37
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/ch01.html +14 -14
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/ch02.html +14 -14
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/ch03.html +14 -14
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/clutter-gtk-1.0-Utility-Functions.html +155 -154
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/clutter-gtk-1.0.devhelp2 +16 -16
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/cluttergtk-glossary.html +14 -14
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/cluttergtk-object-hierarchy.html +23 -23
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/cluttergtk-object-index.html +12 -12
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/cluttergtk-objects.html +14 -14
- 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 +9 -8
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/index.sgml +24 -17
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/ix01.html +28 -28
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/ix02.html +41 -46
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/ix03.html +18 -23
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/ix04.html +13 -13
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/left-insensitive.png +0 -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 +13 -13
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/right-insensitive.png +0 -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 +314 -104
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter-gtk-1.0/up.png +0 -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 +15 -11
@@ -2,37 +2,30 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>
|
6
|
-
|
7
|
-
<
|
5
|
+
<title>Clutter-Gtk 1.6.0
|
6
|
+
Reference Manual: GtkClutterEmbed</title>
|
7
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
8
|
+
<link rel="home" href="index.html" title="Clutter-Gtk 1.6.0 Reference Manual">
|
8
9
|
<link rel="up" href="ch02.html" title="Clutter-Gtk Widgets">
|
9
10
|
<link rel="prev" href="ch02.html" title="Clutter-Gtk Widgets">
|
10
11
|
<link rel="next" href="GtkClutterActor.html" title="GtkClutterActor">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
12
|
+
<meta name="generator" content="GTK-Doc V1.20.1 (XML mode)">
|
12
13
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
14
|
</head>
|
14
15
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<
|
17
|
-
<
|
18
|
-
<
|
19
|
-
<
|
20
|
-
<
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
<
|
25
|
-
<a href="
|
26
|
-
|
27
|
-
|
28
|
-
|
|
29
|
-
<a href="#GtkClutterEmbed.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
30
|
-
|
|
31
|
-
<a href="#GtkClutterEmbed.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
32
|
-
|
|
33
|
-
<a href="#GtkClutterEmbed.properties" class="shortcut">Properties</a>
|
34
|
-
</td></tr>
|
35
|
-
</table>
|
16
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
17
|
+
<td width="100%" align="left" class="shortcuts">
|
18
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
19
|
+
<a href="#GtkClutterEmbed.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
20
|
+
<a href="#GtkClutterEmbed.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces"> <span class="dim">|</span>
|
21
|
+
<a href="#GtkClutterEmbed.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties"> <span class="dim">|</span>
|
22
|
+
<a href="#GtkClutterEmbed.properties" class="shortcut">Properties</a></span>
|
23
|
+
</td>
|
24
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
25
|
+
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
26
|
+
<td><a accesskey="p" href="ch02.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
27
|
+
<td><a accesskey="n" href="GtkClutterActor.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
28
|
+
</tr></table>
|
36
29
|
<div class="refentry">
|
37
30
|
<a name="GtkClutterEmbed"></a><div class="titlepage"></div>
|
38
31
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -40,30 +33,92 @@
|
|
40
33
|
<h2><span class="refentrytitle"><a name="GtkClutterEmbed.top_of_page"></a>GtkClutterEmbed</span></h2>
|
41
34
|
<p>GtkClutterEmbed — Widget for embedding a Clutter scene</p>
|
42
35
|
</td>
|
43
|
-
<td valign="top" align="right"></td>
|
36
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
44
37
|
</tr></table></div>
|
45
|
-
<div class="
|
46
|
-
<a name="GtkClutterEmbed.
|
47
|
-
<
|
48
|
-
|
49
|
-
<
|
50
|
-
<
|
51
|
-
|
52
|
-
<
|
53
|
-
|
54
|
-
|
55
|
-
<span class="returnvalue">
|
56
|
-
|
57
|
-
|
38
|
+
<div class="refsect1">
|
39
|
+
<a name="GtkClutterEmbed.functions"></a><h2>Functions</h2>
|
40
|
+
<div class="informaltable"><table width="100%" border="0">
|
41
|
+
<colgroup>
|
42
|
+
<col width="150px" class="functions_return">
|
43
|
+
<col class="functions_name">
|
44
|
+
</colgroup>
|
45
|
+
<tbody>
|
46
|
+
<tr>
|
47
|
+
<td class="function_type">
|
48
|
+
<span class="returnvalue">GtkWidget</span> *
|
49
|
+
</td>
|
50
|
+
<td class="function_name">
|
51
|
+
<a class="link" href="GtkClutterEmbed.html#gtk-clutter-embed-new" title="gtk_clutter_embed_new ()">gtk_clutter_embed_new</a> <span class="c_punctuation">()</span>
|
52
|
+
</td>
|
53
|
+
</tr>
|
54
|
+
<tr>
|
55
|
+
<td class="function_type">
|
56
|
+
<span class="returnvalue">ClutterActor</span> *
|
57
|
+
</td>
|
58
|
+
<td class="function_name">
|
59
|
+
<a class="link" href="GtkClutterEmbed.html#gtk-clutter-embed-get-stage" title="gtk_clutter_embed_get_stage ()">gtk_clutter_embed_get_stage</a> <span class="c_punctuation">()</span>
|
60
|
+
</td>
|
61
|
+
</tr>
|
62
|
+
<tr>
|
63
|
+
<td class="function_type">
|
64
|
+
<span class="returnvalue">void</span>
|
65
|
+
</td>
|
66
|
+
<td class="function_name">
|
67
|
+
<a class="link" href="GtkClutterEmbed.html#gtk-clutter-embed-set-use-layout-size" title="gtk_clutter_embed_set_use_layout_size ()">gtk_clutter_embed_set_use_layout_size</a> <span class="c_punctuation">()</span>
|
68
|
+
</td>
|
69
|
+
</tr>
|
70
|
+
<tr>
|
71
|
+
<td class="function_type">
|
72
|
+
<span class="returnvalue">gboolean</span>
|
73
|
+
</td>
|
74
|
+
<td class="function_name">
|
75
|
+
<a class="link" href="GtkClutterEmbed.html#gtk-clutter-embed-get-use-layout-size" title="gtk_clutter_embed_get_use_layout_size ()">gtk_clutter_embed_get_use_layout_size</a> <span class="c_punctuation">()</span>
|
76
|
+
</td>
|
77
|
+
</tr>
|
78
|
+
</tbody>
|
79
|
+
</table></div>
|
80
|
+
</div>
|
81
|
+
<div class="refsect1">
|
82
|
+
<a name="GtkClutterEmbed.properties"></a><h2>Properties</h2>
|
83
|
+
<div class="informaltable"><table border="0">
|
84
|
+
<colgroup>
|
85
|
+
<col width="150px" class="properties_type">
|
86
|
+
<col width="300px" class="properties_name">
|
87
|
+
<col width="200px" class="properties_flags">
|
88
|
+
</colgroup>
|
89
|
+
<tbody><tr>
|
90
|
+
<td class="property_type"><span class="type">gboolean</span></td>
|
91
|
+
<td class="property_name"><a class="link" href="GtkClutterEmbed.html#GtkClutterEmbed--use-layout-size" title="The “use-layout-size” property">use-layout-size</a></td>
|
92
|
+
<td class="property_flags">Read / Write / Construct</td>
|
93
|
+
</tr></tbody>
|
94
|
+
</table></div>
|
95
|
+
</div>
|
96
|
+
<div class="refsect1">
|
97
|
+
<a name="GtkClutterEmbed.other"></a><h2>Types and Values</h2>
|
98
|
+
<div class="informaltable"><table width="100%" border="0">
|
99
|
+
<colgroup>
|
100
|
+
<col width="150px" class="name">
|
101
|
+
<col class="description">
|
102
|
+
</colgroup>
|
103
|
+
<tbody>
|
104
|
+
<tr>
|
105
|
+
<td class="datatype_keyword">struct</td>
|
106
|
+
<td class="function_name"><a class="link" href="GtkClutterEmbed.html#GtkClutterEmbed-struct" title="struct GtkClutterEmbed">GtkClutterEmbed</a></td>
|
107
|
+
</tr>
|
108
|
+
<tr>
|
109
|
+
<td class="datatype_keyword">struct</td>
|
110
|
+
<td class="function_name"><a class="link" href="GtkClutterEmbed.html#GtkClutterEmbedClass" title="struct GtkClutterEmbedClass">GtkClutterEmbedClass</a></td>
|
111
|
+
</tr>
|
112
|
+
</tbody>
|
113
|
+
</table></div>
|
58
114
|
</div>
|
59
115
|
<div class="refsect1">
|
60
116
|
<a name="GtkClutterEmbed.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
61
|
-
<pre class="
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
+----GtkClutterEmbed
|
117
|
+
<pre class="screen"> GObject
|
118
|
+
<span class="lineart">╰──</span> GInitiallyUnowned
|
119
|
+
<span class="lineart">╰──</span> GtkWidget
|
120
|
+
<span class="lineart">╰──</span> GtkContainer
|
121
|
+
<span class="lineart">╰──</span> GtkClutterEmbed
|
67
122
|
</pre>
|
68
123
|
</div>
|
69
124
|
<div class="refsect1">
|
@@ -73,200 +128,178 @@ GtkClutterEmbed implements
|
|
73
128
|
AtkImplementorIface and GtkBuildable.</p>
|
74
129
|
</div>
|
75
130
|
<div class="refsect1">
|
76
|
-
<a name="GtkClutterEmbed.properties"></a><h2>Properties</h2>
|
77
|
-
<pre class="synopsis">
|
78
|
-
"<a class="link" href="GtkClutterEmbed.html#GtkClutterEmbed--use-layout-size" title='The "use-layout-size" property'>use-layout-size</a>" <span class="type">gboolean</span> : Read / Write / Construct
|
79
|
-
</pre>
|
80
|
-
</div>
|
81
|
-
<div class="refsect1">
|
82
131
|
<a name="GtkClutterEmbed.description"></a><h2>Description</h2>
|
83
|
-
<p>
|
84
|
-
|
85
|
-
a
|
86
|
-
|
87
|
-
<p>
|
88
|
-
By using a <a class="link" href="GtkClutterEmbed.html" title="GtkClutterEmbed"><span class="type">GtkClutterEmbed</span></a> widget is possible to build, show and
|
89
|
-
interact with a scene built using Clutter inside a GTK+ application.
|
90
|
-
</p>
|
91
|
-
<p>
|
92
|
-
</p>
|
93
|
-
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
94
|
-
<h3 class="title">Warning</h3>
|
95
|
-
<p>Though <a class="link" href="GtkClutterEmbed.html" title="GtkClutterEmbed"><span class="type">GtkClutterEmbed</span></a> is a <span class="type">GtkContainer</span> subclass,
|
132
|
+
<p><a class="link" href="GtkClutterEmbed.html" title="GtkClutterEmbed"><span class="type">GtkClutterEmbed</span></a> is a GTK+ widget embedding a <span class="type">ClutterStage</span> inside
|
133
|
+
a GTK+ application.</p>
|
134
|
+
<p>By using a <a class="link" href="GtkClutterEmbed.html" title="GtkClutterEmbed"><span class="type">GtkClutterEmbed</span></a> widget is possible to build, show and
|
135
|
+
interact with a scene built using Clutter inside a GTK+ application.</p>
|
136
|
+
<div class="warning"><p>Though <a class="link" href="GtkClutterEmbed.html" title="GtkClutterEmbed"><span class="type">GtkClutterEmbed</span></a> is a <span class="type">GtkContainer</span> subclass,
|
96
137
|
it is not a real GTK+ container; <a class="link" href="GtkClutterEmbed.html" title="GtkClutterEmbed"><span class="type">GtkClutterEmbed</span></a> is required to
|
97
138
|
implement <span class="type">GtkContainer</span> in order to embed a <span class="type">GtkWidget</span> through the
|
98
139
|
<a class="link" href="GtkClutterActor.html" title="GtkClutterActor"><span class="type">GtkClutterActor</span></a> class. Calling <code class="function">gtk_container_add()</code> on a <a class="link" href="GtkClutterEmbed.html" title="GtkClutterEmbed"><span class="type">GtkClutterEmbed</span></a>
|
99
140
|
will trigger an assertion. It is strongly advised not to override the
|
100
141
|
<span class="type">GtkContainer</span> implementation when subclassing
|
101
|
-
<a class="link" href="GtkClutterEmbed.html" title="GtkClutterEmbed"><span class="type">GtkClutterEmbed</span></a>.</p>
|
102
|
-
</div>
|
103
|
-
<p>
|
104
|
-
</p>
|
142
|
+
<a class="link" href="GtkClutterEmbed.html" title="GtkClutterEmbed"><span class="type">GtkClutterEmbed</span></a>.</p></div>
|
105
143
|
</div>
|
106
144
|
<div class="refsect1">
|
107
|
-
<a name="GtkClutterEmbed.
|
145
|
+
<a name="GtkClutterEmbed.functions_details"></a><h2>Functions</h2>
|
108
146
|
<div class="refsect2">
|
109
|
-
<a name="
|
110
|
-
<pre class="programlisting"
|
111
|
-
<
|
112
|
-
|
113
|
-
|
114
|
-
<
|
115
|
-
|
116
|
-
|
117
|
-
|
147
|
+
<a name="gtk-clutter-embed-new"></a><h3>gtk_clutter_embed_new ()</h3>
|
148
|
+
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> *
|
149
|
+
gtk_clutter_embed_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
150
|
+
<p>Creates a new <a class="link" href="GtkClutterEmbed.html" title="GtkClutterEmbed"><span class="type">GtkClutterEmbed</span></a> widget. This widget can be
|
151
|
+
used to build a scene using Clutter API into a GTK+ application.</p>
|
152
|
+
<div class="refsect3">
|
153
|
+
<a name="id-1.3.2.9.2.5"></a><h4>Returns</h4>
|
154
|
+
<p> the newly created <a class="link" href="GtkClutterEmbed.html" title="GtkClutterEmbed"><span class="type">GtkClutterEmbed</span></a></p>
|
155
|
+
<p></p>
|
118
156
|
</div>
|
119
|
-
<hr>
|
120
|
-
<div class="refsect2">
|
121
|
-
<a name="GtkClutterEmbedClass"></a><h3>struct GtkClutterEmbedClass</h3>
|
122
|
-
<pre class="programlisting">struct GtkClutterEmbedClass {
|
123
|
-
};
|
124
|
-
</pre>
|
125
|
-
<p>
|
126
|
-
Base class for <a class="link" href="GtkClutterEmbed.html" title="GtkClutterEmbed"><span class="type">GtkClutterEmbed</span></a>.
|
127
|
-
</p>
|
128
|
-
<p>
|
129
|
-
The <span class="structname">GtkClutterEmbedClass</span> contains only private
|
130
|
-
data.
|
131
|
-
</p>
|
132
157
|
</div>
|
133
158
|
<hr>
|
134
159
|
<div class="refsect2">
|
135
|
-
<a name="gtk-clutter-embed-
|
136
|
-
<pre class="programlisting"><span class="returnvalue">
|
137
|
-
<
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
<div class="
|
160
|
+
<a name="gtk-clutter-embed-get-stage"></a><h3>gtk_clutter_embed_get_stage ()</h3>
|
161
|
+
<pre class="programlisting"><span class="returnvalue">ClutterActor</span> *
|
162
|
+
gtk_clutter_embed_get_stage (<em class="parameter"><code><a class="link" href="GtkClutterEmbed.html" title="GtkClutterEmbed"><span class="type">GtkClutterEmbed</span></a> *embed</code></em>);</pre>
|
163
|
+
<p>Retrieves the <span class="type">ClutterStage</span> from <em class="parameter"><code>embed</code></em>
|
164
|
+
. The returned stage can be
|
165
|
+
used to add actors to the Clutter scene.</p>
|
166
|
+
<div class="refsect3">
|
167
|
+
<a name="id-1.3.2.9.3.5"></a><h4>Parameters</h4>
|
168
|
+
<div class="informaltable"><table width="100%" border="0">
|
142
169
|
<colgroup>
|
143
|
-
<col
|
144
|
-
<col>
|
170
|
+
<col width="150px" class="parameters_name">
|
171
|
+
<col class="parameters_description">
|
172
|
+
<col width="200px" class="parameters_annotations">
|
145
173
|
</colgroup>
|
146
174
|
<tbody><tr>
|
147
|
-
<td
|
148
|
-
<td>
|
149
|
-
</td>
|
175
|
+
<td class="parameter_name"><p>embed</p></td>
|
176
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkClutterEmbed.html" title="GtkClutterEmbed"><span class="type">GtkClutterEmbed</span></a></p></td>
|
177
|
+
<td class="parameter_annotations"> </td>
|
150
178
|
</tr></tbody>
|
151
179
|
</table></div>
|
152
180
|
</div>
|
153
|
-
<
|
154
|
-
<
|
155
|
-
<
|
156
|
-
|
157
|
-
<p>
|
158
|
-
|
159
|
-
used to add actors to the Clutter scene.
|
160
|
-
</p>
|
161
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
162
|
-
<colgroup>
|
163
|
-
<col align="left" valign="top">
|
164
|
-
<col>
|
165
|
-
</colgroup>
|
166
|
-
<tbody>
|
167
|
-
<tr>
|
168
|
-
<td><p><span class="term"><em class="parameter"><code>embed</code></em> :</span></p></td>
|
169
|
-
<td>a <a class="link" href="GtkClutterEmbed.html" title="GtkClutterEmbed"><span class="type">GtkClutterEmbed</span></a>
|
170
|
-
</td>
|
171
|
-
</tr>
|
172
|
-
<tr>
|
173
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
174
|
-
<td>the Clutter stage. You should never
|
175
|
-
destroy or unref the returned actor. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
176
|
-
</td>
|
177
|
-
</tr>
|
178
|
-
</tbody>
|
179
|
-
</table></div>
|
181
|
+
<div class="refsect3">
|
182
|
+
<a name="id-1.3.2.9.3.6"></a><h4>Returns</h4>
|
183
|
+
<p> the Clutter stage. You should never
|
184
|
+
destroy or unref the returned actor. </p>
|
185
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
186
|
+
</div>
|
180
187
|
</div>
|
181
188
|
<hr>
|
182
189
|
<div class="refsect2">
|
183
|
-
<a name="gtk-clutter-embed-set-use-layout-size"></a><h3>gtk_clutter_embed_set_use_layout_size
|
184
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
185
|
-
|
186
|
-
|
187
|
-
<p>
|
188
|
-
|
189
|
-
|
190
|
+
<a name="gtk-clutter-embed-set-use-layout-size"></a><h3>gtk_clutter_embed_set_use_layout_size ()</h3>
|
191
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
192
|
+
gtk_clutter_embed_set_use_layout_size (<em class="parameter"><code><a class="link" href="GtkClutterEmbed.html" title="GtkClutterEmbed"><span class="type">GtkClutterEmbed</span></a> *embed</code></em>,
|
193
|
+
<em class="parameter"><code><span class="type">gboolean</span> use_layout_size</code></em>);</pre>
|
194
|
+
<p>Changes the way <em class="parameter"><code>embed</code></em>
|
195
|
+
requests size. If <em class="parameter"><code>use_layout_size</code></em>
|
196
|
+
is
|
197
|
+
<code class="literal">TRUE</code>, the <em class="parameter"><code>embed</code></em>
|
198
|
+
widget will request the size that the
|
190
199
|
LayoutManager reports as the preferred size. This means that
|
191
200
|
a Gtk+ window will automatically get the natural and minimum
|
192
201
|
toplevel window sizes. This is useful when the contents of the
|
193
|
-
clutter stage is similar to a traditional UI
|
194
|
-
|
195
|
-
<
|
196
|
-
|
202
|
+
clutter stage is similar to a traditional UI.</p>
|
203
|
+
<p>If <em class="parameter"><code>use_layout_size</code></em>
|
204
|
+
is <code class="literal">FALSE</code> (which is the default) then <em class="parameter"><code>embed</code></em>
|
205
|
+
|
197
206
|
will not request any size and its up to the embedder to make sure
|
198
207
|
there is some size (by setting a custom size on the widget or a default
|
199
208
|
size on the toplevel. This makes more sense when using the <em class="parameter"><code>embed</code></em>
|
200
|
-
|
201
|
-
|
202
|
-
<div class="
|
209
|
+
|
210
|
+
as a viewport into a potentially unlimited clutter space.</p>
|
211
|
+
<div class="refsect3">
|
212
|
+
<a name="id-1.3.2.9.4.6"></a><h4>Parameters</h4>
|
213
|
+
<div class="informaltable"><table width="100%" border="0">
|
203
214
|
<colgroup>
|
204
|
-
<col
|
205
|
-
<col>
|
215
|
+
<col width="150px" class="parameters_name">
|
216
|
+
<col class="parameters_description">
|
217
|
+
<col width="200px" class="parameters_annotations">
|
206
218
|
</colgroup>
|
207
219
|
<tbody>
|
208
220
|
<tr>
|
209
|
-
<td
|
210
|
-
<td>a <a class="link" href="GtkClutterEmbed.html" title="GtkClutterEmbed"><span class="type">GtkClutterEmbed</span></a>
|
211
|
-
</td>
|
221
|
+
<td class="parameter_name"><p>embed</p></td>
|
222
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkClutterEmbed.html" title="GtkClutterEmbed"><span class="type">GtkClutterEmbed</span></a></p></td>
|
223
|
+
<td class="parameter_annotations"> </td>
|
212
224
|
</tr>
|
213
225
|
<tr>
|
214
|
-
<td
|
215
|
-
<td>a boolean</td>
|
226
|
+
<td class="parameter_name"><p>use_layout_size</p></td>
|
227
|
+
<td class="parameter_description"><p>a boolean</p></td>
|
228
|
+
<td class="parameter_annotations"> </td>
|
216
229
|
</tr>
|
217
230
|
</tbody>
|
218
231
|
</table></div>
|
232
|
+
</div>
|
219
233
|
<p class="since">Since 1.4</p>
|
220
234
|
</div>
|
221
235
|
<hr>
|
222
236
|
<div class="refsect2">
|
223
|
-
<a name="gtk-clutter-embed-get-use-layout-size"></a><h3>gtk_clutter_embed_get_use_layout_size
|
224
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
225
|
-
|
226
|
-
<p>
|
227
|
-
|
228
|
-
<
|
229
|
-
</
|
230
|
-
<div class="
|
237
|
+
<a name="gtk-clutter-embed-get-use-layout-size"></a><h3>gtk_clutter_embed_get_use_layout_size ()</h3>
|
238
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
239
|
+
gtk_clutter_embed_get_use_layout_size (<em class="parameter"><code><a class="link" href="GtkClutterEmbed.html" title="GtkClutterEmbed"><span class="type">GtkClutterEmbed</span></a> *embed</code></em>);</pre>
|
240
|
+
<p>Retrieves whether the embedding uses the layout size, see
|
241
|
+
<a class="link" href="GtkClutterEmbed.html#gtk-clutter-embed-set-use-layout-size" title="gtk_clutter_embed_set_use_layout_size ()"><code class="function">gtk_clutter_embed_set_use_layout_size()</code></a> for details.</p>
|
242
|
+
<div class="refsect3">
|
243
|
+
<a name="id-1.3.2.9.5.5"></a><h4>Parameters</h4>
|
244
|
+
<div class="informaltable"><table width="100%" border="0">
|
231
245
|
<colgroup>
|
232
|
-
<col
|
233
|
-
<col>
|
246
|
+
<col width="150px" class="parameters_name">
|
247
|
+
<col class="parameters_description">
|
248
|
+
<col width="200px" class="parameters_annotations">
|
234
249
|
</colgroup>
|
235
|
-
<tbody>
|
236
|
-
<
|
237
|
-
<td><p
|
238
|
-
<td
|
239
|
-
</
|
240
|
-
</tr>
|
241
|
-
<tr>
|
242
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
243
|
-
<td>
|
244
|
-
<code class="literal">TRUE</code> if reporting stage size as widget size, <code class="literal">FALSE</code> otherwise.</td>
|
245
|
-
</tr>
|
246
|
-
</tbody>
|
250
|
+
<tbody><tr>
|
251
|
+
<td class="parameter_name"><p>embed</p></td>
|
252
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkClutterEmbed.html" title="GtkClutterEmbed"><span class="type">GtkClutterEmbed</span></a></p></td>
|
253
|
+
<td class="parameter_annotations"> </td>
|
254
|
+
</tr></tbody>
|
247
255
|
</table></div>
|
256
|
+
</div>
|
257
|
+
<div class="refsect3">
|
258
|
+
<a name="id-1.3.2.9.5.6"></a><h4>Returns</h4>
|
259
|
+
<p> <code class="literal">TRUE</code> if reporting stage size as widget size, <code class="literal">FALSE</code> otherwise.</p>
|
260
|
+
<p></p>
|
261
|
+
</div>
|
248
262
|
<p class="since">Since 1.4</p>
|
249
263
|
</div>
|
250
264
|
</div>
|
251
265
|
<div class="refsect1">
|
266
|
+
<a name="GtkClutterEmbed.other_details"></a><h2>Types and Values</h2>
|
267
|
+
<div class="refsect2">
|
268
|
+
<a name="GtkClutterEmbed-struct"></a><h3>struct GtkClutterEmbed</h3>
|
269
|
+
<pre class="programlisting">struct GtkClutterEmbed;</pre>
|
270
|
+
<p>A <span class="type">GtkWidget</span> containing the default Clutter stage.</p>
|
271
|
+
<p>The <span class="structname">GtkClutterEmbed</span> structure contains only
|
272
|
+
private data and should be accessed using the provided API.</p>
|
273
|
+
</div>
|
274
|
+
<hr>
|
275
|
+
<div class="refsect2">
|
276
|
+
<a name="GtkClutterEmbedClass"></a><h3>struct GtkClutterEmbedClass</h3>
|
277
|
+
<pre class="programlisting">struct GtkClutterEmbedClass {
|
278
|
+
};
|
279
|
+
</pre>
|
280
|
+
<p>Base class for <a class="link" href="GtkClutterEmbed.html" title="GtkClutterEmbed"><span class="type">GtkClutterEmbed</span></a>.</p>
|
281
|
+
<p>The <span class="structname">GtkClutterEmbedClass</span> contains only private
|
282
|
+
data.</p>
|
283
|
+
</div>
|
284
|
+
</div>
|
285
|
+
<div class="refsect1">
|
252
286
|
<a name="GtkClutterEmbed.property-details"></a><h2>Property Details</h2>
|
253
287
|
<div class="refsect2">
|
254
|
-
<a name="GtkClutterEmbed--use-layout-size"></a><h3>The <code class="literal"
|
255
|
-
<pre class="programlisting">
|
256
|
-
<p>
|
257
|
-
|
258
|
-
</p>
|
288
|
+
<a name="GtkClutterEmbed--use-layout-size"></a><h3>The <code class="literal">“use-layout-size”</code> property</h3>
|
289
|
+
<pre class="programlisting"> “use-layout-size” <span class="type">gboolean</span></pre>
|
290
|
+
<p>The <span class="type">GtkWidget</span> to be embedded into the <a class="link" href="GtkClutterActor.html" title="GtkClutterActor"><span class="type">GtkClutterActor</span></a></p>
|
291
|
+
<p>Flags: Read / Write / Construct</p>
|
259
292
|
<p>Default value: FALSE</p>
|
260
293
|
<p class="since">Since 1.4</p>
|
261
294
|
</div>
|
262
295
|
</div>
|
263
296
|
<div class="refsect1">
|
264
297
|
<a name="GtkClutterEmbed.see-also"></a><h2>See Also</h2>
|
265
|
-
<span class="type">ClutterStage</span>
|
298
|
+
<p><span class="type">ClutterStage</span></p>
|
266
299
|
</div>
|
267
300
|
</div>
|
268
301
|
<div class="footer">
|
269
302
|
<hr>
|
270
|
-
Generated by GTK-Doc V1.
|
303
|
+
Generated by GTK-Doc V1.20.1</div>
|
271
304
|
</body>
|
272
305
|
</html>
|