![]() | ![]() | ![]() | Libgnomedb 4.0 Reference Manual | ![]() |
---|
GnomeDbLoginDialog — Login dialog widget
struct GnomeDbLoginDialog; struct GnomeDbLoginDialogClass; struct GnomeDbLoginDialogPrivate; GtkWidget* gnome_db_login_dialog_new (const gchar *title, GtkWindow *parent); gboolean gnome_db_login_dialog_run (GnomeDbLoginDialog *dialog); const gchar* gnome_db_login_dialog_get_dsn (GnomeDbLoginDialog *dialog); const gchar* gnome_db_login_dialog_get_auth (GnomeDbLoginDialog *dialog); const gchar* gnome_db_login_dialog_get_username (GnomeDbLoginDialog *dialog); const gchar* gnome_db_login_dialog_get_password (GnomeDbLoginDialog *dialog); GnomeDbLogin* gnome_db_login_dialog_get_login_widget (GnomeDbLoginDialog *dialog);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkDialog +----GnomeDbLoginDialog
GnomeDbLoginDialog implements AtkImplementorIface and GtkBuildable.
"dsn" gchararray : Read "password" gchararray : Read "username" gchararray : Read
GtkWidget* gnome_db_login_dialog_new (const gchar *title, GtkWindow *parent);
Creates a new login dialog widget.
title : | title of the dialog, or NULL |
parent : | transient parent of the dialog, or NULL |
Returns : | the new widget |
gboolean gnome_db_login_dialog_run (GnomeDbLoginDialog *dialog);
Shows the login dialog and waits for the user to enter its username and password and perform an action on the dialog.
dialog : | |
Returns : | TRUE if the user wants to connect |
const gchar* gnome_db_login_dialog_get_dsn (GnomeDbLoginDialog *dialog);
Get the currently defined data source parameters
dialog : | a GnomeDbLoginDialog dialog |
Returns : | a DSN string, which must not be modified |
const gchar* gnome_db_login_dialog_get_auth (GnomeDbLoginDialog *dialog);
Get the currently defined authentication parameters
dialog : | a GnomeDbLoginDialog dialog |
Returns : | a string, which must not be modified |
const gchar* gnome_db_login_dialog_get_username (GnomeDbLoginDialog *dialog);
dialog : | |
Returns : |
const gchar* gnome_db_login_dialog_get_password (GnomeDbLoginDialog *dialog);
dialog : | |
Returns : |
GnomeDbLogin* gnome_db_login_dialog_get_login_widget (GnomeDbLoginDialog *dialog);
Get the GnomeDbLogin widget contained in a GnomeDbLoginDialog.
dialog : | A GnomeDbLoginDialog widget. |
Returns : | the login widget contained in the dialog. |
"dsn" (gchararray : Read) | |
"password" (gchararray : Read) | |
"username" (gchararray : Read) |
<< GnomeDbLogin | GnomeDbDsnEditor >> |