| Evolution Shell Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
#include <shell/e-shell-content.h>
EShellContent;
GtkWidget * e_shell_content_new (struct _EShellView *shell_view);
guint32 e_shell_content_check_state (EShellContent *shell_content);
struct _EShellView * e_shell_content_get_shell_view (EShellContent *shell_content);
GtkRadioAction * e_shell_content_get_filter_action (EShellContent *shell_content);
void e_shell_content_set_filter_action (EShellContent *shell_content,
GtkRadioAction *filter_action);
gint e_shell_content_get_filter_value (EShellContent *shell_content);
void e_shell_content_set_filter_value (EShellContent *shell_content,
gint filter_value);
gboolean e_shell_content_get_filter_visible (EShellContent *shell_content);
void e_shell_content_set_filter_visible (EShellContent *shell_content,
gboolean filter_visible);
void e_shell_content_add_filter_separator_before
(EShellContent *shell_content,
gint action_value);
void e_shell_content_add_filter_separator_after
(EShellContent *shell_content,
gint action_value);
ERuleContext * e_shell_content_get_search_context (EShellContent *shell_content);
const gchar * e_shell_content_get_search_hint (EShellContent *shell_content);
void e_shell_content_set_search_hint (EShellContent *shell_content,
const gchar *search_hint);
EFilterRule * e_shell_content_get_search_rule (EShellContent *shell_content);
void e_shell_content_set_search_rule (EShellContent *shell_content,
EFilterRule *search_rule);
const gchar * e_shell_content_get_search_text (EShellContent *shell_content);
void e_shell_content_set_search_text (EShellContent *shell_content,
const gchar *search_text);
gboolean e_shell_content_get_search_visible (EShellContent *shell_content);
void e_shell_content_set_search_visible (EShellContent *shell_content,
gboolean search_visible);
GtkRadioAction * e_shell_content_get_scope_action (EShellContent *shell_content);
void e_shell_content_set_scope_action (EShellContent *shell_content,
GtkRadioAction *scope_action);
gint e_shell_content_get_scope_value (EShellContent *shell_content);
void e_shell_content_set_scope_value (EShellContent *shell_content,
gint scope_value);
gboolean e_shell_content_get_scope_visible (EShellContent *shell_content);
void e_shell_content_set_scope_visible (EShellContent *shell_content,
gboolean scope_visible);
const gchar * e_shell_content_get_view_id (EShellContent *shell_content);
void e_shell_content_set_view_id (EShellContent *shell_content,
const gchar *view_id);
void e_shell_content_run_advanced_search_dialog
(EShellContent *shell_content);
void e_shell_content_run_edit_searches_dialog
(EShellContent *shell_content);
void e_shell_content_run_save_search_dialog
(EShellContent *shell_content);
void e_shell_content_restore_state (EShellContent *shell_content,
const gchar *group_name);
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----EShellContent
"filter-action" GtkRadioAction* : Read / Write "filter-value" gint : Read / Write "filter-visible" gboolean : Read / Write / Construct "scope-action" GtkRadioAction* : Read / Write "scope-value" gint : Read / Write "scope-visible" gboolean : Read / Write / Construct "search-context" ERuleContext* : Read "search-hint" gchar* : Read / Write "search-rule" EFilterRule* : Read / Write "search-text" gchar* : Read / Write "search-visible" gboolean : Read / Write / Construct "shell-view" EShellView* : Read / Write / Construct Only
typedef struct _EShellContent EShellContent;
Contains only private data that should be read and manipulated using the functions below.
GtkWidget * e_shell_content_new (struct _EShellView *shell_view);
Creates a new EShellContent instance belonging to shell_view.
|
an EShellView |
Returns : |
a new EShellContent instance |
guint32 e_shell_content_check_state (EShellContent *shell_content);
EShellContent subclasses should implement the
check_state method in EShellContentClass
to return a set of flags describing the current content selection.
Subclasses are responsible for defining their own flags. This is
primarily used to assist shell views with updating actions (see
e_shell_view_update_actions()).
|
an EShellContent |
Returns : |
a set of flags describing the current shell_content selection
|
struct _EShellView * e_shell_content_get_shell_view (EShellContent *shell_content);
Returns the EShellView that was passed to e_shell_content_new().
|
an EShellContent |
Returns : |
the EShellView to which shell_content belongs
|
GtkRadioAction * e_shell_content_get_filter_action (EShellContent *shell_content);
|
|
Returns : |
void e_shell_content_set_filter_action (EShellContent *shell_content, GtkRadioAction *filter_action);
|
|
|
gint e_shell_content_get_filter_value (EShellContent *shell_content);
|
|
Returns : |
void e_shell_content_set_filter_value (EShellContent *shell_content, gint filter_value);
|
|
|
gboolean e_shell_content_get_filter_visible (EShellContent *shell_content);
|
|
Returns : |
void e_shell_content_set_filter_visible (EShellContent *shell_content, gboolean filter_visible);
|
|
|
void e_shell_content_add_filter_separator_before
(EShellContent *shell_content,
gint action_value);
|
|
|
void e_shell_content_add_filter_separator_after
(EShellContent *shell_content,
gint action_value);
|
|
|
ERuleContext * e_shell_content_get_search_context (EShellContent *shell_content);
|
|
Returns : |
const gchar * e_shell_content_get_search_hint (EShellContent *shell_content);
|
|
Returns : |
void e_shell_content_set_search_hint (EShellContent *shell_content, const gchar *search_hint);
|
|
|
EFilterRule * e_shell_content_get_search_rule (EShellContent *shell_content);
|
|
Returns : |
void e_shell_content_set_search_rule (EShellContent *shell_content, EFilterRule *search_rule);
|
|
|
const gchar * e_shell_content_get_search_text (EShellContent *shell_content);
|
|
Returns : |
void e_shell_content_set_search_text (EShellContent *shell_content, const gchar *search_text);
|
|
|
gboolean e_shell_content_get_search_visible (EShellContent *shell_content);
|
|
Returns : |
void e_shell_content_set_search_visible (EShellContent *shell_content, gboolean search_visible);
|
|
|
GtkRadioAction * e_shell_content_get_scope_action (EShellContent *shell_content);
|
|
Returns : |
void e_shell_content_set_scope_action (EShellContent *shell_content, GtkRadioAction *scope_action);
|
|
|
gint e_shell_content_get_scope_value (EShellContent *shell_content);
|
|
Returns : |
void e_shell_content_set_scope_value (EShellContent *shell_content, gint scope_value);
|
|
|
gboolean e_shell_content_get_scope_visible (EShellContent *shell_content);
|
|
Returns : |
void e_shell_content_set_scope_visible (EShellContent *shell_content, gboolean scope_visible);
|
|
|
const gchar * e_shell_content_get_view_id (EShellContent *shell_content);
|
|
Returns : |
void e_shell_content_set_view_id (EShellContent *shell_content, const gchar *view_id);
|
|
|
void e_shell_content_run_advanced_search_dialog
(EShellContent *shell_content);
|
void e_shell_content_run_edit_searches_dialog
(EShellContent *shell_content);
|
void e_shell_content_run_save_search_dialog
(EShellContent *shell_content);
|
void e_shell_content_restore_state (EShellContent *shell_content, const gchar *group_name);
|
|
|
"filter-visible" property"filter-visible" gboolean : Read / Write / Construct
Default value: TRUE
"scope-visible" property"scope-visible" gboolean : Read / Write / Construct
Default value: FALSE
"search-visible" property"search-visible" gboolean : Read / Write / Construct
Default value: TRUE
"shell-view" property"shell-view" EShellView* : Read / Write / Construct Only
The EShellView to which the content widget belongs.