| Evolution-Data-Server Manual: Graphical Utilities (libedataserverui) | ||||
|---|---|---|---|---|
ESourceSelector;
GtkWidget * e_source_selector_new (ESourceList *list);
ESourceList * e_source_selector_get_source_list (ESourceSelector *selector);
void e_source_selector_select_source (ESourceSelector *selector,
ESource *source);
void e_source_selector_unselect_source (ESourceSelector *selector,
ESource *source);
gboolean e_source_selector_source_is_selected
(ESourceSelector *selector,
ESource *source);
GSList * e_source_selector_get_selection (ESourceSelector *selector);
void e_source_selector_free_selection (GSList *list);
void e_source_selector_show_selection (ESourceSelector *selector,
gboolean show);
gboolean e_source_selector_selection_shown (ESourceSelector *selector);
void e_source_selector_set_select_new (ESourceSelector *selector,
gboolean state);
void e_source_selector_edit_primary_selection
(ESourceSelector *selector);
ESource * e_source_selector_peek_primary_selection
(ESourceSelector *selector);
void e_source_selector_set_primary_selection
(ESourceSelector *selector,
ESource *source);
ESourceGroup * e_source_selector_get_primary_source_group
(ESourceSelector *selector);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkTreeView +----ESourceSelector
"data-dropped" : Run Last "popup-event" : Run Last "primary-selection-changed" : Run Last "selection-changed" : Run Last
GtkWidget * e_source_selector_new (ESourceList *list);
Create a new view for list. The view will update automatically when list
changes.
|
A source list. |
Returns : |
The newly created widget. |
ESourceList * e_source_selector_get_source_list (ESourceSelector *selector);
Returns the selector is rendering.
|
an ESourceSelector |
Returns : |
an |
void e_source_selector_select_source (ESourceSelector *selector,ESource *source);
Select source in selector.
|
An ESourceSelector widget |
|
An |
void e_source_selector_unselect_source (ESourceSelector *selector,ESource *source);
Unselect source in selector.
|
An ESourceSelector widget |
|
An |
gboolean e_source_selector_source_is_selected (ESourceSelector *selector,ESource *source);
Check whether source is selected in selector.
|
An ESourceSelector widget |
|
An |
Returns : |
TRUEsource is currently selected, FALSE |
GSList * e_source_selector_get_selection (ESourceSelector *selector);
Get the list of selected sources, i.e. those that were enabled through the corresponding checkboxes in the tree.
|
an ESourceSelector |
Returns : |
A list of the ESources currently selected. The sources will
be in the same order as they appear on the screen, and the list should be
freed using e_source_selector_free_selection().
|
void e_source_selector_show_selection (ESourceSelector *selector,gboolean show);
Specify whether the checkboxes in the ESourceSelector should be shown or not.
|
An ESourceSelector widget |
|
gboolean e_source_selector_selection_shown (ESourceSelector *selector);
Check whether the checkboxes in the ESourceSelector are being shown or not.
|
an ESourceSelector |
Returns : |
TRUEFALSE |
void e_source_selector_set_select_new (ESourceSelector *selector,gboolean state);
Set whether or not to select new sources added to selector.
|
An ESourceSelector widget |
|
A gboolean |
void e_source_selector_edit_primary_selection (ESourceSelector *selector);
Allows the user to rename the primary selected source by opening an
entry box directly in selector.
|
An ESourceSelector widget |
ESource * e_source_selector_peek_primary_selection (ESourceSelector *selector);
Get the primary selected source. The primary selection is the one that is
highlighted through the normal
|
An ESourceSelector widget |
Returns : |
The selected source. |
void e_source_selector_set_primary_selection (ESourceSelector *selector,ESource *source);
Set the primary selected source.
|
an ESourceSelector widget |
|
an |
ESourceGroup * e_source_selector_get_primary_source_group (ESourceSelector *selector);
Gets the primary source group associated with the selector.
|
an ESourceSelector |
Returns : |
primary_source_group if selector is valid, NULL otherwise. |
"data-dropped" signalgboolean user_function (ESourceSelector *esourceselector,GtkSelectionData *arg1,ESource *arg2,GdkDragAction arg3,guint arg4,gpointer user_data) : Run Last
|
the object which received the signal. |
|
|
|
|
|
|
|
|
|
user data set when the signal handler was connected. |
Returns : |
"popup-event" signalgboolean user_function (ESourceSelector *esourceselector,GObject *arg1,GdkEvent *event,gpointer user_data) : Run Last
|
the object which received the signal. |
|
|
|
|
|
user data set when the signal handler was connected. |
Returns : |
"primary-selection-changed" signalvoid user_function (ESourceSelector *esourceselector,gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"selection-changed" signalvoid user_function (ESourceSelector *esourceselector,gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |