Top | ![]() |
![]() |
![]() |
![]() |
gboolean | editing | Read / Write |
ExoToolbarsModel * | model | Read / Write |
GtkUIManager * | ui-manager | Read / Write |
GObject ╰── GInitiallyUnowned ╰── GtkObject ╰── GtkWidget ╰── GtkContainer ╰── GtkBox ╰── GtkVBox ╰── ExoToolbarsView
ExoToolbarsView implements AtkImplementorIface, GtkBuildable and GtkOrientable.
GtkWidget *
exo_toolbars_view_new (GtkUIManager *ui_manager
);
Creates a new ExoToolbarsView.
GtkWidget * exo_toolbars_view_new_with_model (GtkUIManager *ui_manager
,ExoToolbarsModel *model
);
Creates a new ExoToolbarsView and associates it with
model
.
gboolean
exo_toolbars_view_get_editing (ExoToolbarsView *view
);
Gets wether view
is currently being edited.
void exo_toolbars_view_set_editing (ExoToolbarsView *view
,gboolean editing
);
Sets wether view
is currently being edited.
ExoToolbarsModel *
exo_toolbars_view_get_model (ExoToolbarsView *view
);
Returns the ExoToolbarsModel currently associated with
view
or NULL
if view
has no 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.
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.
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.
struct ExoToolbarsView;
The ExoToolbarsView struct contains only private fields and should not be directly accessed.
“editing”
property“editing” gboolean
This property tells if the toolbars contained with this ExoToolbarsView are currently being edited by the user. If the user edits a view, the view will act as proxy and make the requested changes to the model.
Flags: Read / Write
Default value: FALSE
“model”
property“model” ExoToolbarsModel *
The ExoToolbarsModel associated with this ExoToolbarsView
or NULL
if there is no model currently associated with this
view. The view is build up from the model, which says, that
it will display the toolbars as described in the model.
Flags: Read / Write
“ui-manager”
property“ui-manager” GtkUIManager *
The GtkUIManager currently associated with this ExoToolbarsView
or NULL
. The GtkUIManager object is used to translate action
names as used by the ExoToolbarsModel into GtkAction objects,
which are then used to create and maintain the items in the
toolbars.
Flags: Read / Write
“action-request”
signalvoid user_function (ExoToolbarsView *view, gchar *arg1, gpointer user_data)
This signal is emitted when a new GtkToolItem is created from a GtkAction in the ExoToolbarsView.
Flags: Run Last
“customize”
signalvoid user_function (ExoToolbarsView *view, gpointer user_data)
This signal is emitted if the users chooses the Customize Toolbars... option from the right-click menu.
Please take note, that the option will only be present in the right-click menu, if you had previously connected a handler to this signal.
Flags: Run Last