Create  Edit  FrontPage  Index  Search  Changes  History  RSS  Login

Gtk::RadioToolButton

class Gtk::RadioToolButton

A Gtk::RadioToolButton is a Gtk::ToolItem that contains a radio button, that is, a button that is part of a group of toggle buttons where only one button can be active at a time.

Class Methods

Gtk::RadioToolButton.new
Creates a new Gtk::RadioToolButton
Gtk::RadioToolButton.new(group)
Creates a new Gtk::RadioToolButton, adding it to group.
Gtk::RadioToolButton.new(group, stock_id)
Creates a new Gtk::RadioToolButton, adding it to group. The new Gtk::RadioToolButton will contain an icon and label from the stock item indicated by stock_id.

Instance Methods

group
Returns an Array of the radio tool button group buttons.
  • Returns: An Array of the group buttons
group=(group)
Adds the radio tool button to group, removing it from the group it belonged to before.
  • group: an existing radio button group(Array of the radio tool buttons)
  • Returns: group
set_group(group)
Same as Gtk::RadioToolButton#group=.
  • group: an existing radio button group(Array of the radio tool buttons)
  • Returns: self
ref_accessible
See Atk::Implementor#ref_accessible.
add_child
See Gtk::Buildable#add_child.
construct_child
See Gtk::Buildable#construct_child.
get_internal_child
See Gtk::Buildable#get_internal_child.
name
See Gtk::Buildable#name.
name=
See Gtk::Buildable#name=.
set_buildable_property
See Gtk::Buildable#set_buildable_property.
set_name
See Gtk::Buildable#set_name.
builder_name
See Gtk::Buildable#builder_name.
builder_name=
See Gtk::Buildable#builder_name=.
set_builder_name
See Gtk::Buildable#set_builder_name.

Properties

group: Gtk::RadioToolButton (Write)
The radio tool button whose group this button belongs to.

ChangeLog

  • 2005-1-27 Added. - Masao