Class: Gtk::RadioToolButton

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

Instance Method Details

#groupGLib::SList

Returns the radio button group button belongs to.

Returns:

  • (GLib::SList)

    The group button belongs to.

#group=(group) ⇒ Gtk::RadioToolButton

Sets a new group for a radio tool button.

Parameters:

Returns:

#new(group) ⇒ Gtk::ToolItem

Creates a new Gtk::RadioToolButton, adding it to group.

Parameters:

  • group (GLib::SList)

    An existing radio button group, or nil if you are creating a new group

Returns:

#new_from_stock(group, stock_id) ⇒ Gtk::ToolItem

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.

Parameters:

  • group (GLib::SList)

    an existing radio button group, or nil if you are creating a new group

  • stock_id (String)

    the name of a stock item

Returns:

#new_from_widget(group) ⇒ Gtk::ToolItem

Creates a new Gtk::RadioToolButton adding it to the same group as gruup

Parameters:

Returns:

#new_with_stock_from_widget(group, stock_id) ⇒ Gtk::ToolItem

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

Parameters:

  • group (Gtk::RadioToolButton)

    An existing Gtk::RadioToolButton.

  • stock_id (String)

    the name of a stock item

Returns: