E2kUserDialog

E2kUserDialog

Synopsis

struct              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

Details

struct E2kUserDialog

struct E2kUserDialog {
	GtkDialog parent;

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


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().