diff options
Diffstat (limited to 'tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_constant.page')
-rw-r--r-- | tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_constant.page | 41 |
1 files changed, 39 insertions, 2 deletions
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_constant.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_constant.page index 23e9627e..2d6fde91 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_constant.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_constant.page @@ -1,11 +1,48 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_get_constant" 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.ConstantInfo</api:type> + </api:returns> + <api:name>g_object_info_get_constant</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</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.object_info_get_constant</title> -<p>Obtain an object type constant at index @n.</p><p>g_base_info_unref() when done.</p></page> + <title>object_info_get_constant</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo, gint) +@returns(GIRepository.ConstantInfo) +def object_info_get_constant(info, n) +</code></synopsis> +<p>Obtain an object type constant at index @n.</p><p>g_base_info_unref() when done.</p> + +<table> +<tr> +<td><p>info :</p></td> +<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td> +</tr> +<tr> +<td><p>n :</p></td> +<td><p>index of constant to get</p></td> +</tr> +<tr> +<td><p>Returns :</p></td> +<td><p>the <link xref="GIRepository.ConstantInfo">GIRepository.ConstantInfo</link>. Free the struct by calling</p></td> +</tr> +</table> +</page> |