|  |  |  | Evolution Connector for Microsoft Exchange Programmer’s Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | ||||
E2kUserDialog; GtkWidget * e2k_user_dialog_new (GtkWidget *parent_window,const gchar *label_text,const gchar *section_name); gchar * e2k_user_dialog_get_user (E2kUserDialog *dialog);
E2kUserDialog is a dialog for selecting a single user via the addressbook's "selectnames" interface.
typedef struct {
	GtkDialog parent;
	/* Private data */
	E2kUserDialogPrivate *priv;
} E2kUserDialog;
GtkWidget * e2k_user_dialog_new (GtkWidget *parent_window,const gchar *label_text,const gchar *section_name);
Creates a new user selection dialog.
| 
 | The window invoking the dialog. | 
| 
 | Text to label the entry in the initial dialog with | 
| 
 | The section name for the select-names dialog | 
| Returns : | A newly-created user selection dialog, or NULLif
the dialog could not be created. | 
gchar *             e2k_user_dialog_get_user            (E2kUserDialog *dialog);
Gets the email address of the selected user from the dialog.
| 
 | the dialog | 
| Returns : | the email address, which must be freed with g_free(). |