blob: 52ddc1bac1b1ce531475ef2d89dca4a9dd82fd9e (
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
44
45
46
47
48
|
<?xml version="1.0"?>
<page id="GIRepository.callable_info_get_return_attribute"
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>utf8</api:type>
</api:returns>
<api:name>g_callable_info_get_return_attribute</api:name>
<api:arg>
<api:type>GIRepository.CallableInfo</api:type>
<api:name>info</api:name>
</api:arg>
<api:arg>
<api:type>utf8</api:type>
<api:name>name</api:name>
</api:arg>
</api:function>
</info>
<title>callable_info_get_return_attribute</title>
<synopsis><code mime="text/x-python">
@accepts(GIRepository.CallableInfo, utf8)
@returns(utf8)
def callable_info_get_return_attribute(info, name)
</code></synopsis>
<p>Retrieve an arbitrary attribute associated with the return value.</p>
<table>
<tr>
<td><p>info :</p></td>
<td><p>a <link xref="GIRepository.CallableInfo">GIRepository.CallableInfo</link></p></td>
</tr>
<tr>
<td><p>name :</p></td>
<td><p>a freeform string naming an attribute</p></td>
</tr>
<tr>
<td><p>Returns :</p></td>
<td><p>The value of the attribute, or None if no such attribute exists</p></td>
</tr>
</table>
</page>
|