/usr/share/gtk-doc/html/pygtk/class-gtkradiotoolbutton.html is in python-gtk2-doc 2.24.0-5.1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | <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.75.2"><link rel="home" 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" title="gtk.RadioToolButton"><a name="class-gtkradiotoolbutton"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.RadioToolButton</h2><p>gtk.RadioToolButton — a toolbar item that
contains a radio button (new in PyGTK 2.4)</p></div><div class="refsect1" title="Synopsis"><a name="id3855114"></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>):
<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" title="Ancestry"><a name="id3855237"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
+-- <a class="link" href="class-gtkobject.html" title="gtk.Object">gtk.Object</a>
+-- <a class="link" href="class-gtkwidget.html" title="gtk.Widget">gtk.Widget</a>
+-- <a class="link" href="class-gtkcontainer.html" title="gtk.Container">gtk.Container</a>
+-- <a class="link" href="class-gtkbin.html" title="gtk.Bin">gtk.Bin</a>
+-- <a class="link" href="class-gtktoolitem.html" title="gtk.ToolItem">gtk.ToolItem</a>
+-- <a class="link" href="class-gtktoolbutton.html" title="gtk.ToolButton">gtk.ToolButton</a>
+-- <a class="link" href="class-gtktoggletoolbutton.html" title="gtk.ToggleToolButton">gtk.ToggleToolButton</a>
+-- <a class="link" href="class-gtkradiotoolbutton.html" title="gtk.RadioToolButton">gtk.RadioToolButton</a>
</pre></div><div class="refsect1" title="Implemented Interfaces"><a name="id3855308"></a><h2>Implemented Interfaces</h2><p>
<a class="link" href="class-gtkradiotoolbutton.html" title="gtk.RadioToolButton"><code class="classname">gtk.RadioToolButton</code></a>
implements
<a class="link" href="class-gtkbuildable.html" title="gtk.Buildable"><code class="classname">gtk.Buildable</code></a>
</p></div><div class="refsect1" title="gtk.RadioToolButton Properties"><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 width="1in"><col width="1in"><col width="4in"></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
is available in GTK+ 2.4 and above.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="gtk.RadioToolButton Style Properties"><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" title="gtk.RadioToolButton Signal Prototypes"><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" title="Description"><a name="id3855549"></a><h2>Description</h2><div class="note" title="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>
is a <a class="link" href="class-gtktoolitem.html" title="gtk.ToolItem"><code class="classname">gtk.ToolItem</code></a> that
contains a radio button, that is, a button that is part of a group of toggle
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>()
constructor to create a new <a class="link" href="class-gtkradiotoolbutton.html" title="gtk.RadioToolButton"><code class="classname">gtk.RadioToolButton</code></a>.</p></div><div class="refsect1" title="Constructor"><a name="constructor-gtkradiotoolbutton"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis"> <span class="methodname">gtk.RadioToolButton</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></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></a></td></tr><tr><td><p><span class="term"><strong class="parameter"><code>stock_id</code></strong> :</span></p></td><td> the name of a stock item</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a new <a class="link" href="class-gtkradiotoolbutton.html" title="gtk.RadioToolButton"><code class="classname">gtk.RadioToolButton</code></a></td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This constructor is available in PyGTK 2.4 and above.</p></div><p>Creates a new <a class="link" href="class-gtkradiotoolbutton.html" title="gtk.RadioToolButton"><code class="classname">gtk.RadioToolButton</code></a>,
adding it to the same group as the <a class="link" href="class-gtkradiotoolbutton.html" title="gtk.RadioToolButton"><code class="classname">gtk.RadioToolButton</code></a>
specified by <em class="parameter"><code>group</code></em> if it is not
<code class="literal">None</code>. The new <a class="link" href="class-gtkradiotoolbutton.html" title="gtk.RadioToolButton"><code class="classname">gtk.RadioToolButton</code></a>
will contain an icon and label from the stock item specified by
<em class="parameter"><code>stock_id</code></em> if it is not <code class="literal">None</code>.</p></div><div class="refsect1" title="Methods"><a name="id3855787"></a><h2>Methods</h2><div class="refsect2" title="gtk.RadioToolButton.set_group"><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" title="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
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>
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
<code class="literal">None</code> the radiotoolbutton will be removed from its current
group.</p></div><div class="refsect2" title="gtk.RadioToolButton.get_group"><a name="method-gtkradiotoolbutton--get-group"></a><h3>gtk.RadioToolButton.get_group</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_group</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><p class="simpara">a list containing the <a class="link" href="class-gtkradiotoolbutton.html" title="gtk.RadioToolButton"><code class="classname">gtk.RadioToolButton</code></a>s
in the group</p> or <em class="parameter"><code> None</code></em></td></tr></tbody></table><div class="note" title="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">get_group</code>() method returns a list
containing the <a class="link" href="class-gtkradiobutton.html" title="gtk.RadioButton"><code class="classname">gtk.RadioButton</code></a>
objects that are in the same group as the radio tool button or
<code class="literal">None</code> if the radiotoolbutton is not in a group.</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-gtkradiomenuitem.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="gtk-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-gtkrange.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.RadioMenuItem </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk.Range</td></tr></table></div></body></html>
|