Add value parameter to allow setting the currently selected group member
2003-09-15 Matthias Clasen <maclas@gmx.de> * gtk/gtkactiongroup.[hc]: (gtk_action_group_add_radio_actions): (gtk_action_group_add_radio_actions_full): Add value parameter to allow setting the currently selected group member before connecting signals. (GtkToggleActionEntry): Separate struct for constructing toggle actions, including a boolean to initialize the action state before connecting signals. (gtk_action_group_add_toggle_actions): (gtk_action_group_add_toggle_actions_full): New functions to construct toggle actions from an array of GtkToggleActionEntries. * demos/gtk-demo/appwindow.c: * tests/testactions.c: * tests/testmerge.c: Adjust to new action group API. * gtk/gtk-sections.txt: Add gtk_action_group_add_toggle_actions[_full].
This commit is contained in:
committed by
Matthias Clasen
parent
b14b12f9d2
commit
caf380c793
@ -130,16 +130,19 @@ GtkActionPrivate
|
||||
<FILE>gtkactiongroup</FILE>
|
||||
<TITLE>GtkActionGroup</TITLE>
|
||||
GtkActionGroup
|
||||
GtkActionEntry
|
||||
GtkRadioActionEntry
|
||||
gtk_action_group_new
|
||||
gtk_action_group_get_name
|
||||
gtk_action_group_get_action
|
||||
gtk_action_group_list_actions
|
||||
gtk_action_group_add_action
|
||||
gtk_action_group_remove_action
|
||||
GtkActionEntry
|
||||
gtk_action_group_add_actions
|
||||
gtk_action_group_add_actions_full
|
||||
GtkToggleActionEntry
|
||||
gtk_action_group_add_toggle_actions
|
||||
gtk_action_group_add_toggle_actions_full
|
||||
GtkRadioActionEntry
|
||||
gtk_action_group_add_radio_actions
|
||||
gtk_action_group_add_radio_actions_full
|
||||
gtk_action_group_set_translate_func
|
||||
@ -1734,6 +1737,7 @@ gtk_ui_manager_get_action
|
||||
gtk_ui_manager_add_ui_from_string
|
||||
gtk_ui_manager_add_ui_from_file
|
||||
gtk_ui_manager_new_merge_id
|
||||
GtkUIManagerItemType
|
||||
gtk_ui_manager_add_ui
|
||||
gtk_ui_manager_remove_ui
|
||||
gtk_ui_manager_get_ui
|
||||
|
||||
Reference in New Issue
Block a user