Gtk-- Reference: Gtk::RadioMenuItem

Class Index | Cross Index | Namespace Index

# Class Gtk::RadioMenuItem

A choice from multiple check menu items.
Contained in: Gtk
Derived from: Gtk::CheckMenuItem
Derived by: none

#include <gtk--/radiomenuitem.h>

### public function member index:
`` | `RadioMenuItem` | `(Group& `groupx`)`;
`` | `RadioMenuItem` | `(Group& `groupx`, `const` `string`& `label`, `gfloat` `xalign`=0.0, `gfloat` `yalign`=0.5)`;
`Group` | `group` | `()`;
``GtkRadioMenuItem`*` | `gtkobj` | `()`;
``const` `GtkRadioMenuItem`*` | `gtkobj` | `() `const``;
``static` `bool`` | `isA` | `(`Object`* `object`)`;
``void`` | `set_group` | `(Group `group`)`;
``virtual`` | `~RadioMenuItem` | `()`;
### protected function member index:
``void`` | `constructor` | `(Group `group`)`;

## Description:

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.

## Function Member Descriptions:

Gtk::RadioMenuItem::group - Returns the group to which the radio menu item belongs.

`Group` `group``()`;

> Returns: Its group.

Gtk::RadioMenuItem::gtkobj - Returns the underlaying gtk+ object.

``GtkRadioMenuItem`*` `gtkobj``()`;
Gtk::RadioMenuItem::isA - Returns true if object is this type.

``static` `bool`` `isA``(`Object`* `object`)`;
Gtk::RadioMenuItem::set_group - Sets the group of a radio menu item, or changes it.

``void`` `set_group``(Group `group`)`;

> group: The new group.