Imported Upstream version 1.60.2
[platform/upstream/gobject-introspection.git] / docs / reference / html / GIBaseInfo.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>GIBaseInfo: 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-struct-hierarchy.html" title="Struct hierarchy">
10 <link rel="next" href="gi-GICallableInfo.html" title="GICallableInfo">
11 <meta name="generator" content="GTK-Doc V1.28 (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="#GIBaseInfo.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
19                   <a href="#GIBaseInfo.object-hierarchy" class="shortcut">Object Hierarchy</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="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
23 <td><a accesskey="p" href="gi-struct-hierarchy.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
24 <td><a accesskey="n" href="gi-GICallableInfo.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
25 </tr></table>
26 <div class="refentry">
27 <a name="GIBaseInfo"></a><div class="titlepage"></div>
28 <div class="refnamediv"><table width="100%"><tr>
29 <td valign="top">
30 <h2><span class="refentrytitle"><a name="GIBaseInfo.top_of_page"></a>GIBaseInfo</span></h2>
31 <p>GIBaseInfo — Base struct for all GITypelib structs</p>
32 </td>
33 <td class="gallery_image" valign="top" align="right"></td>
34 </tr></table></div>
35 <div class="refsect1">
36 <a name="GIBaseInfo.functions"></a><h2>Functions</h2>
37 <div class="informaltable"><table class="informaltable" 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 <a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="returnvalue">GIBaseInfo</span></a> *
46 </td>
47 <td class="function_name">
48 <a class="link" href="GIBaseInfo.html#g-info-new" title="g_info_new ()">g_info_new</a> <span class="c_punctuation">()</span>
49 </td>
50 </tr>
51 <tr>
52 <td class="function_type">
53 <a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="returnvalue">GIBaseInfo</span></a> *
54 </td>
55 <td class="function_name">
56 <a class="link" href="GIBaseInfo.html#g-base-info-ref" title="g_base_info_ref ()">g_base_info_ref</a> <span class="c_punctuation">()</span>
57 </td>
58 </tr>
59 <tr>
60 <td class="function_type">
61 <span class="returnvalue">void</span>
62 </td>
63 <td class="function_name">
64 <a class="link" href="GIBaseInfo.html#g-base-info-unref" title="g_base_info_unref ()">g_base_info_unref</a> <span class="c_punctuation">()</span>
65 </td>
66 </tr>
67 <tr>
68 <td class="function_type">
69 <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
70 </td>
71 <td class="function_name">
72 <a class="link" href="GIBaseInfo.html#g-base-info-equal" title="g_base_info_equal ()">g_base_info_equal</a> <span class="c_punctuation">()</span>
73 </td>
74 </tr>
75 <tr>
76 <td class="function_type">
77 <a class="link" href="GIBaseInfo.html#GIInfoType" title="enum GIInfoType"><span class="returnvalue">GIInfoType</span></a>
78 </td>
79 <td class="function_name">
80 <a class="link" href="GIBaseInfo.html#g-base-info-get-type" title="g_base_info_get_type ()">g_base_info_get_type</a> <span class="c_punctuation">()</span>
81 </td>
82 </tr>
83 <tr>
84 <td class="function_type">
85 <a class="link" href="gi-GITypelib.html#GITypelib" title="GITypelib"><span class="returnvalue">GITypelib</span></a> *
86 </td>
87 <td class="function_name">
88 <a class="link" href="GIBaseInfo.html#g-base-info-get-typelib" title="g_base_info_get_typelib ()">g_base_info_get_typelib</a> <span class="c_punctuation">()</span>
89 </td>
90 </tr>
91 <tr>
92 <td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
93 </td>
94 <td class="function_name">
95 <a class="link" href="GIBaseInfo.html#g-base-info-get-namespace" title="g_base_info_get_namespace ()">g_base_info_get_namespace</a> <span class="c_punctuation">()</span>
96 </td>
97 </tr>
98 <tr>
99 <td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
100 </td>
101 <td class="function_name">
102 <a class="link" href="GIBaseInfo.html#g-base-info-get-name" title="g_base_info_get_name ()">g_base_info_get_name</a> <span class="c_punctuation">()</span>
103 </td>
104 </tr>
105 <tr>
106 <td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
107 </td>
108 <td class="function_name">
109 <a class="link" href="GIBaseInfo.html#g-base-info-get-attribute" title="g_base_info_get_attribute ()">g_base_info_get_attribute</a> <span class="c_punctuation">()</span>
110 </td>
111 </tr>
112 <tr>
113 <td class="function_type">
114 <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
115 </td>
116 <td class="function_name">
117 <a class="link" href="GIBaseInfo.html#g-base-info-iterate-attributes" title="g_base_info_iterate_attributes ()">g_base_info_iterate_attributes</a> <span class="c_punctuation">()</span>
118 </td>
119 </tr>
120 <tr>
121 <td class="function_type">
122 <a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="returnvalue">GIBaseInfo</span></a> *
123 </td>
124 <td class="function_name">
125 <a class="link" href="GIBaseInfo.html#g-base-info-get-container" title="g_base_info_get_container ()">g_base_info_get_container</a> <span class="c_punctuation">()</span>
126 </td>
127 </tr>
128 <tr>
129 <td class="function_type">
130 <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
131 </td>
132 <td class="function_name">
133 <a class="link" href="GIBaseInfo.html#g-base-info-is-deprecated" title="g_base_info_is_deprecated ()">g_base_info_is_deprecated</a> <span class="c_punctuation">()</span>
134 </td>
135 </tr>
136 <tr>
137 <td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
138 </td>
139 <td class="function_name">
140 <a class="link" href="GIBaseInfo.html#g-info-type-to-string" title="g_info_type_to_string ()">g_info_type_to_string</a> <span class="c_punctuation">()</span>
141 </td>
142 </tr>
143 </tbody>
144 </table></div>
145 </div>
146 <div class="refsect1">
147 <a name="GIBaseInfo.other"></a><h2>Types and Values</h2>
148 <div class="informaltable"><table class="informaltable" width="100%" border="0">
149 <colgroup>
150 <col width="150px" class="name">
151 <col class="description">
152 </colgroup>
153 <tbody>
154 <tr>
155 <td class="datatype_keyword"> </td>
156 <td class="function_name"><a class="link" href="GIBaseInfo.html#GIBaseInfo-struct" title="GIBaseInfo">GIBaseInfo</a></td>
157 </tr>
158 <tr>
159 <td class="datatype_keyword">enum</td>
160 <td class="function_name"><a class="link" href="GIBaseInfo.html#GIInfoType" title="enum GIInfoType">GIInfoType</a></td>
161 </tr>
162 <tr>
163 <td class="datatype_keyword"> </td>
164 <td class="function_name"><a class="link" href="GIBaseInfo.html#GIAttributeIter" title="GIAttributeIter">GIAttributeIter</a></td>
165 </tr>
166 </tbody>
167 </table></div>
168 </div>
169 <div class="refsect1">
170 <a name="GIBaseInfo.object-hierarchy"></a><h2>Object Hierarchy</h2>
171 <pre class="screen">    <a href="/usr/share/gtk-doc/html/gobject/gobject-Boxed-Types.html">GBoxed</a>
172     <span class="lineart">╰──</span> GIBaseInfo
173 </pre>
174 </div>
175 <div class="refsect1">
176 <a name="GIBaseInfo.description"></a><h2>Description</h2>
177 <p>GIBaseInfo is the common base struct of all other *Info structs
178 accessible through the <a class="link" href="GIRepository.html" title="GIRepository"><span class="type">GIRepository</span></a> API.
179 All other structs can be casted to a <a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a>, for instance:</p>
180 <div class="example">
181 <a name="id-1.7.3.6.3"></a><p class="title"><b>Example 1. Casting a <a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="type">GIFunctionInfo</span></a> to <a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a></b></p>
182 <div class="example-contents">
183   <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
184     <tbody>
185       <tr>
186         <td class="listing_lines" align="right"><pre>1
187 2</pre></td>
188         <td class="listing_code"><pre class="programlisting">GIFunctionInfo <span class="gtkdoc opt">*</span>function_info <span class="gtkdoc opt">= ...;</span>
189 GIBaseInfo <span class="gtkdoc opt">*</span>info <span class="gtkdoc opt">= (</span>GIBaseInfo<span class="gtkdoc opt">*)</span>function_info<span class="gtkdoc opt">;</span></pre></td>
190       </tr>
191     </tbody>
192   </table>
193 </div>
194
195 </div>
196 <br class="example-break"><p>Most <a class="link" href="GIRepository.html" title="GIRepository"><span class="type">GIRepository</span></a> APIs returning a <a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a> is actually creating a new struct, in other
197 words, <a class="link" href="GIBaseInfo.html#g-base-info-unref" title="g_base_info_unref ()"><code class="function">g_base_info_unref()</code></a> has to be called when done accessing the data.
198 GIBaseInfos are normally accessed by calling either
199 <a class="link" href="GIRepository.html#g-irepository-find-by-name" title="g_irepository_find_by_name ()"><code class="function">g_irepository_find_by_name()</code></a>, <a class="link" href="GIRepository.html#g-irepository-find-by-gtype" title="g_irepository_find_by_gtype ()"><code class="function">g_irepository_find_by_gtype()</code></a> or <a class="link" href="GIRepository.html#g-irepository-get-info" title="g_irepository_get_info ()"><code class="function">g_irepository_get_info()</code></a>.</p>
200 <div class="example">
201 <a name="id-1.7.3.6.5"></a><p class="title"><b>Example 2. Getting the Button of the Gtk typelib</b></p>
202 <div class="example-contents">
203   <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
204     <tbody>
205       <tr>
206         <td class="listing_lines" align="right"><pre>1
207 2
208 3</pre></td>
209         <td class="listing_code"><pre class="programlisting">GIBaseInfo <span class="gtkdoc opt">*</span>button_info <span class="gtkdoc opt">=</span> <span class="function"><a href="GIRepository.html#g-irepository-find-by-name">g_irepository_find_by_name</a></span><span class="gtkdoc opt">(</span>NULL<span class="gtkdoc opt">,</span> <span class="string">&quot;Gtk&quot;</span><span class="gtkdoc opt">,</span> <span class="string">&quot;Button&quot;</span><span class="gtkdoc opt">);</span>
210 <span class="gtkdoc opt">...</span> use button_info <span class="gtkdoc opt">...</span>
211 <span class="function"><a href="GIBaseInfo.html#g-base-info-unref">g_base_info_unref</a></span><span class="gtkdoc opt">(</span>button_info<span class="gtkdoc opt">);</span></pre></td>
212       </tr>
213     </tbody>
214   </table>
215 </div>
216
217 </div>
218 <br class="example-break"><div class="refsect1">
219 <a name="gi-gibaseinfo.struct-hierarchy"></a><h2>Struct hierarchy</h2>
220 <pre class="synopsis">
221   GIBaseInfo
222    +----<a class="link" href="gi-GIArgInfo.html" title="GIArgInfo">GIArgInfo</a>
223    +----<a class="link" href="gi-GICallableInfo.html" title="GICallableInfo">GICallableInfo</a>
224    +----<a class="link" href="gi-GIConstantInfo.html" title="GIConstantInfo">GIConstantInfo</a>
225    +----<a class="link" href="gi-GIFieldInfo.html" title="GIFieldInfo">GIFieldInfo</a>
226    +----<a class="link" href="gi-GIPropertyInfo.html" title="GIPropertyInfo">GIPropertyInfo</a>
227    +----<a class="link" href="gi-GIRegisteredTypeInfo.html" title="GIRegisteredTypeInfo">GIRegisteredTypeInfo</a>
228    +----<a class="link" href="gi-GITypeInfo.html" title="GITypeInfo">GITypeInfo</a>
229 </pre>
230 </div>
231 </div>
232 <div class="refsect1">
233 <a name="GIBaseInfo.functions_details"></a><h2>Functions</h2>
234 <div class="refsect2">
235 <a name="g-info-new"></a><h3>g_info_new ()</h3>
236 <pre class="programlisting"><a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="returnvalue">GIBaseInfo</span></a> *
237 g_info_new (<em class="parameter"><code><a class="link" href="GIBaseInfo.html#GIInfoType" title="enum GIInfoType"><span class="type">GIInfoType</span></a> type</code></em>,
238             <em class="parameter"><code><a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a> *container</code></em>,
239             <em class="parameter"><code><a class="link" href="gi-GITypelib.html#GITypelib" title="GITypelib"><span class="type">GITypelib</span></a> *typelib</code></em>,
240             <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> offset</code></em>);</pre>
241 <p>TODO</p>
242 <div class="refsect3">
243 <a name="g-info-new.parameters"></a><h4>Parameters</h4>
244 <div class="informaltable"><table class="informaltable" width="100%" border="0">
245 <colgroup>
246 <col width="150px" class="parameters_name">
247 <col class="parameters_description">
248 <col width="200px" class="parameters_annotations">
249 </colgroup>
250 <tbody>
251 <tr>
252 <td class="parameter_name"><p>type</p></td>
253 <td class="parameter_description"><p>TODO</p></td>
254 <td class="parameter_annotations"> </td>
255 </tr>
256 <tr>
257 <td class="parameter_name"><p>container</p></td>
258 <td class="parameter_description"><p>TODO</p></td>
259 <td class="parameter_annotations"> </td>
260 </tr>
261 <tr>
262 <td class="parameter_name"><p>typelib</p></td>
263 <td class="parameter_description"><p>TODO</p></td>
264 <td class="parameter_annotations"> </td>
265 </tr>
266 <tr>
267 <td class="parameter_name"><p>offset</p></td>
268 <td class="parameter_description"><p>TODO</p></td>
269 <td class="parameter_annotations"> </td>
270 </tr>
271 </tbody>
272 </table></div>
273 </div>
274 <div class="refsect3">
275 <a name="g-info-new.returns"></a><h4>Returns</h4>
276 <p> TODO</p>
277 </div>
278 </div>
279 <hr>
280 <div class="refsect2">
281 <a name="g-base-info-ref"></a><h3>g_base_info_ref ()</h3>
282 <pre class="programlisting"><a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="returnvalue">GIBaseInfo</span></a> *
283 g_base_info_ref (<em class="parameter"><code><a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a> *info</code></em>);</pre>
284 <p>Increases the reference count of <em class="parameter"><code>info</code></em>
285 .</p>
286 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
287 <div class="refsect3">
288 <a name="g-base-info-ref.parameters"></a><h4>Parameters</h4>
289 <div class="informaltable"><table class="informaltable" width="100%" border="0">
290 <colgroup>
291 <col width="150px" class="parameters_name">
292 <col class="parameters_description">
293 <col width="200px" class="parameters_annotations">
294 </colgroup>
295 <tbody><tr>
296 <td class="parameter_name"><p>info</p></td>
297 <td class="parameter_description"><p>a <a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a></p></td>
298 <td class="parameter_annotations"> </td>
299 </tr></tbody>
300 </table></div>
301 </div>
302 <div class="refsect3">
303 <a name="g-base-info-ref.returns"></a><h4>Returns</h4>
304 <p> the same <em class="parameter"><code>info</code></em>
305 .</p>
306 </div>
307 </div>
308 <hr>
309 <div class="refsect2">
310 <a name="g-base-info-unref"></a><h3>g_base_info_unref ()</h3>
311 <pre class="programlisting"><span class="returnvalue">void</span>
312 g_base_info_unref (<em class="parameter"><code><a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a> *info</code></em>);</pre>
313 <p>Decreases the reference count of <em class="parameter"><code>info</code></em>
314 . When its reference count
315 drops to 0, the info is freed.</p>
316 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
317 <div class="refsect3">
318 <a name="g-base-info-unref.parameters"></a><h4>Parameters</h4>
319 <div class="informaltable"><table class="informaltable" width="100%" border="0">
320 <colgroup>
321 <col width="150px" class="parameters_name">
322 <col class="parameters_description">
323 <col width="200px" class="parameters_annotations">
324 </colgroup>
325 <tbody><tr>
326 <td class="parameter_name"><p>info</p></td>
327 <td class="parameter_description"><p>a <a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a></p></td>
328 <td class="parameter_annotations"> </td>
329 </tr></tbody>
330 </table></div>
331 </div>
332 </div>
333 <hr>
334 <div class="refsect2">
335 <a name="g-base-info-equal"></a><h3>g_base_info_equal ()</h3>
336 <pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
337 g_base_info_equal (<em class="parameter"><code><a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a> *info1</code></em>,
338                    <em class="parameter"><code><a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a> *info2</code></em>);</pre>
339 <p>Compare two <a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a>.</p>
340 <p>Using pointer comparison is not practical since many functions return
341 different instances of <a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a> that refers to the same part of the
342 TypeLib; use this function instead to do <a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a> comparisons.</p>
343 <div class="refsect3">
344 <a name="g-base-info-equal.parameters"></a><h4>Parameters</h4>
345 <div class="informaltable"><table class="informaltable" width="100%" border="0">
346 <colgroup>
347 <col width="150px" class="parameters_name">
348 <col class="parameters_description">
349 <col width="200px" class="parameters_annotations">
350 </colgroup>
351 <tbody>
352 <tr>
353 <td class="parameter_name"><p>info1</p></td>
354 <td class="parameter_description"><p>a <a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a></p></td>
355 <td class="parameter_annotations"> </td>
356 </tr>
357 <tr>
358 <td class="parameter_name"><p>info2</p></td>
359 <td class="parameter_description"><p>a <a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a></p></td>
360 <td class="parameter_annotations"> </td>
361 </tr>
362 </tbody>
363 </table></div>
364 </div>
365 <div class="refsect3">
366 <a name="g-base-info-equal.returns"></a><h4>Returns</h4>
367 <p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if and only if <em class="parameter"><code>info1</code></em>
368 equals <em class="parameter"><code>info2</code></em>
369 .</p>
370 </div>
371 </div>
372 <hr>
373 <div class="refsect2">
374 <a name="g-base-info-get-type"></a><h3>g_base_info_get_type ()</h3>
375 <pre class="programlisting"><a class="link" href="GIBaseInfo.html#GIInfoType" title="enum GIInfoType"><span class="returnvalue">GIInfoType</span></a>
376 g_base_info_get_type (<em class="parameter"><code><a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a> *info</code></em>);</pre>
377 <p>Obtain the info type of the GIBaseInfo.</p>
378 <div class="refsect3">
379 <a name="g-base-info-get-type.parameters"></a><h4>Parameters</h4>
380 <div class="informaltable"><table class="informaltable" width="100%" border="0">
381 <colgroup>
382 <col width="150px" class="parameters_name">
383 <col class="parameters_description">
384 <col width="200px" class="parameters_annotations">
385 </colgroup>
386 <tbody><tr>
387 <td class="parameter_name"><p>info</p></td>
388 <td class="parameter_description"><p>a <a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a></p></td>
389 <td class="parameter_annotations"> </td>
390 </tr></tbody>
391 </table></div>
392 </div>
393 <div class="refsect3">
394 <a name="g-base-info-get-type.returns"></a><h4>Returns</h4>
395 <p> the info type of <em class="parameter"><code>info</code></em>
396 </p>
397 </div>
398 </div>
399 <hr>
400 <div class="refsect2">
401 <a name="g-base-info-get-typelib"></a><h3>g_base_info_get_typelib ()</h3>
402 <pre class="programlisting"><a class="link" href="gi-GITypelib.html#GITypelib" title="GITypelib"><span class="returnvalue">GITypelib</span></a> *
403 g_base_info_get_typelib (<em class="parameter"><code><a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a> *info</code></em>);</pre>
404 <p>Obtain the typelib this <em class="parameter"><code>info</code></em>
405  belongs to</p>
406 <div class="refsect3">
407 <a name="g-base-info-get-typelib.parameters"></a><h4>Parameters</h4>
408 <div class="informaltable"><table class="informaltable" width="100%" border="0">
409 <colgroup>
410 <col width="150px" class="parameters_name">
411 <col class="parameters_description">
412 <col width="200px" class="parameters_annotations">
413 </colgroup>
414 <tbody><tr>
415 <td class="parameter_name"><p>info</p></td>
416 <td class="parameter_description"><p>a <a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a></p></td>
417 <td class="parameter_annotations"> </td>
418 </tr></tbody>
419 </table></div>
420 </div>
421 <div class="refsect3">
422 <a name="g-base-info-get-typelib.returns"></a><h4>Returns</h4>
423 <p>the typelib. </p>
424 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
425 </div>
426 </div>
427 <hr>
428 <div class="refsect2">
429 <a name="g-base-info-get-namespace"></a><h3>g_base_info_get_namespace ()</h3>
430 <pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
431 g_base_info_get_namespace (<em class="parameter"><code><a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a> *info</code></em>);</pre>
432 <p>Obtain the namespace of <em class="parameter"><code>info</code></em>
433 .</p>
434 <div class="refsect3">
435 <a name="g-base-info-get-namespace.parameters"></a><h4>Parameters</h4>
436 <div class="informaltable"><table class="informaltable" width="100%" border="0">
437 <colgroup>
438 <col width="150px" class="parameters_name">
439 <col class="parameters_description">
440 <col width="200px" class="parameters_annotations">
441 </colgroup>
442 <tbody><tr>
443 <td class="parameter_name"><p>info</p></td>
444 <td class="parameter_description"><p>a <a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a></p></td>
445 <td class="parameter_annotations"> </td>
446 </tr></tbody>
447 </table></div>
448 </div>
449 <div class="refsect3">
450 <a name="g-base-info-get-namespace.returns"></a><h4>Returns</h4>
451 <p> the namespace</p>
452 </div>
453 </div>
454 <hr>
455 <div class="refsect2">
456 <a name="g-base-info-get-name"></a><h3>g_base_info_get_name ()</h3>
457 <pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
458 g_base_info_get_name (<em class="parameter"><code><a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a> *info</code></em>);</pre>
459 <p>Obtain the name of the <em class="parameter"><code>info</code></em>
460 . What the name represents depends on
461 the <a class="link" href="GIBaseInfo.html#GIInfoType" title="enum GIInfoType"><span class="type">GIInfoType</span></a> of the <em class="parameter"><code>info</code></em>
462 . For instance for <a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="type">GIFunctionInfo</span></a> it is
463 the name of the function.</p>
464 <div class="refsect3">
465 <a name="g-base-info-get-name.parameters"></a><h4>Parameters</h4>
466 <div class="informaltable"><table class="informaltable" width="100%" border="0">
467 <colgroup>
468 <col width="150px" class="parameters_name">
469 <col class="parameters_description">
470 <col width="200px" class="parameters_annotations">
471 </colgroup>
472 <tbody><tr>
473 <td class="parameter_name"><p>info</p></td>
474 <td class="parameter_description"><p>a <a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a></p></td>
475 <td class="parameter_annotations"> </td>
476 </tr></tbody>
477 </table></div>
478 </div>
479 <div class="refsect3">
480 <a name="g-base-info-get-name.returns"></a><h4>Returns</h4>
481 <p> the name of <em class="parameter"><code>info</code></em>
482 or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if it lacks a name.</p>
483 </div>
484 </div>
485 <hr>
486 <div class="refsect2">
487 <a name="g-base-info-get-attribute"></a><h3>g_base_info_get_attribute ()</h3>
488 <pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
489 g_base_info_get_attribute (<em class="parameter"><code><a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a> *info</code></em>,
490                            <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
491 <p>Retrieve an arbitrary attribute associated with this node.</p>
492 <div class="refsect3">
493 <a name="g-base-info-get-attribute.parameters"></a><h4>Parameters</h4>
494 <div class="informaltable"><table class="informaltable" width="100%" border="0">
495 <colgroup>
496 <col width="150px" class="parameters_name">
497 <col class="parameters_description">
498 <col width="200px" class="parameters_annotations">
499 </colgroup>
500 <tbody>
501 <tr>
502 <td class="parameter_name"><p>info</p></td>
503 <td class="parameter_description"><p>a <a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a></p></td>
504 <td class="parameter_annotations"> </td>
505 </tr>
506 <tr>
507 <td class="parameter_name"><p>name</p></td>
508 <td class="parameter_description"><p>a freeform string naming an attribute</p></td>
509 <td class="parameter_annotations"> </td>
510 </tr>
511 </tbody>
512 </table></div>
513 </div>
514 <div class="refsect3">
515 <a name="g-base-info-get-attribute.returns"></a><h4>Returns</h4>
516 <p> The value of the attribute, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no such attribute exists</p>
517 </div>
518 </div>
519 <hr>
520 <div class="refsect2">
521 <a name="g-base-info-iterate-attributes"></a><h3>g_base_info_iterate_attributes ()</h3>
522 <pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
523 g_base_info_iterate_attributes (<em class="parameter"><code><a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a> *info</code></em>,
524                                 <em class="parameter"><code><a class="link" href="GIBaseInfo.html#GIAttributeIter" title="GIAttributeIter"><span class="type">GIAttributeIter</span></a> *iterator</code></em>,
525                                 <em class="parameter"><code><span class="type">char</span> **name</code></em>,
526                                 <em class="parameter"><code><span class="type">char</span> **value</code></em>);</pre>
527 <p>Iterate over all attributes associated with this node.  The iterator
528 structure is typically stack allocated, and must have its first
529 member initialized to <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.  Attributes are arbitrary namespaced key–value
530 pairs which can be attached to almost any item.  They are intended for use
531 by software higher in the toolchain than bindings, and are distinct from
532 normal GIR annotations.</p>
533 <p>Both the <em class="parameter"><code>name</code></em>
534  and <em class="parameter"><code>value</code></em>
535  should be treated as constants
536 and must not be freed.</p>
537 <div class="example">
538 <a name="id-1.7.3.7.11.6"></a><p class="title"><b>Example 3. Iterating over attributes</b></p>
539 <div class="example-contents">
540   <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
541     <tbody>
542       <tr>
543         <td class="listing_lines" align="right"><pre>1
544 2
545 3
546 4
547 5
548 6
549 7
550 8
551 9
552 10
553 11</pre></td>
554         <td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">void</span>
555 <span class="function">print_attributes</span> <span class="gtkdoc opt">(</span>GIBaseInfo <span class="gtkdoc opt">*</span>info<span class="gtkdoc opt">)</span>
556 <span class="gtkdoc opt">{</span>
557   GIAttributeIter iter <span class="gtkdoc opt">= {</span> <span class="number">0</span><span class="gtkdoc opt">, };</span>
558   <span class="gtkdoc kwb">char</span> <span class="gtkdoc opt">*</span>name<span class="gtkdoc opt">;</span>
559   <span class="gtkdoc kwb">char</span> <span class="gtkdoc opt">*</span>value<span class="gtkdoc opt">;</span>
560   <span class="keyword">while</span> <span class="gtkdoc opt">(</span><span class="function"><a href="GIBaseInfo.html#g-base-info-iterate-attributes">g_base_info_iterate_attributes</a></span> <span class="gtkdoc opt">(</span>info<span class="gtkdoc opt">, &amp;</span>iter<span class="gtkdoc opt">, &amp;</span>name<span class="gtkdoc opt">, &amp;</span>value<span class="gtkdoc opt">))</span>
561     <span class="gtkdoc opt">{</span>
562       <span class="function"><a href="/usr/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span> <span class="gtkdoc opt">(</span><span class="string">&quot;attribute name: %s value: %s&quot;</span><span class="gtkdoc opt">,</span> name<span class="gtkdoc opt">,</span> value<span class="gtkdoc opt">);</span>
563     <span class="gtkdoc opt">}</span>
564 <span class="gtkdoc opt">}</span></pre></td>
565       </tr>
566     </tbody>
567   </table>
568 </div>
569
570 </div>
571 <br class="example-break"><div class="refsect3">
572 <a name="g-base-info-iterate-attributes.parameters"></a><h4>Parameters</h4>
573 <div class="informaltable"><table class="informaltable" width="100%" border="0">
574 <colgroup>
575 <col width="150px" class="parameters_name">
576 <col class="parameters_description">
577 <col width="200px" class="parameters_annotations">
578 </colgroup>
579 <tbody>
580 <tr>
581 <td class="parameter_name"><p>info</p></td>
582 <td class="parameter_description"><p>a <a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a></p></td>
583 <td class="parameter_annotations"> </td>
584 </tr>
585 <tr>
586 <td class="parameter_name"><p>iterator</p></td>
587 <td class="parameter_description"><p>a <a class="link" href="GIBaseInfo.html#GIAttributeIter" title="GIAttributeIter"><span class="type">GIAttributeIter</span></a> structure, must be initialized; see below. </p></td>
588 <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>]</span></td>
589 </tr>
590 <tr>
591 <td class="parameter_name"><p>name</p></td>
592 <td class="parameter_description"><p>Returned name, must not be freed. </p></td>
593 <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="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
594 </tr>
595 <tr>
596 <td class="parameter_name"><p>value</p></td>
597 <td class="parameter_description"><p>Returned name, must not be freed. </p></td>
598 <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="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
599 </tr>
600 </tbody>
601 </table></div>
602 </div>
603 <div class="refsect3">
604 <a name="g-base-info-iterate-attributes.returns"></a><h4>Returns</h4>
605 <p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if there are more attributes</p>
606 </div>
607 </div>
608 <hr>
609 <div class="refsect2">
610 <a name="g-base-info-get-container"></a><h3>g_base_info_get_container ()</h3>
611 <pre class="programlisting"><a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="returnvalue">GIBaseInfo</span></a> *
612 g_base_info_get_container (<em class="parameter"><code><a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a> *info</code></em>);</pre>
613 <p>Obtain the container of the <em class="parameter"><code>info</code></em>
614 . The container is the parent
615 GIBaseInfo. For instance, the parent of a <a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="type">GIFunctionInfo</span></a> is an
616 <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a> or <a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a>.</p>
617 <div class="refsect3">
618 <a name="g-base-info-get-container.parameters"></a><h4>Parameters</h4>
619 <div class="informaltable"><table class="informaltable" width="100%" border="0">
620 <colgroup>
621 <col width="150px" class="parameters_name">
622 <col class="parameters_description">
623 <col width="200px" class="parameters_annotations">
624 </colgroup>
625 <tbody><tr>
626 <td class="parameter_name"><p>info</p></td>
627 <td class="parameter_description"><p>a <a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a></p></td>
628 <td class="parameter_annotations"> </td>
629 </tr></tbody>
630 </table></div>
631 </div>
632 <div class="refsect3">
633 <a name="g-base-info-get-container.returns"></a><h4>Returns</h4>
634 <p>the container. </p>
635 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
636 </div>
637 </div>
638 <hr>
639 <div class="refsect2">
640 <a name="g-base-info-is-deprecated"></a><h3>g_base_info_is_deprecated ()</h3>
641 <pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
642 g_base_info_is_deprecated (<em class="parameter"><code><a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a> *info</code></em>);</pre>
643 <p>Obtain whether the <em class="parameter"><code>info</code></em>
644  is represents a metadata which is
645 deprecated or not.</p>
646 <div class="refsect3">
647 <a name="g-base-info-is-deprecated.parameters"></a><h4>Parameters</h4>
648 <div class="informaltable"><table class="informaltable" width="100%" border="0">
649 <colgroup>
650 <col width="150px" class="parameters_name">
651 <col class="parameters_description">
652 <col width="200px" class="parameters_annotations">
653 </colgroup>
654 <tbody><tr>
655 <td class="parameter_name"><p>info</p></td>
656 <td class="parameter_description"><p>a <a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a></p></td>
657 <td class="parameter_annotations"> </td>
658 </tr></tbody>
659 </table></div>
660 </div>
661 <div class="refsect3">
662 <a name="g-base-info-is-deprecated.returns"></a><h4>Returns</h4>
663 <p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if deprecated</p>
664 </div>
665 </div>
666 <hr>
667 <div class="refsect2">
668 <a name="g-info-type-to-string"></a><h3>g_info_type_to_string ()</h3>
669 <pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
670 g_info_type_to_string (<em class="parameter"><code><a class="link" href="GIBaseInfo.html#GIInfoType" title="enum GIInfoType"><span class="type">GIInfoType</span></a> type</code></em>);</pre>
671 <p>Obtain a string representation of <em class="parameter"><code>type</code></em>
672 </p>
673 <div class="refsect3">
674 <a name="g-info-type-to-string.parameters"></a><h4>Parameters</h4>
675 <div class="informaltable"><table class="informaltable" width="100%" border="0">
676 <colgroup>
677 <col width="150px" class="parameters_name">
678 <col class="parameters_description">
679 <col width="200px" class="parameters_annotations">
680 </colgroup>
681 <tbody><tr>
682 <td class="parameter_name"><p>type</p></td>
683 <td class="parameter_description"><p>the info type</p></td>
684 <td class="parameter_annotations"> </td>
685 </tr></tbody>
686 </table></div>
687 </div>
688 <div class="refsect3">
689 <a name="g-info-type-to-string.returns"></a><h4>Returns</h4>
690 <p> the string</p>
691 </div>
692 </div>
693 </div>
694 <div class="refsect1">
695 <a name="GIBaseInfo.other_details"></a><h2>Types and Values</h2>
696 <div class="refsect2">
697 <a name="GIBaseInfo-struct"></a><h3>GIBaseInfo</h3>
698 <pre class="programlisting">typedef struct {
699 } GIBaseInfo;
700 </pre>
701 </div>
702 <hr>
703 <div class="refsect2">
704 <a name="GIInfoType"></a><h3>enum GIInfoType</h3>
705 <p>The type of a GIBaseInfo struct.</p>
706 <div class="refsect3">
707 <a name="GIInfoType.members"></a><h4>Members</h4>
708 <div class="informaltable"><table class="informaltable" width="100%" border="0">
709 <colgroup>
710 <col width="300px" class="enum_members_name">
711 <col class="enum_members_description">
712 <col width="200px" class="enum_members_annotations">
713 </colgroup>
714 <tbody>
715 <tr>
716 <td class="enum_member_name"><p><a name="GI-INFO-TYPE-INVALID:CAPS"></a>GI_INFO_TYPE_INVALID</p></td>
717 <td class="enum_member_description">
718 <p>invalid type</p>
719 </td>
720 <td class="enum_member_annotations"> </td>
721 </tr>
722 <tr>
723 <td class="enum_member_name"><p><a name="GI-INFO-TYPE-FUNCTION:CAPS"></a>GI_INFO_TYPE_FUNCTION</p></td>
724 <td class="enum_member_description">
725 <p>function, see <a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="type">GIFunctionInfo</span></a></p>
726 </td>
727 <td class="enum_member_annotations"> </td>
728 </tr>
729 <tr>
730 <td class="enum_member_name"><p><a name="GI-INFO-TYPE-CALLBACK:CAPS"></a>GI_INFO_TYPE_CALLBACK</p></td>
731 <td class="enum_member_description">
732 <p>callback, see <a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="type">GIFunctionInfo</span></a></p>
733 </td>
734 <td class="enum_member_annotations"> </td>
735 </tr>
736 <tr>
737 <td class="enum_member_name"><p><a name="GI-INFO-TYPE-STRUCT:CAPS"></a>GI_INFO_TYPE_STRUCT</p></td>
738 <td class="enum_member_description">
739 <p>struct, see <a class="link" href="gi-GIStructInfo.html#GIStructInfo" title="GIStructInfo"><span class="type">GIStructInfo</span></a></p>
740 </td>
741 <td class="enum_member_annotations"> </td>
742 </tr>
743 <tr>
744 <td class="enum_member_name"><p><a name="GI-INFO-TYPE-BOXED:CAPS"></a>GI_INFO_TYPE_BOXED</p></td>
745 <td class="enum_member_description">
746 <p>boxed, see <a class="link" href="gi-GIStructInfo.html#GIStructInfo" title="GIStructInfo"><span class="type">GIStructInfo</span></a> or <a class="link" href="gi-GIUnionInfo.html#GIUnionInfo" title="GIUnionInfo"><span class="type">GIUnionInfo</span></a></p>
747 </td>
748 <td class="enum_member_annotations"> </td>
749 </tr>
750 <tr>
751 <td class="enum_member_name"><p><a name="GI-INFO-TYPE-ENUM:CAPS"></a>GI_INFO_TYPE_ENUM</p></td>
752 <td class="enum_member_description">
753 <p>enum, see <a class="link" href="gi-GIEnumInfo.html#GIEnumInfo" title="GIEnumInfo"><span class="type">GIEnumInfo</span></a></p>
754 </td>
755 <td class="enum_member_annotations"> </td>
756 </tr>
757 <tr>
758 <td class="enum_member_name"><p><a name="GI-INFO-TYPE-FLAGS:CAPS"></a>GI_INFO_TYPE_FLAGS</p></td>
759 <td class="enum_member_description">
760 <p>flags, see <a class="link" href="gi-GIEnumInfo.html#GIEnumInfo" title="GIEnumInfo"><span class="type">GIEnumInfo</span></a></p>
761 </td>
762 <td class="enum_member_annotations"> </td>
763 </tr>
764 <tr>
765 <td class="enum_member_name"><p><a name="GI-INFO-TYPE-OBJECT:CAPS"></a>GI_INFO_TYPE_OBJECT</p></td>
766 <td class="enum_member_description">
767 <p>object, see <a class="link" href="gi-GIObjectInfo.html#GIObjectInfo" title="GIObjectInfo"><span class="type">GIObjectInfo</span></a></p>
768 </td>
769 <td class="enum_member_annotations"> </td>
770 </tr>
771 <tr>
772 <td class="enum_member_name"><p><a name="GI-INFO-TYPE-INTERFACE:CAPS"></a>GI_INFO_TYPE_INTERFACE</p></td>
773 <td class="enum_member_description">
774 <p>interface, see <a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a></p>
775 </td>
776 <td class="enum_member_annotations"> </td>
777 </tr>
778 <tr>
779 <td class="enum_member_name"><p><a name="GI-INFO-TYPE-CONSTANT:CAPS"></a>GI_INFO_TYPE_CONSTANT</p></td>
780 <td class="enum_member_description">
781 <p>contant, see <a class="link" href="gi-GIConstantInfo.html#GIConstantInfo" title="GIConstantInfo"><span class="type">GIConstantInfo</span></a></p>
782 </td>
783 <td class="enum_member_annotations"> </td>
784 </tr>
785 <tr>
786 <td class="enum_member_name"><p><a name="GI-INFO-TYPE-INVALID-0:CAPS"></a>GI_INFO_TYPE_INVALID_0</p></td>
787 <td class="enum_member_description">
788 <p>deleted, used to be GI_INFO_TYPE_ERROR_DOMAIN.</p>
789 </td>
790 <td class="enum_member_annotations"> </td>
791 </tr>
792 <tr>
793 <td class="enum_member_name"><p><a name="GI-INFO-TYPE-UNION:CAPS"></a>GI_INFO_TYPE_UNION</p></td>
794 <td class="enum_member_description">
795 <p>union, see <a class="link" href="gi-GIUnionInfo.html#GIUnionInfo" title="GIUnionInfo"><span class="type">GIUnionInfo</span></a></p>
796 </td>
797 <td class="enum_member_annotations"> </td>
798 </tr>
799 <tr>
800 <td class="enum_member_name"><p><a name="GI-INFO-TYPE-VALUE:CAPS"></a>GI_INFO_TYPE_VALUE</p></td>
801 <td class="enum_member_description">
802 <p>enum value, see <a class="link" href="gi-GIValueInfo.html#GIValueInfo" title="GIValueInfo"><span class="type">GIValueInfo</span></a></p>
803 </td>
804 <td class="enum_member_annotations"> </td>
805 </tr>
806 <tr>
807 <td class="enum_member_name"><p><a name="GI-INFO-TYPE-SIGNAL:CAPS"></a>GI_INFO_TYPE_SIGNAL</p></td>
808 <td class="enum_member_description">
809 <p>signal, see <a class="link" href="gi-GISignalInfo.html#GISignalInfo" title="GISignalInfo"><span class="type">GISignalInfo</span></a></p>
810 </td>
811 <td class="enum_member_annotations"> </td>
812 </tr>
813 <tr>
814 <td class="enum_member_name"><p><a name="GI-INFO-TYPE-VFUNC:CAPS"></a>GI_INFO_TYPE_VFUNC</p></td>
815 <td class="enum_member_description">
816 <p>virtual function, see <a class="link" href="gi-GIVFuncInfo.html#GIVFuncInfo" title="GIVFuncInfo"><span class="type">GIVFuncInfo</span></a></p>
817 </td>
818 <td class="enum_member_annotations"> </td>
819 </tr>
820 <tr>
821 <td class="enum_member_name"><p><a name="GI-INFO-TYPE-PROPERTY:CAPS"></a>GI_INFO_TYPE_PROPERTY</p></td>
822 <td class="enum_member_description">
823 <p>GObject property, see <a class="link" href="gi-GIPropertyInfo.html#GIPropertyInfo" title="GIPropertyInfo"><span class="type">GIPropertyInfo</span></a></p>
824 </td>
825 <td class="enum_member_annotations"> </td>
826 </tr>
827 <tr>
828 <td class="enum_member_name"><p><a name="GI-INFO-TYPE-FIELD:CAPS"></a>GI_INFO_TYPE_FIELD</p></td>
829 <td class="enum_member_description">
830 <p>struct or union field, see <a class="link" href="gi-GIFieldInfo.html#GIFieldInfo" title="GIFieldInfo"><span class="type">GIFieldInfo</span></a></p>
831 </td>
832 <td class="enum_member_annotations"> </td>
833 </tr>
834 <tr>
835 <td class="enum_member_name"><p><a name="GI-INFO-TYPE-ARG:CAPS"></a>GI_INFO_TYPE_ARG</p></td>
836 <td class="enum_member_description">
837 <p>argument of a function or callback, see <a class="link" href="gi-GIArgInfo.html#GIArgInfo" title="GIArgInfo"><span class="type">GIArgInfo</span></a></p>
838 </td>
839 <td class="enum_member_annotations"> </td>
840 </tr>
841 <tr>
842 <td class="enum_member_name"><p><a name="GI-INFO-TYPE-TYPE:CAPS"></a>GI_INFO_TYPE_TYPE</p></td>
843 <td class="enum_member_description">
844 <p>type information, see <a class="link" href="gi-GITypeInfo.html#GITypeInfo" title="GITypeInfo"><span class="type">GITypeInfo</span></a></p>
845 </td>
846 <td class="enum_member_annotations"> </td>
847 </tr>
848 <tr>
849 <td class="enum_member_name"><p><a name="GI-INFO-TYPE-UNRESOLVED:CAPS"></a>GI_INFO_TYPE_UNRESOLVED</p></td>
850 <td class="enum_member_description">
851 <p>unresolved type, a type which is not present in
852   the typelib, or any of its dependencies.</p>
853 </td>
854 <td class="enum_member_annotations"> </td>
855 </tr>
856 </tbody>
857 </table></div>
858 </div>
859 </div>
860 <hr>
861 <div class="refsect2">
862 <a name="GIAttributeIter"></a><h3>GIAttributeIter</h3>
863 <pre class="programlisting">typedef struct {
864 } GIAttributeIter;
865 </pre>
866 <p>An opaque structure used to iterate over attributes
867 in a <a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a> struct.</p>
868 </div>
869 </div>
870 </div>
871 <div class="footer">
872 <hr>Generated by GTK-Doc V1.28</div>
873 </body>
874 </html>