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

« back to all changes in this revision

Viewing changes to docs/html/class-gtkradiotoolbutton.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.RadioToolButton</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="class-gtkradiomenuitem.html" title="gtk.RadioMenuItem"><link rel="next" href="class-gtkrange.html" title="gtk.Range"></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.RadioToolButton</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkradiomenuitem.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkrange.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="class-gtkradiotoolbutton"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.RadioToolButton</h2><p>gtk.RadioToolButton — a toolbar item that
2
 
    contains a radio button (new in PyGTK 2.4)</p></div><div class="refsect1" lang="en"><a name="id3615175"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.RadioToolButton</span></span>(<span class="ooclass"><span class="classname"><a class="link" href="class-gtktoggletoolbutton.html" title="gtk.ToggleToolButton">gtk.ToggleToolButton</a></span></span>):
3
 
<code class="constructorsynopsis">    <span class="methodname"><a class="link" href="class-gtkradiotoolbutton.html#constructor-gtkradiotoolbutton" title="Constructor">gtk.RadioToolButton</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>group</code></strong></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>stock_id</code></strong></span><span class="initializer">=None</span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkradiotoolbutton.html#method-gtkradiotoolbutton--set-group" title="gtk.RadioToolButton.set_group">set_group</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>group</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkradiotoolbutton.html#method-gtkradiotoolbutton--get-group" title="gtk.RadioToolButton.get_group">get_group</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id3615298"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
 
2
    contains a radio button (new in PyGTK 2.4)</p></div><div class="refsect1" lang="en"><a name="id3815980"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.RadioToolButton</span></span>(<span class="ooclass"><span class="classname"><a class="link" href="class-gtktoggletoolbutton.html" title="gtk.ToggleToolButton">gtk.ToggleToolButton</a></span></span>):
 
3
<code class="constructorsynopsis">    <span class="methodname"><a class="link" href="class-gtkradiotoolbutton.html#constructor-gtkradiotoolbutton" title="Constructor">gtk.RadioToolButton</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>group</code></strong></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>stock_id</code></strong></span><span class="initializer">=None</span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkradiotoolbutton.html#method-gtkradiotoolbutton--set-group" title="gtk.RadioToolButton.set_group">set_group</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>group</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkradiotoolbutton.html#method-gtkradiotoolbutton--get-group" title="gtk.RadioToolButton.get_group">get_group</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id3816104"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
4
4
  +-- <a class="link" href="class-gtkobject.html" title="gtk.Object">gtk.Object</a>
5
5
    +-- <a class="link" href="class-gtkwidget.html" title="gtk.Widget">gtk.Widget</a>
6
6
      +-- <a class="link" href="class-gtkcontainer.html" title="gtk.Container">gtk.Container</a>
9
9
            +-- <a class="link" href="class-gtktoolbutton.html" title="gtk.ToolButton">gtk.ToolButton</a>
10
10
              +-- <a class="link" href="class-gtktoggletoolbutton.html" title="gtk.ToggleToolButton">gtk.ToggleToolButton</a>
11
11
                +-- <a class="link" href="class-gtkradiotoolbutton.html" title="gtk.RadioToolButton">gtk.RadioToolButton</a>
12
 
</pre></div><div class="refsect1" lang="en"><a name="id3615369"></a><h2>Implemented Interfaces</h2><p>
 
12
</pre></div><div class="refsect1" lang="en"><a name="id3816175"></a><h2>Implemented Interfaces</h2><p>
13
13
                        <a class="link" href="class-gtkradiotoolbutton.html" title="gtk.RadioToolButton"><code class="classname">gtk.RadioToolButton</code></a>
14
14
                        implements 
15
15
                        <a class="link" href="class-gtkbuildable.html" title="gtk.Buildable"><code class="classname">gtk.Buildable</code></a>
16
16
                </p></div><div class="refsect1" lang="en"><a name="properties-gtkradiotoolbutton"></a><h2>gtk.RadioToolButton Properties</h2><p><a class="link" href="class-gtkobject.html#properties-gtkobject" title="gtk.Object Properties">gtk.Object Properties</a></p><p><a class="link" href="class-gtkwidget.html#properties-gtkwidget" title="gtk.Widget Properties">gtk.Widget Properties</a></p><p><a class="link" href="class-gtkcontainer.html#properties-gtkcontainer" title="gtk.Container Properties">gtk.Container Properties</a></p><p><a class="link" href="class-gtktoolitem.html#properties-gtktoolitem" title="gtk.ToolItem Properties">gtk.ToolItem Properties</a></p><p><a class="link" href="class-gtktoolbutton.html#properties-gtktoolbutton" title="gtk.ToolButton Properties">gtk.ToolButton Properties</a></p><p><a class="link" href="class-gtktoggletoolbutton.html#properties-gtktoggletoolbutton" title="gtk.ToggleToolButton Properties">gtk.ToggleToolButton 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">"group"</td><td valign="top">Write</td><td valign="top">Sets a new group for a radio tool button. This property
