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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-01-07 11:08:47 UTC
  • mfrom: (1.2.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20100107110847-f5av7e1ttudh7ra6
Tags: 2.17.0-0ubuntu1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.CheckButton</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-gtkcellview.html" title="gtk.CellView"><link rel="next" href="class-gtkcheckmenuitem.html" title="gtk.CheckMenuItem"></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.CheckButton</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkcellview.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkcheckmenuitem.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="class-gtkcheckbutton"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.CheckButton</h2><p>gtk.CheckButton — a toggle button widget styled as a checkbox and label
2
 
</p></div><div class="refsect1" lang="en"><a name="id3444850"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.CheckButton</span></span>(<span class="ooclass"><span class="classname"><a class="link" href="class-gtktogglebutton.html" title="gtk.ToggleButton">gtk.ToggleButton</a></span></span>):
3
 
<code class="constructorsynopsis">    <span class="methodname"><a class="link" href="class-gtkcheckbutton.html#constructor-gtkcheckbutton" title="Constructor">gtk.CheckButton</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>label</code></strong></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>use_underline</code></strong></span><span class="initializer">=True</span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id3444916"></a><h2>Ancestry</h2><pre class="synopsis">
 
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.CheckButton</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.1"><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-gtkcellview.html" title="gtk.CellView"><link rel="next" href="class-gtkcheckmenuitem.html" title="gtk.CheckMenuItem"></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.CheckButton</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkcellview.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkcheckmenuitem.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtk.CheckButton"><a name="class-gtkcheckbutton"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.CheckButton</h2><p>gtk.CheckButton — a toggle button widget styled as a checkbox and label
 
2
</p></div><div class="refsect1" title="Synopsis"><a name="id3754008"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.CheckButton</span></span>(<span class="ooclass"><span class="classname"><a class="link" href="class-gtktogglebutton.html" title="gtk.ToggleButton">gtk.ToggleButton</a></span></span>):
 
3
<code class="constructorsynopsis">    <span class="methodname"><a class="link" href="class-gtkcheckbutton.html#constructor-gtkcheckbutton" title="Constructor">gtk.CheckButton</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>label</code></strong></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>use_underline</code></strong></span><span class="initializer">=True</span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id3754074"></a><h2>Ancestry</h2><pre class="synopsis">
4
4
+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
5
5
   +-- <a class="link" href="class-gtkobject.html" title="gtk.Object">gtk.Object</a>
6
6
      +-- <a class="link" href="class-gtkwidget.html" title="gtk.Widget">gtk.Widget</a>
9
9
               +-- <a class="link" href="class-gtkbutton.html" title="gtk.Button">gtk.Button</a>
10
10
                  +-- <a class="link" href="class-gtktogglebutton.html" title="gtk.ToggleButton">gtk.ToggleButton</a>
11
11
                     +-- <a class="link" href="class-gtkcheckbutton.html" title="gtk.CheckButton">gtk.CheckButton</a>
12
 
</pre></div><div class="refsect1" lang="en"><a name="id3444969"></a><h2>Implemented Interfaces</h2><p>
 
12
</pre></div><div class="refsect1" title="Implemented Interfaces"><a name="id3754127"></a><h2>Implemented Interfaces</h2><p>
13
13
                        <a class="link" href="class-gtkcheckbutton.html" title="gtk.CheckButton"><code class="classname">gtk.CheckButton</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
 
                </p></div><div class="refsect1" lang="en"><a name="properties-gtkcheckbutton"></a><h2>gtk.CheckButton 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-gtkbutton.html#properties-gtkbutton" title="gtk.Button Properties">gtk.Button Properties</a></p><p><a class="link" href="class-gtktogglebutton.html#properties-gtktogglebutton" title="gtk.ToggleButton Properties">gtk.ToggleButton Properties</a></p></div><div class="refsect1" lang="en"><a name="style-properties-gtkcheckbutton"></a><h2>gtk.CheckButton 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-gtkbutton.html#style-properties-gtkbutton" title="gtk.Button Style Properties">gtk.Button 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">"indicator-size"</td><td valign="top">Read/Write</td><td valign="top">The size of the check or radio indicator</td></tr><tr valign="top"><td valign="top">"indicator-spacing"</td><td valign="top">Read/Write</td><td valign="top">The spacing around the check or radio indicator</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" lang="en"><a name="signal-prototypes-gtkcheckbutton"></a><h2>gtk.CheckButton 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-gtkbutton.html#signal-prototypes-gtkbutton" title="gtk.Button Signal Prototypes">gtk.Button Signal Prototypes</a></p><p><a class="link" href="class-gtktogglebutton.html#signal-prototypes-gtktogglebutton" title="gtk.ToggleButton Signal Prototypes">gtk.ToggleButton Signal Prototypes</a></p></div><div class="refsect1" lang="en"><a name="id3445168"></a><h2>Description</h2><p>A <a class="link" href="class-gtkcheckbutton.html" title="gtk.CheckButton"><code class="classname">gtk.CheckButton</code></a>
 
16
                </p></div><div class="refsect1" title="gtk.CheckButton Properties"><a name="properties-gtkcheckbutton"></a><h2>gtk.CheckButton 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-gtkbutton.html#properties-gtkbutton" title="gtk.Button Properties">gtk.Button Properties</a></p><p><a class="link" href="class-gtktogglebutton.html#properties-gtktogglebutton" title="gtk.ToggleButton Properties">gtk.ToggleButton Properties</a></p></div><div class="refsect1" title="gtk.CheckButton Style Properties"><a name="style-properties-gtkcheckbutton"></a><h2>gtk.CheckButton 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-gtkbutton.html#style-properties-gtkbutton" title="gtk.Button Style Properties">gtk.Button 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 width="1in"><col width="1in"><col width="3.5in"></colgroup><tbody><tr valign="top"><td valign="top">"indicator-size"</td><td valign="top">Read/Write</td><td valign="top">The size of the check or radio indicator</td></tr><tr valign="top"><td valign="top">"indicator-spacing"</td><td valign="top">Read/Write</td><td valign="top">The spacing around the check or radio indicator</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="gtk.CheckButton Signal Prototypes"><a name="signal-prototypes-gtkcheckbutton"></a><h2>gtk.CheckButton 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-gtkbutton.html#signal-prototypes-gtkbutton" title="gtk.Button Signal Prototypes">gtk.Button Signal Prototypes</a></p><p><a class="link" href="class-gtktogglebutton.html#signal-prototypes-gtktogglebutton" title="gtk.ToggleButton Signal Prototypes">gtk.ToggleButton Signal Prototypes</a></p></div><div class="refsect1" title="Description"><a name="id3754326"></a><h2>Description</h2><p>A <a class="link" href="class-gtkcheckbutton.html" title="gtk.CheckButton"><code class="classname">gtk.CheckButton</code></a>
17
17
places a discrete <a class="link" href="class-gtktogglebutton.html" title="gtk.ToggleButton"><code class="classname">gtk.ToggleButton</code></a> 
18
18
next to a widget, (usually a <a class="link" href="class-gtklabel.html" title="gtk.Label"><code class="classname">gtk.Label</code></a>). See the
19
19
section on <a class="link" href="class-gtktogglebutton.html" title="gtk.ToggleButton"><code class="classname">gtk.ToggleButton</code></a> 
20
20
widgets for more information about toggle and check buttons. The signal
21
 
('toggled') is also inherited from <a class="link" href="class-gtktogglebutton.html" title="gtk.ToggleButton"><code class="classname">gtk.ToggleButton</code></a>.</p></div><div class="refsect1" lang="en"><a name="constructor-gtkcheckbutton"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis">    <span class="methodname">gtk.CheckButton</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>label</code></strong></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>use_underline</code></strong></span><span class="initializer">=True</span></span>)</code>
 
21
('toggled') is also inherited from <a class="link" href="class-gtktogglebutton.html" title="gtk.ToggleButton"><code class="classname">gtk.ToggleButton</code></a>.</p></div><div class="refsect1" title="Constructor"><a name="constructor-gtkcheckbutton"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis">    <span class="methodname">gtk.CheckButton</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>label</code></strong></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>use_underline</code></strong></span><span class="initializer">=True</span></span>)</code>
22
22
</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>label</code></strong> :</span></p></td><td>a string to be used as the label text or
23
23
None</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>use_underline</code></strong> :</span></p></td><td>if <code class="literal">True</code>, an underscore in the
24
24
        label text indicates the next character should be underlined and