Top |
GObject ╰── GInitiallyUnowned ╰── GtkObject ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkToolItem ╰── GtkToolButton ╰── GtkToggleToolButton ╰── GtkRadioToolButton
GtkRadioToolButton implements AtkImplementorIface, GtkBuildable and GtkActivatable.
GtkToolItem *
gtk_radio_tool_button_new (GSList *group
);
Creates a new GtkRadioToolButton, adding it to group
.
group |
An existing radio button group, or |
[allow-none] |
Since: 2.4
GtkToolItem * gtk_radio_tool_button_new_from_stock (GSList *group
,const gchar *stock_id
);
Creates a new GtkRadioToolButton, adding it to group
.
The new GtkRadioToolButton will contain an icon and label from the
stock item indicated by stock_id
.
group |
an existing radio button group, or |
[allow-none] |
stock_id |
the name of a stock item |
Since: 2.4
GtkToolItem *
gtk_radio_tool_button_new_from_widget (GtkRadioToolButton *group
);
Creates a new GtkRadioToolButton adding it to the same group as gruup
Since: 2.4
GtkToolItem * gtk_radio_tool_button_new_with_stock_from_widget (GtkRadioToolButton *group
,const gchar *stock_id
);
Creates a new GtkRadioToolButton adding it to the same group as group
.
The new GtkRadioToolButton will contain an icon and label from the
stock item indicated by stock_id
.
Since: 2.4
GSList *
gtk_radio_tool_button_get_group (GtkRadioToolButton *button
);
Returns the radio button group button
belongs to.
Since: 2.4
void gtk_radio_tool_button_set_group (GtkRadioToolButton *button
,GSList *group
);
Adds button
to group
, removing it from the group it belonged to before.
Since: 2.4
“group”
property“group” GtkRadioToolButton *
Sets a new group for a radio tool button.
Owner: GtkRadioToolButton
Flags: Write
Since: 2.4