Top |
AnjutaCommandBarAnjutaCommandBar — Widget that lays out commands in a vertical row of buttons and frames. |
Functions
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 () |
Object Hierarchy
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkNotebook ╰── AnjutaCommandBar
Description
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.
Functions
anjuta_command_bar_new ()
GtkWidget *
anjuta_command_bar_new (void
);
Creates a new AnjutaCommandBar.
anjuta_command_bar_add_action_group ()
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.
Parameters
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 |
anjuta_command_bar_remove_action_group ()
void anjuta_command_bar_remove_action_group (AnjutaCommandBar *self
,const gchar *group_name
);
Removes an action group from an AnjutaCommandBar.
anjuta_command_bar_show_action_group ()
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.
anjuta_command_bar_get_action_group ()
GtkActionGroup * anjuta_command_bar_get_action_group (AnjutaCommandBar *self
,const gchar *group_name
);
anjuta_command_bar_get_action ()
GtkAction * anjuta_command_bar_get_action (AnjutaCommandBar *self
,const gchar *group_name
,const gchar *action_name
);
Retrieves a GtkAction object in the given group with the given name
Types and Values
enum AnjutaCommandBarEntryType
Specifies if the entry corresponds to a frame or a button. Buttons are added to the last frame that appears before the button entry