Imported Upstream version 1.59.4
[platform/upstream/gobject-introspection.git] / docs / reference / html / gi-GIInterfaceInfo.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>GIInterfaceInfo: 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-GIObjectInfo.html" title="GIObjectInfo">
10 <link rel="next" href="gi-GIArgInfo.html" title="GIArgInfo">
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-GIInterfaceInfo.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-GIObjectInfo.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
23 <td><a accesskey="n" href="gi-GIArgInfo.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-GIInterfaceInfo"></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-GIInterfaceInfo.top_of_page"></a>GIInterfaceInfo</span></h2>
30 <p>GIInterfaceInfo — Struct representing a GInterface</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-GIInterfaceInfo.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-GIInterfaceInfo.html#GI-IS-INTERFACE-INFO:CAPS" title="GI_IS_INTERFACE_INFO()">GI_IS_INTERFACE_INFO</a><span class="c_punctuation">()</span>
46 </td>
47 </tr>
48 <tr>
49 <td class="function_type">
50 <span class="returnvalue">gint</span>
51 </td>
52 <td class="function_name">
53 <a class="link" href="gi-GIInterfaceInfo.html#g-interface-info-get-n-prerequisites" title="g_interface_info_get_n_prerequisites ()">g_interface_info_get_n_prerequisites</a> <span class="c_punctuation">()</span>
54 </td>
55 </tr>
56 <tr>
57 <td class="function_type">
58 <a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="returnvalue">GIBaseInfo</span></a> *
59 </td>
60 <td class="function_name">
61 <a class="link" href="gi-GIInterfaceInfo.html#g-interface-info-get-prerequisite" title="g_interface_info_get_prerequisite ()">g_interface_info_get_prerequisite</a> <span class="c_punctuation">()</span>
62 </td>
63 </tr>
64 <tr>
65 <td class="function_type">
66 <span class="returnvalue">gint</span>
67 </td>
68 <td class="function_name">
69 <a class="link" href="gi-GIInterfaceInfo.html#g-interface-info-get-n-properties" title="g_interface_info_get_n_properties ()">g_interface_info_get_n_properties</a> <span class="c_punctuation">()</span>
70 </td>
71 </tr>
72 <tr>
73 <td class="function_type">
74 <a class="link" href="gi-GIPropertyInfo.html#GIPropertyInfo" title="GIPropertyInfo"><span class="returnvalue">GIPropertyInfo</span></a> *
75 </td>
76 <td class="function_name">
77 <a class="link" href="gi-GIInterfaceInfo.html#g-interface-info-get-property" title="g_interface_info_get_property ()">g_interface_info_get_property</a> <span class="c_punctuation">()</span>
78 </td>
79 </tr>
80 <tr>
81 <td class="function_type">
82 <span class="returnvalue">gint</span>
83 </td>
84 <td class="function_name">
85 <a class="link" href="gi-GIInterfaceInfo.html#g-interface-info-get-n-methods" title="g_interface_info_get_n_methods ()">g_interface_info_get_n_methods</a> <span class="c_punctuation">()</span>
86 </td>
87 </tr>
88 <tr>
89 <td class="function_type">
90 <a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="returnvalue">GIFunctionInfo</span></a> *
91 </td>
92 <td class="function_name">
93 <a class="link" href="gi-GIInterfaceInfo.html#g-interface-info-get-method" title="g_interface_info_get_method ()">g_interface_info_get_method</a> <span class="c_punctuation">()</span>
94 </td>
95 </tr>
96 <tr>
97 <td class="function_type">
98 <a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="returnvalue">GIFunctionInfo</span></a> *
99 </td>
100 <td class="function_name">
101 <a class="link" href="gi-GIInterfaceInfo.html#g-interface-info-find-method" title="g_interface_info_find_method ()">g_interface_info_find_method</a> <span class="c_punctuation">()</span>
102 </td>
103 </tr>
104 <tr>
105 <td class="function_type">
106 <span class="returnvalue">gint</span>
107 </td>
108 <td class="function_name">
109 <a class="link" href="gi-GIInterfaceInfo.html#g-interface-info-get-n-signals" title="g_interface_info_get_n_signals ()">g_interface_info_get_n_signals</a> <span class="c_punctuation">()</span>
110 </td>
111 </tr>
112 <tr>
113 <td class="function_type">
114 <a class="link" href="gi-GISignalInfo.html#GISignalInfo" title="GISignalInfo"><span class="returnvalue">GISignalInfo</span></a> *
115 </td>
116 <td class="function_name">
117 <a class="link" href="gi-GIInterfaceInfo.html#g-interface-info-get-signal" title="g_interface_info_get_signal ()">g_interface_info_get_signal</a> <span class="c_punctuation">()</span>
118 </td>
119 </tr>
120 <tr>
121 <td class="function_type">
122 <a class="link" href="gi-GISignalInfo.html#GISignalInfo" title="GISignalInfo"><span class="returnvalue">GISignalInfo</span></a> *
123 </td>
124 <td class="function_name">
125 <a class="link" href="gi-GIInterfaceInfo.html#g-interface-info-find-signal" title="g_interface_info_find_signal ()">g_interface_info_find_signal</a> <span class="c_punctuation">()</span>
126 </td>
127 </tr>
128 <tr>
129 <td class="function_type">
130 <span class="returnvalue">gint</span>
131 </td>
132 <td class="function_name">
133 <a class="link" href="gi-GIInterfaceInfo.html#g-interface-info-get-n-vfuncs" title="g_interface_info_get_n_vfuncs ()">g_interface_info_get_n_vfuncs</a> <span class="c_punctuation">()</span>
134 </td>
135 </tr>
136 <tr>
137 <td class="function_type">
138 <a class="link" href="gi-GIVFuncInfo.html#GIVFuncInfo" title="GIVFuncInfo"><span class="returnvalue">GIVFuncInfo</span></a> *
139 </td>
140 <td class="function_name">
141 <a class="link" href="gi-GIInterfaceInfo.html#g-interface-info-get-vfunc" title="g_interface_info_get_vfunc ()">g_interface_info_get_vfunc</a> <span class="c_punctuation">()</span>
142 </td>
143 </tr>
144 <tr>
145 <td class="function_type">
146 <a class="link" href="gi-GIVFuncInfo.html#GIVFuncInfo" title="GIVFuncInfo"><span class="returnvalue">GIVFuncInfo</span></a> *
147 </td>
148 <td class="function_name">
149 <a class="link" href="gi-GIInterfaceInfo.html#g-interface-info-find-vfunc" title="g_interface_info_find_vfunc ()">g_interface_info_find_vfunc</a> <span class="c_punctuation">()</span>
150 </td>
151 </tr>
152 <tr>
153 <td class="function_type">
154 <span class="returnvalue">gint</span>
155 </td>
156 <td class="function_name">
157 <a class="link" href="gi-GIInterfaceInfo.html#g-interface-info-get-n-constants" title="g_interface_info_get_n_constants ()">g_interface_info_get_n_constants</a> <span class="c_punctuation">()</span>
158 </td>
159 </tr>
160 <tr>
161 <td class="function_type">
162 <a class="link" href="gi-GIConstantInfo.html#GIConstantInfo" title="GIConstantInfo"><span class="returnvalue">GIConstantInfo</span></a> *
163 </td>
164 <td class="function_name">
165 <a class="link" href="gi-GIInterfaceInfo.html#g-interface-info-get-constant" title="g_interface_info_get_constant ()">g_interface_info_get_constant</a> <span class="c_punctuation">()</span>
166 </td>
167 </tr>
168 <tr>
169 <td class="function_type">
170 <a class="link" href="gi-GIStructInfo.html#GIStructInfo" title="GIStructInfo"><span class="returnvalue">GIStructInfo</span></a> *
171 </td>
172 <td class="function_name">
173 <a class="link" href="gi-GIInterfaceInfo.html#g-interface-info-get-iface-struct" title="g_interface_info_get_iface_struct ()">g_interface_info_get_iface_struct</a> <span class="c_punctuation">()</span>
174 </td>
175 </tr>
176 </tbody>
177 </table></div>
178 </div>
179 <div class="refsect1">
180 <a name="gi-GIInterfaceInfo.other"></a><h2>Types and Values</h2>
181 <div class="informaltable"><table class="informaltable" width="100%" border="0">
182 <colgroup>
183 <col width="150px" class="name">
184 <col class="description">
185 </colgroup>
186 <tbody><tr>
187 <td class="typedef_keyword">typedef</td>
188 <td class="function_name"><a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo">GIInterfaceInfo</a></td>
189 </tr></tbody>
190 </table></div>
191 </div>
192 <div class="refsect1">
193 <a name="gi-GIInterfaceInfo.description"></a><h2>Description</h2>
194 <p>GIInterfaceInfo represents a <a href="/home/lazka/Desktop/jhbuild/bin/share/gtk-doc/html/gobject/GTypeModule.html"><span class="type">GInterface</span></a> type.</p>
195 <p>A GInterface has methods, fields, properties, signals, interfaces, constants,
196 virtual functions and prerequisites.</p>
197 <div class="refsect1">
198 <a name="gi-giinterfaceinfo.struct-hierarchy"></a><h2>Struct hierarchy</h2>
199 <pre class="synopsis">
200   <a class="link" href="GIBaseInfo.html" title="GIBaseInfo">GIBaseInfo</a>
201    +----<a class="link" href="gi-GIRegisteredTypeInfo.html" title="GIRegisteredTypeInfo">GIRegisteredTypeInfo</a>
202          +----GIInterfaceInfo
203 </pre>
204 </div>
205 </div>
206 <div class="refsect1">
207 <a name="gi-GIInterfaceInfo.functions_details"></a><h2>Functions</h2>
208 <div class="refsect2">
209 <a name="GI-IS-INTERFACE-INFO:CAPS"></a><h3>GI_IS_INTERFACE_INFO()</h3>
210 <pre class="programlisting">#define             GI_IS_INTERFACE_INFO(info)</pre>
211 <p>Checks if <em class="parameter"><code>info</code></em>
212  is a <a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a>.</p>
213 <div class="refsect3">
214 <a name="GI-IS-INTERFACE-INFO.parameters"></a><h4>Parameters</h4>
215 <div class="informaltable"><table class="informaltable" width="100%" border="0">
216 <colgroup>
217 <col width="150px" class="parameters_name">
218 <col class="parameters_description">
219 <col width="200px" class="parameters_annotations">
220 </colgroup>
221 <tbody><tr>
222 <td class="parameter_name"><p>info</p></td>
223 <td class="parameter_description"><p>an info structure</p></td>
224 <td class="parameter_annotations"> </td>
225 </tr></tbody>
226 </table></div>
227 </div>
228 </div>
229 <hr>
230 <div class="refsect2">
231 <a name="g-interface-info-get-n-prerequisites"></a><h3>g_interface_info_get_n_prerequisites ()</h3>
232 <pre class="programlisting"><span class="returnvalue">gint</span>
233 g_interface_info_get_n_prerequisites (<em class="parameter"><code><a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a> *info</code></em>);</pre>
234 <p>Obtain the number of prerequisites for this interface type.
235 A prerequisites is another interface that needs to be implemented for
236 interface, similar to an base class for GObjects.</p>
237 <div class="refsect3">
238 <a name="g-interface-info-get-n-prerequisites.parameters"></a><h4>Parameters</h4>
239 <div class="informaltable"><table class="informaltable" width="100%" border="0">
240 <colgroup>
241 <col width="150px" class="parameters_name">
242 <col class="parameters_description">
243 <col width="200px" class="parameters_annotations">
244 </colgroup>
245 <tbody><tr>
246 <td class="parameter_name"><p>info</p></td>
247 <td class="parameter_description"><p>a <a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a></p></td>
248 <td class="parameter_annotations"> </td>
249 </tr></tbody>
250 </table></div>
251 </div>
252 <div class="refsect3">
253 <a name="g-interface-info-get-n-prerequisites.returns"></a><h4>Returns</h4>
254 <p> number of prerequisites</p>
255 </div>
256 </div>
257 <hr>
258 <div class="refsect2">
259 <a name="g-interface-info-get-prerequisite"></a><h3>g_interface_info_get_prerequisite ()</h3>
260 <pre class="programlisting"><a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="returnvalue">GIBaseInfo</span></a> *
261 g_interface_info_get_prerequisite (<em class="parameter"><code><a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a> *info</code></em>,
262                                    <em class="parameter"><code><span class="type">gint</span> n</code></em>);</pre>
263 <p>Obtain an interface type prerequisites index <em class="parameter"><code>n</code></em>
264 .</p>
265 <div class="refsect3">
266 <a name="g-interface-info-get-prerequisite.parameters"></a><h4>Parameters</h4>
267 <div class="informaltable"><table class="informaltable" width="100%" border="0">
268 <colgroup>
269 <col width="150px" class="parameters_name">
270 <col class="parameters_description">
271 <col width="200px" class="parameters_annotations">
272 </colgroup>
273 <tbody>
274 <tr>
275 <td class="parameter_name"><p>info</p></td>
276 <td class="parameter_description"><p>a <a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a></p></td>
277 <td class="parameter_annotations"> </td>
278 </tr>
279 <tr>
280 <td class="parameter_name"><p>n</p></td>
281 <td class="parameter_description"><p>index of prerequisites to get</p></td>
282 <td class="parameter_annotations"> </td>
283 </tr>
284 </tbody>
285 </table></div>
286 </div>
287 <div class="refsect3">
288 <a name="g-interface-info-get-prerequisite.returns"></a><h4>Returns</h4>
289 <p>the prerequisites as a <a class="link" href="GIBaseInfo.html" title="GIBaseInfo"><span class="type">GIBaseInfo</span></a>. Free the struct by calling
290 <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>
291 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
292 </div>
293 </div>
294 <hr>
295 <div class="refsect2">
296 <a name="g-interface-info-get-n-properties"></a><h3>g_interface_info_get_n_properties ()</h3>
297 <pre class="programlisting"><span class="returnvalue">gint</span>
298 g_interface_info_get_n_properties (<em class="parameter"><code><a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a> *info</code></em>);</pre>
299 <p>Obtain the number of properties that this interface type has.</p>
300 <div class="refsect3">
301 <a name="g-interface-info-get-n-properties.parameters"></a><h4>Parameters</h4>
302 <div class="informaltable"><table class="informaltable" width="100%" border="0">
303 <colgroup>
304 <col width="150px" class="parameters_name">
305 <col class="parameters_description">
306 <col width="200px" class="parameters_annotations">
307 </colgroup>
308 <tbody><tr>
309 <td class="parameter_name"><p>info</p></td>
310 <td class="parameter_description"><p>a <a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a></p></td>
311 <td class="parameter_annotations"> </td>
312 </tr></tbody>
313 </table></div>
314 </div>
315 <div class="refsect3">
316 <a name="g-interface-info-get-n-properties.returns"></a><h4>Returns</h4>
317 <p> number of properties</p>
318 </div>
319 </div>
320 <hr>
321 <div class="refsect2">
322 <a name="g-interface-info-get-property"></a><h3>g_interface_info_get_property ()</h3>
323 <pre class="programlisting"><a class="link" href="gi-GIPropertyInfo.html#GIPropertyInfo" title="GIPropertyInfo"><span class="returnvalue">GIPropertyInfo</span></a> *
324 g_interface_info_get_property (<em class="parameter"><code><a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a> *info</code></em>,
325                                <em class="parameter"><code><span class="type">gint</span> n</code></em>);</pre>
326 <p>Obtain an interface type property at index <em class="parameter"><code>n</code></em>
327 .</p>
328 <div class="refsect3">
329 <a name="g-interface-info-get-property.parameters"></a><h4>Parameters</h4>
330 <div class="informaltable"><table class="informaltable" width="100%" border="0">
331 <colgroup>
332 <col width="150px" class="parameters_name">
333 <col class="parameters_description">
334 <col width="200px" class="parameters_annotations">
335 </colgroup>
336 <tbody>
337 <tr>
338 <td class="parameter_name"><p>info</p></td>
339 <td class="parameter_description"><p>a <a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a></p></td>
340 <td class="parameter_annotations"> </td>
341 </tr>
342 <tr>
343 <td class="parameter_name"><p>n</p></td>
344 <td class="parameter_description"><p>index of property to get</p></td>
345 <td class="parameter_annotations"> </td>
346 </tr>
347 </tbody>
348 </table></div>
349 </div>
350 <div class="refsect3">
351 <a name="g-interface-info-get-property.returns"></a><h4>Returns</h4>
352 <p>the <a class="link" href="gi-GIPropertyInfo.html#GIPropertyInfo" title="GIPropertyInfo"><span class="type">GIPropertyInfo</span></a>. Free the struct by calling
353 <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>
354 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
355 </div>
356 </div>
357 <hr>
358 <div class="refsect2">
359 <a name="g-interface-info-get-n-methods"></a><h3>g_interface_info_get_n_methods ()</h3>
360 <pre class="programlisting"><span class="returnvalue">gint</span>
361 g_interface_info_get_n_methods (<em class="parameter"><code><a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a> *info</code></em>);</pre>
362 <p>Obtain the number of methods that this interface type has.</p>
363 <div class="refsect3">
364 <a name="g-interface-info-get-n-methods.parameters"></a><h4>Parameters</h4>
365 <div class="informaltable"><table class="informaltable" width="100%" border="0">
366 <colgroup>
367 <col width="150px" class="parameters_name">
368 <col class="parameters_description">
369 <col width="200px" class="parameters_annotations">
370 </colgroup>
371 <tbody><tr>
372 <td class="parameter_name"><p>info</p></td>
373 <td class="parameter_description"><p>a <a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a></p></td>
374 <td class="parameter_annotations"> </td>
375 </tr></tbody>
376 </table></div>
377 </div>
378 <div class="refsect3">
379 <a name="g-interface-info-get-n-methods.returns"></a><h4>Returns</h4>
380 <p> number of methods</p>
381 </div>
382 </div>
383 <hr>
384 <div class="refsect2">
385 <a name="g-interface-info-get-method"></a><h3>g_interface_info_get_method ()</h3>
386 <pre class="programlisting"><a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="returnvalue">GIFunctionInfo</span></a> *
387 g_interface_info_get_method (<em class="parameter"><code><a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a> *info</code></em>,
388                              <em class="parameter"><code><span class="type">gint</span> n</code></em>);</pre>
389 <p>Obtain an interface type method at index <em class="parameter"><code>n</code></em>
390 .</p>
391 <div class="refsect3">
392 <a name="g-interface-info-get-method.parameters"></a><h4>Parameters</h4>
393 <div class="informaltable"><table class="informaltable" width="100%" border="0">
394 <colgroup>
395 <col width="150px" class="parameters_name">
396 <col class="parameters_description">
397 <col width="200px" class="parameters_annotations">
398 </colgroup>
399 <tbody>
400 <tr>
401 <td class="parameter_name"><p>info</p></td>
402 <td class="parameter_description"><p>a <a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a></p></td>
403 <td class="parameter_annotations"> </td>
404 </tr>
405 <tr>
406 <td class="parameter_name"><p>n</p></td>
407 <td class="parameter_description"><p>index of method to get</p></td>
408 <td class="parameter_annotations"> </td>
409 </tr>
410 </tbody>
411 </table></div>
412 </div>
413 <div class="refsect3">
414 <a name="g-interface-info-get-method.returns"></a><h4>Returns</h4>
415 <p>the <a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="type">GIFunctionInfo</span></a>. Free the struct by calling
416 <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>
417 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
418 </div>
419 </div>
420 <hr>
421 <div class="refsect2">
422 <a name="g-interface-info-find-method"></a><h3>g_interface_info_find_method ()</h3>
423 <pre class="programlisting"><a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="returnvalue">GIFunctionInfo</span></a> *
424 g_interface_info_find_method (<em class="parameter"><code><a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a> *info</code></em>,
425                               <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre>
426 <p>Obtain a method of the interface type given a <em class="parameter"><code>name</code></em>
427 . <code class="literal">NULL</code> will be
428 returned if there's no method available with that name.</p>
429 <div class="refsect3">
430 <a name="g-interface-info-find-method.parameters"></a><h4>Parameters</h4>
431 <div class="informaltable"><table class="informaltable" width="100%" border="0">
432 <colgroup>
433 <col width="150px" class="parameters_name">
434 <col class="parameters_description">
435 <col width="200px" class="parameters_annotations">
436 </colgroup>
437 <tbody>
438 <tr>
439 <td class="parameter_name"><p>info</p></td>
440 <td class="parameter_description"><p>a <a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a></p></td>
441 <td class="parameter_annotations"> </td>
442 </tr>
443 <tr>
444 <td class="parameter_name"><p>name</p></td>
445 <td class="parameter_description"><p>name of method to obtain</p></td>
446 <td class="parameter_annotations"> </td>
447 </tr>
448 </tbody>
449 </table></div>
450 </div>
451 <div class="refsect3">
452 <a name="g-interface-info-find-method.returns"></a><h4>Returns</h4>
453 <p>the <a class="link" href="gi-GIFunctionInfo.html#GIFunctionInfo" title="GIFunctionInfo"><span class="type">GIFunctionInfo</span></a> or <code class="literal">NULL</code> if none found.
454 Free the struct by calling <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>
455 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
456 </div>
457 </div>
458 <hr>
459 <div class="refsect2">
460 <a name="g-interface-info-get-n-signals"></a><h3>g_interface_info_get_n_signals ()</h3>
461 <pre class="programlisting"><span class="returnvalue">gint</span>
462 g_interface_info_get_n_signals (<em class="parameter"><code><a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a> *info</code></em>);</pre>
463 <p>Obtain the number of signals that this interface type has.</p>
464 <div class="refsect3">
465 <a name="g-interface-info-get-n-signals.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="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</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-interface-info-get-n-signals.returns"></a><h4>Returns</h4>
481 <p> number of signals</p>
482 </div>
483 </div>
484 <hr>
485 <div class="refsect2">
486 <a name="g-interface-info-get-signal"></a><h3>g_interface_info_get_signal ()</h3>
487 <pre class="programlisting"><a class="link" href="gi-GISignalInfo.html#GISignalInfo" title="GISignalInfo"><span class="returnvalue">GISignalInfo</span></a> *
488 g_interface_info_get_signal (<em class="parameter"><code><a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a> *info</code></em>,
489                              <em class="parameter"><code><span class="type">gint</span> n</code></em>);</pre>
490 <p>Obtain an interface type signal at index <em class="parameter"><code>n</code></em>
491 .</p>
492 <div class="refsect3">
493 <a name="g-interface-info-get-signal.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="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a></p></td>
504 <td class="parameter_annotations"> </td>
505 </tr>
506 <tr>
507 <td class="parameter_name"><p>n</p></td>
508 <td class="parameter_description"><p>index of signal to get</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-interface-info-get-signal.returns"></a><h4>Returns</h4>
516 <p>the <a class="link" href="gi-GISignalInfo.html#GISignalInfo" title="GISignalInfo"><span class="type">GISignalInfo</span></a>. Free the struct by calling
517 <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>
518 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
519 </div>
520 </div>
521 <hr>
522 <div class="refsect2">
523 <a name="g-interface-info-find-signal"></a><h3>g_interface_info_find_signal ()</h3>
524 <pre class="programlisting"><a class="link" href="gi-GISignalInfo.html#GISignalInfo" title="GISignalInfo"><span class="returnvalue">GISignalInfo</span></a> *
525 g_interface_info_find_signal (<em class="parameter"><code><a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a> *info</code></em>,
526                               <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre>
527 <p>TODO</p>
528 <div class="refsect3">
529 <a name="g-interface-info-find-signal.parameters"></a><h4>Parameters</h4>
530 <div class="informaltable"><table class="informaltable" width="100%" border="0">
531 <colgroup>
532 <col width="150px" class="parameters_name">
533 <col class="parameters_description">
534 <col width="200px" class="parameters_annotations">
535 </colgroup>
536 <tbody>
537 <tr>
538 <td class="parameter_name"><p>info</p></td>
539 <td class="parameter_description"><p>a <a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a></p></td>
540 <td class="parameter_annotations"> </td>
541 </tr>
542 <tr>
543 <td class="parameter_name"><p>name</p></td>
544 <td class="parameter_description"><p>Name of signal</p></td>
545 <td class="parameter_annotations"> </td>
546 </tr>
547 </tbody>
548 </table></div>
549 </div>
550 <div class="refsect3">
551 <a name="g-interface-info-find-signal.returns"></a><h4>Returns</h4>
552 <p>Info for the signal with name <em class="parameter"><code>name</code></em>
553 in <em class="parameter"><code>info</code></em>
554 , or
555 <code class="literal">NULL</code> on failure. </p>
556 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
557 </div>
558 <p class="since">Since: <a class="link" href="api-index-1-34.html#api-index-1.34">1.34</a></p>
559 </div>
560 <hr>
561 <div class="refsect2">
562 <a name="g-interface-info-get-n-vfuncs"></a><h3>g_interface_info_get_n_vfuncs ()</h3>
563 <pre class="programlisting"><span class="returnvalue">gint</span>
564 g_interface_info_get_n_vfuncs (<em class="parameter"><code><a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a> *info</code></em>);</pre>
565 <p>Obtain the number of virtual functions that this interface type has.</p>
566 <div class="refsect3">
567 <a name="g-interface-info-get-n-vfuncs.parameters"></a><h4>Parameters</h4>
568 <div class="informaltable"><table class="informaltable" width="100%" border="0">
569 <colgroup>
570 <col width="150px" class="parameters_name">
571 <col class="parameters_description">
572 <col width="200px" class="parameters_annotations">
573 </colgroup>
574 <tbody><tr>
575 <td class="parameter_name"><p>info</p></td>
576 <td class="parameter_description"><p>a <a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a></p></td>
577 <td class="parameter_annotations"> </td>
578 </tr></tbody>
579 </table></div>
580 </div>
581 <div class="refsect3">
582 <a name="g-interface-info-get-n-vfuncs.returns"></a><h4>Returns</h4>
583 <p> number of virtual functions</p>
584 </div>
585 </div>
586 <hr>
587 <div class="refsect2">
588 <a name="g-interface-info-get-vfunc"></a><h3>g_interface_info_get_vfunc ()</h3>
589 <pre class="programlisting"><a class="link" href="gi-GIVFuncInfo.html#GIVFuncInfo" title="GIVFuncInfo"><span class="returnvalue">GIVFuncInfo</span></a> *
590 g_interface_info_get_vfunc (<em class="parameter"><code><a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a> *info</code></em>,
591                             <em class="parameter"><code><span class="type">gint</span> n</code></em>);</pre>
592 <p>Obtain an interface type virtual function at index <em class="parameter"><code>n</code></em>
593 .</p>
594 <div class="refsect3">
595 <a name="g-interface-info-get-vfunc.parameters"></a><h4>Parameters</h4>
596 <div class="informaltable"><table class="informaltable" width="100%" border="0">
597 <colgroup>
598 <col width="150px" class="parameters_name">
599 <col class="parameters_description">
600 <col width="200px" class="parameters_annotations">
601 </colgroup>
602 <tbody>
603 <tr>
604 <td class="parameter_name"><p>info</p></td>
605 <td class="parameter_description"><p>a <a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a></p></td>
606 <td class="parameter_annotations"> </td>
607 </tr>
608 <tr>
609 <td class="parameter_name"><p>n</p></td>
610 <td class="parameter_description"><p>index of virtual function to get</p></td>
611 <td class="parameter_annotations"> </td>
612 </tr>
613 </tbody>
614 </table></div>
615 </div>
616 <div class="refsect3">
617 <a name="g-interface-info-get-vfunc.returns"></a><h4>Returns</h4>
618 <p>the <a class="link" href="gi-GIVFuncInfo.html#GIVFuncInfo" title="GIVFuncInfo"><span class="type">GIVFuncInfo</span></a>. Free the struct by calling
619 <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>
620 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
621 </div>
622 </div>
623 <hr>
624 <div class="refsect2">
625 <a name="g-interface-info-find-vfunc"></a><h3>g_interface_info_find_vfunc ()</h3>
626 <pre class="programlisting"><a class="link" href="gi-GIVFuncInfo.html#GIVFuncInfo" title="GIVFuncInfo"><span class="returnvalue">GIVFuncInfo</span></a> *
627 g_interface_info_find_vfunc (<em class="parameter"><code><a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a> *info</code></em>,
628                              <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre>
629 <p>Locate a virtual function slot with name <em class="parameter"><code>name</code></em>
630 . See the documentation
631 for <a class="link" href="gi-GIObjectInfo.html#g-object-info-find-vfunc" title="g_object_info_find_vfunc ()"><code class="function">g_object_info_find_vfunc()</code></a> for more information on virtuals.</p>
632 <div class="refsect3">
633 <a name="g-interface-info-find-vfunc.parameters"></a><h4>Parameters</h4>
634 <div class="informaltable"><table class="informaltable" width="100%" border="0">
635 <colgroup>
636 <col width="150px" class="parameters_name">
637 <col class="parameters_description">
638 <col width="200px" class="parameters_annotations">
639 </colgroup>
640 <tbody>
641 <tr>
642 <td class="parameter_name"><p>info</p></td>
643 <td class="parameter_description"><p>a <a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a></p></td>
644 <td class="parameter_annotations"> </td>
645 </tr>
646 <tr>
647 <td class="parameter_name"><p>name</p></td>
648 <td class="parameter_description"><p>The name of a virtual function to find.</p></td>
649 <td class="parameter_annotations"> </td>
650 </tr>
651 </tbody>
652 </table></div>
653 </div>
654 <div class="refsect3">
655 <a name="g-interface-info-find-vfunc.returns"></a><h4>Returns</h4>
656 <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
657 <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>
658 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
659 </div>
660 </div>
661 <hr>
662 <div class="refsect2">
663 <a name="g-interface-info-get-n-constants"></a><h3>g_interface_info_get_n_constants ()</h3>
664 <pre class="programlisting"><span class="returnvalue">gint</span>
665 g_interface_info_get_n_constants (<em class="parameter"><code><a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a> *info</code></em>);</pre>
666 <p>Obtain the number of constants that this interface type has.</p>
667 <div class="refsect3">
668 <a name="g-interface-info-get-n-constants.parameters"></a><h4>Parameters</h4>
669 <div class="informaltable"><table class="informaltable" width="100%" border="0">
670 <colgroup>
671 <col width="150px" class="parameters_name">
672 <col class="parameters_description">
673 <col width="200px" class="parameters_annotations">
674 </colgroup>
675 <tbody><tr>
676 <td class="parameter_name"><p>info</p></td>
677 <td class="parameter_description"><p>a <a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a></p></td>
678 <td class="parameter_annotations"> </td>
679 </tr></tbody>
680 </table></div>
681 </div>
682 <div class="refsect3">
683 <a name="g-interface-info-get-n-constants.returns"></a><h4>Returns</h4>
684 <p> number of constants</p>
685 </div>
686 </div>
687 <hr>
688 <div class="refsect2">
689 <a name="g-interface-info-get-constant"></a><h3>g_interface_info_get_constant ()</h3>
690 <pre class="programlisting"><a class="link" href="gi-GIConstantInfo.html#GIConstantInfo" title="GIConstantInfo"><span class="returnvalue">GIConstantInfo</span></a> *
691 g_interface_info_get_constant (<em class="parameter"><code><a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a> *info</code></em>,
692                                <em class="parameter"><code><span class="type">gint</span> n</code></em>);</pre>
693 <p>Obtain an interface type constant at index <em class="parameter"><code>n</code></em>
694 .</p>
695 <div class="refsect3">
696 <a name="g-interface-info-get-constant.parameters"></a><h4>Parameters</h4>
697 <div class="informaltable"><table class="informaltable" width="100%" border="0">
698 <colgroup>
699 <col width="150px" class="parameters_name">
700 <col class="parameters_description">
701 <col width="200px" class="parameters_annotations">
702 </colgroup>
703 <tbody>
704 <tr>
705 <td class="parameter_name"><p>info</p></td>
706 <td class="parameter_description"><p>a <a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a></p></td>
707 <td class="parameter_annotations"> </td>
708 </tr>
709 <tr>
710 <td class="parameter_name"><p>n</p></td>
711 <td class="parameter_description"><p>index of constant to get</p></td>
712 <td class="parameter_annotations"> </td>
713 </tr>
714 </tbody>
715 </table></div>
716 </div>
717 <div class="refsect3">
718 <a name="g-interface-info-get-constant.returns"></a><h4>Returns</h4>
719 <p>the <a class="link" href="gi-GIConstantInfo.html#GIConstantInfo" title="GIConstantInfo"><span class="type">GIConstantInfo</span></a>. Free the struct by calling
720 <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>
721 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
722 </div>
723 </div>
724 <hr>
725 <div class="refsect2">
726 <a name="g-interface-info-get-iface-struct"></a><h3>g_interface_info_get_iface_struct ()</h3>
727 <pre class="programlisting"><a class="link" href="gi-GIStructInfo.html#GIStructInfo" title="GIStructInfo"><span class="returnvalue">GIStructInfo</span></a> *
728 g_interface_info_get_iface_struct (<em class="parameter"><code><a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a> *info</code></em>);</pre>
729 <p>Returns the layout C structure associated with this <a href="/home/lazka/Desktop/jhbuild/bin/share/gtk-doc/html/gobject/GTypeModule.html"><span class="type">GInterface</span></a>.</p>
730 <div class="refsect3">
731 <a name="g-interface-info-get-iface-struct.parameters"></a><h4>Parameters</h4>
732 <div class="informaltable"><table class="informaltable" width="100%" border="0">
733 <colgroup>
734 <col width="150px" class="parameters_name">
735 <col class="parameters_description">
736 <col width="200px" class="parameters_annotations">
737 </colgroup>
738 <tbody><tr>
739 <td class="parameter_name"><p>info</p></td>
740 <td class="parameter_description"><p>a <a class="link" href="gi-GIInterfaceInfo.html#GIInterfaceInfo" title="GIInterfaceInfo"><span class="type">GIInterfaceInfo</span></a></p></td>
741 <td class="parameter_annotations"> </td>
742 </tr></tbody>
743 </table></div>
744 </div>
745 <div class="refsect3">
746 <a name="g-interface-info-get-iface-struct.returns"></a><h4>Returns</h4>
747 <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 it with
748 <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>
749 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
750 </div>
751 </div>
752 </div>
753 <div class="refsect1">
754 <a name="gi-GIInterfaceInfo.other_details"></a><h2>Types and Values</h2>
755 <div class="refsect2">
756 <a name="GIInterfaceInfo"></a><h3>GIInterfaceInfo</h3>
757 <pre class="programlisting">typedef GIBaseInfo GIInterfaceInfo;
758 </pre>
759 <p>Represents an interface.</p>
760 </div>
761 </div>
762 </div>
763 <div class="footer">
764 <hr>Generated by GTK-Doc V1.29.1</div>
765 </body>
766 </html>