6bacaab034b4d58623799fa7d001f5ac57179ed3
[platform/upstream/gobject-introspection.git] /
1 <?xml version="1.0"?>
2
3 <page id="GIRepository.object_info_get_set_value_function_pointer"
4       type="topic"
5       style="function"
6       xmlns="http://projectmallard.org/1.0/"
7       xmlns:api="http://projectmallard.org/experimental/api/"
8       xmlns:ui="http://projectmallard.org/experimental/ui/">
9   <info>
10     <link type="guide" xref="index" group="function"/>
11     <api:function>
12       <api:returns>
13         <api:type>GIRepository.ObjectInfoSetValueFunction</api:type>
14       </api:returns>
15       <api:name>g_object_info_get_set_value_function_pointer</api:name>
16       <api:arg>
17         <api:type>GIRepository.ObjectInfo</api:type>
18         <api:name>info</api:name>
19       </api:arg>
20     </api:function>
21   </info>
22   <title>object_info_get_set_value_function_pointer</title>
23 <synopsis><code mime="text/x-python">
24 @accepts(GIRepository.ObjectInfo)
25 @returns(GIRepository.ObjectInfoSetValueFunction)
26 def object_info_get_set_value_function_pointer(info)
27 </code></synopsis>
28 <p>Obtain a pointer to a function which can be used to
29 set a GValue given an instance of this object type.
30 This takes derivation into account and will reversely traverse
31 the base classes of this type, starting at the top type.</p>
32
33 <table>
34 <tr>
35 <td><p>info :</p></td>
36 <td><p>a <link xref="GIObjectInfo">GIObjectInfo</link></p></td>
37 </tr>
38 <tr>
39 <td><p>Returns :</p></td>
40 <td><p>the function pointer or None</p></td>
41 </tr>
42 </table>
43 </page>