Sophie

Sophie

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

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

<html>
<head><title>Gtk-- Reference: Gtk::RadioButton</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::RadioButton</h1><p>
<b>  Group of checkbuttons</b><br>
Contained in: <a href="Gtk.html">Gtk</a><br>
Derived from:
<a href="Gtk%3A%3ACheckButton.html">Gtk::CheckButton</a>
<br>
Derived by:
<i>none</i>
<p>
#include &lt;gtk--/radiobutton.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%3ARadioButton.html#2510"><tt><font color=blue><b>RadioButton</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%3ARadioButton.html#2511"><tt><font color=blue><b>RadioButton</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>xalign</font></tt>=0.5, <tt><font color=purple>gfloat</font></tt> <tt><font color=blue>yalign</font></tt>=0.5)</tt>;</td>
<tr valign=top><td align=right><tt></tt> </td><td align=right><a href="Gtk%3A%3ARadioButton.html#2512"><tt><font color=blue><b>RadioButton</b></font></tt></a></td><td><tt>(<a href="Gtk%3A%3ARadioButton.html#2509">Group</a>& <tt><font color=blue>groupx</font></tt>)</tt>;</td>
<tr valign=top><td align=right><tt></tt> </td><td align=right><a href="Gtk%3A%3ARadioButton.html#2513"><tt><font color=blue><b>RadioButton</b></font></tt></a></td><td><tt>(<a href="Gtk%3A%3ARadioButton.html#2509">Group</a>& <tt><font color=blue>groupx</font></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>xalign</font></tt>=0.5, <tt><font color=purple>gfloat</font></tt> <tt><font color=blue>yalign</font></tt>=0.5)</tt>;</td>
<tr valign=top><td align=right><tt><a href="Gtk%3A%3ARadioButton.html#2509">Group</a></tt> </td><td align=right><a href="Gtk%3A%3ARadioButton.html#2514"><tt><font color=blue><b>group</b></font></tt></a></td><td><tt>()</tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=navy>GtkRadioButton</font></tt>*</tt> </td><td align=right><a href="Gtk%3A%3ARadioButton.html#2505"><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>GtkRadioButton</font></tt>*</tt> </td><td align=right><a href="Gtk%3A%3ARadioButton.html#2506"><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%3ARadioButton.html#2507"><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><font color=purple>void</font></tt></tt> </td><td align=right><a href="Gtk%3A%3ARadioButton.html#2515"><tt><font color=blue><b>set_group</b></font></tt></a></td><td><tt>(<a href="Gtk%3A%3ARadioButton.html#2509">Group</a> <tt><font color=blue>p0</font></tt>)</tt>;</td>
<tr valign=top><td align=right><tt><tt>virtual</tt> </tt> </td><td align=right><a href="Gtk%3A%3ARadioButton.html#2508"><tt><font color=blue><b>~RadioButton</b></font></tt></a></td><td><tt>()</tt>;</td>
<tr><td>&nbsp;</td></table>
<hr noshade>
<h2>Description:</h2>
  A set of radiobuttons is placed together. They each look like a checkbutton,
  but only one button in the group can be checked or on at a time. When one
  is clicked, another is unclicked.<br>
<p>
<hr noshade>
<h2>Function Member Descriptions:</h2>
<a name="2512"><font size=+1><b>Gtk::RadioButton::RadioButton</b></font></a> -   Constructor.<br>
<hr size="1" width="70%" align="left" noshade="noshade"><tt></tt> <a href="Gtk%3A%3ARadioButton.html#2512"><tt><font color=blue><b>RadioButton</b></font></tt></a><tt>(<a href="Gtk%3A%3ARadioButton.html#2509">Group</a>& <tt><font color=blue>groupx</font></tt>)</tt>;<br><blockquote>  Create an empty button belonging to the specified group,
  in which you can add() a widget
  (e.g. a Gtk_Pixmap). If you wish to add a <tt><font color=navy><b>Gtk_Label</b></font></tt>,
  you may want to
  use the {RadioButton(const string &amp;label, Group)}
  ctor directly instead.
  Specify a 0 group if you want to create a new button group</blockquote>
<br><br>
<a name="2513"><font size=+1><b>Gtk::RadioButton::RadioButton</b></font></a> -   Constructor with label.<br>
<hr size="1" width="70%" align="left" noshade="noshade"><tt></tt> <a href="Gtk%3A%3ARadioButton.html#2513"><tt><font color=blue><b>RadioButton</b></font></tt></a><tt>(<a href="Gtk%3A%3ARadioButton.html#2509">Group</a>& <tt><font color=blue>groupx</font></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>xalign</font></tt>=0.5, <tt><font color=purple>gfloat</font></tt> <tt><font color=blue>yalign</font></tt>=0.5)</tt>;<br><blockquote>  Create a button belonging to the specified group, with a label inside.
  You won't be able to add a widget in this button
  since it already has a <tt><font color=navy><b>Gtk_Label</b></font></tt> in it.
  Specify a 0 group if you want to create a new button group</blockquote>
<br><br>
<a name="2505"><font size=+1><b>Gtk::RadioButton::gtkobj</b></font></a> -   Returns the underlaying gtk+ object.<br>
<hr size="1" width="70%" align="left" noshade="noshade"><tt><tt><font color=navy>GtkRadioButton</font></tt>*</tt> <a href="Gtk%3A%3ARadioButton.html#2505"><tt><font color=blue><b>gtkobj</b></font></tt></a><tt>()</tt>;<br><br>
<a name="2507"><font size=+1><b>Gtk::RadioButton::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%3ARadioButton.html#2507"><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>
<a name="2515"><font size=+1><b>Gtk::RadioButton::set_group</b></font></a> -   Set the group that this radiobutton belongs to.<br>
<hr size="1" width="70%" align="left" noshade="noshade"><tt><tt><font color=purple>void</font></tt></tt> <a href="Gtk%3A%3ARadioButton.html#2515"><tt><font color=blue><b>set_group</b></font></tt></a><tt>(<a href="Gtk%3A%3ARadioButton.html#2509">Group</a> <tt><font color=blue>p0</font></tt>)</tt>;<br><blockquote>  Each radiobutton is a member of a group. This determines it's
  relationship with other widgets, so that when this radiobutton is
  clicked, it knows what other buttons need to be unclicked.</blockquote>
<br><br>
<hr noshade>
</html>