Crea  Modifica  FrontPage  Indici  Cerca  Ultime modifiche  History  RSS  Login

Gtk::RadioMenuItem

class Gtk::RadioMenuItem

A radio menu item is a check menu item that belongs to a group. At each instant exactly one of the radio menu items from a group is selected.

Class Methods

Gtk::RadioMenuItem.new(label = nil, use_underline = true)
Creates a new Gtk::RadioMenuItem. This is for a first Gtk::RadioMenuItem.
  • label: the text for the label.
  • use_underline: true if the label will be created underscores in label indicate the mnemonic for radio menu item.
  • Returns: a new Gtk::RadioMenuItem.
Gtk::RadioMenuItem.new(group, label = nil, use_underline = true)
Creates a new Gtk::RadioMenuItem.
  • group: the group to which the radio menu item is to be attached(Gtk::RadioMenuItem) or an array of Gtk::RadioMenuItems.
  • label: the text for the label.
  • use_underline: true if the label will be created underscores in label indicate the mnemonic for radio menu item.
  • Returns: a new Gtk::RadioMenuItem

Instance Methods

group
Returns the group to which the radio menu item belongs, as an array of Gtk::RadioMenuItems?.
group=(group)
Sets the group of a radio menu item, or changes it.
set_group(group)
Same as Gtk::RadioMenuItem#group=.

See Also

- Masao

Ultima modifica:2008/04/06 03:58:05
Parola chiave:
Referenze:[Gtk::AccelLabel] [Gtk::RadioAction] [Gtk::RadioMenuItem]