Top | ![]() |
![]() |
![]() |
![]() |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkToolItem ╰── GtkToolButton ╰── GtkToggleToolButton ╰── GtkRadioToolButton
GtkRadioToolButton implements AtkImplementor, GtkBuildable and GtkActionable.
A GtkRadioToolButton is a GtkToolItem 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 GtkRadioToolButton. Use
gtk_radio_tool_button_new_from_widget()
to create a new GtkRadioToolButton
that is part of the same group as an existing GtkRadioToolButton.
GtkToolItem *
gtk_radio_tool_button_new (GSList *group
);
Creates a new GtkRadioToolButton, adding it to group
.
GtkToolItem *
gtk_radio_tool_button_new_from_widget (GtkRadioToolButton *group
);
Creates a new GtkRadioToolButton adding it to the same group as gruup
[constructor]
GSList *
gtk_radio_tool_button_get_group (GtkRadioToolButton *button
);
Returns the radio button group button
belongs to.
void gtk_radio_tool_button_set_group (GtkRadioToolButton *button
,GSList *group
);
Adds button
to group
, removing it from the group it belonged to before.
“group”
property“group” GtkRadioToolButton *
Sets a new group for a radio tool button.
Flags: Write