Crear  Editar  FrontPage  Indexes  Buscar  Cambios  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

Properties

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

ChangeLog

  • 2005-1-27 Added. - Masao
Ultimas actualizaciones:2011/06/19 21:38:54
Clave:
Referencias:[Gtk::ToolItem] [Gtk::SeparatorToolItem] [Gtk::RadioToolButton] [Gtk::ToolButton]