summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGian Mario Tagliaretti <gianmt@src.gnome.org>2007-07-25 21:02:18 +0000
committerGian Mario Tagliaretti <gianmt@src.gnome.org>2007-07-25 21:02:18 +0000
commit7060d1d8d0fe7a6be017fd7cdc710696fa06f8a0 (patch)
treee1ebde0e92582419e8f754edbfb9770b78899612
parentb7f4ebcbab2e16f7608a3b2edf3c97731ef7fd77 (diff)
downloadpygtk-7060d1d8d0fe7a6be017fd7cdc710696fa06f8a0.tar.gz
Updated gtk.AboutDialog docs with 2.12 API
svn path=/trunk/; revision=2859
-rw-r--r--docs/reference/ChangeLog4
-rw-r--r--docs/reference/pygtk-gtkaboutdialog.xml64
2 files changed, 67 insertions, 1 deletions
diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog
index fdfd11ff..c35979b9 100644
--- a/docs/reference/ChangeLog
+++ b/docs/reference/ChangeLog
@@ -1,5 +1,9 @@
2007-07-25 Gian Mario Tagliaretti <gianmt@gnome.org>
+ * pygtk-gtkaboutdialog.xml: Update with 2.12 API.
+
+2007-07-25 Gian Mario Tagliaretti <gianmt@gnome.org>
+
* pygtk-gtkscalebutton.xml:
* pygtk-gtk-classes.xml: Add new gtk.ScaleButton() docs.
diff --git a/docs/reference/pygtk-gtkaboutdialog.xml b/docs/reference/pygtk-gtkaboutdialog.xml
index 9ea36ad8..fdea4cff 100644
--- a/docs/reference/pygtk-gtkaboutdialog.xml
+++ b/docs/reference/pygtk-gtkaboutdialog.xml
@@ -104,6 +104,12 @@ linkend="constructor-gtkaboutdialog">gtk.AboutDialog</link></methodname>
</methodsynopsis><methodsynopsis language="python">
<methodname><link linkend="method-gtkaboutdialog--set-logo-icon-name">set_logo_icon_name</link></methodname>
<methodparam><parameter role="keyword">icon_name</parameter></methodparam>
+ </methodsynopsis><methodsynopsis language="python">
+ <methodname><link linkend="method-gtkaboutdialog--get-program-name">get_program_name</link></methodname>
+ <methodparam></methodparam>
+ </methodsynopsis><methodsynopsis language="python">
+ <methodname><link linkend="method-gtkaboutdialog--set-program-name">set_program_name</link></methodname>
+ <methodparam><parameter role="keyword">name</parameter></methodparam>
</methodsynopsis>
</classsynopsis>
@@ -134,7 +140,16 @@ linkend="constructor-gtkaboutdialog">gtk.AboutDialog</link></methodname>
+-- <link linkend="class-gtkdialog">gtk.Dialog</link>
+--<link linkend="class-gtkaboutdialog">gtk.AboutDialog</link>
</synopsis>
-
+
+ <refsect1>
+ <title>Implemented Interfaces</title>
+ <para>
+ <link linkend="class-gtkaboutdialog"><classname>gtk.AboutDialog</classname></link>
+ implements
+ <link linkend="class-gtkbuildable"><classname>gtk.Buildable</classname></link>
+ <link linkend="class-atkimplementor"><classname>atk.ImplementorIFace</classname></link>
+ </para>
+ </refsect1>
</refsect1>
<refsect1 id="properties-gtkaboutdialog">
@@ -1105,6 +1120,53 @@ linkend="function-gtk--window-set-default-icon-list"><function>gtk.window_set_de
function will be used.</para>
</refsect2>
+
+ <refsect2 id="method-gtkaboutdialog--get-program-name">
+ <title>gtk.AboutDialog.get_program_name</title>
+
+ <programlisting><methodsynopsis language="python">
+ <methodname>get_program_name</methodname>
+ <methodparam></methodparam>
+ </methodsynopsis></programlisting>
+ <variablelist>
+ <varlistentry>
+ <term><emphasis>Returns</emphasis>&nbsp;:</term>
+ <listitem><simpara>The program name.</simpara></listitem>
+ </varlistentry>
+ </variablelist>
+
+ <note>
+ <para>This method is available in PyGTK 2.12 and above.</para>
+ </note>
+
+ <para>The <methodname>get_program_name</methodname>() method returns the
+ program name displayed in the about dialog.</para>
+
+ </refsect2>
+
+ <refsect2 id="method-gtkaboutdialog--set-program-name">
+ <title>gtk.AboutDialog.set_program_name</title>
+
+ <programlisting><methodsynopsis language="python">
+ <methodname>set_program_name</methodname>
+ <methodparam><parameter
+ role="keyword">name</parameter></methodparam>
+ </methodsynopsis></programlisting>
+ <variablelist>
+ <varlistentry>
+ <term><parameter role="keyword">name</parameter>&nbsp;:</term>
+ <listitem><simpara>the program name.</simpara></listitem>
+ </varlistentry>
+ </variablelist>
+
+ <note>
+ <para>This method is available in PyGTK 2.12 and above.</para>
+ </note>
+
+ <para>The <methodname>set_program_name</methodname>() method
+sets the name to display in the about dialog.</para>
+
+ </refsect2>
</refsect1>