summaryrefslogtreecommitdiff
path: root/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_field.page
diff options
context:
space:
mode:
Diffstat (limited to 'tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_field.page')
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_field.page41
1 files changed, 39 insertions, 2 deletions
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_field.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_field.page
index 3dd15117..71971333 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_field.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_field.page
@@ -1,11 +1,48 @@
<?xml version="1.0"?>
+
<page id="GIRepository.union_info_get_field"
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.FieldInfo</api:type>
+ </api:returns>
+ <api:name>g_union_info_get_field</api:name>
+ <api:arg>
+ <api:type>GIRepository.UnionInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gint</api:type>
+ <api:name>n</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.union_info_get_field</title>
-<p>Obtain the type information for field with specified index.</p><p>when done.</p></page>
+ <title>union_info_get_field</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.UnionInfo, gint)
+@returns(GIRepository.FieldInfo)
+def union_info_get_field(info, n)
+</code></synopsis>
+<p>Obtain the type information for field with specified index.</p><p>when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.UnionInfo">GIRepository.UnionInfo</link></p></td>
+</tr>
+<tr>
+<td><p>n :</p></td>
+<td><p>a field index</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.FieldInfo">GIRepository.FieldInfo</link>, free it with g_base_info_unref()</p></td>
+</tr>
+</table>
+</page>