~ubuntu-branches/ubuntu/natty/pygtk/natty-proposed

« back to all changes in this revision

Viewing changes to docs/html/class-gtkaboutdialog.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-06-22 16:49:42 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090622164942-19zeltp4z0u5iw72
Tags: 2.15.2-0ubuntu1
* New upstream version:
  - Rename gtk.Statusbar.remove() to gtk.Statusbar.remove_message
  - Allow pango.Context creation 
  - Make gtk.gdk.Pixbuf.add_alpha accept integers, retaining backward
    compatibility accepting also chars 
  - Protect window obj from GC in gtk.window_get_toplevels 
  - Plug huge number of memory leaks in Pango wrappers 
  - Add gtk.gdk.WINDOWING constant 
  - Wrap gdk_pixbuf_apply_embedded_orientation 
  - Modernize constructors of seven more types 
  - Don't free a string we don't own 
  - Some docs tweaking 
* debian/control.in:
  - set vcs location
* debian/patches/02_fix_get_application_info_crash.patch:
  - the change is in the new version

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.AboutDialog</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.73.2"><link rel="start" href="index.html" title="PyGTK 2.0 Reference Manual"><link rel="up" href="gtk-class-reference.html" title="The gtk Class Reference"><link rel="prev" href="gtk-class-reference.html" title="The gtk Class Reference"><link rel="next" href="class-gtkaccelgroup.html" title="gtk.AccelGroup"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">gtk.AboutDialog</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="gtk-class-reference.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkaccelgroup.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="class-gtkaboutdialog"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.AboutDialog</h2><p>gtk.AboutDialog — popup window displaying information about an
2
 
application (new in PyGTK 2.6)</p></div><div class="refsect1" lang="en"><a name="id3396233"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.AboutDialog</span></span>(<span class="ooclass"><span class="classname"><a class="link" href="class-gtkdialog.html" title="gtk.Dialog">gtk.Dialog</a></span></span>):
 
2
application (new in PyGTK 2.6)</p></div><div class="refsect1" lang="en"><a name="id3597036"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.AboutDialog</span></span>(<span class="ooclass"><span class="classname"><a class="link" href="class-gtkdialog.html" title="gtk.Dialog">gtk.Dialog</a></span></span>):
3
3
<code class="constructorsynopsis">    <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#constructor-gtkaboutdialog" title="Constructor">gtk.AboutDialog</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#method-gtkaboutdialog--get-name" title="gtk.AboutDialog.get_name">get_name</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#method-gtkaboutdialog--set-name" title="gtk.AboutDialog.set_name">set_name</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>name</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#method-gtkaboutdialog--get-version" title="gtk.AboutDialog.get_version">get_version</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#method-gtkaboutdialog--set-version" title="gtk.AboutDialog.set_version">set_version</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>version</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#method-gtkaboutdialog--get-copyright" title="gtk.AboutDialog.get_copyright">get_copyright</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#method-gtkaboutdialog--set-copyright" title="gtk.AboutDialog.set_copyright">set_copyright</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>copyright</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#method-gtkaboutdialog--get-comments" title="gtk.AboutDialog.get_comments">get_comments</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#method-gtkaboutdialog--set-comments" title="gtk.AboutDialog.set_comments">set_comments</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>comments</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#method-gtkaboutdialog--get-license" title="gtk.AboutDialog.get_license">get_license</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#method-gtkaboutdialog--set-license" title="gtk.AboutDialog.set_license">set_license</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>license</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#method-gtkaboutdialog--get-wrap-license" title="gtk.AboutDialog.get_wrap_license">get_wrap_license</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#method-gtkaboutdialog--set-wrap-license" title="gtk.AboutDialog.set_wrap_license">set_wrap_license</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>license</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#method-gtkaboutdialog--get-website" title="gtk.AboutDialog.get_website">get_website</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#method-gtkaboutdialog--set-website" title="gtk.AboutDialog.set_website">set_website</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>website</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#method-gtkaboutdialog--get-website-label" title="gtk.AboutDialog.get_website_label">get_website_label</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#method-gtkaboutdialog--set-website-label" title="gtk.AboutDialog.set_website_label">set_website_label</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>website_label</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#method-gtkaboutdialog--get-authors" title="gtk.AboutDialog.get_authors">get_authors</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#method-gtkaboutdialog--set-authors" title="gtk.AboutDialog.set_authors">set_authors</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>authors</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#method-gtkaboutdialog--get-documenters" title="gtk.AboutDialog.get_documenters">get_documenters</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#method-gtkaboutdialog--set-documenters" title="gtk.AboutDialog.set_documenters">set_documenters</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>documenters</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#method-gtkaboutdialog--get-artists" title="gtk.AboutDialog.get_artists">get_artists</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#method-gtkaboutdialog--set-artists" title="gtk.AboutDialog.set_artists">set_artists</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>artists</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#method-gtkaboutdialog--get-translator-credits" title="gtk.AboutDialog.get_translator_credits">get_translator_credits</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#method-gtkaboutdialog--set-translator-credits" title="gtk.AboutDialog.set_translator_credits">set_translator_credits</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>translator_credits</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#method-gtkaboutdialog--get-logo" title="gtk.AboutDialog.get_logo">get_logo</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#method-gtkaboutdialog--set-logo" title="gtk.AboutDialog.set_logo">set_logo</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>logo</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#method-gtkaboutdialog--get-logo-icon-name" title="gtk.AboutDialog.get_logo_icon_name">get_logo_icon_name</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#method-gtkaboutdialog--set-logo-icon-name" title="gtk.AboutDialog.set_logo_icon_name">set_logo_icon_name</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon_name</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#method-gtkaboutdialog--get-program-name" title="gtk.AboutDialog.get_program_name">get_program_name</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#method-gtkaboutdialog--set-program-name" title="gtk.AboutDialog.set_program_name">set_program_name</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>name</code></strong></span></span>)</code><br></pre></td></tr></table><pre class="programlisting">
4
4
<span class="bold"><strong>Functions</strong></span>
5
5
 
