Next: GtkUIManager, Previous: GtkToggleToolButton, Up: Top
A toolbar item that contains a radio button
A <gtk-radio-tool-button> is a <gtk-tool-item> 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.
Use gtk-radio-tool-button-new to create a new
<gtk-radio-tool-button>. use gtk-radio-tool-button-new-from-widget
to create a new <gtk-radio-tool-button> that is part of the same group as
an existing <gtk-radio-tool-button>. Use
gtk-radio-tool-button-new-from-stock or
gtk-radio-tool-button-new-from-widget-with-stock to create a new
<gtk-radio-tool-button> containing a stock item.
Derives from
<gtk-toggle-tool-button>.This class defines the following slots:
group- The radio tool button whose group this button belongs to.
<gtk-radio-group*>) ⇒ (ret <gtk-tool-item>)Creates a new
<gtk-radio-tool-button>, adding it to group.
- group
- An existing radio button group, or ‘
#f’ if you are creating a new group- ret
- The new
<gtk-radio-tool-button>Since 2.4
<gtk-radio-tool-button>) ⇒ (ret <gtk-radio-group*>)Returns the radio button group button belongs to.
- button
- a
<gtk-radio-tool-button>- ret
- The group button belongs to.
Since 2.4
<gtk-radio-tool-button>) (group <gtk-radio-group*>)Adds button to group, removing it from the group it belonged to before.
- button
- a
<gtk-radio-tool-button>- group
- an existing radio button group
Since 2.4