| Top |
AnjutaCommandBarAnjutaCommandBar — Widget that lays out commands in a vertical row of buttons and frames. |
| GtkWidget * | anjuta_command_bar_new () |
| void | anjuta_command_bar_add_action_group () |
| void | anjuta_command_bar_remove_action_group () |
| void | anjuta_command_bar_show_action_group () |
| GtkActionGroup * | anjuta_command_bar_get_action_group () |
| GtkAction * | anjuta_command_bar_get_action () |
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkNotebook
╰── AnjutaCommandBar
AnjutaCommandBar provides a convenient way to arrange several sets of commands into one widget. It separates commands into different groups of actions, with only one group visible at a time.
GtkWidget *
anjuta_command_bar_new (void);
Creates a new AnjutaCommandBar.
void anjuta_command_bar_add_action_group (AnjutaCommandBar *self,const gchar *group_name,const AnjutaCommandBarEntry *entries,int num_entries,gpointer user_data);
Adds a group of entries to an AnjutaCommandBar.
self |
An AnjutaCommandBar |
|
group_name |
A unique name for this group of entries |
|
entries |
A list of entries to add. |
[array length=num_entries] |
num_entries |
The number of items pointed to by entries |
|
user_data |
User data to pass to the entry callback |
void anjuta_command_bar_remove_action_group (AnjutaCommandBar *self,const gchar *group_name);
Removes an action group from an AnjutaCommandBar.
void anjuta_command_bar_show_action_group (AnjutaCommandBar *self,const gchar *group_name);
Causes the actions in the given group to become visible, replacing the previously visible group.
GtkActionGroup * anjuta_command_bar_get_action_group (AnjutaCommandBar *self,const gchar *group_name);
Specifies if the entry corresponds to a frame or a button. Buttons are added to the last frame that appears before the button entry