6
 
<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#function-gtk--about-dialog-set-email-hook" title="gtk.about_dialog_set_email_hook">gtk.about_dialog_set_email_hook</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>func</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>data</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#function-gtk--about-dialog-set-url-hook" title="gtk.about_dialog_set_url_hook">gtk.about_dialog_set_url_hook</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>func</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>data</code></strong></span></span>)</code></pre></div><div class="refsect1" lang="en"><a name="id3395588"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
 
6
<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#function-gtk--about-dialog-set-email-hook" title="gtk.about_dialog_set_email_hook">gtk.about_dialog_set_email_hook</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>func</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>data</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkaboutdialog.html#function-gtk--about-dialog-set-url-hook" title="gtk.about_dialog_set_url_hook">gtk.about_dialog_set_url_hook</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>func</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>data</code></strong></span></span>)</code></pre></div><div class="refsect1" lang="en"><a name="id3596390"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
7
7
  +-- <a class="link" href="class-gtkobject.html" title="gtk.Object">gtk.Object</a>
8
8
    +-- <a class="link" href="class-gtkwidget.html" title="gtk.Widget">gtk.Widget</a>
9
9
      +-- <a class="link" href="class-gtkcontainer.html" title="gtk.Container">gtk.Container</a>
11
11
          +-- <a class="link" href="class-gtkwindow.html" title="gtk.Window">gtk.Window</a>
12
12
            +-- <a class="link" href="class-gtkdialog.html" title="gtk.Dialog">gtk.Dialog</a>
13
13
              +--<a class="link" href="class-gtkaboutdialog.html" title="gtk.AboutDialog">gtk.AboutDialog</a>
14
 
</pre><div class="refsect1" lang="en"><a name="id3395528"></a><h2>Implemented Interfaces</h2><p>
 
14
</pre><div class="refsect1" lang="en"><a name="id3596331"></a><h2>Implemented Interfaces</h2><p>
15
15
                        <a class="link" href="class-gtkaboutdialog.html" title="gtk.AboutDialog"><code class="classname">gtk.AboutDialog</code></a>
16
16
                        implements 
17
17
                        <a class="link" href="class-gtkbuildable.html" title="gtk.Buildable"><code class="classname">gtk.Buildable</code></a>
