diff options
author | Gian Mario Tagliaretti <gianmt@gnome.org> | 2009-04-25 13:43:24 +0200 |
---|---|---|
committer | Gian Mario Tagliaretti <gianmt@gnome.org> | 2009-04-25 13:44:16 +0200 |
commit | 4febd5fec7ad73a07e90bdab387125781044e86a (patch) | |
tree | 3e8a5a3b8d16f076c5984785800ec9bdad3e2e50 /docs | |
parent | 94fc81e4161ab6701177a1deb5d79c18542501be (diff) | |
download | pygobject-4febd5fec7ad73a07e90bdab387125781044e86a.tar.gz pygobject-4febd5fec7ad73a07e90bdab387125781044e86a.tar.xz pygobject-4febd5fec7ad73a07e90bdab387125781044e86a.zip |
Fix the docs for the gio.AppInfo class
Add the constructor section and fix args names.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/pygio-appinfo.xml | 44 |
1 files changed, 43 insertions, 1 deletions
diff --git a/docs/reference/pygio-appinfo.xml b/docs/reference/pygio-appinfo.xml index 66a1f20..1e0ea95 100644 --- a/docs/reference/pygio-appinfo.xml +++ b/docs/reference/pygio-appinfo.xml @@ -19,7 +19,7 @@ <methodname><link linkend="constructor-gioappinfo">gio.AppInfo</link></methodname> <methodparam><parameter role="keyword">commandline</parameter></methodparam> <methodparam><parameter role="keyword">application_name</parameter><initializer><literal>None</literal></initializer></methodparam> - <methodparam><parameter role="keyword">content_type</parameter><initializer>gio.APP_INFO_CREATE_NONE</initializer></methodparam> + <methodparam><parameter role="keyword">flags</parameter><initializer>gio.APP_INFO_CREATE_NONE</initializer></methodparam> </constructorsynopsis> <methodsynopsis language="python"> @@ -166,6 +166,48 @@ </para> </refsect1> + <refsect1 id="constructor-gioappinfo"> + <title>Constructor</title> + + <programlisting><constructorsynopsis language="python"> + <methodname>gio.AppInfo</methodname> + <methodparam><parameter role="keyword">commandline</parameter></methodparam> + <methodparam><parameter role="keyword">application_name</parameter><initializer><literal>None</literal></initializer></methodparam> + <methodparam><parameter role="keyword">flags</parameter><initializer>gio.APP_INFO_CREATE_NONE</initializer></methodparam> + </constructorsynopsis></programlisting> + <variablelist> + <varlistentry> + <term><parameter>commandline</parameter> :</term> + <listitem><simpara>the commandline to use + </simpara></listitem> + </varlistentry> + <varlistentry> + <term><parameter>application_name</parameter> :</term> + <listitem><simpara>the application name, or <literal>None</literal> to use commandline. + </simpara></listitem> + </varlistentry> + <varlistentry> + <term><parameter>flags</parameter> :</term> + <listitem><simpara>flags that can specify details of the created, + from <xref linkend="gio-app-info-constants" endterm="gio-app-info-constants-title"></xref> + </simpara></listitem> + </varlistentry> + <varlistentry> + <term><emphasis>Returns</emphasis> :</term> + <listitem><simpara>a new + <link linkend="class-gioappinfo"><classname>gio.AppInfo</classname></link> + for given command. + </simpara></listitem> + </varlistentry> + </variablelist> + + <para> + Creates a new <link linkend="class-gioappinfo"><classname>gio.AppInfo</classname></link> + from the given information. + </para> + + </refsect1> + <refsect1> <title>Methods</title> |