File: Regress.AnnotationObject.get_objects.page

package info (click to toggle)
gobject-introspection 1.84.0-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 72,336 kB
  • sloc: ansic: 562,269; python: 23,692; xml: 16,240; yacc: 1,711; perl: 1,624; sh: 1,139; lex: 510; cpp: 487; makefile: 182; javascript: 15; lisp: 1
file content (43 lines) | stat: -rw-r--r-- 1,386 bytes parent folder | download | duplicates (7)
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="Regress.AnnotationObject.get_objects"
      type="topic"
      style="method"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="Regress.AnnotationObject" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>[Regress.AnnotationObject]</api:type>
      </api:returns>
      <api:name>regress_annotation_object_get_objects</api:name>
      <api:arg>
        <api:type>Regress.AnnotationObject</api:type>
        <api:name>self</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Regress.AnnotationObject.get_objects</title>
  <synopsis><code mime="text/x-python">
@accepts(Regress.AnnotationObject)
@returns([Regress.AnnotationObject])
def get_objects(self):
    # Python wrapper for regress_annotation_object_get_objects()
  </code></synopsis>
  <p>This is a test for returning a list of objects.
The list itself should be freed, but not the internal objects,
intentionally similar example to gtk_container_get_children</p>

<terms>
<item>
<title><code>self</code></title>
  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
</item>
<item>
<title><code>Returns</code></title>
{formatter.format(node, node.retval.doc)}
</item>
</terms>

</page>