<html> <head><title>Gtk-- Reference: Gtk::RadioMenuItem</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::RadioMenuItem</h1><p> <b> A choice from multiple check menu items.</b><br> Contained in: <a href="Gtk.html">Gtk</a><br> Derived from: <a href="Gtk%3A%3ACheckMenuItem.html">Gtk::CheckMenuItem</a> <br> Derived by: <i>none</i> <p> #include <gtk--/radiomenuitem.h> <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%3ARadioMenuItem.html#2533"><tt><font color=blue><b>RadioMenuItem</b></font></tt></a></td><td><tt>(<a href="Gtk%3A%3ARadioMenuItem.html#2532">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%3ARadioMenuItem.html#2534"><tt><font color=blue><b>RadioMenuItem</b></font></tt></a></td><td><tt>(<a href="Gtk%3A%3ARadioMenuItem.html#2532">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.0, <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%3ARadioMenuItem.html#2532">Group</a></tt> </td><td align=right><a href="Gtk%3A%3ARadioMenuItem.html#2535"><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>GtkRadioMenuItem</font></tt>*</tt> </td><td align=right><a href="Gtk%3A%3ARadioMenuItem.html#2528"><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>GtkRadioMenuItem</font></tt>*</tt> </td><td align=right><a href="Gtk%3A%3ARadioMenuItem.html#2529"><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%3ARadioMenuItem.html#2530"><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%3ARadioMenuItem.html#2536"><tt><font color=blue><b>set_group</b></font></tt></a></td><td><tt>(<a href="Gtk%3A%3ARadioMenuItem.html#2532">Group</a> <tt><font color=blue>group</font></tt>)</tt>;</td> <tr valign=top><td align=right><tt><tt>virtual</tt> </tt> </td><td align=right><a href="Gtk%3A%3ARadioMenuItem.html#2531"><tt><font color=blue><b>~RadioMenuItem</b></font></tt></a></td><td><tt>()</tt>;</td> <tr><td> </td><tr><td colspan=3><h3>protected function member index:</h3></td> <tr valign=top><td align=right><tt><tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="Gtk%3A%3ARadioMenuItem.html#2537"><tt><font color=blue><b>constructor</b></font></tt></a></td><td><tt>(<a href="Gtk%3A%3ARadioMenuItem.html#2532">Group</a> <tt><font color=blue>group</font></tt>)</tt>;</td> <tr><td> </td></table> <hr noshade> <h2>Description:</h2> A radio menu item is a check menu item that belongs to a group. Only one of the radio menu items from a group is selected at a time.<br> <p> <hr noshade> <h2>Function Member Descriptions:</h2> <a name="2535"><font size=+1><b>Gtk::RadioMenuItem::group</b></font></a> - Returns the group to which the radio menu item belongs.<br> <hr size="1" width="70%" align="left" noshade="noshade"><tt><a href="Gtk%3A%3ARadioMenuItem.html#2532">Group</a></tt> <a href="Gtk%3A%3ARadioMenuItem.html#2535"><tt><font color=blue><b>group</b></font></tt></a><tt>()</tt>;<br><blockquote> Returns: Its group.</blockquote> <br><br> <a name="2528"><font size=+1><b>Gtk::RadioMenuItem::gtkobj</b></font></a> - Returns the underlaying gtk+ object.<br> <hr size="1" width="70%" align="left" noshade="noshade"><tt><tt><font color=navy>GtkRadioMenuItem</font></tt>*</tt> <a href="Gtk%3A%3ARadioMenuItem.html#2528"><tt><font color=blue><b>gtkobj</b></font></tt></a><tt>()</tt>;<br><br> <a name="2530"><font size=+1><b>Gtk::RadioMenuItem::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%3ARadioMenuItem.html#2530"><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="2536"><font size=+1><b>Gtk::RadioMenuItem::set_group</b></font></a> - Sets the group of a radio menu item, or changes it.<br> <hr size="1" width="70%" align="left" noshade="noshade"><tt><tt><font color=purple>void</font></tt></tt> <a href="Gtk%3A%3ARadioMenuItem.html#2536"><tt><font color=blue><b>set_group</b></font></tt></a><tt>(<a href="Gtk%3A%3ARadioMenuItem.html#2532">Group</a> <tt><font color=blue>group</font></tt>)</tt>;<br><blockquote> group: The new group.</blockquote> <br><br> <hr noshade> </html>