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,33 +2,33 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>
|
6
|
-
|
7
|
-
<
|
8
|
-
<link rel="
|
5
|
+
<title>Clutter-Gtk 1.6.0
|
6
|
+
Reference Manual: Miscellaneous</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">
|
9
|
+
<link rel="up" href="index.html" title="Clutter-Gtk 1.6.0 Reference Manual">
|
9
10
|
<link rel="prev" href="GtkClutterWindow.html" title="GtkClutterWindow">
|
10
11
|
<link rel="next" href="clutter-gtk-1.0-Utility-Functions.html" title="Utility Functions">
|
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
|
-
<td
|
17
|
-
<td
|
18
|
-
<td><
|
19
|
-
<
|
20
|
-
|
21
|
-
<td><a accesskey="n" href="clutter-gtk-1.0-Utility-Functions.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
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"></td>
|
18
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
19
|
+
<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
|
20
|
+
<td><a accesskey="p" href="GtkClutterWindow.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
21
|
+
<td><a accesskey="n" href="clutter-gtk-1.0-Utility-Functions.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
22
22
|
</tr></table>
|
23
23
|
<div class="chapter">
|
24
24
|
<div class="titlepage"><div><div><h1 class="title">
|
25
25
|
<a name="id-1.4"></a>Miscellaneous</h1></div></div></div>
|
26
|
-
<div class="toc"><dl><dt>
|
26
|
+
<div class="toc"><dl class="toc"><dt>
|
27
27
|
<span class="refentrytitle"><a href="clutter-gtk-1.0-Utility-Functions.html">Utility Functions</a></span><span class="refpurpose"> — Utility functions for integrating Clutter in GTK+</span>
|
28
28
|
</dt></dl></div>
|
29
29
|
</div>
|
30
30
|
<div class="footer">
|
31
31
|
<hr>
|
32
|
-
Generated by GTK-Doc V1.
|
32
|
+
Generated by GTK-Doc V1.20.1</div>
|
33
33
|
</body>
|
34
34
|
</html>
|
@@ -2,31 +2,27 @@
|
|
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: Utility Functions</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="ch03.html" title="Miscellaneous">
|
9
10
|
<link rel="prev" href="ch03.html" title="Miscellaneous">
|
10
11
|
<link rel="next" href="ix01.html" title="Index">
|
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
|
-
<td><a accesskey="
|
23
|
-
|
24
|
-
|
25
|
-
<a href="#clutter-gtk-1.0-Utility-Functions.synopsis" class="shortcut">Top</a>
|
26
|
-
|
|
27
|
-
<a href="#clutter-gtk-1.0-Utility-Functions.description" class="shortcut">Description</a>
|
28
|
-
</td></tr>
|
29
|
-
</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="#clutter-gtk-1.0-Utility-Functions.description" class="shortcut">Description</a></span>
|
20
|
+
</td>
|
21
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
22
|
+
<td><a accesskey="u" href="ch03.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
23
|
+
<td><a accesskey="p" href="ch03.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
24
|
+
<td><a accesskey="n" href="ix01.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
25
|
+
</tr></table>
|
30
26
|
<div class="refentry">
|
31
27
|
<a name="clutter-gtk-1.0-Utility-Functions"></a><div class="titlepage"></div>
|
32
28
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -34,163 +30,179 @@
|
|
34
30
|
<h2><span class="refentrytitle"><a name="clutter-gtk-1.0-Utility-Functions.top_of_page"></a>Utility Functions</span></h2>
|
35
31
|
<p>Utility Functions — Utility functions for integrating Clutter in GTK+</p>
|
36
32
|
</td>
|
37
|
-
<td valign="top" align="right"></td>
|
33
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
38
34
|
</tr></table></div>
|
39
|
-
<div class="
|
40
|
-
<a name="clutter-gtk-1.0-Utility-Functions.
|
41
|
-
<
|
42
|
-
|
43
|
-
<
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<span class="returnvalue">
|
50
|
-
</
|
35
|
+
<div class="refsect1">
|
36
|
+
<a name="clutter-gtk-1.0-Utility-Functions.functions"></a><h2>Functions</h2>
|
37
|
+
<div class="informaltable"><table width="100%" border="0">
|
38
|
+
<colgroup>
|
39
|
+
<col width="150px" class="functions_return">
|
40
|
+
<col class="functions_name">
|
41
|
+
</colgroup>
|
42
|
+
<tbody>
|
43
|
+
<tr>
|
44
|
+
<td class="function_type">
|
45
|
+
<span class="returnvalue">ClutterInitError</span>
|
46
|
+
</td>
|
47
|
+
<td class="function_name">
|
48
|
+
<a class="link" href="clutter-gtk-1.0-Utility-Functions.html#gtk-clutter-init" title="gtk_clutter_init ()">gtk_clutter_init</a> <span class="c_punctuation">()</span>
|
49
|
+
</td>
|
50
|
+
</tr>
|
51
|
+
<tr>
|
52
|
+
<td class="function_type">
|
53
|
+
<span class="returnvalue">ClutterInitError</span>
|
54
|
+
</td>
|
55
|
+
<td class="function_name">
|
56
|
+
<a class="link" href="clutter-gtk-1.0-Utility-Functions.html#gtk-clutter-init-with-args" title="gtk_clutter_init_with_args ()">gtk_clutter_init_with_args</a> <span class="c_punctuation">()</span>
|
57
|
+
</td>
|
58
|
+
</tr>
|
59
|
+
<tr>
|
60
|
+
<td class="function_type">
|
61
|
+
<span class="returnvalue">GOptionGroup</span> *
|
62
|
+
</td>
|
63
|
+
<td class="function_name">
|
64
|
+
<a class="link" href="clutter-gtk-1.0-Utility-Functions.html#gtk-clutter-get-option-group" title="gtk_clutter_get_option_group ()">gtk_clutter_get_option_group</a> <span class="c_punctuation">()</span>
|
65
|
+
</td>
|
66
|
+
</tr>
|
67
|
+
</tbody>
|
68
|
+
</table></div>
|
51
69
|
</div>
|
52
70
|
<div class="refsect1">
|
53
71
|
<a name="clutter-gtk-1.0-Utility-Functions.description"></a><h2>Description</h2>
|
54
|
-
<p>
|
55
|
-
|
56
|
-
|
57
|
-
</p>
|
58
|
-
<p>
|
59
|
-
Clutter-GTK provides API for easing the process of synchronizing colors
|
72
|
+
<p>In order to properly integrate a Clutter scene into a GTK+ applications
|
73
|
+
a certain degree of state must be retrieved from GTK+ itself.</p>
|
74
|
+
<p>Clutter-GTK provides API for easing the process of synchronizing colors
|
60
75
|
with the current GTK+ theme and for loading image sources from <span class="type">GdkPixbuf</span>,
|
61
|
-
GTK+ stock items and icon themes
|
62
|
-
</p>
|
76
|
+
GTK+ stock items and icon themes.</p>
|
63
77
|
</div>
|
64
78
|
<div class="refsect1">
|
65
|
-
<a name="clutter-gtk-1.0-Utility-Functions.
|
79
|
+
<a name="clutter-gtk-1.0-Utility-Functions.functions_details"></a><h2>Functions</h2>
|
66
80
|
<div class="refsect2">
|
67
|
-
<a name="gtk-clutter-init"></a><h3>gtk_clutter_init
|
68
|
-
<pre class="programlisting"><span class="returnvalue">ClutterInitError</span>
|
69
|
-
|
70
|
-
<
|
71
|
-
This function should be called instead of <code class="function">clutter_init()</code> and
|
72
|
-
<code class="function">gtk_init()</code
|
73
|
-
|
74
|
-
<
|
81
|
+
<a name="gtk-clutter-init"></a><h3>gtk_clutter_init ()</h3>
|
82
|
+
<pre class="programlisting"><span class="returnvalue">ClutterInitError</span>
|
83
|
+
gtk_clutter_init (<em class="parameter"><code><span class="type">int</span> *argc</code></em>,
|
84
|
+
<em class="parameter"><code><span class="type">char</span> ***argv</code></em>);</pre>
|
85
|
+
<p>This function should be called instead of <code class="function">clutter_init()</code> and
|
86
|
+
<code class="function">gtk_init()</code>.</p>
|
87
|
+
<div class="refsect3">
|
88
|
+
<a name="id-1.4.2.5.2.5"></a><h4>Parameters</h4>
|
89
|
+
<div class="informaltable"><table width="100%" border="0">
|
75
90
|
<colgroup>
|
76
|
-
<col
|
77
|
-
<col>
|
91
|
+
<col width="150px" class="parameters_name">
|
92
|
+
<col class="parameters_description">
|
93
|
+
<col width="200px" class="parameters_annotations">
|
78
94
|
</colgroup>
|
79
95
|
<tbody>
|
80
96
|
<tr>
|
81
|
-
<td
|
82
|
-
<td>pointer to the arguments count, or <code class="literal">NULL</code>.
|
83
|
-
</td>
|
97
|
+
<td class="parameter_name"><p>argc</p></td>
|
98
|
+
<td class="parameter_description"><p> pointer to the arguments count, or <code class="literal">NULL</code>. </p></td>
|
99
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
84
100
|
</tr>
|
85
101
|
<tr>
|
86
|
-
<td
|
87
|
-
<td>pointer to the
|
88
|
-
arguments vector, or <code class="literal">NULL</code>.
|
89
|
-
</td>
|
90
|
-
</tr>
|
91
|
-
<tr>
|
92
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
93
|
-
<td>
|
94
|
-
<code class="literal">CLUTTER_INIT_SUCCESS</code> on success, a negative integer
|
95
|
-
on failure.</td>
|
102
|
+
<td class="parameter_name"><p>argv</p></td>
|
103
|
+
<td class="parameter_description"><p> pointer to the
|
104
|
+
arguments vector, or <code class="literal">NULL</code>. </p></td>
|
105
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=argc][<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
96
106
|
</tr>
|
97
107
|
</tbody>
|
98
108
|
</table></div>
|
99
109
|
</div>
|
110
|
+
<div class="refsect3">
|
111
|
+
<a name="id-1.4.2.5.2.6"></a><h4>Returns</h4>
|
112
|
+
<p> <code class="literal">CLUTTER_INIT_SUCCESS</code> on success, a negative integer
|
113
|
+
on failure.</p>
|
114
|
+
<p></p>
|
115
|
+
</div>
|
116
|
+
</div>
|
100
117
|
<hr>
|
101
118
|
<div class="refsect2">
|
102
|
-
<a name="gtk-clutter-init-with-args"></a><h3>gtk_clutter_init_with_args
|
103
|
-
<pre class="programlisting"><span class="returnvalue">ClutterInitError</span>
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
<
|
110
|
-
This function should be called instead of <code class="function">clutter_init()</code> and
|
111
|
-
<code class="function">gtk_init_with_args()</code
|
112
|
-
|
113
|
-
<
|
119
|
+
<a name="gtk-clutter-init-with-args"></a><h3>gtk_clutter_init_with_args ()</h3>
|
120
|
+
<pre class="programlisting"><span class="returnvalue">ClutterInitError</span>
|
121
|
+
gtk_clutter_init_with_args (<em class="parameter"><code><span class="type">int</span> *argc</code></em>,
|
122
|
+
<em class="parameter"><code><span class="type">char</span> ***argv</code></em>,
|
123
|
+
<em class="parameter"><code>const <span class="type">char</span> *parameter_string</code></em>,
|
124
|
+
<em class="parameter"><code><span class="type">GOptionEntry</span> *entries</code></em>,
|
125
|
+
<em class="parameter"><code>const <span class="type">char</span> *translation_domain</code></em>,
|
126
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
127
|
+
<p>This function should be called instead of <code class="function">clutter_init()</code> and
|
128
|
+
<code class="function">gtk_init_with_args()</code>.</p>
|
129
|
+
<div class="refsect3">
|
130
|
+
<a name="id-1.4.2.5.3.5"></a><h4>Parameters</h4>
|
131
|
+
<div class="informaltable"><table width="100%" border="0">
|
114
132
|
<colgroup>
|
115
|
-
<col
|
116
|
-
<col>
|
133
|
+
<col width="150px" class="parameters_name">
|
134
|
+
<col class="parameters_description">
|
135
|
+
<col width="200px" class="parameters_annotations">
|
117
136
|
</colgroup>
|
118
137
|
<tbody>
|
119
138
|
<tr>
|
120
|
-
<td
|
121
|
-
<td>a pointer to the number of command line
|
122
|
-
arguments, or <code class="literal">NULL</code>.
|
123
|
-
</td>
|
139
|
+
<td class="parameter_name"><p>argc</p></td>
|
140
|
+
<td class="parameter_description"><p> a pointer to the number of command line
|
141
|
+
arguments, or <code class="literal">NULL</code>. </p></td>
|
142
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
124
143
|
</tr>
|
125
144
|
<tr>
|
126
|
-
<td
|
127
|
-
<td>a pointer to the array
|
128
|
-
of command line arguments, or <code class="literal">NULL</code>.
|
129
|
-
</td>
|
145
|
+
<td class="parameter_name"><p>argv</p></td>
|
146
|
+
<td class="parameter_description"><p> a pointer to the array
|
147
|
+
of command line arguments, or <code class="literal">NULL</code>. </p></td>
|
148
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=argc]</span></td>
|
130
149
|
</tr>
|
131
150
|
<tr>
|
132
|
-
<td
|
133
|
-
<td>a string which is displayed in
|
151
|
+
<td class="parameter_name"><p>parameter_string</p></td>
|
152
|
+
<td class="parameter_description"><p> a string which is displayed in
|
134
153
|
the first line of <code class="option">--help</code> output, after
|
135
|
-
<code class="literal"><em class="replaceable"><code>programname</code></em> [OPTION...]</code>.
|
136
|
-
</td>
|
154
|
+
<code class="literal"><em class="replaceable"><code>programname</code></em> [OPTION...]</code>. </p></td>
|
155
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
137
156
|
</tr>
|
138
157
|
<tr>
|
139
|
-
<td
|
140
|
-
<td>a
|
158
|
+
<td class="parameter_name"><p>entries</p></td>
|
159
|
+
<td class="parameter_description"><p> a
|
141
160
|
<code class="literal">NULL</code>-terminated array of <span class="type">GOptionEntry</span>s describing the
|
142
|
-
options of your program.
|
143
|
-
</td>
|
161
|
+
options of your program. </p></td>
|
162
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span></td>
|
144
163
|
</tr>
|
145
164
|
<tr>
|
146
|
-
<td
|
147
|
-
<td>a translation domain to use for
|
165
|
+
<td class="parameter_name"><p>translation_domain</p></td>
|
166
|
+
<td class="parameter_description"><p> a translation domain to use for
|
148
167
|
translating the <code class="option">--help</code> output for the options
|
149
|
-
in <em class="parameter"><code>entries</code></em>
|
150
|
-
</td>
|
168
|
+
in <em class="parameter"><code>entries</code></em>
|
169
|
+
with <code class="function">gettext()</code>, or <code class="literal">NULL</code>. </p></td>
|
170
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
151
171
|
</tr>
|
152
172
|
<tr>
|
153
|
-
<td
|
154
|
-
<td>a return location for errors, or <code class="literal">NULL</code>.
|
155
|
-
</td>
|
156
|
-
</tr>
|
157
|
-
<tr>
|
158
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
159
|
-
<td>
|
160
|
-
<code class="literal">CLUTTER_INIT_SUCCESS</code> on success, a negative integer
|
161
|
-
on failure.</td>
|
173
|
+
<td class="parameter_name"><p>error</p></td>
|
174
|
+
<td class="parameter_description"><p> a return location for errors, or <code class="literal">NULL</code>. </p></td>
|
175
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
162
176
|
</tr>
|
163
177
|
</tbody>
|
164
178
|
</table></div>
|
165
179
|
</div>
|
180
|
+
<div class="refsect3">
|
181
|
+
<a name="id-1.4.2.5.3.6"></a><h4>Returns</h4>
|
182
|
+
<p> <code class="literal">CLUTTER_INIT_SUCCESS</code> on success, a negative integer
|
183
|
+
on failure.</p>
|
184
|
+
<p></p>
|
185
|
+
</div>
|
186
|
+
</div>
|
166
187
|
<hr>
|
167
188
|
<div class="refsect2">
|
168
|
-
<a name="gtk-clutter-get-option-group"></a><h3>gtk_clutter_get_option_group
|
169
|
-
<pre class="programlisting"><span class="returnvalue">GOptionGroup</span>
|
170
|
-
<
|
171
|
-
Returns a <span class="type">GOptionGroup</span> for the command line arguments recognized
|
189
|
+
<a name="gtk-clutter-get-option-group"></a><h3>gtk_clutter_get_option_group ()</h3>
|
190
|
+
<pre class="programlisting"><span class="returnvalue">GOptionGroup</span> *
|
191
|
+
gtk_clutter_get_option_group (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
192
|
+
<p>Returns a <span class="type">GOptionGroup</span> for the command line arguments recognized
|
172
193
|
by Clutter. You should add this group to your <span class="type">GOptionContext</span> with
|
173
194
|
<code class="function">g_option_context_add_group()</code>, if you are using <code class="function">g_option_context_parse()</code>
|
174
|
-
to parse your commandline arguments instead of using <a class="link" href="clutter-gtk-1.0-Utility-Functions.html#gtk-clutter-init" title="gtk_clutter_init
|
175
|
-
or <a class="link" href="clutter-gtk-1.0-Utility-Functions.html#gtk-clutter-init-with-args" title="gtk_clutter_init_with_args
|
176
|
-
|
177
|
-
<p>
|
178
|
-
You should add this option group to your <span class="type">GOptionContext</span> after
|
195
|
+
to parse your commandline arguments instead of using <a class="link" href="clutter-gtk-1.0-Utility-Functions.html#gtk-clutter-init" title="gtk_clutter_init ()"><code class="function">gtk_clutter_init()</code></a>
|
196
|
+
or <a class="link" href="clutter-gtk-1.0-Utility-Functions.html#gtk-clutter-init-with-args" title="gtk_clutter_init_with_args ()"><code class="function">gtk_clutter_init_with_args()</code></a>.</p>
|
197
|
+
<p>You should add this option group to your <span class="type">GOptionContext</span> after
|
179
198
|
the GTK option group created with <code class="function">gtk_get_option_group()</code>, and after
|
180
199
|
the clutter option group obtained from <code class="function">clutter_get_option_group_without_init()</code>.
|
181
|
-
You should not use <code class="function">clutter_get_option_group()</code> together with this function
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
group relies on it.
|
186
|
-
</p>
|
187
|
-
<p>
|
188
|
-
Parsing options using <code class="function">g_option_context_parse()</code> with a <span class="type">GOptionContext</span>
|
200
|
+
You should not use <code class="function">clutter_get_option_group()</code> together with this function.</p>
|
201
|
+
<p>You must pass <code class="literal">TRUE</code> to <code class="function">gtk_get_option_group()</code> since gtk-clutter's option
|
202
|
+
group relies on it.</p>
|
203
|
+
<p>Parsing options using <code class="function">g_option_context_parse()</code> with a <span class="type">GOptionContext</span>
|
189
204
|
containing the returned <span class="type">GOptionGroupwith</span> will result in Clutter's and
|
190
|
-
GTK-Clutter's initialisation. That is, the following code
|
191
|
-
</p>
|
192
|
-
<p>
|
193
|
-
</p>
|
205
|
+
GTK-Clutter's initialisation. That is, the following code:</p>
|
194
206
|
<div class="informalexample">
|
195
207
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
196
208
|
<tbody>
|
@@ -210,13 +222,8 @@ GTK-Clutter's initialisation. That is, the following code:
|
|
210
222
|
</table>
|
211
223
|
</div>
|
212
224
|
|
213
|
-
<p>
|
214
|
-
|
215
|
-
<p>
|
216
|
-
is functionally equivalent to:
|
217
|
-
</p>
|
218
|
-
<p>
|
219
|
-
</p>
|
225
|
+
<p></p>
|
226
|
+
<p>is functionally equivalent to:</p>
|
220
227
|
<div class="informalexample">
|
221
228
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
222
229
|
<tbody>
|
@@ -228,30 +235,24 @@ is functionally equivalent to:
|
|
228
235
|
</table>
|
229
236
|
</div>
|
230
237
|
|
231
|
-
<p>
|
232
|
-
|
233
|
-
<p>
|
234
|
-
After <code class="function">g_option_context_parse()</code> on a <span class="type">GOptionContext</span> containing the
|
238
|
+
<p></p>
|
239
|
+
<p>After <code class="function">g_option_context_parse()</code> on a <span class="type">GOptionContext</span> containing the
|
235
240
|
the returned <span class="type">GOptionGroup</span> has returned <code class="literal">TRUE</code>, Clutter and GTK-Clutter are
|
236
|
-
guaranteed to be initialized
|
237
|
-
|
238
|
-
<
|
239
|
-
<
|
240
|
-
|
241
|
-
<
|
242
|
-
</
|
243
|
-
<tbody><tr>
|
244
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
245
|
-
<td>a <span class="type">GOptionGroup</span> for the commandline arguments
|
246
|
-
recognized by ClutterGtk. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
247
|
-
</td>
|
248
|
-
</tr></tbody>
|
249
|
-
</table></div>
|
241
|
+
guaranteed to be initialized.</p>
|
242
|
+
<div class="refsect3">
|
243
|
+
<a name="id-1.4.2.5.4.14"></a><h4>Returns</h4>
|
244
|
+
<p> a <span class="type">GOptionGroup</span> for the commandline arguments
|
245
|
+
recognized by ClutterGtk. </p>
|
246
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
247
|
+
</div>
|
250
248
|
</div>
|
251
249
|
</div>
|
250
|
+
<div class="refsect1">
|
251
|
+
<a name="clutter-gtk-1.0-Utility-Functions.other_details"></a><h2>Types and Values</h2>
|
252
|
+
</div>
|
252
253
|
</div>
|
253
254
|
<div class="footer">
|
254
255
|
<hr>
|
255
|
-
Generated by GTK-Doc V1.
|
256
|
+
Generated by GTK-Doc V1.20.1</div>
|
256
257
|
</body>
|
257
258
|
</html>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
2
2
|
<!DOCTYPE book PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
|
3
|
-
<book xmlns="http://www.devhelp.net/book" title="Clutter-Gtk 1.
|
3
|
+
<book xmlns="http://www.devhelp.net/book" title="Clutter-Gtk 1.6.0 Reference Manual" link="index.html" author="" name="clutter-gtk-1.0" version="2" language="c">
|
4
4
|
<chapters>
|
5
5
|
<sub name="Clutter-Gtk Overview" link="ch01.html"/>
|
6
6
|
<sub name="Clutter-Gtk Widgets" link="ch02.html">
|
@@ -25,26 +25,26 @@
|
|
25
25
|
<sub name="License" link="license.html"/>
|
26
26
|
</chapters>
|
27
27
|
<functions>
|
28
|
+
<keyword type="function" name="gtk_clutter_embed_new ()" link="GtkClutterEmbed.html#gtk-clutter-embed-new"/>
|
29
|
+
<keyword type="function" name="gtk_clutter_embed_get_stage ()" link="GtkClutterEmbed.html#gtk-clutter-embed-get-stage"/>
|
30
|
+
<keyword type="function" name="gtk_clutter_embed_set_use_layout_size ()" link="GtkClutterEmbed.html#gtk-clutter-embed-set-use-layout-size" since="1.4"/>
|
31
|
+
<keyword type="function" name="gtk_clutter_embed_get_use_layout_size ()" link="GtkClutterEmbed.html#gtk-clutter-embed-get-use-layout-size" since="1.4"/>
|
28
32
|
<keyword type="struct" name="struct GtkClutterEmbed" link="GtkClutterEmbed.html#GtkClutterEmbed-struct"/>
|
29
33
|
<keyword type="struct" name="struct GtkClutterEmbedClass" link="GtkClutterEmbed.html#GtkClutterEmbedClass"/>
|
30
|
-
<keyword type="
|
31
|
-
<keyword type="function" name="
|
32
|
-
<keyword type="function" name="
|
33
|
-
<keyword type="function" name="
|
34
|
-
<keyword type="
|
34
|
+
<keyword type="property" name="The “use-layout-size” property" link="GtkClutterEmbed.html#GtkClutterEmbed--use-layout-size"/>
|
35
|
+
<keyword type="function" name="gtk_clutter_actor_new ()" link="GtkClutterActor.html#gtk-clutter-actor-new"/>
|
36
|
+
<keyword type="function" name="gtk_clutter_actor_new_with_contents ()" link="GtkClutterActor.html#gtk-clutter-actor-new-with-contents"/>
|
37
|
+
<keyword type="function" name="gtk_clutter_actor_get_contents ()" link="GtkClutterActor.html#gtk-clutter-actor-get-contents"/>
|
38
|
+
<keyword type="function" name="gtk_clutter_actor_get_widget ()" link="GtkClutterActor.html#gtk-clutter-actor-get-widget"/>
|
35
39
|
<keyword type="struct" name="struct GtkClutterActor" link="GtkClutterActor.html#GtkClutterActor-struct"/>
|
36
40
|
<keyword type="struct" name="struct GtkClutterActorClass" link="GtkClutterActor.html#GtkClutterActorClass"/>
|
37
|
-
<keyword type="
|
38
|
-
<keyword type="function" name="
|
39
|
-
<keyword type="function" name="
|
40
|
-
<keyword type="function" name="gtk_clutter_actor_get_widget ()" link="GtkClutterActor.html#gtk-clutter-actor-get-widget"/>
|
41
|
-
<keyword type="property" name="The "contents" property" link="GtkClutterActor.html#GtkClutterActor--contents"/>
|
41
|
+
<keyword type="property" name="The “contents” property" link="GtkClutterActor.html#GtkClutterActor--contents"/>
|
42
|
+
<keyword type="function" name="gtk_clutter_window_new ()" link="GtkClutterWindow.html#gtk-clutter-window-new"/>
|
43
|
+
<keyword type="function" name="gtk_clutter_window_get_stage ()" link="GtkClutterWindow.html#gtk-clutter-window-get-stage"/>
|
42
44
|
<keyword type="struct" name="struct GtkClutterWindow" link="GtkClutterWindow.html#GtkClutterWindow-struct"/>
|
43
45
|
<keyword type="struct" name="struct GtkClutterWindowClass" link="GtkClutterWindow.html#GtkClutterWindowClass"/>
|
44
|
-
<keyword type="function" name="
|
45
|
-
<keyword type="function" name="
|
46
|
-
<keyword type="function" name="
|
47
|
-
<keyword type="function" name="gtk_clutter_init_with_args ()" link="clutter-gtk-1.0-Utility-Functions.html#gtk-clutter-init-with-args"/>
|
48
|
-
<keyword type="function" name="gtk_clutter_get_option_group ()" link="clutter-gtk-1.0-Utility-Functions.html#gtk-clutter-get-option-group"/>
|
46
|
+
<keyword type="function" name="gtk_clutter_init ()" link="clutter-gtk-1.0-Utility-Functions.html#gtk-clutter-init"/>
|
47
|
+
<keyword type="function" name="gtk_clutter_init_with_args ()" link="clutter-gtk-1.0-Utility-Functions.html#gtk-clutter-init-with-args"/>
|
48
|
+
<keyword type="function" name="gtk_clutter_get_option_group ()" link="clutter-gtk-1.0-Utility-Functions.html#gtk-clutter-get-option-group"/>
|
49
49
|
</functions>
|
50
50
|
</book>
|