blob: 45b8a82efb237687007fc8711475a5d6dd45c3d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
<?xml version="1.0"?>
<page id="GIRepository.function_info_get_property"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
<api:function>
<api:returns>
<api:type>GIRepository.PropertyInfo</api:type>
</api:returns>
<api:name>g_function_info_get_property</api:name>
<api:arg>
<api:type>GIRepository.FunctionInfo</api:type>
<api:name>info</api:name>
</api:arg>
</api:function>
</info>
<title>function_info_get_property</title>
<synopsis><code mime="text/x-python">
@accepts(GIRepository.FunctionInfo)
@returns(GIRepository.PropertyInfo)
def function_info_get_property(info)
</code></synopsis>
<p>Obtain the property associated with this <link xref="GIRepository.FunctionInfo">GIRepository.FunctionInfo</link>.
Only <link xref="GIRepository.FunctionInfo">GIRepository.FunctionInfo</link> with the flag %GI_FUNCTION_IS_GETTER or
%GI_FUNCTION_IS_SETTER have a property set. For other cases,
None will be returned.</p><p>g_base_info_unref() when done.</p>
<table>
<tr>
<td><p>info :</p></td>
<td><p>a <link xref="GIRepository.FunctionInfo">GIRepository.FunctionInfo</link></p></td>
</tr>
<tr>
<td><p>Returns :</p></td>
<td><p>the property or None if not set. Free it with</p></td>
</tr>
</table>
</page>
|