summaryrefslogtreecommitdiff
path: root/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_scope.page
blob: 63ccc34264f11b6f329cb517b079736ced6c7982 (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.arg_info_get_scope"
      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.ScopeType</api:type>
      </api:returns>
      <api:name>g_arg_info_get_scope</api:name>
      <api:arg>
        <api:type>GIRepository.ArgInfo</api:type>
        <api:name>info</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>arg_info_get_scope</title>
<synopsis><code mime="text/x-python">
@accepts(GIRepository.ArgInfo)
@returns(GIRepository.ScopeType)
def arg_info_get_scope(info)
</code></synopsis>
<p>Obtain the scope type for this argument. The scope type explains
how a callback is going to be invoked, most importantly when
the resources required to invoke it can be freed.
<link xref="GIRepository.ScopeType">GIRepository.ScopeType</link> contains a list of possible values.</p>

<table>
<tr>
<td><p>info :</p></td>
<td><p>a <link xref="GIRepository.ArgInfo">GIRepository.ArgInfo</link></p></td>
</tr>
<tr>
<td><p>Returns :</p></td>
<td><p>the scope type</p></td>
</tr>
</table>
</page>