Criar  Editar  FrontPage  Índices  Buscar  Alterações  History  RSS  Back  Login

Gtk::RadioMenuItem Diff - Ruby-GNOME2 Project Website

  • Added parts are displayed like this.
  • Deleted parts are displayed like this.

= 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.

== Object Hierarchy
* Object
  * GLib::Instantiatable
    * GLib::Object
      * Gtk::Object
        * Gtk::Widget
          * Gtk::Container
            * Gtk::Bin
              * Gtk::Item
                * Gtk::MenuItem
                  * Gtk::CheckMenuItem
                    * Gtk::RadioMenuItem

== 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::RadioMenuItem>))s.
    * 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.
    * Returns: the array of ((<Gtk::RadioMenuItem>))s

--- group=(group)
    Sets the group of a radio menu item, or changes it.
    * group: the array of ((<Gtk::RadioMenuItem>))s.
    * Returns: group

--- set_group(group)
    Same as Gtk::RadioMenuItem#group=.
    * group: the array of ((<Gtk::RadioMenuItem>))s.
    * Returns: self

== See Also
* Gtk::MenuItem because a radio menu item is a menu item.
* Gtk::CheckMenuItem to know how to handle the check.

- ((<Masao>))