Forum und email

GtkRadioMenuItem

A toggle menu item of which only one in the group may be active.

オブジェクトの階層

GObject
`-- GtkObject
       `-- GtkWidget
              `-- GtkContainer
                     `-- GtkBin
                            `-- GtkItem
                                   `-- GtkMenuItem
                                          `-- GtkCheckMenuItem
                                                 `-- GtkRadioMenuItem

説明

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.

コンストラクタ

GtkRadioMenuItem ([GtkRadioMenuItem group [, string text [, bool use_underline = true]]]);

-- Creates a new radio menu item.

GtkRadioMenuItem new_from_widget ([string text [, bool use_underline = true]]);

-- Creates a new radio menu item based on an existing one.

メソッド

get_group()
  Returns an array of all group members.
set_group()
  Sets the group the item belongs to.

シグナル

"group-changed"
  The item is in another group.