![]() |
![]() |
![]() |
Anjuta Developers Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
struct AnjutaDockClass; GtkWidget * anjuta_dock_new (void
); gboolean anjuta_dock_add_pane (AnjutaDock *self
,const gchar *pane_name
,const gchar *pane_label
,const gchar *stock_icon
,AnjutaDockPane *pane
,GdlDockPlacement placement
,AnjutaCommandBarEntry *entries
,int num_entries
,gpointer user_data
); gboolean anjuta_dock_add_pane_full (AnjutaDock *self
,const gchar *pane_name
,const gchar *pane_label
,const gchar *stock_icon
,AnjutaDockPane *pane
,GdlDockPlacement placement
,AnjutaCommandBarEntry *entries
,int num_entries
,gpointer user_data
,GdlDockItemBehavior behavior
); void anjuta_dock_replace_command_pane (AnjutaDock *self
,const gchar *pane_name
,const gchar *pane_label
,const gchar *stock_icon
,AnjutaDockPane *pane
,GdlDockPlacement placement
,AnjutaCommandBarEntry *entries
,int num_entries
,gpointer user_data
); void anjuta_dock_remove_pane (AnjutaDock *self
,AnjutaDockPane *pane
); void anjuta_dock_show_pane (AnjutaDock *self
,AnjutaDockPane *pane
); void anjuta_dock_hide_pane (AnjutaDock *self
,AnjutaDockPane *pane
); void anjuta_dock_present_pane (AnjutaDock *self
,AnjutaDockPane *pane
); void anjuta_dock_set_command_bar (AnjutaDock *self
,AnjutaCommandBar *command_bar
); AnjutaCommandBar * anjuta_dock_get_command_bar (AnjutaDock *self
); AnjutaDockPriv;
gboolean anjuta_dock_add_pane (AnjutaDock *self
,const gchar *pane_name
,const gchar *pane_label
,const gchar *stock_icon
,AnjutaDockPane *pane
,GdlDockPlacement placement
,AnjutaCommandBarEntry *entries
,int num_entries
,gpointer user_data
);
Adds a pane, with optional AnjutaCommandBar entries, to an AnjutaDock. This method adds a pane with no grip that cannot be closed, floating or iconified.
|
An AnjutaDock |
|
A unique name for this pane |
|
Label to display in this pane's grip |
|
Stock icon to display in this pane's grip |
|
The AnjutaDockPane to add to the dock. The dock takes ownership of the pane object. |
|
A GdlDockPlacement value indicating where the pane should be placed |
|
AnjutaCommandBar entries
for this pane. Can be NULL . [allow-none][array length=num_entries]
|
|
The number of entries pointed to by entries, or 0. |
|
User data to pass to the entry callback |
Returns : |
TRUE if the pane was added, or FALSE if a pane with the same name
already exists in the dock |
gboolean anjuta_dock_add_pane_full (AnjutaDock *self
,const gchar *pane_name
,const gchar *pane_label
,const gchar *stock_icon
,AnjutaDockPane *pane
,GdlDockPlacement placement
,AnjutaCommandBarEntry *entries
,int num_entries
,gpointer user_data
,GdlDockItemBehavior behavior
);
Does the same thing as anjuta_dock_add_pane, but allows GDL dock behavior flags to be specified.
|
An AnjutaDock |
|
A unique name for this pane |
|
Label to display in this pane's grip |
|
Stock icon to display in this pane's grip |
|
The AnjutaDockPane to add to the dock. The dock takes ownership of the pane object. |
|
A GdlDockPlacement value indicating where the pane should be placed |
|
AnjutaCommandBar entries
for this pane. Can be NULL . [allow-none][array length=num_entries]
|
|
The number of entries pointed to by entries, or 0. |
|
User data to pass to the entry callback |
|
Any combination of GdlDockItemBehavior flags |
Returns : |
TRUE if the pane was added, or FALSE if a pane with the same name
already exists in the dock |
void anjuta_dock_replace_command_pane (AnjutaDock *self
,const gchar *pane_name
,const gchar *pane_label
,const gchar *stock_icon
,AnjutaDockPane *pane
,GdlDockPlacement placement
,AnjutaCommandBarEntry *entries
,int num_entries
,gpointer user_data
);
Adds a pane, with optional AnjutaCommandBar entries, to an AnjutaDock. This method adds a pane with no grip that cannot be closed, floating or iconified. If there was an old command pane, that pane is removed in favour of the new pane.
|
An AnjutaDock |
|
A unique name for this pane |
|
Label to display in this pane's grip |
|
Stock icon to display in this pane's grip |
|
The AnjutaDockPane to add to the dock. The dock takes ownership of the pane object. |
|
A GdlDockPlacement value indicating where the pane should be placed |
|
AnjutaCommandBar entries
for this pane. Can be NULL . [allow-none][array length=num_entries]
|
|
The number of entries pointed to by entries, or 0. |
|
User data to pass to the entry callback |
void anjuta_dock_remove_pane (AnjutaDock *self
,AnjutaDockPane *pane
);
Removes a pane from a dock
|
Name of the pane to remove |
void anjuta_dock_show_pane (AnjutaDock *self
,AnjutaDockPane *pane
);
Makes the given pane visible
|
An AnjutaDock |
|
Name of the pane to show |
void anjuta_dock_hide_pane (AnjutaDock *self
,AnjutaDockPane *pane
);
Makes the given pane invisible
|
An AnjutaDock |
|
Name of the pane to hide |
void anjuta_dock_present_pane (AnjutaDock *self
,AnjutaDockPane *pane
);
Presents the pane to the user by making it the currently active pane in its switcher
|
An AnjutaDock |
|
Pane to present |
void anjuta_dock_set_command_bar (AnjutaDock *self
,AnjutaCommandBar *command_bar
);
Associates an AnjutaCommandBar with this dock. Command bars can be used to provide different sets of commands based on the currently visible pane.
|
An AnjutaDock |
|
An AnjutaCommandBar to associate with this dock |
AnjutaCommandBar * anjuta_dock_get_command_bar (AnjutaDock *self
);
|
An AnjutaDock |
Returns : |
the AnjutaCommandBar associated with
this dock or NULL . [transfer none][allow-none]
|