Imported Upstream version 1.59.4
[platform/upstream/gobject-introspection.git] / docs / reference / html / gi-GIObjectInfo.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>GIObjectInfo: libgirepository API Reference</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7 <link rel="home" href="index.html" title="libgirepository API Reference">
8 <link rel="up" href="ch01.html" title="GIBaseInfo">
9 <link rel="prev" href="gi-GIUnionInfo.html" title="GIUnionInfo">
10 <link rel="next" href="gi-GIInterfaceInfo.html" title="GIInterfaceInfo">
11 <meta name="generator" content="GTK-Doc V1.29.1 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
13 </head>
14 <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="5"><tr valign="middle">
16 <td width="100%" align="left" class="shortcuts">
17 <a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
18                   <a href="#gi-GIObjectInfo.description" class="shortcut">Description</a></span>
19 </td>
20 <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
21 <td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
22 <td><a accesskey="p" href="gi-GIUnionInfo.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
23 <td><a accesskey="n" href="gi-GIInterfaceInfo.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
24 </tr></table>
25 <div class="refentry">
26 <a name="gi-GIObjectInfo"></a><div class="titlepage"></div>
27 <div class="refnamediv"><table width="100%"><tr>
28 <td valign="top">
29 <h2><span class="refentrytitle"><a name="gi-GIObjectInfo.top_of_page"></a>GIObjectInfo</span></h2>
30 <p>GIObjectInfo — Struct representing a GObject</p>
31 </td>
32 <td class="gallery_image" valign="top" align="right"></td>
33 </tr></table></div>
34 <div class="refsect1">
35 <a name="gi-GIObjectInfo.functions"></a><h2>Functions</h2>
36 <div class="informaltable"><table class="informaltable" width="100%" border="0">
37 <colgroup>
38 <col width="150px" class="functions_return">
39 <col class="functions_name">
40 </colgroup>
41 <tbody>
42 <tr>
43 <td class="define_keyword">#define</td>
44 <td class="function_name">
45 <a class="link" href="gi-GIObjectInfo.html#GI-IS-OBJECT-INFO:CAPS" title="GI_IS_OBJECT_INFO()">GI_IS_OBJECT_INFO</a><span class="c_punctuation">()</span>
46 </td>
47 </tr>
48 <tr>
49 <td class="function_type">
50 <span class="returnvalue">gboolean</span>
51 </td>
52 <td class="function_name">
53 <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-abstract" title="g_object_info_get_abstract ()">g_object_info_get_abstract</a> <span class="c_punctuation">()</span>
54 </td>
55 </tr>
56 <tr>
57 <td class="function_type">
58 <span class="returnvalue">gboolean</span>
59 </td>
60 <td class="function_name">
61 <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-fundamental" title="g_object_info_get_fundamental ()">g_object_info_get_fundamental</a> <span class="c_punctuation">()</span>
62 </td>
63 </tr>
64 <tr>
65 <td class="function_type">
66 <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="returnvalue">GIObjectInfo</span></a> *
67 </td>
68 <td class="function_name">
69 <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-parent" title="g_object_info_get_parent ()">g_object_info_get_parent</a> <span class="c_punctuation">()</span>
70 </td>
71 </tr>
72 <tr>
73 <td class="function_type">const <span class="returnvalue">gchar</span> *
74 </td>
75 <td class="function_name">
76 <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-type-name" title="g_object_info_get_type_name ()">g_object_info_get_type_name</a> <span class="c_punctuation">()</span>
77 </td>
78 </tr>
79 <tr>
80 <td class="function_type">const <span class="returnvalue">gchar</span> *
81 </td>
82 <td class="function_name">
83 <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-type-init" title="g_object_info_get_type_init ()">g_object_info_get_type_init</a> <span class="c_punctuation">()</span>
84 </td>
85 </tr>
86 <tr>
87 <td class="function_type">
88 <span class="returnvalue">gint</span>
89 </td>
90 <td class="function_name">
91 <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-n-constants" title="g_object_info_get_n_constants ()">g_object_info_get_n_constants</a> <span class="c_punctuation">()</span>
92 </td>
93 </tr>
94 <tr>
95 <td class="function_type">
96 <a class="link" href="gi-GIConstantInfo.html#GIConstantInfo" title="GIConstantInfo"><span class="returnvalue">GIConstantInfo</span></a> *
97 </td>
98 <td class="function_name">
99 <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-constant" title="g_object_info_get_constant ()">g_object_info_get_constant</a> <span class="c_punctuation">()</span>
100 </td>
101 </tr>
102 <tr>
103 <td class="function_type">
104 <span class="returnvalue">gint</span>
105 </td>
106 <td class="function_name">
107 <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-n-fields" title="g_object_info_get_n_fields ()">g_object_info_get_n_fields</a> <span class="c_punctuation">()</span>
108 </td>
109 </tr>
110 <tr>
111 <td class="function_type">
112 <a class="link" href="gi-GIFieldInfo.html#GIFieldInfo" title="GIFieldInfo"><span class="returnvalue">GIFieldInfo</span></a> *
113 </td>
114 <td class="function_name">
115 <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-field" title="g_object_info_get_field ()">g_object_info_get_field</a> <span class="c_punctuation">()</span>
116 </td>
117 </tr>
118 <tr>
119 <td class="function_type">
120 <span class="returnvalue">gint</span>
121 </td>
122 <td class="function_name">
123 <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-n-interfaces" title="g_object_info_get_n_interfaces ()">g_object_info_get_n_interfaces</a> <span class="c_punctuation">()</span>
124 </td>
125 </tr>
126 <tr>
127 <td class="function_type">
128 <a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="returnvalue">GIInterfaceInfo</span></a> *
129 </td>
130 <td class="function_name">
131 <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-interface" title="g_object_info_get_interface ()">g_object_info_get_interface</a> <span class="c_punctuation">()</span>
132 </td>
133 </tr>
134 <tr>
135 <td class="function_type">
136 <span class="returnvalue">gint</span>
137 </td>
138 <td class="function_name">
139 <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-n-methods" title="g_object_info_get_n_methods ()">g_object_info_get_n_methods</a> <span class="c_punctuation">()</span>
140 </td>
141 </tr>
142 <tr>
143 <td class="function_type">
144 <a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="returnvalue">GIFunctionInfo</span></a> *
145 </td>
146 <td class="function_name">
147 <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-method" title="g_object_info_get_method ()">g_object_info_get_method</a> <span class="c_punctuation">()</span>
148 </td>
149 </tr>
150 <tr>
151 <td class="function_type">
152 <a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="returnvalue">GIFunctionInfo</span></a> *
153 </td>
154 <td class="function_name">
155 <a class="link" href="gi-GIObjectInfo.html#g-object-info-find-method" title="g_object_info_find_method ()">g_object_info_find_method</a> <span class="c_punctuation">()</span>
156 </td>
157 </tr>
158 <tr>
159 <td class="function_type">
160 <a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="returnvalue">GIFunctionInfo</span></a> *
161 </td>
162 <td class="function_name">
163 <a class="link" href="gi-GIObjectInfo.html#g-object-info-find-method-using-interfaces" title="g_object_info_find_method_using_interfaces ()">g_object_info_find_method_using_interfaces</a> <span class="c_punctuation">()</span>
164 </td>
165 </tr>
166 <tr>
167 <td class="function_type">
168 <span class="returnvalue">gint</span>
169 </td>
170 <td class="function_name">
171 <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-n-properties" title="g_object_info_get_n_properties ()">g_object_info_get_n_properties</a> <span class="c_punctuation">()</span>
172 </td>
173 </tr>
174 <tr>
175 <td class="function_type">
176 <a class="link" href="gi-GIPropertyInfo.html#GIPropertyInfo" title="GIPropertyInfo"><span class="returnvalue">GIPropertyInfo</span></a> *
177 </td>
178 <td class="function_name">
179 <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-property" title="g_object_info_get_property ()">g_object_info_get_property</a> <span class="c_punctuation">()</span>
180 </td>
181 </tr>
182 <tr>
183 <td class="function_type">
184 <span class="returnvalue">gint</span>
185 </td>
186 <td class="function_name">
187 <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-n-signals" title="g_object_info_get_n_signals ()">g_object_info_get_n_signals</a> <span class="c_punctuation">()</span>
188 </td>
189 </tr>
190 <tr>
191 <td class="function_type">
192 <a class="link" href="gi-GISignalInfo.html#GISignalInfo" title="GISignalInfo"><span class="returnvalue">GISignalInfo</span></a> *
193 </td>
194 <td class="function_name">
195 <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-signal" title="g_object_info_get_signal ()">g_object_info_get_signal</a> <span class="c_punctuation">()</span>
196 </td>
197 </tr>
198 <tr>
199 <td class="function_type">
200 <a class="link" href="gi-GISignalInfo.html#GISignalInfo" title="GISignalInfo"><span class="returnvalue">GISignalInfo</span></a> *
201 </td>
202 <td class="function_name">
203 <a class="link" href="gi-GIObjectInfo.html#g-object-info-find-signal" title="g_object_info_find_signal ()">g_object_info_find_signal</a> <span class="c_punctuation">()</span>
204 </td>
205 </tr>
206 <tr>
207 <td class="function_type">
208 <span class="returnvalue">gint</span>
209 </td>
210 <td class="function_name">
211 <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-n-vfuncs" title="g_object_info_get_n_vfuncs ()">g_object_info_get_n_vfuncs</a> <span class="c_punctuation">()</span>
212 </td>
213 </tr>
214 <tr>
215 <td class="function_type">
216 <a class="link" href="gi-GIVFuncInfo.html#GIVFuncInfo" title="GIVFuncInfo"><span class="returnvalue">GIVFuncInfo</span></a> *
217 </td>
218 <td class="function_name">
219 <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-vfunc" title="g_object_info_get_vfunc ()">g_object_info_get_vfunc</a> <span class="c_punctuation">()</span>
220 </td>
221 </tr>
222 <tr>
223 <td class="function_type">
224 <a class="link" href="gi-GIVFuncInfo.html#GIVFuncInfo" title="GIVFuncInfo"><span class="returnvalue">GIVFuncInfo</span></a> *
225 </td>
226 <td class="function_name">
227 <a class="link" href="gi-GIObjectInfo.html#g-object-info-find-vfunc" title="g_object_info_find_vfunc ()">g_object_info_find_vfunc</a> <span class="c_punctuation">()</span>
228 </td>
229 </tr>
230 <tr>
231 <td class="function_type">
232 <a class="link" href="gi-GIVFuncInfo.html#GIVFuncInfo" title="GIVFuncInfo"><span class="returnvalue">GIVFuncInfo</span></a> *
233 </td>
234 <td class="function_name">
235 <a class="link" href="gi-GIObjectInfo.html#g-object-info-find-vfunc-using-interfaces" title="g_object_info_find_vfunc_using_interfaces ()">g_object_info_find_vfunc_using_interfaces</a> <span class="c_punctuation">()</span>
236 </td>
237 </tr>
238 <tr>
239 <td class="function_type">
240 <a class="link" href="gi-GIStructInfo.html#GIStructInfo" title="GIStructInfo"><span class="returnvalue">GIStructInfo</span></a> *
241 </td>
242 <td class="function_name">
243 <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-class-struct" title="g_object_info_get_class_struct ()">g_object_info_get_class_struct</a> <span class="c_punctuation">()</span>
244 </td>
245 </tr>
246 <tr>
247 <td class="function_type">const <span class="returnvalue">char</span> *
248 </td>
249 <td class="function_name">
250 <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-ref-function" title="g_object_info_get_ref_function ()">g_object_info_get_ref_function</a> <span class="c_punctuation">()</span>
251 </td>
252 </tr>
253 <tr>
254 <td class="function_type">
255 <a class="link" href="gi-GIObjectInfo.html#GIObjectInfoRefFunction" title="GIObjectInfoRefFunction ()"><span class="returnvalue">GIObjectInfoRefFunction</span></a>
256 </td>
257 <td class="function_name">
258 <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-ref-function-pointer" title="g_object_info_get_ref_function_pointer ()">g_object_info_get_ref_function_pointer</a> <span class="c_punctuation">()</span>
259 </td>
260 </tr>
261 <tr>
262 <td class="function_type">const <span class="returnvalue">char</span> *
263 </td>
264 <td class="function_name">
265 <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-unref-function" title="g_object_info_get_unref_function ()">g_object_info_get_unref_function</a> <span class="c_punctuation">()</span>
266 </td>
267 </tr>
268 <tr>
269 <td class="function_type">
270 <a class="link" href="gi-GIObjectInfo.html#GIObjectInfoUnrefFunction" title="GIObjectInfoUnrefFunction ()"><span class="returnvalue">GIObjectInfoUnrefFunction</span></a>
271 </td>
272 <td class="function_name">
273 <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-unref-function-pointer" title="g_object_info_get_unref_function_pointer ()">g_object_info_get_unref_function_pointer</a> <span class="c_punctuation">()</span>
274 </td>
275 </tr>
276 <tr>
277 <td class="function_type">const <span class="returnvalue">char</span> *
278 </td>
279 <td class="function_name">
280 <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-set-value-function" title="g_object_info_get_set_value_function ()">g_object_info_get_set_value_function</a> <span class="c_punctuation">()</span>
281 </td>
282 </tr>
283 <tr>
284 <td class="function_type">
285 <a class="link" href="gi-GIObjectInfo.html#GIObjectInfoSetValueFunction" title="GIObjectInfoSetValueFunction ()"><span class="returnvalue">GIObjectInfoSetValueFunction</span></a>
286 </td>
287 <td class="function_name">
288 <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-set-value-function-pointer" title="g_object_info_get_set_value_function_pointer ()">g_object_info_get_set_value_function_pointer</a> <span class="c_punctuation">()</span>
289 </td>
290 </tr>
291 <tr>
292 <td class="function_type">const <span class="returnvalue">char</span> *
293 </td>
294 <td class="function_name">
295 <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-get-value-function" title="g_object_info_get_get_value_function ()">g_object_info_get_get_value_function</a> <span class="c_punctuation">()</span>
296 </td>
297 </tr>
298 <tr>
299 <td class="function_type">
300 <a class="link" href="gi-GIObjectInfo.html#GIObjectInfoGetValueFunction" title="GIObjectInfoGetValueFunction ()"><span class="returnvalue">GIObjectInfoGetValueFunction</span></a>
301 </td>
302 <td class="function_name">
303 <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-get-value-function-pointer" title="g_object_info_get_get_value_function_pointer ()">g_object_info_get_get_value_function_pointer</a> <span class="c_punctuation">()</span>
304 </td>
305 </tr>
306 <tr>
307 <td class="function_type">
308 <span class="returnvalue">void</span> *
309 </td>
310 <td class="function_name">
311 <span class="c_punctuation">(</span><a class="link" href="gi-GIObjectInfo.html#GIObjectInfoRefFunction" title="GIObjectInfoRefFunction ()">*GIObjectInfoRefFunction</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
312 </td>
313 </tr>
314 <tr>
315 <td class="function_type">
316 <span class="returnvalue">void</span>
317 </td>
318 <td class="function_name">
319 <span class="c_punctuation">(</span><a class="link" href="gi-GIObjectInfo.html#GIObjectInfoUnrefFunction" title="GIObjectInfoUnrefFunction ()">*GIObjectInfoUnrefFunction</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
320 </td>
321 </tr>
322 <tr>
323 <td class="function_type">
324 <span class="returnvalue">void</span>
325 </td>
326 <td class="function_name">
327 <span class="c_punctuation">(</span><a class="link" href="gi-GIObjectInfo.html#GIObjectInfoSetValueFunction" title="GIObjectInfoSetValueFunction ()">*GIObjectInfoSetValueFunction</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
328 </td>
329 </tr>
330 <tr>
331 <td class="function_type">
332 <span class="returnvalue">void</span> *
333 </td>
334 <td class="function_name">
335 <span class="c_punctuation">(</span><a class="link" href="gi-GIObjectInfo.html#GIObjectInfoGetValueFunction" title="GIObjectInfoGetValueFunction ()">*GIObjectInfoGetValueFunction</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
336 </td>
337 </tr>
338 </tbody>
339 </table></div>
340 </div>
341 <div class="refsect1">
342 <a name="gi-GIObjectInfo.other"></a><h2>Types and Values</h2>
343 <div class="informaltable"><table class="informaltable" width="100%" border="0">
344 <colgroup>
345 <col width="150px" class="name">
346 <col class="description">
347 </colgroup>
348 <tbody><tr>
349 <td class="typedef_keyword">typedef</td>
350 <td class="function_name"><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo">GIObjectInfo</a></td>
351 </tr></tbody>
352 </table></div>
353 </div>
354 <div class="refsect1">
355 <a name="gi-GIObjectInfo.description"></a><h2>Description</h2>
356 <p>GIObjectInfo represents a <span class="type">GObject</span>. This doesn't represent a specific
357 instance of a GObject, instead this represent the object type (eg class).</p>
358 <p>A GObject has methods, fields, properties, signals, interfaces, constants
359 and virtual functions.</p>
360 <div class="refsect1">
361 <a name="gi-giobjectinfo.struct-hierarchy"></a><h2>Struct hierarchy</h2>
362 <pre class="synopsis">
363   <a class="link" href="GIBaseInfo.html" title="GIBaseInfo">GIBaseInfo</a>
364    +----<a class="link" href="gi-GIRegisteredTypeInfo.html" title="GIRegisteredTypeInfo">GIRegisteredTypeInfo</a>
365          +----GIObjectInfo
366 </pre>
367 </div>
368 </div>
369 <div class="refsect1">
370 <a name="gi-GIObjectInfo.functions_details"></a><h2>Functions</h2>
371 <div class="refsect2">
372 <a name="GI-IS-OBJECT-INFO:CAPS"></a><h3>GI_IS_OBJECT_INFO()</h3>
373 <pre class="programlisting">#define             GI_IS_OBJECT_INFO(info)</pre>
374 <p>Checks if <em class="parameter"><code>info</code></em>
375  is a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a>.</p>
376 <div class="refsect3">
377 <a name="GI-IS-OBJECT-INFO.parameters"></a><h4>Parameters</h4>
378 <div class="informaltable"><table class="informaltable" width="100%" border="0">
379 <colgroup>
380 <col width="150px" class="parameters_name">
381 <col class="parameters_description">
382 <col width="200px" class="parameters_annotations">
383 </colgroup>
384 <tbody><tr>
385 <td class="parameter_name"><p>info</p></td>
386 <td class="parameter_description"><p>an info structure</p></td>
387 <td class="parameter_annotations"> </td>
388 </tr></tbody>
389 </table></div>
390 </div>
391 </div>
392 <hr>
393 <div class="refsect2">
394 <a name="g-object-info-get-abstract"></a><h3>g_object_info_get_abstract ()</h3>
395 <pre class="programlisting"><span class="returnvalue">gboolean</span>
396 g_object_info_get_abstract (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>);</pre>
397 <p>Obtain if the object type is an abstract type, eg if it cannot be
398 instantiated</p>
399 <div class="refsect3">
400 <a name="g-object-info-get-abstract.parameters"></a><h4>Parameters</h4>
401 <div class="informaltable"><table class="informaltable" width="100%" border="0">
402 <colgroup>
403 <col width="150px" class="parameters_name">
404 <col class="parameters_description">
405 <col width="200px" class="parameters_annotations">
406 </colgroup>
407 <tbody><tr>
408 <td class="parameter_name"><p>info</p></td>
409 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
410 <td class="parameter_annotations"> </td>
411 </tr></tbody>
412 </table></div>
413 </div>
414 <div class="refsect3">
415 <a name="g-object-info-get-abstract.returns"></a><h4>Returns</h4>
416 <p> <code class="literal">TRUE</code> if the object type is abstract</p>
417 </div>
418 </div>
419 <hr>
420 <div class="refsect2">
421 <a name="g-object-info-get-fundamental"></a><h3>g_object_info_get_fundamental ()</h3>
422 <pre class="programlisting"><span class="returnvalue">gboolean</span>
423 g_object_info_get_fundamental (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>);</pre>
424 <p>Obtain if the object type is of a fundamental type which is not
425 G_TYPE_OBJECT. This is mostly for supporting GstMiniObject.</p>
426 <div class="refsect3">
427 <a name="g-object-info-get-fundamental.parameters"></a><h4>Parameters</h4>
428 <div class="informaltable"><table class="informaltable" width="100%" border="0">
429 <colgroup>
430 <col width="150px" class="parameters_name">
431 <col class="parameters_description">
432 <col width="200px" class="parameters_annotations">
433 </colgroup>
434 <tbody><tr>
435 <td class="parameter_name"><p>info</p></td>
436 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
437 <td class="parameter_annotations"> </td>
438 </tr></tbody>
439 </table></div>
440 </div>
441 <div class="refsect3">
442 <a name="g-object-info-get-fundamental.returns"></a><h4>Returns</h4>
443 <p> <code class="literal">TRUE</code> if the object type is a fundamental type</p>
444 </div>
445 </div>
446 <hr>
447 <div class="refsect2">
448 <a name="g-object-info-get-parent"></a><h3>g_object_info_get_parent ()</h3>
449 <pre class="programlisting"><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="returnvalue">GIObjectInfo</span></a> *
450 g_object_info_get_parent (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>);</pre>
451 <p>Obtain the parent of the object type.</p>
452 <div class="refsect3">
453 <a name="g-object-info-get-parent.parameters"></a><h4>Parameters</h4>
454 <div class="informaltable"><table class="informaltable" width="100%" border="0">
455 <colgroup>
456 <col width="150px" class="parameters_name">
457 <col class="parameters_description">
458 <col width="200px" class="parameters_annotations">
459 </colgroup>
460 <tbody><tr>
461 <td class="parameter_name"><p>info</p></td>
462 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
463 <td class="parameter_annotations"> </td>
464 </tr></tbody>
465 </table></div>
466 </div>
467 <div class="refsect3">
468 <a name="g-object-info-get-parent.returns"></a><h4>Returns</h4>
469 <p>the <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a>. Free the struct by calling
470 <a class="link" href="GIBaseInfo.html#g-base-info-unref" title="g_base_info_unref ()"><code class="function">g_base_info_unref()</code></a> when done. </p>
471 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
472 </div>
473 </div>
474 <hr>
475 <div class="refsect2">
476 <a name="g-object-info-get-type-name"></a><h3>g_object_info_get_type_name ()</h3>
477 <pre class="programlisting">const <span class="returnvalue">gchar</span> *
478 g_object_info_get_type_name (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>);</pre>
479 <p>Obtain the name of the objects class/type.</p>
480 <div class="refsect3">
481 <a name="g-object-info-get-type-name.parameters"></a><h4>Parameters</h4>
482 <div class="informaltable"><table class="informaltable" width="100%" border="0">
483 <colgroup>
484 <col width="150px" class="parameters_name">
485 <col class="parameters_description">
486 <col width="200px" class="parameters_annotations">
487 </colgroup>
488 <tbody><tr>
489 <td class="parameter_name"><p>info</p></td>
490 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
491 <td class="parameter_annotations"> </td>
492 </tr></tbody>
493 </table></div>
494 </div>
495 <div class="refsect3">
496 <a name="g-object-info-get-type-name.returns"></a><h4>Returns</h4>
497 <p> name of the objects type</p>
498 </div>
499 </div>
500 <hr>
501 <div class="refsect2">
502 <a name="g-object-info-get-type-init"></a><h3>g_object_info_get_type_init ()</h3>
503 <pre class="programlisting">const <span class="returnvalue">gchar</span> *
504 g_object_info_get_type_init (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>);</pre>
505 <p>Obtain the function which when called will return the GType
506 function for which this object type is registered.</p>
507 <div class="refsect3">
508 <a name="g-object-info-get-type-init.parameters"></a><h4>Parameters</h4>
509 <div class="informaltable"><table class="informaltable" width="100%" border="0">
510 <colgroup>
511 <col width="150px" class="parameters_name">
512 <col class="parameters_description">
513 <col width="200px" class="parameters_annotations">
514 </colgroup>
515 <tbody><tr>
516 <td class="parameter_name"><p>info</p></td>
517 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
518 <td class="parameter_annotations"> </td>
519 </tr></tbody>
520 </table></div>
521 </div>
522 <div class="refsect3">
523 <a name="g-object-info-get-type-init.returns"></a><h4>Returns</h4>
524 <p> the type init function</p>
525 </div>
526 </div>
527 <hr>
528 <div class="refsect2">
529 <a name="g-object-info-get-n-constants"></a><h3>g_object_info_get_n_constants ()</h3>
530 <pre class="programlisting"><span class="returnvalue">gint</span>
531 g_object_info_get_n_constants (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>);</pre>
532 <p>Obtain the number of constants that this object type has.</p>
533 <div class="refsect3">
534 <a name="g-object-info-get-n-constants.parameters"></a><h4>Parameters</h4>
535 <div class="informaltable"><table class="informaltable" width="100%" border="0">
536 <colgroup>
537 <col width="150px" class="parameters_name">
538 <col class="parameters_description">
539 <col width="200px" class="parameters_annotations">
540 </colgroup>
541 <tbody><tr>
542 <td class="parameter_name"><p>info</p></td>
543 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
544 <td class="parameter_annotations"> </td>
545 </tr></tbody>
546 </table></div>
547 </div>
548 <div class="refsect3">
549 <a name="g-object-info-get-n-constants.returns"></a><h4>Returns</h4>
550 <p> number of constants</p>
551 </div>
552 </div>
553 <hr>
554 <div class="refsect2">
555 <a name="g-object-info-get-constant"></a><h3>g_object_info_get_constant ()</h3>
556 <pre class="programlisting"><a class="link" href="gi-GIConstantInfo.html#GIConstantInfo" title="GIConstantInfo"><span class="returnvalue">GIConstantInfo</span></a> *
557 g_object_info_get_constant (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>,
558                             <em class="parameter"><code><span class="type">gint</span> n</code></em>);</pre>
559 <p>Obtain an object type constant at index <em class="parameter"><code>n</code></em>
560 .</p>
561 <div class="refsect3">
562 <a name="g-object-info-get-constant.parameters"></a><h4>Parameters</h4>
563 <div class="informaltable"><table class="informaltable" width="100%" border="0">
564 <colgroup>
565 <col width="150px" class="parameters_name">
566 <col class="parameters_description">
567 <col width="200px" class="parameters_annotations">
568 </colgroup>
569 <tbody>
570 <tr>
571 <td class="parameter_name"><p>info</p></td>
572 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
573 <td class="parameter_annotations"> </td>
574 </tr>
575 <tr>
576 <td class="parameter_name"><p>n</p></td>
577 <td class="parameter_description"><p>index of constant to get</p></td>
578 <td class="parameter_annotations"> </td>
579 </tr>
580 </tbody>
581 </table></div>
582 </div>
583 <div class="refsect3">
584 <a name="g-object-info-get-constant.returns"></a><h4>Returns</h4>
585 <p>the <a class="link" href="gi-GIConstantInfo.html#GIConstantInfo" title="GIConstantInfo"><span class="type">GIConstantInfo</span></a>. Free the struct by calling
586 <a class="link" href="GIBaseInfo.html#g-base-info-unref" title="g_base_info_unref ()"><code class="function">g_base_info_unref()</code></a> when done. </p>
587 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
588 </div>
589 </div>
590 <hr>
591 <div class="refsect2">
592 <a name="g-object-info-get-n-fields"></a><h3>g_object_info_get_n_fields ()</h3>
593 <pre class="programlisting"><span class="returnvalue">gint</span>
594 g_object_info_get_n_fields (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>);</pre>
595 <p>Obtain the number of fields that this object type has.</p>
596 <div class="refsect3">
597 <a name="g-object-info-get-n-fields.parameters"></a><h4>Parameters</h4>
598 <div class="informaltable"><table class="informaltable" width="100%" border="0">
599 <colgroup>
600 <col width="150px" class="parameters_name">
601 <col class="parameters_description">
602 <col width="200px" class="parameters_annotations">
603 </colgroup>
604 <tbody><tr>
605 <td class="parameter_name"><p>info</p></td>
606 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
607 <td class="parameter_annotations"> </td>
608 </tr></tbody>
609 </table></div>
610 </div>
611 <div class="refsect3">
612 <a name="g-object-info-get-n-fields.returns"></a><h4>Returns</h4>
613 <p> number of fields</p>
614 </div>
615 </div>
616 <hr>
617 <div class="refsect2">
618 <a name="g-object-info-get-field"></a><h3>g_object_info_get_field ()</h3>
619 <pre class="programlisting"><a class="link" href="gi-GIFieldInfo.html#GIFieldInfo" title="GIFieldInfo"><span class="returnvalue">GIFieldInfo</span></a> *
620 g_object_info_get_field (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>,
621                          <em class="parameter"><code><span class="type">gint</span> n</code></em>);</pre>
622 <p>Obtain an object type field at index <em class="parameter"><code>n</code></em>
623 .</p>
624 <div class="refsect3">
625 <a name="g-object-info-get-field.parameters"></a><h4>Parameters</h4>
626 <div class="informaltable"><table class="informaltable" width="100%" border="0">
627 <colgroup>
628 <col width="150px" class="parameters_name">
629 <col class="parameters_description">
630 <col width="200px" class="parameters_annotations">
631 </colgroup>
632 <tbody>
633 <tr>
634 <td class="parameter_name"><p>info</p></td>
635 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
636 <td class="parameter_annotations"> </td>
637 </tr>
638 <tr>
639 <td class="parameter_name"><p>n</p></td>
640 <td class="parameter_description"><p>index of field to get</p></td>
641 <td class="parameter_annotations"> </td>
642 </tr>
643 </tbody>
644 </table></div>
645 </div>
646 <div class="refsect3">
647 <a name="g-object-info-get-field.returns"></a><h4>Returns</h4>
648 <p>the <a class="link" href="gi-GIFieldInfo.html#GIFieldInfo" title="GIFieldInfo"><span class="type">GIFieldInfo</span></a>. Free the struct by calling
649 <a class="link" href="GIBaseInfo.html#g-base-info-unref" title="g_base_info_unref ()"><code class="function">g_base_info_unref()</code></a> when done. </p>
650 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
651 </div>
652 </div>
653 <hr>
654 <div class="refsect2">
655 <a name="g-object-info-get-n-interfaces"></a><h3>g_object_info_get_n_interfaces ()</h3>
656 <pre class="programlisting"><span class="returnvalue">gint</span>
657 g_object_info_get_n_interfaces (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>);</pre>
658 <p>Obtain the number of interfaces that this object type has.</p>
659 <div class="refsect3">
660 <a name="g-object-info-get-n-interfaces.parameters"></a><h4>Parameters</h4>
661 <div class="informaltable"><table class="informaltable" width="100%" border="0">
662 <colgroup>
663 <col width="150px" class="parameters_name">
664 <col class="parameters_description">
665 <col width="200px" class="parameters_annotations">
666 </colgroup>
667 <tbody><tr>
668 <td class="parameter_name"><p>info</p></td>
669 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
670 <td class="parameter_annotations"> </td>
671 </tr></tbody>
672 </table></div>
673 </div>
674 <div class="refsect3">
675 <a name="g-object-info-get-n-interfaces.returns"></a><h4>Returns</h4>
676 <p> number of interfaces</p>
677 </div>
678 </div>
679 <hr>
680 <div class="refsect2">
681 <a name="g-object-info-get-interface"></a><h3>g_object_info_get_interface ()</h3>
682 <pre class="programlisting"><a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="returnvalue">GIInterfaceInfo</span></a> *
683 g_object_info_get_interface (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>,
684                              <em class="parameter"><code><span class="type">gint</span> n</code></em>);</pre>
685 <p>Obtain an object type interface at index <em class="parameter"><code>n</code></em>
686 .</p>
687 <div class="refsect3">
688 <a name="g-object-info-get-interface.parameters"></a><h4>Parameters</h4>
689 <div class="informaltable"><table class="informaltable" width="100%" border="0">
690 <colgroup>
691 <col width="150px" class="parameters_name">
692 <col class="parameters_description">
693 <col width="200px" class="parameters_annotations">
694 </colgroup>
695 <tbody>
696 <tr>
697 <td class="parameter_name"><p>info</p></td>
698 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
699 <td class="parameter_annotations"> </td>
700 </tr>
701 <tr>
702 <td class="parameter_name"><p>n</p></td>
703 <td class="parameter_description"><p>index of interface to get</p></td>
704 <td class="parameter_annotations"> </td>
705 </tr>
706 </tbody>
707 </table></div>
708 </div>
709 <div class="refsect3">
710 <a name="g-object-info-get-interface.returns"></a><h4>Returns</h4>
711 <p>the <a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a>. Free the struct by calling
712 <a class="link" href="GIBaseInfo.html#g-base-info-unref" title="g_base_info_unref ()"><code class="function">g_base_info_unref()</code></a> when done. </p>
713 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
714 </div>
715 </div>
716 <hr>
717 <div class="refsect2">
718 <a name="g-object-info-get-n-methods"></a><h3>g_object_info_get_n_methods ()</h3>
719 <pre class="programlisting"><span class="returnvalue">gint</span>
720 g_object_info_get_n_methods (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>);</pre>
721 <p>Obtain the number of methods that this object type has.</p>
722 <div class="refsect3">
723 <a name="g-object-info-get-n-methods.parameters"></a><h4>Parameters</h4>
724 <div class="informaltable"><table class="informaltable" width="100%" border="0">
725 <colgroup>
726 <col width="150px" class="parameters_name">
727 <col class="parameters_description">
728 <col width="200px" class="parameters_annotations">
729 </colgroup>
730 <tbody><tr>
731 <td class="parameter_name"><p>info</p></td>
732 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
733 <td class="parameter_annotations"> </td>
734 </tr></tbody>
735 </table></div>
736 </div>
737 <div class="refsect3">
738 <a name="g-object-info-get-n-methods.returns"></a><h4>Returns</h4>
739 <p> number of methods</p>
740 </div>
741 </div>
742 <hr>
743 <div class="refsect2">
744 <a name="g-object-info-get-method"></a><h3>g_object_info_get_method ()</h3>
745 <pre class="programlisting"><a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="returnvalue">GIFunctionInfo</span></a> *
746 g_object_info_get_method (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>,
747                           <em class="parameter"><code><span class="type">gint</span> n</code></em>);</pre>
748 <p>Obtain an object type method at index <em class="parameter"><code>n</code></em>
749 .</p>
750 <div class="refsect3">
751 <a name="g-object-info-get-method.parameters"></a><h4>Parameters</h4>
752 <div class="informaltable"><table class="informaltable" width="100%" border="0">
753 <colgroup>
754 <col width="150px" class="parameters_name">
755 <col class="parameters_description">
756 <col width="200px" class="parameters_annotations">
757 </colgroup>
758 <tbody>
759 <tr>
760 <td class="parameter_name"><p>info</p></td>
761 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
762 <td class="parameter_annotations"> </td>
763 </tr>
764 <tr>
765 <td class="parameter_name"><p>n</p></td>
766 <td class="parameter_description"><p>index of method to get</p></td>
767 <td class="parameter_annotations"> </td>
768 </tr>
769 </tbody>
770 </table></div>
771 </div>
772 <div class="refsect3">
773 <a name="g-object-info-get-method.returns"></a><h4>Returns</h4>
774 <p>the <a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="type">GIFunctionInfo</span></a>. Free the struct by calling
775 <a class="link" href="GIBaseInfo.html#g-base-info-unref" title="g_base_info_unref ()"><code class="function">g_base_info_unref()</code></a> when done. </p>
776 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
777 </div>
778 </div>
779 <hr>
780 <div class="refsect2">
781 <a name="g-object-info-find-method"></a><h3>g_object_info_find_method ()</h3>
782 <pre class="programlisting"><a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="returnvalue">GIFunctionInfo</span></a> *
783 g_object_info_find_method (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>,
784                            <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre>
785 <p>Obtain a method of the object type given a <em class="parameter"><code>name</code></em>
786 . <code class="literal">NULL</code> will be
787 returned if there's no method available with that name.</p>
788 <div class="refsect3">
789 <a name="g-object-info-find-method.parameters"></a><h4>Parameters</h4>
790 <div class="informaltable"><table class="informaltable" width="100%" border="0">
791 <colgroup>
792 <col width="150px" class="parameters_name">
793 <col class="parameters_description">
794 <col width="200px" class="parameters_annotations">
795 </colgroup>
796 <tbody>
797 <tr>
798 <td class="parameter_name"><p>info</p></td>
799 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
800 <td class="parameter_annotations"> </td>
801 </tr>
802 <tr>
803 <td class="parameter_name"><p>name</p></td>
804 <td class="parameter_description"><p>name of method to obtain</p></td>
805 <td class="parameter_annotations"> </td>
806 </tr>
807 </tbody>
808 </table></div>
809 </div>
810 <div class="refsect3">
811 <a name="g-object-info-find-method.returns"></a><h4>Returns</h4>
812 <p>the <a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="type">GIFunctionInfo</span></a>. Free the struct by calling
813 <a class="link" href="GIBaseInfo.html#g-base-info-unref" title="g_base_info_unref ()"><code class="function">g_base_info_unref()</code></a> when done. </p>
814 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
815 </div>
816 </div>
817 <hr>
818 <div class="refsect2">
819 <a name="g-object-info-find-method-using-interfaces"></a><h3>g_object_info_find_method_using_interfaces ()</h3>
820 <pre class="programlisting"><a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="returnvalue">GIFunctionInfo</span></a> *
821 g_object_info_find_method_using_interfaces
822                                (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>,
823                                 <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
824                                 <em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> **implementor</code></em>);</pre>
825 <p>Obtain a method of the object given a <em class="parameter"><code>name</code></em>
826 , searching both the
827 object <em class="parameter"><code>info</code></em>
828  and any interfaces it implements.  <code class="literal">NULL</code> will be
829 returned if there's no method available with that name.</p>
830 <p>Note that this function does *not* search parent classes; you will have
831 to chain up if that's desired.</p>
832 <div class="refsect3">
833 <a name="g-object-info-find-method-using-interfaces.parameters"></a><h4>Parameters</h4>
834 <div class="informaltable"><table class="informaltable" width="100%" border="0">
835 <colgroup>
836 <col width="150px" class="parameters_name">
837 <col class="parameters_description">
838 <col width="200px" class="parameters_annotations">
839 </colgroup>
840 <tbody>
841 <tr>
842 <td class="parameter_name"><p>info</p></td>
843 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
844 <td class="parameter_annotations"> </td>
845 </tr>
846 <tr>
847 <td class="parameter_name"><p>name</p></td>
848 <td class="parameter_description"><p>name of method to obtain</p></td>
849 <td class="parameter_annotations"> </td>
850 </tr>
851 <tr>
852 <td class="parameter_name"><p>implementor</p></td>
853 <td class="parameter_description"><p>The implementor of the interface. </p></td>
854 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
855 </tr>
856 </tbody>
857 </table></div>
858 </div>
859 <div class="refsect3">
860 <a name="g-object-info-find-method-using-interfaces.returns"></a><h4>Returns</h4>
861 <p>the <a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="type">GIFunctionInfo</span></a>. Free the struct by calling
862 <a class="link" href="GIBaseInfo.html#g-base-info-unref" title="g_base_info_unref ()"><code class="function">g_base_info_unref()</code></a> when done. </p>
863 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
864 </div>
865 </div>
866 <hr>
867 <div class="refsect2">
868 <a name="g-object-info-get-n-properties"></a><h3>g_object_info_get_n_properties ()</h3>
869 <pre class="programlisting"><span class="returnvalue">gint</span>
870 g_object_info_get_n_properties (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>);</pre>
871 <p>Obtain the number of properties that this object type has.</p>
872 <div class="refsect3">
873 <a name="g-object-info-get-n-properties.parameters"></a><h4>Parameters</h4>
874 <div class="informaltable"><table class="informaltable" width="100%" border="0">
875 <colgroup>
876 <col width="150px" class="parameters_name">
877 <col class="parameters_description">
878 <col width="200px" class="parameters_annotations">
879 </colgroup>
880 <tbody><tr>
881 <td class="parameter_name"><p>info</p></td>
882 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
883 <td class="parameter_annotations"> </td>
884 </tr></tbody>
885 </table></div>
886 </div>
887 <div class="refsect3">
888 <a name="g-object-info-get-n-properties.returns"></a><h4>Returns</h4>
889 <p> number of properties</p>
890 </div>
891 </div>
892 <hr>
893 <div class="refsect2">
894 <a name="g-object-info-get-property"></a><h3>g_object_info_get_property ()</h3>
895 <pre class="programlisting"><a class="link" href="gi-GIPropertyInfo.html#GIPropertyInfo" title="GIPropertyInfo"><span class="returnvalue">GIPropertyInfo</span></a> *
896 g_object_info_get_property (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>,
897                             <em class="parameter"><code><span class="type">gint</span> n</code></em>);</pre>
898 <p>Obtain an object type property at index <em class="parameter"><code>n</code></em>
899 .</p>
900 <div class="refsect3">
901 <a name="g-object-info-get-property.parameters"></a><h4>Parameters</h4>
902 <div class="informaltable"><table class="informaltable" width="100%" border="0">
903 <colgroup>
904 <col width="150px" class="parameters_name">
905 <col class="parameters_description">
906 <col width="200px" class="parameters_annotations">
907 </colgroup>
908 <tbody>
909 <tr>
910 <td class="parameter_name"><p>info</p></td>
911 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
912 <td class="parameter_annotations"> </td>
913 </tr>
914 <tr>
915 <td class="parameter_name"><p>n</p></td>
916 <td class="parameter_description"><p>index of property to get</p></td>
917 <td class="parameter_annotations"> </td>
918 </tr>
919 </tbody>
920 </table></div>
921 </div>
922 <div class="refsect3">
923 <a name="g-object-info-get-property.returns"></a><h4>Returns</h4>
924 <p>the <a class="link" href="gi-GIPropertyInfo.html#GIPropertyInfo" title="GIPropertyInfo"><span class="type">GIPropertyInfo</span></a>. Free the struct by calling
925 <a class="link" href="GIBaseInfo.html#g-base-info-unref" title="g_base_info_unref ()"><code class="function">g_base_info_unref()</code></a> when done. </p>
926 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
927 </div>
928 </div>
929 <hr>
930 <div class="refsect2">
931 <a name="g-object-info-get-n-signals"></a><h3>g_object_info_get_n_signals ()</h3>
932 <pre class="programlisting"><span class="returnvalue">gint</span>
933 g_object_info_get_n_signals (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>);</pre>
934 <p>Obtain the number of signals that this object type has.</p>
935 <div class="refsect3">
936 <a name="g-object-info-get-n-signals.parameters"></a><h4>Parameters</h4>
937 <div class="informaltable"><table class="informaltable" width="100%" border="0">
938 <colgroup>
939 <col width="150px" class="parameters_name">
940 <col class="parameters_description">
941 <col width="200px" class="parameters_annotations">
942 </colgroup>
943 <tbody><tr>
944 <td class="parameter_name"><p>info</p></td>
945 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
946 <td class="parameter_annotations"> </td>
947 </tr></tbody>
948 </table></div>
949 </div>
950 <div class="refsect3">
951 <a name="g-object-info-get-n-signals.returns"></a><h4>Returns</h4>
952 <p> number of signals</p>
953 </div>
954 </div>
955 <hr>
956 <div class="refsect2">
957 <a name="g-object-info-get-signal"></a><h3>g_object_info_get_signal ()</h3>
958 <pre class="programlisting"><a class="link" href="gi-GISignalInfo.html#GISignalInfo" title="GISignalInfo"><span class="returnvalue">GISignalInfo</span></a> *
959 g_object_info_get_signal (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>,
960                           <em class="parameter"><code><span class="type">gint</span> n</code></em>);</pre>
961 <p>Obtain an object type signal at index <em class="parameter"><code>n</code></em>
962 .</p>
963 <div class="refsect3">
964 <a name="g-object-info-get-signal.parameters"></a><h4>Parameters</h4>
965 <div class="informaltable"><table class="informaltable" width="100%" border="0">
966 <colgroup>
967 <col width="150px" class="parameters_name">
968 <col class="parameters_description">
969 <col width="200px" class="parameters_annotations">
970 </colgroup>
971 <tbody>
972 <tr>
973 <td class="parameter_name"><p>info</p></td>
974 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
975 <td class="parameter_annotations"> </td>
976 </tr>
977 <tr>
978 <td class="parameter_name"><p>n</p></td>
979 <td class="parameter_description"><p>index of signal to get</p></td>
980 <td class="parameter_annotations"> </td>
981 </tr>
982 </tbody>
983 </table></div>
984 </div>
985 <div class="refsect3">
986 <a name="g-object-info-get-signal.returns"></a><h4>Returns</h4>
987 <p>the <a class="link" href="gi-GISignalInfo.html#GISignalInfo" title="GISignalInfo"><span class="type">GISignalInfo</span></a>. Free the struct by calling
988 <a class="link" href="GIBaseInfo.html#g-base-info-unref" title="g_base_info_unref ()"><code class="function">g_base_info_unref()</code></a> when done. </p>
989 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
990 </div>
991 </div>
992 <hr>
993 <div class="refsect2">
994 <a name="g-object-info-find-signal"></a><h3>g_object_info_find_signal ()</h3>
995 <pre class="programlisting"><a class="link" href="gi-GISignalInfo.html#GISignalInfo" title="GISignalInfo"><span class="returnvalue">GISignalInfo</span></a> *
996 g_object_info_find_signal (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>,
997                            <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre>
998 <p>TODO</p>
999 <div class="refsect3">
1000 <a name="g-object-info-find-signal.parameters"></a><h4>Parameters</h4>
1001 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1002 <colgroup>
1003 <col width="150px" class="parameters_name">
1004 <col class="parameters_description">
1005 <col width="200px" class="parameters_annotations">
1006 </colgroup>
1007 <tbody>
1008 <tr>
1009 <td class="parameter_name"><p>info</p></td>
1010 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
1011 <td class="parameter_annotations"> </td>
1012 </tr>
1013 <tr>
1014 <td class="parameter_name"><p>name</p></td>
1015 <td class="parameter_description"><p>Name of signal</p></td>
1016 <td class="parameter_annotations"> </td>
1017 </tr>
1018 </tbody>
1019 </table></div>
1020 </div>
1021 <div class="refsect3">
1022 <a name="g-object-info-find-signal.returns"></a><h4>Returns</h4>
1023 <p>Info for the signal with name <em class="parameter"><code>name</code></em>
1024 in <em class="parameter"><code>info</code></em>
1025 , or <code class="literal">NULL</code> on failure. </p>
1026 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
1027 </div>
1028 </div>
1029 <hr>
1030 <div class="refsect2">
1031 <a name="g-object-info-get-n-vfuncs"></a><h3>g_object_info_get_n_vfuncs ()</h3>
1032 <pre class="programlisting"><span class="returnvalue">gint</span>
1033 g_object_info_get_n_vfuncs (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>);</pre>
1034 <p>Obtain the number of virtual functions that this object type has.</p>
1035 <div class="refsect3">
1036 <a name="g-object-info-get-n-vfuncs.parameters"></a><h4>Parameters</h4>
1037 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1038 <colgroup>
1039 <col width="150px" class="parameters_name">
1040 <col class="parameters_description">
1041 <col width="200px" class="parameters_annotations">
1042 </colgroup>
1043 <tbody><tr>
1044 <td class="parameter_name"><p>info</p></td>
1045 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
1046 <td class="parameter_annotations"> </td>
1047 </tr></tbody>
1048 </table></div>
1049 </div>
1050 <div class="refsect3">
1051 <a name="g-object-info-get-n-vfuncs.returns"></a><h4>Returns</h4>
1052 <p> number of virtual functions</p>
1053 </div>
1054 </div>
1055 <hr>
1056 <div class="refsect2">
1057 <a name="g-object-info-get-vfunc"></a><h3>g_object_info_get_vfunc ()</h3>
1058 <pre class="programlisting"><a class="link" href="gi-GIVFuncInfo.html#GIVFuncInfo" title="GIVFuncInfo"><span class="returnvalue">GIVFuncInfo</span></a> *
1059 g_object_info_get_vfunc (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>,
1060                          <em class="parameter"><code><span class="type">gint</span> n</code></em>);</pre>
1061 <p>Obtain an object type virtual function at index <em class="parameter"><code>n</code></em>
1062 .</p>
1063 <div class="refsect3">
1064 <a name="g-object-info-get-vfunc.parameters"></a><h4>Parameters</h4>
1065 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1066 <colgroup>
1067 <col width="150px" class="parameters_name">
1068 <col class="parameters_description">
1069 <col width="200px" class="parameters_annotations">
1070 </colgroup>
1071 <tbody>
1072 <tr>
1073 <td class="parameter_name"><p>info</p></td>
1074 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
1075 <td class="parameter_annotations"> </td>
1076 </tr>
1077 <tr>
1078 <td class="parameter_name"><p>n</p></td>
1079 <td class="parameter_description"><p>index of virtual function to get</p></td>
1080 <td class="parameter_annotations"> </td>
1081 </tr>
1082 </tbody>
1083 </table></div>
1084 </div>
1085 <div class="refsect3">
1086 <a name="g-object-info-get-vfunc.returns"></a><h4>Returns</h4>
1087 <p>the <a class="link" href="gi-GIVFuncInfo.html#GIVFuncInfo" title="GIVFuncInfo"><span class="type">GIVFuncInfo</span></a>. Free the struct by calling
1088 <a class="link" href="GIBaseInfo.html#g-base-info-unref" title="g_base_info_unref ()"><code class="function">g_base_info_unref()</code></a> when done. </p>
1089 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
1090 </div>
1091 </div>
1092 <hr>
1093 <div class="refsect2">
1094 <a name="g-object-info-find-vfunc"></a><h3>g_object_info_find_vfunc ()</h3>
1095 <pre class="programlisting"><a class="link" href="gi-GIVFuncInfo.html#GIVFuncInfo" title="GIVFuncInfo"><span class="returnvalue">GIVFuncInfo</span></a> *
1096 g_object_info_find_vfunc (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>,
1097                           <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre>
1098 <p>Locate a virtual function slot with name <em class="parameter"><code>name</code></em>
1099 . Note that the namespace
1100 for virtuals is distinct from that of methods; there may or may not be
1101 a concrete method associated for a virtual. If there is one, it may
1102 be retrieved using <a class="link" href="gi-GIVFuncInfo.html#g-vfunc-info-get-invoker" title="g_vfunc_info_get_invoker ()"><code class="function">g_vfunc_info_get_invoker()</code></a>, otherwise <code class="literal">NULL</code> will be
1103 returned.
1104 See the documentation for <a class="link" href="gi-GIVFuncInfo.html#g-vfunc-info-get-invoker" title="g_vfunc_info_get_invoker ()"><code class="function">g_vfunc_info_get_invoker()</code></a> for more
1105 information on invoking virtuals.</p>
1106 <div class="refsect3">
1107 <a name="g-object-info-find-vfunc.parameters"></a><h4>Parameters</h4>
1108 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1109 <colgroup>
1110 <col width="150px" class="parameters_name">
1111 <col class="parameters_description">
1112 <col width="200px" class="parameters_annotations">
1113 </colgroup>
1114 <tbody>
1115 <tr>
1116 <td class="parameter_name"><p>info</p></td>
1117 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
1118 <td class="parameter_annotations"> </td>
1119 </tr>
1120 <tr>
1121 <td class="parameter_name"><p>name</p></td>
1122 <td class="parameter_description"><p>The name of a virtual function to find.</p></td>
1123 <td class="parameter_annotations"> </td>
1124 </tr>
1125 </tbody>
1126 </table></div>
1127 </div>
1128 <div class="refsect3">
1129 <a name="g-object-info-find-vfunc.returns"></a><h4>Returns</h4>
1130 <p>the <a class="link" href="gi-GIVFuncInfo.html#GIVFuncInfo" title="GIVFuncInfo"><span class="type">GIVFuncInfo</span></a>, or <code class="literal">NULL</code>. Free it with
1131 <a class="link" href="GIBaseInfo.html#g-base-info-unref" title="g_base_info_unref ()"><code class="function">g_base_info_unref()</code></a> when done. </p>
1132 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
1133 </div>
1134 </div>
1135 <hr>
1136 <div class="refsect2">
1137 <a name="g-object-info-find-vfunc-using-interfaces"></a><h3>g_object_info_find_vfunc_using_interfaces ()</h3>
1138 <pre class="programlisting"><a class="link" href="gi-GIVFuncInfo.html#GIVFuncInfo" title="GIVFuncInfo"><span class="returnvalue">GIVFuncInfo</span></a> *
1139 g_object_info_find_vfunc_using_interfaces
1140                                (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>,
1141                                 <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
1142                                 <em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> **implementor</code></em>);</pre>
1143 <p>Locate a virtual function slot with name <em class="parameter"><code>name</code></em>
1144 , searching both the object
1145 <em class="parameter"><code>info</code></em>
1146  and any interfaces it implements.  Note that the namespace for
1147 virtuals is distinct from that of methods; there may or may not be a
1148 concrete method associated for a virtual. If there is one, it may be
1149 retrieved using <a class="link" href="gi-GIVFuncInfo.html#g-vfunc-info-get-invoker" title="g_vfunc_info_get_invoker ()"><code class="function">g_vfunc_info_get_invoker()</code></a>, otherwise <code class="literal">NULL</code> will be
1150 returned.</p>
1151 <p>Note that this function does *not* search parent classes; you will have
1152 to chain up if that's desired.</p>
1153 <div class="refsect3">
1154 <a name="g-object-info-find-vfunc-using-interfaces.parameters"></a><h4>Parameters</h4>
1155 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1156 <colgroup>
1157 <col width="150px" class="parameters_name">
1158 <col class="parameters_description">
1159 <col width="200px" class="parameters_annotations">
1160 </colgroup>
1161 <tbody>
1162 <tr>
1163 <td class="parameter_name"><p>info</p></td>
1164 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
1165 <td class="parameter_annotations"> </td>
1166 </tr>
1167 <tr>
1168 <td class="parameter_name"><p>name</p></td>
1169 <td class="parameter_description"><p>name of vfunc to obtain</p></td>
1170 <td class="parameter_annotations"> </td>
1171 </tr>
1172 <tr>
1173 <td class="parameter_name"><p>implementor</p></td>
1174 <td class="parameter_description"><p>The implementor of the interface. </p></td>
1175 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
1176 </tr>
1177 </tbody>
1178 </table></div>
1179 </div>
1180 <div class="refsect3">
1181 <a name="g-object-info-find-vfunc-using-interfaces.returns"></a><h4>Returns</h4>
1182 <p>the <a class="link" href="gi-GIVFuncInfo.html#GIVFuncInfo" title="GIVFuncInfo"><span class="type">GIVFuncInfo</span></a>. Free the struct by calling
1183 <a class="link" href="GIBaseInfo.html#g-base-info-unref" title="g_base_info_unref ()"><code class="function">g_base_info_unref()</code></a> when done. </p>
1184 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
1185 </div>
1186 </div>
1187 <hr>
1188 <div class="refsect2">
1189 <a name="g-object-info-get-class-struct"></a><h3>g_object_info_get_class_struct ()</h3>
1190 <pre class="programlisting"><a class="link" href="gi-GIStructInfo.html#GIStructInfo" title="GIStructInfo"><span class="returnvalue">GIStructInfo</span></a> *
1191 g_object_info_get_class_struct (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>);</pre>
1192 <p>Every <span class="type">GObject</span> has two structures; an instance structure and a class
1193 structure.  This function returns the metadata for the class structure.</p>
1194 <div class="refsect3">
1195 <a name="g-object-info-get-class-struct.parameters"></a><h4>Parameters</h4>
1196 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1197 <colgroup>
1198 <col width="150px" class="parameters_name">
1199 <col class="parameters_description">
1200 <col width="200px" class="parameters_annotations">
1201 </colgroup>
1202 <tbody><tr>
1203 <td class="parameter_name"><p>info</p></td>
1204 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
1205 <td class="parameter_annotations"> </td>
1206 </tr></tbody>
1207 </table></div>
1208 </div>
1209 <div class="refsect3">
1210 <a name="g-object-info-get-class-struct.returns"></a><h4>Returns</h4>
1211 <p>the <a class="link" href="gi-GIStructInfo.html#GIStructInfo" title="GIStructInfo"><span class="type">GIStructInfo</span></a> or <code class="literal">NULL</code>. Free with
1212 <a class="link" href="GIBaseInfo.html#g-base-info-unref" title="g_base_info_unref ()"><code class="function">g_base_info_unref()</code></a> when done. </p>
1213 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
1214 </div>
1215 </div>
1216 <hr>
1217 <div class="refsect2">
1218 <a name="g-object-info-get-ref-function"></a><h3>g_object_info_get_ref_function ()</h3>
1219 <pre class="programlisting">const <span class="returnvalue">char</span> *
1220 g_object_info_get_ref_function (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>);</pre>
1221 <p>Obtain the symbol name of the function that should be called to ref this
1222 object type. It's mainly used fundamental types. The type signature for
1223 the symbol is <a class="link" href="gi-GIObjectInfo.html#GIObjectInfoRefFunction" title="GIObjectInfoRefFunction ()"><code class="literal">GIObjectInfoRefFunction</code></a>, to fetch the function pointer
1224 see <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-ref-function" title="g_object_info_get_ref_function ()"><code class="function">g_object_info_get_ref_function()</code></a>.</p>
1225 <div class="refsect3">
1226 <a name="g-object-info-get-ref-function.parameters"></a><h4>Parameters</h4>
1227 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1228 <colgroup>
1229 <col width="150px" class="parameters_name">
1230 <col class="parameters_description">
1231 <col width="200px" class="parameters_annotations">
1232 </colgroup>
1233 <tbody><tr>
1234 <td class="parameter_name"><p>info</p></td>
1235 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
1236 <td class="parameter_annotations"> </td>
1237 </tr></tbody>
1238 </table></div>
1239 </div>
1240 <div class="refsect3">
1241 <a name="g-object-info-get-ref-function.returns"></a><h4>Returns</h4>
1242 <p> the symbol or <code class="literal">NULL</code></p>
1243 </div>
1244 </div>
1245 <hr>
1246 <div class="refsect2">
1247 <a name="g-object-info-get-ref-function-pointer"></a><h3>g_object_info_get_ref_function_pointer ()</h3>
1248 <pre class="programlisting"><a class="link" href="gi-GIObjectInfo.html#GIObjectInfoRefFunction" title="GIObjectInfoRefFunction ()"><span class="returnvalue">GIObjectInfoRefFunction</span></a>
1249 g_object_info_get_ref_function_pointer
1250                                (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>);</pre>
1251 <p>Obtain a pointer to a function which can be used to
1252 increase the reference count an instance of this object type.
1253 This takes derivation into account and will reversely traverse
1254 the base classes of this type, starting at the top type.</p>
1255 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
1256 <div class="refsect3">
1257 <a name="g-object-info-get-ref-function-pointer.parameters"></a><h4>Parameters</h4>
1258 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1259 <colgroup>
1260 <col width="150px" class="parameters_name">
1261 <col class="parameters_description">
1262 <col width="200px" class="parameters_annotations">
1263 </colgroup>
1264 <tbody><tr>
1265 <td class="parameter_name"><p>info</p></td>
1266 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
1267 <td class="parameter_annotations"> </td>
1268 </tr></tbody>
1269 </table></div>
1270 </div>
1271 <div class="refsect3">
1272 <a name="g-object-info-get-ref-function-pointer.returns"></a><h4>Returns</h4>
1273 <p> the function pointer or <code class="literal">NULL</code></p>
1274 </div>
1275 </div>
1276 <hr>
1277 <div class="refsect2">
1278 <a name="g-object-info-get-unref-function"></a><h3>g_object_info_get_unref_function ()</h3>
1279 <pre class="programlisting">const <span class="returnvalue">char</span> *
1280 g_object_info_get_unref_function (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>);</pre>
1281 <p>Obtain the symbol name of the function that should be called to unref this
1282 object type. It's mainly used fundamental types. The type signature for
1283 the symbol is <a class="link" href="gi-GIObjectInfo.html#GIObjectInfoUnrefFunction" title="GIObjectInfoUnrefFunction ()"><code class="literal">GIObjectInfoUnrefFunction</code></a>, to fetch the function pointer
1284 see <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-unref-function" title="g_object_info_get_unref_function ()"><code class="function">g_object_info_get_unref_function()</code></a>.</p>
1285 <div class="refsect3">
1286 <a name="g-object-info-get-unref-function.parameters"></a><h4>Parameters</h4>
1287 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1288 <colgroup>
1289 <col width="150px" class="parameters_name">
1290 <col class="parameters_description">
1291 <col width="200px" class="parameters_annotations">
1292 </colgroup>
1293 <tbody><tr>
1294 <td class="parameter_name"><p>info</p></td>
1295 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
1296 <td class="parameter_annotations"> </td>
1297 </tr></tbody>
1298 </table></div>
1299 </div>
1300 <div class="refsect3">
1301 <a name="g-object-info-get-unref-function.returns"></a><h4>Returns</h4>
1302 <p> the symbol or <code class="literal">NULL</code></p>
1303 </div>
1304 </div>
1305 <hr>
1306 <div class="refsect2">
1307 <a name="g-object-info-get-unref-function-pointer"></a><h3>g_object_info_get_unref_function_pointer ()</h3>
1308 <pre class="programlisting"><a class="link" href="gi-GIObjectInfo.html#GIObjectInfoUnrefFunction" title="GIObjectInfoUnrefFunction ()"><span class="returnvalue">GIObjectInfoUnrefFunction</span></a>
1309 g_object_info_get_unref_function_pointer
1310                                (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>);</pre>
1311 <p>Obtain a pointer to a function which can be used to
1312 decrease the reference count an instance of this object type.
1313 This takes derivation into account and will reversely traverse
1314 the base classes of this type, starting at the top type.</p>
1315 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
1316 <div class="refsect3">
1317 <a name="g-object-info-get-unref-function-pointer.parameters"></a><h4>Parameters</h4>
1318 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1319 <colgroup>
1320 <col width="150px" class="parameters_name">
1321 <col class="parameters_description">
1322 <col width="200px" class="parameters_annotations">
1323 </colgroup>
1324 <tbody><tr>
1325 <td class="parameter_name"><p>info</p></td>
1326 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
1327 <td class="parameter_annotations"> </td>
1328 </tr></tbody>
1329 </table></div>
1330 </div>
1331 <div class="refsect3">
1332 <a name="g-object-info-get-unref-function-pointer.returns"></a><h4>Returns</h4>
1333 <p> the function pointer or <code class="literal">NULL</code></p>
1334 </div>
1335 </div>
1336 <hr>
1337 <div class="refsect2">
1338 <a name="g-object-info-get-set-value-function"></a><h3>g_object_info_get_set_value_function ()</h3>
1339 <pre class="programlisting">const <span class="returnvalue">char</span> *
1340 g_object_info_get_set_value_function (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>);</pre>
1341 <p>Obtain the symbol name of the function that should be called to convert
1342 set a GValue giving an object instance pointer of this object type.
1343 I's mainly used fundamental types. The type signature for the symbol
1344 is <a class="link" href="gi-GIObjectInfo.html#GIObjectInfoSetValueFunction" title="GIObjectInfoSetValueFunction ()"><code class="literal">GIObjectInfoSetValueFunction</code></a>, to fetch the function pointer
1345 see <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-set-value-function" title="g_object_info_get_set_value_function ()"><code class="function">g_object_info_get_set_value_function()</code></a>.</p>
1346 <div class="refsect3">
1347 <a name="g-object-info-get-set-value-function.parameters"></a><h4>Parameters</h4>
1348 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1349 <colgroup>
1350 <col width="150px" class="parameters_name">
1351 <col class="parameters_description">
1352 <col width="200px" class="parameters_annotations">
1353 </colgroup>
1354 <tbody><tr>
1355 <td class="parameter_name"><p>info</p></td>
1356 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
1357 <td class="parameter_annotations"> </td>
1358 </tr></tbody>
1359 </table></div>
1360 </div>
1361 <div class="refsect3">
1362 <a name="g-object-info-get-set-value-function.returns"></a><h4>Returns</h4>
1363 <p> the symbol or <code class="literal">NULL</code></p>
1364 </div>
1365 </div>
1366 <hr>
1367 <div class="refsect2">
1368 <a name="g-object-info-get-set-value-function-pointer"></a><h3>g_object_info_get_set_value_function_pointer ()</h3>
1369 <pre class="programlisting"><a class="link" href="gi-GIObjectInfo.html#GIObjectInfoSetValueFunction" title="GIObjectInfoSetValueFunction ()"><span class="returnvalue">GIObjectInfoSetValueFunction</span></a>
1370 g_object_info_get_set_value_function_pointer
1371                                (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>);</pre>
1372 <p>Obtain a pointer to a function which can be used to
1373 set a GValue given an instance of this object type.
1374 This takes derivation into account and will reversely traverse
1375 the base classes of this type, starting at the top type.</p>
1376 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
1377 <div class="refsect3">
1378 <a name="g-object-info-get-set-value-function-pointer.parameters"></a><h4>Parameters</h4>
1379 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1380 <colgroup>
1381 <col width="150px" class="parameters_name">
1382 <col class="parameters_description">
1383 <col width="200px" class="parameters_annotations">
1384 </colgroup>
1385 <tbody><tr>
1386 <td class="parameter_name"><p>info</p></td>
1387 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
1388 <td class="parameter_annotations"> </td>
1389 </tr></tbody>
1390 </table></div>
1391 </div>
1392 <div class="refsect3">
1393 <a name="g-object-info-get-set-value-function-pointer.returns"></a><h4>Returns</h4>
1394 <p> the function pointer or <code class="literal">NULL</code></p>
1395 </div>
1396 </div>
1397 <hr>
1398 <div class="refsect2">
1399 <a name="g-object-info-get-get-value-function"></a><h3>g_object_info_get_get_value_function ()</h3>
1400 <pre class="programlisting">const <span class="returnvalue">char</span> *
1401 g_object_info_get_get_value_function (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>);</pre>
1402 <p>Obtain the symbol name of the function that should be called to convert
1403 an object instance pointer of this object type to a GValue.
1404 I's mainly used fundamental types. The type signature for the symbol
1405 is <a class="link" href="gi-GIObjectInfo.html#GIObjectInfoGetValueFunction" title="GIObjectInfoGetValueFunction ()"><code class="literal">GIObjectInfoGetValueFunction</code></a>, to fetch the function pointer
1406 see <a class="link" href="gi-GIObjectInfo.html#g-object-info-get-get-value-function" title="g_object_info_get_get_value_function ()"><code class="function">g_object_info_get_get_value_function()</code></a>.</p>
1407 <div class="refsect3">
1408 <a name="g-object-info-get-get-value-function.parameters"></a><h4>Parameters</h4>
1409 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1410 <colgroup>
1411 <col width="150px" class="parameters_name">
1412 <col class="parameters_description">
1413 <col width="200px" class="parameters_annotations">
1414 </colgroup>
1415 <tbody><tr>
1416 <td class="parameter_name"><p>info</p></td>
1417 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
1418 <td class="parameter_annotations"> </td>
1419 </tr></tbody>
1420 </table></div>
1421 </div>
1422 <div class="refsect3">
1423 <a name="g-object-info-get-get-value-function.returns"></a><h4>Returns</h4>
1424 <p> the symbol or <code class="literal">NULL</code></p>
1425 </div>
1426 </div>
1427 <hr>
1428 <div class="refsect2">
1429 <a name="g-object-info-get-get-value-function-pointer"></a><h3>g_object_info_get_get_value_function_pointer ()</h3>
1430 <pre class="programlisting"><a class="link" href="gi-GIObjectInfo.html#GIObjectInfoGetValueFunction" title="GIObjectInfoGetValueFunction ()"><span class="returnvalue">GIObjectInfoGetValueFunction</span></a>
1431 g_object_info_get_get_value_function_pointer
1432                                (<em class="parameter"><code><a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> *info</code></em>);</pre>
1433 <p>Obtain a pointer to a function which can be used to
1434 extract an instance of this object type out of a GValue.
1435 This takes derivation into account and will reversely traverse
1436 the base classes of this type, starting at the top type.</p>
1437 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
1438 <div class="refsect3">
1439 <a name="g-object-info-get-get-value-function-pointer.parameters"></a><h4>Parameters</h4>
1440 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1441 <colgroup>
1442 <col width="150px" class="parameters_name">
1443 <col class="parameters_description">
1444 <col width="200px" class="parameters_annotations">
1445 </colgroup>
1446 <tbody><tr>
1447 <td class="parameter_name"><p>info</p></td>
1448 <td class="parameter_description"><p>a <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p></td>
1449 <td class="parameter_annotations"> </td>
1450 </tr></tbody>
1451 </table></div>
1452 </div>
1453 <div class="refsect3">
1454 <a name="g-object-info-get-get-value-function-pointer.returns"></a><h4>Returns</h4>
1455 <p> the function pointer or <code class="literal">NULL</code></p>
1456 </div>
1457 </div>
1458 <hr>
1459 <div class="refsect2">
1460 <a name="GIObjectInfoRefFunction"></a><h3>GIObjectInfoRefFunction ()</h3>
1461 <pre class="programlisting"><span class="returnvalue">void</span> *
1462 <span class="c_punctuation">(</span>*GIObjectInfoRefFunction<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> *object</code></em>);</pre>
1463 <p>Increases the reference count of an object instance.</p>
1464 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
1465 <div class="refsect3">
1466 <a name="GIObjectInfoRefFunction.parameters"></a><h4>Parameters</h4>
1467 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1468 <colgroup>
1469 <col width="150px" class="parameters_name">
1470 <col class="parameters_description">
1471 <col width="200px" class="parameters_annotations">
1472 </colgroup>
1473 <tbody><tr>
1474 <td class="parameter_name"><p>object</p></td>
1475 <td class="parameter_description"><p>object instance pointer</p></td>
1476 <td class="parameter_annotations"> </td>
1477 </tr></tbody>
1478 </table></div>
1479 </div>
1480 <div class="refsect3">
1481 <a name="GIObjectInfoRefFunction.returns"></a><h4>Returns</h4>
1482 <p>the object instance. </p>
1483 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
1484 </div>
1485 </div>
1486 <hr>
1487 <div class="refsect2">
1488 <a name="GIObjectInfoUnrefFunction"></a><h3>GIObjectInfoUnrefFunction ()</h3>
1489 <pre class="programlisting"><span class="returnvalue">void</span>
1490 <span class="c_punctuation">(</span>*GIObjectInfoUnrefFunction<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> *object</code></em>);</pre>
1491 <p>Decreases the reference count of an object instance.</p>
1492 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
1493 <div class="refsect3">
1494 <a name="GIObjectInfoUnrefFunction.parameters"></a><h4>Parameters</h4>
1495 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1496 <colgroup>
1497 <col width="150px" class="parameters_name">
1498 <col class="parameters_description">
1499 <col width="200px" class="parameters_annotations">
1500 </colgroup>
1501 <tbody><tr>
1502 <td class="parameter_name"><p>object</p></td>
1503 <td class="parameter_description"><p>object instance pointer</p></td>
1504 <td class="parameter_annotations"> </td>
1505 </tr></tbody>
1506 </table></div>
1507 </div>
1508 </div>
1509 <hr>
1510 <div class="refsect2">
1511 <a name="GIObjectInfoSetValueFunction"></a><h3>GIObjectInfoSetValueFunction ()</h3>
1512 <pre class="programlisting"><span class="returnvalue">void</span>
1513 <span class="c_punctuation">(</span>*GIObjectInfoSetValueFunction<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">GValue</span> *value</code></em>,
1514                                  <em class="parameter"><code><span class="type">void</span> *object</code></em>);</pre>
1515 <p>Update <em class="parameter"><code>value</code></em>
1516  and attach the object instance pointer <em class="parameter"><code>object</code></em>
1517  to it.</p>
1518 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
1519 <div class="refsect3">
1520 <a name="GIObjectInfoSetValueFunction.parameters"></a><h4>Parameters</h4>
1521 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1522 <colgroup>
1523 <col width="150px" class="parameters_name">
1524 <col class="parameters_description">
1525 <col width="200px" class="parameters_annotations">
1526 </colgroup>
1527 <tbody>
1528 <tr>
1529 <td class="parameter_name"><p>value</p></td>
1530 <td class="parameter_description"><p>a <span class="type">GValue</span></p></td>
1531 <td class="parameter_annotations"> </td>
1532 </tr>
1533 <tr>
1534 <td class="parameter_name"><p>object</p></td>
1535 <td class="parameter_description"><p>object instance pointer</p></td>
1536 <td class="parameter_annotations"> </td>
1537 </tr>
1538 </tbody>
1539 </table></div>
1540 </div>
1541 </div>
1542 <hr>
1543 <div class="refsect2">
1544 <a name="GIObjectInfoGetValueFunction"></a><h3>GIObjectInfoGetValueFunction ()</h3>
1545 <pre class="programlisting"><span class="returnvalue">void</span> *
1546 <span class="c_punctuation">(</span>*GIObjectInfoGetValueFunction<span class="c_punctuation">)</span> (<em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>);</pre>
1547 <p>Extract an object instance out of <em class="parameter"><code>value</code></em>
1548 </p>
1549 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
1550 <div class="refsect3">
1551 <a name="GIObjectInfoGetValueFunction.parameters"></a><h4>Parameters</h4>
1552 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1553 <colgroup>
1554 <col width="150px" class="parameters_name">
1555 <col class="parameters_description">
1556 <col width="200px" class="parameters_annotations">
1557 </colgroup>
1558 <tbody><tr>
1559 <td class="parameter_name"><p>value</p></td>
1560 <td class="parameter_description"><p>a <span class="type">GValue</span></p></td>
1561 <td class="parameter_annotations"> </td>
1562 </tr></tbody>
1563 </table></div>
1564 </div>
1565 <div class="refsect3">
1566 <a name="GIObjectInfoGetValueFunction.returns"></a><h4>Returns</h4>
1567 <p>the object instance. </p>
1568 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
1569 </div>
1570 </div>
1571 </div>
1572 <div class="refsect1">
1573 <a name="gi-GIObjectInfo.other_details"></a><h2>Types and Values</h2>
1574 <div class="refsect2">
1575 <a name="GIObjectInfo"></a><h3>GIObjectInfo</h3>
1576 <pre class="programlisting">typedef GIBaseInfo GIObjectInfo;
1577 </pre>
1578 <p>Represents an object.</p>
1579 </div>
1580 </div>
1581 </div>
1582 <div class="footer">
1583 <hr>Generated by GTK-Doc V1.29.1</div>
1584 </body>
1585 </html>