Maeomm Reference Documentation: hildonsmm
Main Page   Namespaces   Book  

Hildon::GetPasswordDialog Class Reference

Inheritance diagram for Hildon::GetPasswordDialog:

Inheritance graph
[legend]
List of all members.

Detailed Description

A widget used to get a password.

Hildon::GetPasswordDialog prompts the user for a password, with an optional configurable label, for instance for showing the domain. The maximum length of the password can be set.


Public Member Functions

Glib::ustring get_password () const
 Gets the currently entered password.
 GetPasswordDialog (const Glib::ustring& password, bool get_old_password_title=true)
 GetPasswordDialog (Gtk::Window& parent, const Glib::ustring& password, bool get_old_password_title=true)
 GetPasswordDialog (bool get_old_password_title=true)
 GetPasswordDialog (Gtk::Window& parent, bool get_old_password_title=true)
const HildonGetPasswordDialog* gobj () const
 Provides access to the underlying C GtkObject.
HildonGetPasswordDialog* gobj ()
 Provides access to the underlying C GtkObject.
void set_caption (const Glib::ustring& new_caption)
 Sets the password entry field's neigbouring label.
void set_max_characters (int max_characters)
 sets the maximum number of characters allowed as the password
void set_message (const Glib::ustring& message)
 Sets the optional descriptive text displayed at the top of the dialog.
virtual ~GetPasswordDialog ()

Related Functions

(Note that these are not member functions.)

Hildon::GetPasswordDialogwrap (HildonGetPasswordDialog* object, bool take_copy=false)
 
Parameters:
object The C instance


Constructor & Destructor Documentation

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

Hildon::GetPasswordDialog::GetPasswordDialog ( Gtk::Window parent,
bool  get_old_password_title = true 
)

Hildon::GetPasswordDialog::GetPasswordDialog ( bool  get_old_password_title = true  )  [explicit]

Hildon::GetPasswordDialog::GetPasswordDialog ( Gtk::Window parent,
const Glib::ustring password,
bool  get_old_password_title = true 
)

Hildon::GetPasswordDialog::GetPasswordDialog ( const Glib::ustring password,
bool  get_old_password_title = true 
)


Member Function Documentation

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

Gets the currently entered password.

The string should not be freed.

Returns:
Current password entered by the user.

const HildonGetPasswordDialog* Hildon::GetPasswordDialog::gobj (  )  const [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Dialog.

HildonGetPasswordDialog* Hildon::GetPasswordDialog::gobj (  )  [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Dialog.

void Hildon::GetPasswordDialog::set_caption ( const Glib::ustring new_caption  ) 

Sets the password entry field's neigbouring label.

Parameters:
new_caption The text to be set as the caption label.

void Hildon::GetPasswordDialog::set_max_characters ( int  max_characters  ) 

sets the maximum number of characters allowed as the password

Parameters:
max_characters The maximum number of characters the password dialog accepts.

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

Sets the optional descriptive text displayed at the top of the dialog.

Parameters:
message A custom message or some other descriptive text to be set.


Friends And Related Function Documentation

Hildon::GetPasswordDialog* wrap ( HildonGetPasswordDialog *  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