summaryrefslogtreecommitdiff
path: root/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_scope.page
blob: f96ba5bcadbfe078aee16f14b7fa1d51c7ffe469 (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
<?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="GIScopeType">GIScopeType</link> contains a list of possible values.</p>
</page>