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 | 22 |
1 files changed, 20 insertions, 2 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..7390a6d2 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,32 @@ <?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> +a concrete GObject, a GInterface, a structure, etc. using g_base_info_get_type().</p><p>g_base_info_unref() when done.</p> +</page> |