#include <login.h>
Inheritance diagram for Gnome::Db::Login:
Public Member Functions | |
virtual | ~Login () |
GnomeDbLogin* | gobj () |
Provides access to the underlying C GtkObject. | |
const GnomeDbLogin* | gobj () const |
Provides access to the underlying C GtkObject. | |
Login () | |
Glib::ustring | get_dsn () const |
void | set_dsn (const Glib::ustring& dsn) |
Set the data source name on the given Gnome::DbLogin widget. | |
Glib::ustring | get_username () const |
Get the value currently entered in the username text entry. | |
void | set_username (const Glib::ustring& username) |
Sets the user name to be displayed in the given Gnome::DbLogin widget. | |
Glib::ustring | get_password () const |
void | set_password (const Glib::ustring& password) |
Sets the password to be displayed in 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. | |
bool | get_enable_create_button () const |
Tell if the the button allowing the user to create new data sources is shown or not. | |
void | set_show_dsn_selector (bool enable=true) |
Show/hide the combo box which allows to select the datasource to log into. | |
bool | get_show_dsn_selector () const |
Tells if the combo box which allows to select the datasource to log into is shown or not. | |
Related Functions | |
(Note that these are not member functions.) | |
Gnome::Db::Login* | wrap (GnomeDbLogin* object, bool take_copy=false) |
virtual Gnome::Db::Login::~Login | ( | ) | [virtual] |
Gnome::Db::Login::Login | ( | ) |
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,
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.
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.
const GnomeDbLogin* Gnome::Db::Login::gobj | ( | ) | const [inline] |
GnomeDbLogin* Gnome::Db::Login::gobj | ( | ) | [inline] |
void Gnome::Db::Login::set_dsn | ( | const Glib::ustring & | dsn | ) |
Set the data source name on the given Gnome::DbLogin widget.
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.
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.
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.
username | Username to display in the widget. |
Gnome::Db::Login* wrap | ( | GnomeDbLogin * | object, | |
bool | take_copy = false | |||
) | [related] |
object | The C instance | |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |