ExoToolbarsView

ExoToolbarsView — Widget for displaying toolbars

Synopsis

#include <exo/exo.h>

                    ExoToolbarsView;
GtkWidget *         exo_toolbars_view_new               (GtkUIManager *ui_manager);
GtkWidget *         exo_toolbars_view_new_with_model    (GtkUIManager *ui_manager,
                                                         ExoToolbarsModel *model);
gboolean            exo_toolbars_view_get_editing       (ExoToolbarsView *view);
void                exo_toolbars_view_set_editing       (ExoToolbarsView *view,
                                                         gboolean editing);
ExoToolbarsModel *  exo_toolbars_view_get_model         (ExoToolbarsView *view);
void                exo_toolbars_view_set_model         (ExoToolbarsView *view,
                                                         ExoToolbarsModel *model);
GtkUIManager *      exo_toolbars_view_get_ui_manager    (ExoToolbarsView *view);
void                exo_toolbars_view_set_ui_manager    (ExoToolbarsView *view,
                                                         GtkUIManager *ui_manager);

Description

A widget that displays toolbars as described in a ExoToolbarsModel object.

Details

ExoToolbarsView

typedef struct _ExoToolbarsView ExoToolbarsView;

The ExoToolbarsView struct contains only private fields and should not be directly accessed.


exo_toolbars_view_new ()

GtkWidget *         exo_toolbars_view_new               (GtkUIManager *ui_manager);

Creates a new ExoToolbarsView.

ui_manager :

A GtkUIManager.

Returns :

A newly created ExoToolbarsView.

exo_toolbars_view_new_with_model ()

GtkWidget *         exo_toolbars_view_new_with_model    (GtkUIManager *ui_manager,
                                                         ExoToolbarsModel *model);

Creates a new ExoToolbarsView and associates it with model.

ui_manager :

A GtkUIManager.

model :

An ExoToolbarsModel.

Returns :

A newly created ExoToolbarsView.

exo_toolbars_view_get_editing ()

gboolean            exo_toolbars_view_get_editing       (ExoToolbarsView *view);

Gets wether view is currently being edited.

view :

An ExoToolbarsView.

Returns :

TRUE if view is currently being edited, else FALSE.

exo_toolbars_view_set_editing ()

void                exo_toolbars_view_set_editing       (ExoToolbarsView *view,
                                                         gboolean editing);

Sets wether view is currently being edited.

view :

An ExoToolbarsView.

editing :

New editing mode.

exo_toolbars_view_get_model ()

ExoToolbarsModel *  exo_toolbars_view_get_model         (ExoToolbarsView *view);

Returns the ExoToolbarsModel currently associated with view or NULL if view has no model.

view :

An ExoToolbarsView.

Returns :

The ExoToolbarsModel associated with view.

exo_toolbars_view_set_model ()

void                exo_toolbars_view_set_model         (ExoToolbarsView *view,
                                                         ExoToolbarsModel *model);

Set the ExoToolbarsModel currently associated with view or NULL to disconnect from the active model.

view :

An ExoToolbarsView.

model :

An ExoToolbarsModel or NULL.

exo_toolbars_view_get_ui_manager ()

GtkUIManager *      exo_toolbars_view_get_ui_manager    (ExoToolbarsView *view);

Returns the GtkUIManager currently associated with view or NULL is no ui-manager has been set.

view :

An ExoToolbarsView.

Returns :

The GtkUIManager associated with view or NULL.

exo_toolbars_view_set_ui_manager ()

void                exo_toolbars_view_set_ui_manager    (ExoToolbarsView *view,
                                                         GtkUIManager *ui_manager);

Set the GtkUIManager currently associated with view or NULL to disconnect from the current ui-manager.

view :

An ExoToolbarsView.

ui_manager :

A GtkUIManager or NULL.

See Also

ExoToolbarsEditor, ExoToolbarsEditorDialog, ExoToolbarsModel