Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > media > main > by-pkgid > ca81b57b553ae75608ba0fc5e7925e4e > files > 319

libgtkmm1.2-devel-1.2.10-1mdk.ppc.rpm

<html>
<head><title>Gtk-- Reference: Gtk::CheckButton</title></head>

<body bgcolor="#F0F0F0" text="#000000" link="#0000FF"
vlink="#000077" alink="#FF0000">
<table align=center border=0 cellspacing=10> <tr>
<td><a href="class_index.html">Class Index</a></td>
<td><a href="cross_index.html">Cross Index</a></td>
<td><a href="name_index.html">Namespace Index</a></td>
</table>
<h1 align=center>Class Gtk::CheckButton</h1><p>
<b>  Button with indicator</b><br>
Contained in: <a href="Gtk.html">Gtk</a><br>
Derived from:
<a href="Gtk%3A%3AToggleButton.html">Gtk::ToggleButton</a>
<br>
Derived by:
<a href="Gtk::RadioButton.html">Gtk::RadioButton</a>
<p>
#include &lt;gtk--/checkbutton.h&gt;
<p>
<hr noshade>
<table border=0>
<tr><td colspan=3><h3>public function member index:</h3></td>
<tr valign=top><td align=right><tt></tt> </td><td align=right><a href="Gtk%3A%3ACheckButton.html#450"><tt><font color=blue><b>CheckButton</b></font></tt></a></td><td><tt>()</tt>;</td>
<tr valign=top><td align=right><tt></tt> </td><td align=right><a href="Gtk%3A%3ACheckButton.html#451"><tt><font color=blue><b>CheckButton</b></font></tt></a></td><td><tt>(<tt>const</tt> <tt><font color=navy>string</font></tt>& <tt><font color=blue>label</font></tt>, <tt><font color=purple>gfloat</font></tt> <tt><font color=blue>x</font></tt>=0.5, <tt><font color=purple>gfloat</font></tt> <tt><font color=blue>y</font></tt>=0.5)</tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=navy>GtkCheckButton</font></tt>*</tt> </td><td align=right><a href="Gtk%3A%3ACheckButton.html#446"><tt><font color=blue><b>gtkobj</b></font></tt></a></td><td><tt>()</tt>;</td>
<tr valign=top><td align=right><tt><tt>const</tt> <tt><font color=navy>GtkCheckButton</font></tt>*</tt> </td><td align=right><a href="Gtk%3A%3ACheckButton.html#447"><tt><font color=blue><b>gtkobj</b></font></tt></a></td><td><tt>() <tt>const</tt></tt>;</td>
<tr valign=top><td align=right><tt><tt>static</tt> <tt><font color=purple>bool</font></tt></tt> </td><td align=right><a href="Gtk%3A%3ACheckButton.html#448"><tt><font color=blue><b>isA</b></font></tt></a></td><td><tt>(<a href="Gtk%3A%3AObject.html"><tt><font color=navy><b>Object</b></font></tt></a>* <tt><font color=blue>object</font></tt>)</tt>;</td>
<tr valign=top><td align=right><tt><tt>virtual</tt> </tt> </td><td align=right><a href="Gtk%3A%3ACheckButton.html#449"><tt><font color=blue><b>~CheckButton</b></font></tt></a></td><td><tt>()</tt>;</td>
<tr><td>&nbsp;</td><tr><td colspan=3><h3>protected function member index:</h3></td>
<tr valign=top><td align=right><tt><tt>virtual</tt> <tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="Gtk%3A%3ACheckButton.html#452"><tt><font color=blue><b>draw_indicator_impl</b></font></tt></a></td><td><tt>(<tt><font color=navy>GdkRectangle</font></tt>* <tt><font color=blue>p0</font></tt>)</tt>;</td>
<tr><td>&nbsp;</td></table>
<hr noshade>
<h2>Description:</h2>
  The checkbutton is a small button with a lable next to it. It can
  be toggled on or off.<br>
