diff options
Diffstat (limited to 'tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_typelib_path.page')
-rw-r--r-- | tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_typelib_path.page | 37 |
1 files changed, 35 insertions, 2 deletions
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_typelib_path.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_typelib_path.page index 60a1cc67..4dd71b43 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_typelib_path.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_typelib_path.page @@ -1,14 +1,47 @@ <?xml version="1.0"?> + <page id="GIRepository.Repository.get_typelib_path" type="topic" style="method" 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="GIRepository.Repository" group="method"/> + <api:function> + <api:returns> + <api:type>utf8</api:type> + </api:returns> + <api:name>g_irepository_get_typelib_path</api:name> + <api:arg> + <api:type>GIRepository *</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>utf8</api:type> + <api:name>namespace_</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.Repository.get_typelib_path</title> + <title>get_typelib_path</title> +<synopsis><code mime="text/x-python"> +@accepts(utf8) +@returns(utf8) +def get_typelib_path(namespace_) +</code></synopsis> <p>If namespace @namespace_ is loaded, return the full path to the .typelib file it was loaded from. If the typelib for namespace @namespace_ was included in a shared library, return -the special string "$lt;builtin$gt;".</p></page> +the special string "$lt;builtin$gt;".</p> + +<table> +<tr> +<td><p>namespace_ :</p></td> +<td><p>GI namespace to use, e.g. "Gtk"</p></td> +</tr> +<tr> +<td><p>Returns :</p></td> +<td><p>Filesystem path (or $lt;builtin$gt;) if successful, None if namespace is not loaded</p></td> +</tr> +</table> +</page> |