blob: dae0cc0f43d59062c064bf28cc7ebfd51ee29f54 (
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
49
50
51
52
53
54
55
56
57
58
59
|
<?xml version="1.0"?>
<page id="Regress.test_closure_variant"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link xref="index" group="function" type="guide"/>
<api:function>
<api:returns>
<api:type>GLib.Variant</api:type>
</api:returns>
<api:name>regress_test_closure_variant</api:name>
<api:arg>
<api:type>GObject.Closure</api:type>
<api:name>closure</api:name>
</api:arg>
<api:arg>
<api:type>GLib.Variant</api:type>
<api:name>arg</api:name>
</api:arg>
</api:function>
</info>
<title>Regress.test_closure_variant</title>
<synopsis><code mime="text/x-python">
@accepts(GObject.Closure, GLib.Variant)
@returns(GLib.Variant)
def test_closure_variant(closure, arg):
# Python wrapper for regress_test_closure_variant()
</code></synopsis>
<terms>
<item>
<title><code>closure</code></title>
<p>GClosure which takes one GVariant and returns a GVariant</p>
</item>
<item>
<title><code>arg</code></title>
<p>a GVariant passed as argument to <code>closure</code></p>
</item>
<item>
<title><code>Returns</code></title>
{formatter.format(node, node.retval.doc)}
</item>
</terms>
</page>
|