Maeomm Reference Documentation: hildonsmm
Main Page   Namespaces   Book  

Hildon::LoginDialog Class Reference

Inheritance diagram for Hildon::LoginDialog:

Inheritance graph
[legend]
List of all members.

Detailed Description

Hildon::LoginDialog is used to enter a username and password when accessing a password protected feature.

The widget performs no input checking and is used only for retrieving a user name and a password.


Public Member Functions

Glib::ustring get_password () const
 Gets the text that's in the password entry.
Glib::ustring get_username () const
 Gets the text that's in the username entry.
const HildonLoginDialog* gobj () const
 Provides access to the underlying C GtkObject.
HildonLoginDialog* gobj ()
 Provides access to the underlying C GtkObject.
 LoginDialog (const Glib::ustring& username, const Glib::ustring& password)
 LoginDialog (Gtk::Window& parent, const Glib::ustring& username, const Glib::ustring& password)
 LoginDialog ()
void set_message (const Glib::ustring& message)
 Sets the optional descriptive text that is displayed on the top of the dialog.
virtual ~LoginDialog ()

Related Functions

(Note that these are not member functions.)

Hildon::LoginDialogwrap (HildonLoginDialog* object, bool take_copy=false)
 
Parameters:
object The C instance


Constructor & Destructor Documentation

virtual Hildon::LoginDialog::~LoginDialog (  )  [virtual]

Hildon::LoginDialog::LoginDialog (  ) 

Hildon::LoginDialog::LoginDialog ( Gtk::Window parent,
const Glib::ustring username,
const Glib::ustring password 
) [explicit]

Hildon::LoginDialog::LoginDialog ( const Glib::ustring username,
const Glib::ustring password 
)


Member Function Documentation

Glib::ustring Hildon::LoginDialog::get_password (  )  const

Gets the text that's in the password entry.

Returns:
A pointer to the password string. You should not modify it.

Glib::ustring Hildon::LoginDialog::get_username (  )  const

Gets the text that's in the username entry.

Returns:
A pointer to the name string. You should not modify it.

const HildonLoginDialog* Hildon::LoginDialog::gobj (  )  const [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Dialog.

HildonLoginDialog* Hildon::LoginDialog::gobj (  )  [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Dialog.

void Hildon::LoginDialog::set_message ( const Glib::ustring message  ) 

Sets the optional descriptive text that is displayed on the top of the dialog.

Parameters:
msg The message or some other descriptive text to be set.


Friends And Related Function Documentation

Hildon::LoginDialog* wrap ( HildonLoginDialog *  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 hildonmm by Doxygen 1.5.1 © 1997-2001