| exo Reference Manual | ||||
|---|---|---|---|---|
ExoToolbarsModelExoToolbarsModel — The toolbars backend used by ExoToolbarsView |
#include <exo/exo.h>
ExoToolbarsModel;
enum ExoToolbarsModelFlags;
#define EXO_TOOLBARS_ITEM_TYPE
ExoToolbarsModel* exo_toolbars_model_new (void);
void exo_toolbars_model_set_actions (ExoToolbarsModel *model,
gchar **actions,
guint n_actions);
gchar** exo_toolbars_model_get_actions (ExoToolbarsModel *model);
gboolean exo_toolbars_model_load_from_file (ExoToolbarsModel *model,
const gchar *filename,
GError **error);
gboolean exo_toolbars_model_save_to_file (ExoToolbarsModel *model,
const gchar *filename,
GError **error);
ExoToolbarsModelFlags exo_toolbars_model_get_flags (ExoToolbarsModel *model,
gint toolbar_position);
void exo_toolbars_model_set_flags the editor widget will load the
toolbars from the given ExoToolbarsModel and initialize its
user interface according to the model.
ui-manager" property"ui-manager" GtkUIManager : Read / Write
The GtkUIManager used by this editor. If this property is
NULL, the editor widget will be disabled, else if you specify
a valid GtkUIManager, the editor widget will load the available
actions from the given user interface manager and initialize
its user interface according to the specified GtkUIManager.
The given ui-manager needs to support all actions that were
specified for the model, used by the editor, with the
exo_toolbars_model_set_actions() method.