diff options
Diffstat (limited to 'tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_method.page')
-rw-r--r-- | tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_method.page | 43 |
1 files changed, 40 insertions, 3 deletions
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_method.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_method.page index b2274937..40ca69b0 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_method.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_method.page @@ -1,12 +1,49 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_find_method" 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.FunctionInfo</api:type> + </api:returns> + <api:name>g_object_info_find_method</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</api:type> + <api:name>info</api:name> + </api:arg> + <api:arg> + <api:type>utf8</api:type> + <api:name>name</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.object_info_find_method</title> -<p>Obtain a method of the object type given a @name. %NULL will be -returned if there's no method available with that name.</p><p>g_base_info_unref() when done.</p></page> + <title>object_info_find_method</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo, utf8) +@returns(GIRepository.FunctionInfo) +def object_info_find_method(info, name) +</code></synopsis> +<p>Obtain a method of the object type given a @name. None will be +returned if there's no method available with that name.</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>name :</p></td> +<td><p>name of method to obtain</p></td> +</tr> +<tr> +<td><p>Returns :</p></td> +<td><p>the <link xref="GIRepository.FunctionInfo">GIRepository.FunctionInfo</link>. Free the struct by calling</p></td> +</tr> +</table> +</page> |