45
45
This property is available in GTK+ 2.6 and above.</td></tr><tr valign="top"><td valign="top">"wrap-license"</td><td valign="top">Read-Write</td><td valign="top">If <code class="literal">True</code> the license text should be
46
46
wrapped. Default value: <code class="literal">False</code>.
47
47
This property is available in GTK+ 2.6 and above.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" lang="en"><a name="style-properties-gtkaboutdialog"></a><h2>gtk.AboutDialog Style Properties</h2><p><a class="link" href="class-gtkwidget.html#style-properties-gtkwidget" title="gtk.Widget Style Properties">gtk.Widget Style Properties</a></p><p><a class="link" href="class-gtkdialog.html#style-properties-gtkdialog" title="gtk.Dialog Style Properties">gtk.Dialog Style Properties</a></p><div class="blockquote"><table width="100%" border="0" bgcolor="#E0E0E0"><tr><td valign="top"><div class="informaltable"><table width="100%" border="0"><colgroup><col><col><col></colgroup><tbody><tr valign="top"><td valign="top">"link-color"</td><td valign="top">Read</td><td valign="top">The color of hyperlinks. This property is not available
48
 
              in GTK+ 2.10 and above.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" lang="en"><a name="signal-prototypes-gtkaboutdialog"></a><h2>gtk.AboutDialog Signal Prototypes</h2><p><PYGTKDOCLINK HREF="signal-prototypes-gobject">gobject.GObject Signal Prototypes</PYGTKDOCLINK></p><p><a class="link" href="class-gtkobject.html#signal-prototypes-gtkobject" title="gtk.Object Signal Prototypes">gtk.Object Signal Prototypes</a></p><p><a class="link" href="class-gtkwidget.html#signal-prototypes-gtkwidget" title="gtk.Widget Signal Prototypes">gtk.Widget Signal Prototypes</a></p><p><a class="link" href="class-gtkcontainer.html#signal-prototypes-gtkcontainer" title="gtk.Container Signal Prototypes">gtk.Container Signal Prototypes</a></p><p><a class="link" href="class-gtkwindow.html#signal-prototypes-gtkwindow" title="gtk.Window Signal Prototypes">gtk.Window Signal Prototypes</a></p><p><a class="link" href="class-gtkdialog.html#signal-prototypes-gtkdialog" title="gtk.Dialog Signal Prototypes">gtk.Dialog Signal Prototypes</a></p></div><div class="refsect1" lang="en"><a name="id3355164"></a><h2>Description</h2><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This widget is available in PyGTK 2.6 and above.</p></div><p>The <a class="link" href="class-gtkaboutdialog.html" title="gtk.AboutDialog"><code class="classname">gtk.AboutDialog</code></a>
 
48
              in GTK+ 2.10 and above.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" lang="en"><a name="signal-prototypes-gtkaboutdialog"></a><h2>gtk.AboutDialog Signal Prototypes</h2><p><PYGTKDOCLINK HREF="signal-prototypes-gobject">gobject.GObject Signal Prototypes</PYGTKDOCLINK></p><p><a class="link" href="class-gtkobject.html#signal-prototypes-gtkobject" title="gtk.Object Signal Prototypes">gtk.Object Signal Prototypes</a></p><p><a class="link" href="class-gtkwidget.html#signal-prototypes-gtkwidget" title="gtk.Widget Signal Prototypes">gtk.Widget Signal Prototypes</a></p><p><a class="link" href="class-gtkcontainer.html#signal-prototypes-gtkcontainer" title="gtk.Container Signal Prototypes">gtk.Container Signal Prototypes</a></p><p><a class="link" href="class-gtkwindow.html#signal-prototypes-gtkwindow" title="gtk.Window Signal Prototypes">gtk.Window Signal Prototypes</a></p><p><a class="link" href="class-gtkdialog.html#signal-prototypes-gtkdialog" title="gtk.Dialog Signal Prototypes">gtk.Dialog Signal Prototypes</a></p></div><div class="refsect1" lang="en"><a name="id3555968"></a><h2>Description</h2><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This widget is available in PyGTK 2.6 and above.</p></div><p>The <a class="link" href="class-gtkaboutdialog.html" title="gtk.AboutDialog"><code class="classname">gtk.AboutDialog</code></a>
