diff options
Diffstat (limited to 'tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_interface.page')
-rw-r--r-- | tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_interface.page | 35 |
1 files changed, 32 insertions, 3 deletions
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_interface.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_interface.page index 63b19149..1433f665 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_interface.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_interface.page @@ -1,14 +1,43 @@ <?xml version="1.0"?> + <page id="GIRepository.type_info_get_interface" 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.BaseInfo</api:type> + </api:returns> + <api:name>g_type_info_get_interface</api:name> + <api:arg> + <api:type>GIRepository.TypeInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.type_info_get_interface</title> + <title>type_info_get_interface</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.TypeInfo) +@returns(GIRepository.BaseInfo) +def type_info_get_interface(info) +</code></synopsis> <p>For types which have <link xref="GI_TYPE_TAG_INTERFACE">GI_TYPE_TAG_INTERFACE</link> such as GObjects and boxed values, this function returns full information about the referenced type. You can then -inspect the type of the returned <link xref="GIBaseInfo">GIBaseInfo</link> to further query whether it is -a concrete GObject, a GInterface, a structure, etc. using g_base_info_get_type().</p><p>g_base_info_unref() when done.</p></page> +inspect the type of the returned <link xref="GIRepository.BaseInfo">GIRepository.BaseInfo</link> to further query whether it is +a concrete GObject, a GInterface, a structure, etc. using g_base_info_get_type().</p><p>g_base_info_unref() when done.</p> + +<table> +<tr> +<td><p>info :</p></td> +<td><p>a <link xref="GIRepository.TypeInfo">GIRepository.TypeInfo</link></p></td> +</tr> +<tr> +<td><p>Returns :</p></td> +<td><p>the <link xref="GIRepository.BaseInfo">GIRepository.BaseInfo</link>, or None. Free it with</p></td> +</tr> +</table> +</page> |