| exo Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
#include <exo/exo.h>
ExoToolbarsEditor;
GtkWidget * exo_toolbars_editor_new (GtkUIManager *ui_manager);
GtkWidget * exo_toolbars_editor_new_with_model (GtkUIManager *ui_manager,
ExoToolbarsModel *model);
ExoToolbarsModel * exo_toolbars_editor_get_model (ExoToolbarsEditor *editor);
void exo_toolbars_editor_set_model (ExoToolbarsEditor *editor,
ExoToolbarsModel *model);
GtkUIManager * exo_toolbars_editor_get_ui_manager (ExoToolbarsEditor *editor);
void exo_toolbars_editor_set_ui_manager (ExoToolbarsEditor *editor,
GtkUIManager *ui_manager);
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkVBox
+----ExoToolbarsEditor
ExoToolbarsEditor implements AtkImplementorIface, GtkBuildable and GtkOrientable.
ExoToolbarsEditor is a widget that allows the user to edit toolbars used within your application by simply dragging and dropping toolbar items between the editor widget and the toolbar widgets.
Most applications should simply use the ExoToolbarsEditorDialog class, which includes an ExoToolbarsEditor as main widget.
typedef struct _ExoToolbarsEditor ExoToolbarsEditor;
The ExoToolbarsEditor struct contains only private fields and should not be directly accessed.
GtkWidget * exo_toolbars_editor_new (GtkUIManager *ui_manager);
Creates a new ExoToolbarsEditor that will
be associated with ui_manager. ui_manager must
be a valid GtkUIManager, NULL is not allowed
at this point.
The newly created ExoToolbarsEditor will not
be usable until you associate an ExoToolbarsModel
with it, using the function exo_toolbars_editor_set_model().
You should probably use exo_toolbars_editor_new_with_model()
instead.
|
A GtkUIManager. |
Returns : |
A new ExoToolbarsEditor. |
GtkWidget * exo_toolbars_editor_new_with_model (GtkUIManager *ui_manager,ExoToolbarsModel *model);
Creates a new ExoToolbarsEditor that will be
associated with model and ui_manager. You
must supply a valid GtkUIManager and a valid
ExoToolbarsModel here or the function will
fail.
|
A GtkUIManager. |
|
An ExoToolbarsModel. |
Returns : |
A new ExoToolbarsEditor. |
ExoToolbarsModel * exo_toolbars_editor_get_model (ExoToolbarsEditor *editor);
Returns the ExoToolbarsModel currently associated
with editor or NULL if no ExoToolbarsModel is
currently associated with editor.
|
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An editor : |
An |