49
49
    offers a simple way to display information about a program like its
50
50
    logo, name, copyright, website and license. It is also possible to give
51
51
    credits to the authors, documenters, translators and artists who have
58
58
    functions. Email addresses in the authors, documenters and artists
59
59
    properties are recognized by looking for <code class="literal">&lt;user@host&gt;</code>, URLs are recognized by looking for
60
60
    <code class="literal">http://url</code>, with <code class="literal">url</code> extending to
61
 
    the next space, tab or line break.</p></div><div class="refsect1" lang="en"><a name="constructor-gtkaboutdialog"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis">    <span class="methodname">gtk.AboutDialog</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a new <a class="link" href="class-gtkdialog.html" title="gtk.Dialog"><code class="classname">gtk.AboutDialog</code></a></td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This constructor is available in PyGTK 2.6 and above.</p></div><p>Creates a new gtk.AboutDialog with default property values.</p></div><div class="refsect1" lang="en"><a name="id3355018"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-gtkaboutdialog--get-name"></a><h3>gtk.AboutDialog.get_name</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_name</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>The program name or
 
61
    the next space, tab or line break.</p></div><div class="refsect1" lang="en"><a name="constructor-gtkaboutdialog"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis">    <span class="methodname">gtk.AboutDialog</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a new <a class="link" href="class-gtkdialog.html" title="gtk.Dialog"><code class="classname">gtk.AboutDialog</code></a></td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This constructor is available in PyGTK 2.6 and above.</p></div><p>Creates a new gtk.AboutDialog with default property values.</p></div><div class="refsect1" lang="en"><a name="id3555823"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-gtkaboutdialog--get-name"></a><h3>gtk.AboutDialog.get_name</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_name</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>The program name or
62
62
<code class="literal">None</code>.</td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.6 and above.</p></div><p>The <code class="methodname">get_name</code>() method returns the value
63
63
of the "name" property which is the program name displayed in the about
64
64
dialog. <code class="methodname">get_name</code>() returns <code class="literal">None</code>
167
167
<code class="literal">None</code>, the default window icon set with the <a class="link" href="class-gtkwindow.html#function-gtk--window-set-default-icon-list" title="gtk.window_set_default_icon_list"><code class="function">gtk.window_set_default_icon_list</code>()</a>
168
168
function will be used.</p></div><div class="refsect2" lang="en"><a name="method-gtkaboutdialog--get-program-name"></a><h3>gtk.AboutDialog.get_program_name</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_program_name</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>The program name.</td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.12 and above.</p></div><p>The <code class="methodname">get_program_name</code>() method returns the
169
169
      program name displayed in the about dialog.</p></div><div class="refsect2" lang="en"><a name="method-gtkaboutdialog--set-program-name"></a><h3>gtk.AboutDialog.set_program_name</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_program_name</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>name</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>name</code></strong> :</span></p></td><td>the program name.</td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.12 and above.</p></div><p>The <code class="methodname">set_program_name</code>() method
170
 
sets the name to display in the about dialog.</p></div></div><div class="refsect1" lang="en"><a name="id3352702"></a><h2>Functions</h2><div class="refsect2" lang="en"><a name="function-gtk--about-dialog-set-email-hook"></a><h3>gtk.about_dialog_set_email_hook</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">gtk.about_dialog_set_email_hook</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>func</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>data</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>func</code></strong> :</span></p></td><td> a function to call when an email link is
 
170
sets the name to display in the about dialog.</p></div></div><div class="refsect1" lang="en"><a name="id3553506"></a><h2>Functions</h2><div class="refsect2" lang="en"><a name="function-gtk--about-dialog-set-email-hook"></a><h3>gtk.about_dialog_set_email_hook</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">gtk.about_dialog_set_email_hook</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>func</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>data</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>func</code></strong> :</span></p></td><td> a function to call when an email link is
171
171
activated.</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>data</code></strong> :</span></p></td><td> data to pass to
172
172
<em class="parameter"><code>func</code></em></td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This function is available in PyGTK 2.6 and above.</p></div><p>The <code class="function">gtk.about_dialog_set_email_hook</code>
173
173
function installs a global function (specified by