libgnomedbmm Reference Documentation
Main Page   Namespaces   Book  

Gnome::Db::LoginDialog Class Reference

Login dialog widget. More...

Inheritance diagram for Gnome::Db::LoginDialog:

Inheritance graph
[legend]
List of all members.

Public Member Functions

Glib::ustring get_dsn () const
const Loginget_login_widget () const
 Get the Gnome::DbLogin widget contained in a Gnome::DbLoginDialog.
Loginget_login_widget ()
 Get the Gnome::DbLogin widget contained in a Gnome::DbLoginDialog.
Glib::ustring get_password () const
Glib::ustring get_username () const
const GnomeDbLoginDialog* gobj () const
 Provides access to the underlying C GtkObject.
GnomeDbLoginDialog* gobj ()
 Provides access to the underlying C GtkObject.
 LoginDialog (const Glib::ustring& title)
Glib::PropertyProxy_ReadOnly<
Glib::ustring
property_dsn () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<
Glib::ustring
property_password () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<
Glib::ustring
property_username () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
bool run ()
 Shows the login dialog and waits for the user to enter its username and password and perform an action on the dialog.
virtual ~LoginDialog ()

Related Functions

(Note that these are not member functions.)

Gnome::Db::LoginDialogwrap (GnomeDbLoginDialog* object, bool take_copy=false)
 
Parameters:
object The C instance


Detailed Description

Login dialog widget.


Constructor & Destructor Documentation

virtual Gnome::Db::LoginDialog::~LoginDialog (  )  [virtual]

Gnome::Db::LoginDialog::LoginDialog ( const Glib::ustring title  )  [explicit]


Member Function Documentation

Glib::ustring Gnome::Db::LoginDialog::get_dsn (  )  const

const Login* Gnome::Db::LoginDialog::get_login_widget (  )  const

Get the Gnome::DbLogin widget contained in a Gnome::DbLoginDialog.

Returns:
The login widget contained in the dialog.

Login* Gnome::Db::LoginDialog::get_login_widget (  ) 

Get the Gnome::DbLogin widget contained in a Gnome::DbLoginDialog.

Returns:
The login widget contained in the dialog.

Glib::ustring Gnome::Db::LoginDialog::get_password (  )  const

Glib::ustring Gnome::Db::LoginDialog::get_username (  )  const

const GnomeDbLoginDialog* Gnome::Db::LoginDialog::gobj (  )  const [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Dialog.

GnomeDbLoginDialog* Gnome::Db::LoginDialog::gobj (  )  [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Dialog.

Glib::PropertyProxy_ReadOnly<Glib::ustring> Gnome::Db::LoginDialog::property_dsn (  )  const

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<Glib::ustring> Gnome::Db::LoginDialog::property_password (  )  const

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<Glib::ustring> Gnome::Db::LoginDialog::property_username (  )  const

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

bool Gnome::Db::LoginDialog::run (  ) 

Shows the login dialog and waits for the user to enter its username and password and perform an action on the dialog.

Returns:
true if the user wants to connect.

Reimplemented from Gtk::Dialog.


Friends And Related Function Documentation

Gnome::Db::LoginDialog* wrap ( GnomeDbLoginDialog *  object,
bool  take_copy = false 
) [related]

Parameters:
object The C instance

Parameters:
take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns:
A C++ instance that wraps this C instance.


The documentation for this class was generated from the following file:
Generated for libgnomedbmm by Doxygen 1.5.1 © 1997-2001