## E2kUserDialog E2kUserDialog — User-selection dialog |

## Synopsis

                        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);

## Description

E2kUserDialog is a dialog for selecting a single user via the addressbook's "selectnames" interface.

## Details

### E2kUserDialog

    typedef struct {
    	GtkDialog parent;

    	/* Private data */
    	E2kUserDialogPrivate *priv;
    } E2kUserDialog;

### e2k_user_dialog_new ()

    GtkWidget *         e2k_user_dialog_new                 (GtkWidget *parent_window,
                                                             const gchar *label_text,
                                                             const gchar *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.

### e2k_user_dialog_get_user ()

    gchar *             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()`.