Create  Edit  FrontPage  Index  Search  Changes  History  RSS  Back  Login

Gtk::RadioToolButton Diff - Ruby-GNOME2 Project Website

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

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

== Object Hierarchy

* Object
  * GLib::Instantiatable
    * GLib::Object
      * GLib::InitiallyUnowned
        * Gtk::Object
          * Gtk::Widget
            * Gtk::Container
              * Gtk::Bin
                * Gtk::ToolItem
                  * Gtk::ToolButton
                    * Gtk::ToggleToolButton
                      * Gtk::RadioToolButton

== Class Methods

--- Gtk::RadioToolButton.new

    Creates a new Gtk::RadioToolButton
    * Returns: The new Gtk::RadioToolButton

--- Gtk::RadioToolButton.new(group)

    Creates a new Gtk::RadioToolButton, adding it to group.
    * group: An existing radio button group(an Array of Gtk::RadioToolButton or an existing Gtk::RadioToolButton)
    * Returns: The new Gtk::RadioToolButton

--- 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.
    * group: An existing radio button group(an Array of Gtk::RadioToolButton or an existing Gtk::RadioToolButton)
    * stock_id: the name of a stock item(a constant of Gtk::Stock)
    * Returns: The new Gtk::RadioToolButton

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

== See Also

== ChangeLog

* 2005-1-27 Added. - Masao