<p>
<hr noshade>
<h2>Function Member Descriptions:</h2>
<a name="450"><font size=+1><b>Gtk::CheckButton::CheckButton</b></font></a> -   Create an empty check button.<br>
<hr size="1" width="70%" align="left" noshade="noshade"><tt></tt> <a href="Gtk%3A%3ACheckButton.html#450"><tt><font color=blue><b>CheckButton</b></font></tt></a><tt>()</tt>;<br><blockquote>  With an empty button, you can <tt><tt><font color=navy><b>Gtk::Button</b></font></tt>::<tt><font color=blue><b>add</b></font></tt></tt> a widget
  such as a <tt><a href="Gtk.html"><tt><font color=navy><b>Gtk</b></font></tt></a>::<a href="Gtk%3A%3APixmap.html"><tt><font color=navy><b>Pixmap</b></font></tt></a></tt> or <tt><a href="Gtk.html"><tt><font color=navy><b>Gtk</b></font></tt></a>::<a href="Gtk%3A%3ABox.html"><tt><font color=navy><b>Box</b></font></tt></a></tt>.
<P>
  If you just wish to add a <tt><a href="Gtk.html"><tt><font color=navy><b>Gtk</b></font></tt></a>::<a href="Gtk%3A%3ALabel.html"><tt><font color=navy><b>Label</b></font></tt></a></tt>,
  you may want to
  use the {Gtk::CheckButton(const string &amp;label)} ctor
  directly instead.</blockquote>
<br><br>
<a name="451"><font size=+1><b>Gtk::CheckButton::CheckButton</b></font></a> -   Create a check button with a label.<br>
<hr size="1" width="70%" align="left" noshade="noshade"><tt></tt> <a href="Gtk%3A%3ACheckButton.html#451"><tt><font color=blue><b>CheckButton</b></font></tt></a><tt>(<tt>const</tt> <tt><font color=navy>string</font></tt>& <tt><font color=blue>label</font></tt>, <tt><font color=purple>gfloat</font></tt> <tt><font color=blue>x</font></tt>=0.5, <tt><font color=purple>gfloat</font></tt> <tt><font color=blue>y</font></tt>=0.5)</tt>;<br><blockquote>  You won't be able
  to add a widget in this button since it already has a <tt><a href="Gtk.html"><tt><font color=navy><b>Gtk</b></font></tt></a>::<a href="Gtk%3A%3ALabel.html"><tt><font color=navy><b>Label</b></font></tt></a></tt>
  in it.</blockquote>
<br><br>
<a name="452"><font size=+1><b>Gtk::CheckButton::draw_indicator_impl</b></font></a> -   Emited on button redraw to update indicator.<br>
<hr size="1" width="70%" align="left" noshade="noshade"><tt><tt>virtual</tt> <tt><font color=purple>void</font></tt></tt> <a href="Gtk%3A%3ACheckButton.html#452"><tt><font color=blue><b>draw_indicator_impl</b></font></tt></a><tt>(<tt><font color=navy>GdkRectangle</font></tt>* <tt><font color=blue>p0</font></tt>)</tt>;<br><blockquote>  Triggered when the button is redrawn (e.g.after being toggled)
  Overload this signal if you want to implement your own check button
  look. Otherwise, you most likely don't care about it.
  The GdkRectangle specifies the area of the widget which will get
  redrawn.</blockquote>
<br><br>
<a name="446"><font size=+1><b>Gtk::CheckButton::gtkobj</b></font></a> -   Returns the underlaying gtk+ object.<br>
<hr size="1" width="70%" align="left" noshade="noshade"><tt><tt><font color=navy>GtkCheckButton</font></tt>*</tt> <a href="Gtk%3A%3ACheckButton.html#446"><tt><font color=blue><b>gtkobj</b></font></tt></a><tt>()</tt>;<br><br>
<a name="448"><font size=+1><b>Gtk::CheckButton::isA</b></font></a> -   Returns true if object is this type.<br>
<hr size="1" width="70%" align="left" noshade="noshade"><tt><tt>static</tt> <tt><font color=purple>bool</font></tt></tt> <a href="Gtk%3A%3ACheckButton.html#448"><tt><font color=blue><b>isA</b></font></tt></a><tt>(<a href="Gtk%3A%3AObject.html"><tt><font color=navy><b>Object</b></font></tt></a>* <tt><font color=blue>object</font></tt>)</tt>;<br><br>
<hr noshade>
</html>