17
 
              is available in GTK+ 2.4 and above.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" lang="en"><a name="style-properties-gtkradiotoolbutton"></a><h2>gtk.RadioToolButton 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-gtktoolbutton.html#style-properties-gtktoolbutton" title="gtk.ToolButton Style Properties">gtk.ToolButton Style Properties</a></p></div><div class="refsect1" lang="en"><a name="signal-prototypes-gtkradiotoolbutton"></a><h2>gtk.RadioToolButton 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-gtktoolitem.html#signal-prototypes-gtktoolitem" title="gtk.ToolItem Signal Prototypes">gtk.ToolItem Signal Prototypes</a></p><p><a class="link" href="class-gtktoolbutton.html#signal-prototypes-gtktoolbutton" title="gtk.ToolButton Signal Prototypes">gtk.ToolButton Signal Prototypes</a></p><p><a class="link" href="class-gtktoggletoolbutton.html#signal-prototypes-gtktoggletoolbutton" title="gtk.ToggleToolButton Signal Prototypes">gtk.ToggleToolButton Signal Prototypes</a></p></div><div class="refsect1" lang="en"><a name="id3615611"></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.4 and above.</p></div><p>A <a class="link" href="class-gtkradiotoolbutton.html" title="gtk.RadioToolButton"><code class="classname">gtk.RadioToolButton</code></a>
 
17
              is available in GTK+ 2.4 and above.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" lang="en"><a name="style-properties-gtkradiotoolbutton"></a><h2>gtk.RadioToolButton 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-gtktoolbutton.html#style-properties-gtktoolbutton" title="gtk.ToolButton Style Properties">gtk.ToolButton Style Properties</a></p></div><div class="refsect1" lang="en"><a name="signal-prototypes-gtkradiotoolbutton"></a><h2>gtk.RadioToolButton 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-gtktoolitem.html#signal-prototypes-gtktoolitem" title="gtk.ToolItem Signal Prototypes">gtk.ToolItem Signal Prototypes</a></p><p><a class="link" href="class-gtktoolbutton.html#signal-prototypes-gtktoolbutton" title="gtk.ToolButton Signal Prototypes">gtk.ToolButton Signal Prototypes</a></p><p><a class="link" href="class-gtktoggletoolbutton.html#signal-prototypes-gtktoggletoolbutton" title="gtk.ToggleToolButton Signal Prototypes">gtk.ToggleToolButton Signal Prototypes</a></p></div><div class="refsect1" lang="en"><a name="id3816417"></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.4 and above.</p></div><p>A <a class="link" href="class-gtkradiotoolbutton.html" title="gtk.RadioToolButton"><code class="classname">gtk.RadioToolButton</code></a>
18
18
is a <a class="link" href="class-gtktoolitem.html" title="gtk.ToolItem"><code class="classname">gtk.ToolItem</code></a> that
19
19
contains a radio button, that is, a button that is part of a group of toggle
20
20
buttons where only one button can be active at a time. Use the <a class="link" href="class-gtkradiotoolbutton.html#constructor-gtkradiotoolbutton" title="Constructor">gtk.RadioToolButton</a>()
23
23
specified by <em class="parameter"><code>group</code></em> if it is not
24
24
<code class="literal">None</code>. The new <a class="link" href="class-gtkradiotoolbutton.html" title="gtk.RadioToolButton"><code class="classname">gtk.RadioToolButton</code></a>
25
25
will contain an icon and label from the stock item specified by
26
 
<em class="parameter"><code>stock_id</code></em> if it is not <code class="literal">None</code>.</p></div><div class="refsect1" lang="en"><a name="id3615850"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-gtkradiotoolbutton--set-group"></a><h3>gtk.RadioToolButton.set_group</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_group</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>group</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>group</code></strong> :</span></p></td><td>an existing <a class="link" href="class-gtkradiotoolbutton.html" title="gtk.RadioToolButton"><code class="classname">gtk.RadioToolButton</code> or <code class="literal">None</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 method is available in PyGTK 2.4 and above.</p></div><p>The <code class="methodname">set_group</code>() method adds the radio
 
26
<em class="parameter"><code>stock_id</code></em> if it is not <code class="literal">None</code>.</p></div><div class="refsect1" lang="en"><a name="id3816655"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-gtkradiotoolbutton--set-group"></a><h3>gtk.RadioToolButton.set_group</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_group</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>group</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>group</code></strong> :</span></p></td><td>an existing <a class="link" href="class-gtkradiotoolbutton.html" title="gtk.RadioToolButton"><code class="classname">gtk.RadioToolButton</code> or <code class="literal">None</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 method is available in PyGTK 2.4 and above.</p></div><p>The <code class="methodname">set_group</code>() method adds the radio
27
27
tool button to the same group as the <a class="link" href="class-gtkradiotoolbutton.html" title="gtk.RadioToolButton"><code class="classname">gtk.RadioToolButton</code></a>
28
28
specified by <em class="parameter"><code>group</code></em>.</p><p>In PyGTK 2.6.2 and above, if <em class="parameter"><code>group</code></em> is
29
29
<code class="literal">None</code> the radiotoolbutton will be removed from its current