Top | ![]() |
![]() |
![]() |
![]() |
|
e_shell_switcher_new () |
|
e_shell_switcher_add_action () |
|
e_shell_switcher_get_style () |
|
e_shell_switcher_set_style () |
|
e_shell_switcher_unset_style () |
|
e_shell_switcher_get_visible () |
|
e_shell_switcher_set_visible () |
GtkWidget * e_shell_switcher_new (void
);
Creates a new EShellSwitcher instance.
void e_shell_switcher_add_action (EShellSwitcher *switcher
,,
GtkAction *switch_action);
GtkAction *new_window_action
Adds a button to switcher
that proxies for switcher_action
.
Switcher buttons appear in the order they were added. A middle
click opens a new window of this type.
EShellWindow adds switcher actions in the order given by the
sort_order
field in EShellBackendClass.
GtkToolbarStyle e_shell_switcher_get_style (EShellSwitcher *switcher
);
Returns whether switcher
has text, icons or both.
void e_shell_switcher_set_style (EShellSwitcher *switcher
,);
GtkToolbarStyle style
Alters the view of switcher
to display either icons only, text only,
or both.
void e_shell_switcher_unset_style (EShellSwitcher *switcher
);
Unsets a switcher style set with e_shell_switcher_set_style()
, so
that user preferences will be used to determine the switcher style.
gboolean e_shell_switcher_get_visible (EShellSwitcher *switcher
);
Returns TRUE
Note that switcher button visibility is different than
switcher
's GTK_VISIBLE flag, since EShellSwitcher
is actually a container widget for EShellSidebar.
void e_shell_switcher_set_visible (EShellSwitcher *switcher
,);
gboolean visible
Sets the switcher button visiblity to visible
.
Note that switcher button visibility is different than
switcher
's GTK_VISIBLE flag, since EShellSwitcher
is actually a container widget for EShellSidebar.