libgnomedbmm Reference Documentation
Main Page   Namespaces   Book  

Gnome::Db::Login Class Reference
[DbWidgets]

Login widget. More...

Inheritance diagram for Gnome::Db::Login:

Inheritance graph
[legend]
List of all members.

Public Member Functions

Glib::ustring get_dsn () const
bool get_enable_create_button () const
 Tell if the the button allowing the user to create new data sources is shown or not.
Glib::ustring get_password () const
bool get_show_dsn_selector () const
 Tells if the combo box which allows to select the datasource to log into is shown or not.
Glib::ustring get_username () const
 Get the value currently entered in the username text entry.
const GnomeDbLogin* gobj () const
 Provides access to the underlying C GtkObject.
GnomeDbLogin* gobj ()
 Provides access to the underlying C GtkObject.
 Login ()
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<
bool > 
property_hiding_button () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<bool> property_hiding_button ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<
bool > 
property_hiding_dsn () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<bool> property_hiding_dsn ()
 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.
void set_dsn (const Glib::ustring& dsn)
 Set the data source name on the given Gnome::DbLogin widget.
void set_enable_create_button (bool enable=true)
 Enable/disable the button allowing the user to create new data sources from the login widget.
void set_password (const Glib::ustring& password)
 Sets the password to be displayed in the given Gnome::DbLogin widget.
void set_show_dsn_selector (bool enable=true)
 Show/hide the combo box which allows to select the datasource to log into.
void set_username (const Glib::ustring& username)
 Sets the user name to be displayed in the given Gnome::DbLogin widget.
virtual ~Login ()

Related Functions

(Note that these are not member functions.)

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


Detailed Description

Login widget.


Constructor & Destructor Documentation

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

Gnome::Db::Login::Login (  ) 


Member Function Documentation

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

bool Gnome::Db::Login::get_enable_create_button (  )  const

Tell if the the button allowing the user to create new data sources is shown or not.

This button is disabled by default,

Returns:
true if the button is shown.

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

bool Gnome::Db::Login::get_show_dsn_selector (  )  const

Tells if the combo box which allows to select the datasource to log into is shown or not.

Returns:
true if the combo box is shown.

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

Get the value currently entered in the username text entry.

Returns:
The username being entered in the login widget.

const GnomeDbLogin* Gnome::Db::Login::gobj (  )  const [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::VBox.

GnomeDbLogin* Gnome::Db::Login::gobj (  )  [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::VBox.

Glib::PropertyProxy_ReadOnly<Glib::ustring> Gnome::Db::Login::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<bool> Gnome::Db::Login::property_hiding_button (  )  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<bool> Gnome::Db::Login::property_hiding_button (  ) 

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<bool> Gnome::Db::Login::property_hiding_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<bool> Gnome::Db::Login::property_hiding_dsn (  ) 

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::Login::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::Login::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.

void Gnome::Db::Login::set_dsn ( const Glib::ustring dsn  ) 

Set the data source name on the given Gnome::DbLogin widget.

Parameters:
dsn Data source name.

void Gnome::Db::Login::set_enable_create_button ( bool  enable = true  ) 

Enable/disable the button allowing the user to create new data sources from the login widget.

This button is disabled by default, and when enabled, allows the user to start the database properties configuration applet.

Parameters:
enable Flag to enable/disable the button.

void Gnome::Db::Login::set_password ( const Glib::ustring password  ) 

Sets the password to be displayed in the given Gnome::DbLogin widget.

Parameters:
password Password to display in the widget.

void Gnome::Db::Login::set_show_dsn_selector ( bool  enable = true  ) 

Show/hide the combo box which allows to select the datasource to log into.

void Gnome::Db::Login::set_username ( const Glib::ustring username  ) 

Sets the user name to be displayed in the given Gnome::DbLogin widget.

Parameters:
username Username to display in the widget.


Friends And Related Function Documentation

Gnome::Db::Login* wrap ( GnomeDbLogin *  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