Top | ![]() |
![]() |
![]() |
![]() |
|
e_tree_view_frame_new () |
|
e_tree_view_frame_get_tree_view () |
|
e_tree_view_frame_set_tree_view () |
|
e_tree_view_frame_get_toolbar_visible () |
|
e_tree_view_frame_set_toolbar_visible () |
|
e_tree_view_frame_get_hscrollbar_policy () |
|
e_tree_view_frame_set_hscrollbar_policy () |
|
e_tree_view_frame_get_vscrollbar_policy () |
|
e_tree_view_frame_set_vscrollbar_policy () |
|
e_tree_view_frame_insert_toolbar_action () |
|
e_tree_view_frame_lookup_toolbar_action () |
|
e_tree_view_frame_update_toolbar_actions () |
#define | E_TREE_VIEW_FRAME_ACTION_ADD |
#define | E_TREE_VIEW_FRAME_ACTION_REMOVE |
#define | E_TREE_VIEW_FRAME_ACTION_MOVE_TOP |
#define | E_TREE_VIEW_FRAME_ACTION_MOVE_UP |
#define | E_TREE_VIEW_FRAME_ACTION_MOVE_DOWN |
#define | E_TREE_VIEW_FRAME_ACTION_MOVE_BOTTOM |
#define | E_TREE_VIEW_FRAME_ACTION_SELECT_ALL |
struct | ETreeViewFrame |
ETreeViewFrame embeds a
The inline-style toolbar supports "add" and "remove" actions, as well
as move actions if the tree view is reorderable and selection actions
if the tree view supports multiple selections. The action set can be
extended through e_tree_view_frame_insert_toolbar_action()
.
GtkTreeView * e_tree_view_frame_get_tree_view (ETreeViewFrame *tree_view_frame
);
Returns the tree_view_frame
.
The tree_view_frame
creates its own e_tree_view_frame_set_tree_view()
.
void e_tree_view_frame_set_tree_view (ETreeViewFrame *tree_view_frame
,);
GtkTreeView *tree_view
Replaces the previous tree_view
.
If tree_view
is NULL
tree_view_frame
creates a new
gboolean e_tree_view_frame_get_toolbar_visible (ETreeViewFrame *tree_view_frame
);
Returns whether the inline toolbar in tree_view_frame
is visible.
void e_tree_view_frame_set_toolbar_visible (ETreeViewFrame *tree_view_frame
,);
gboolean toolbar_visible
Shows or hides the inline toolbar in tree_view_frame
.
GtkPolicyType e_tree_view_frame_get_hscrollbar_policy (ETreeViewFrame *tree_view_frame
);
Returns the policy for the horizontal scrollbar in tree_view_frame
.
void e_tree_view_frame_set_hscrollbar_policy (ETreeViewFrame *tree_view_frame
,);
GtkPolicyType hscrollbar_policy
Sets the policy for the horizontal scrollbar in tree_view_frame
.
GtkPolicyType e_tree_view_frame_get_vscrollbar_policy (ETreeViewFrame *tree_view_frame
);
Returns the policy for the vertical scrollbar in tree_view_frame
.
void e_tree_view_frame_set_vscrollbar_policy (ETreeViewFrame *tree_view_frame
,);
GtkPolicyType vscrollbar_policy
Sets the policy for the vertical scrollbar in tree_view_frame
.
void e_tree_view_frame_insert_toolbar_action (ETreeViewFrame *tree_view_frame
,,
GtkAction *action);
gint position
Generates a action
and inserts it into the inline
toolbar at the given position
. If position
is zero, the item is
prepended to the start of the toolbar. If position
is negative,
the item is appended to the end of the toolbar.
GtkAction * e_tree_view_frame_lookup_toolbar_action (ETreeViewFrame *tree_view_frame
,const
);gchar *action_name
Returns the toolbar action named action_name
, or NULL
void e_tree_view_frame_update_toolbar_actions (ETreeViewFrame *tree_view_frame
);
Emits the
See the signal description for more details.
#define E_TREE_VIEW_FRAME_ACTION_ADD "e-tree-view-frame-add"
The
Use e_tree_view_frame_lookup_toolbar_action()
to obtain the
#define E_TREE_VIEW_FRAME_ACTION_REMOVE "e-tree-view-frame-remove"
The
Use e_tree_view_frame_lookup_toolbar_action()
to obtain the
#define E_TREE_VIEW_FRAME_ACTION_MOVE_TOP "e-tree-view-frame-move-top"
The
Use e_tree_view_frame_lookup_toolbar_action()
to obtain the
#define E_TREE_VIEW_FRAME_ACTION_MOVE_UP "e-tree-view-frame-move-up"
The
Use e_tree_view_frame_lookup_toolbar_action()
to obtain the
#define E_TREE_VIEW_FRAME_ACTION_MOVE_DOWN "e-tree-view-frame-move-down"
The
Use e_tree_view_frame_lookup_toolbar_action()
to obtain the
#define E_TREE_VIEW_FRAME_ACTION_MOVE_BOTTOM "e-tree-view-frame-move-bottom"
The
Use e_tree_view_frame_lookup_toolbar_action()
to obtain the
#define E_TREE_VIEW_FRAME_ACTION_SELECT_ALL "e-tree-view-frame-select-all"
The
Use e_tree_view_frame_lookup_toolbar_action()
to obtain the