| Evolution-Data-Server Manual: Graphical Utilities (libedataserverui) | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Signals | ||||
ESourceOptionMenu;
GtkWidget * e_source_option_menu_new (ESourceList *list);
ESource * e_source_option_menu_peek_selected (ESourceOptionMenu *menu);
void e_source_option_menu_select (ESourceOptionMenu *menu,
ESource *source);
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkButton
+----GtkOptionMenu
+----ESourceOptionMenu
typedef struct _ESourceOptionMenu ESourceOptionMenu;
ESourceOptionMenu is deprecated and should not be used in newly-written code.
GtkWidget * e_source_option_menu_new (ESourceList *list);
e_source_option_menu_new is deprecated and should not be used in newly-written code.
Creates a new ESourceOptionMenu widget that lets the user pick an ESource from the provided ESourceList.
|
|
Returns : |
A new ESourceOptionMenu. |
ESource * e_source_option_menu_peek_selected (ESourceOptionMenu *menu);
e_source_option_menu_peek_selected is deprecated and should not be used in newly-written code.
|
an ESourceOptionMenu |
Returns : |
The selected ESource, or NULL if none was selected.
|
void e_source_option_menu_select (ESourceOptionMenu *menu, ESource *source);
e_source_option_menu_select is deprecated and should not be used in newly-written code.
Programmatically selects a source in menu. source must be present
in menu's ESourceList.
|
an ESourceOptionMenu |
|
an ESource to select |
"source-selected" signalvoid user_function (ESourceOptionMenu *esourceoptionmenu, gpointer arg1, gpointer user_data) : Run Last
|
the object which received the signal. |
|
|
|
user data set when the signal handler was connected. |