| Ximian Connector for Microsoft Exchange Programmer’s Reference Manual |
|---|
E2kUserDialogE2kUserDialog — User-selection dialog |
E2kUserDialog;
GtkWidget* e2k_user_dialog_new (GtkWidget *parent_window,
const char *label_text,
const char *section_name);
char* 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;
The dialog widget.
GtkWidget* e2k_user_dialog_new (GtkWidget *parent_window,
const char *label_text,
const char *section_name);
Creates a new user selection dialog.
| parent_window : | The window invoking the dialog. |
| label_text : | Text to label the entry in the initial dialog with |
| section_name : | The section name for the select-names dialog |
| Returns : | A newly-created user selection dialog, or NULL if the dialog could not be created. |
char* e2k_user_dialog_get_user (E2kUserDialog *dialog);
Gets the email address of the selected user from the dialog.
| dialog : | the dialog |
| Returns : | the email address, which must be freed with g_free(). |
| << E2kUri | e2k-encoding-utils >> |