Maeomm Reference Documentation: hildonsmm
Main Page   Namespaces   Book  

Hildon::CodeDialog Class Reference

Inheritance diagram for Hildon::CodeDialog:

Gtk::Dialog Gtk::Window Gtk::Bin Gtk::Container Gtk::Widget Gtk::Object Atk::Implementor Glib::Object Glib::Interface Glib::ObjectBase Glib::ObjectBase sigc::trackable sigc::trackable List of all members.

Detailed Description

A keypad-like widget used to enter pincodes.

This dialog displays a keypad that can be used to enter numerical pin codes or lock codes. It emits an 'input' signal each time an input action is performed on the dialog.


Public Member Functions

void clear_code ()
 CodeDialog ()
Glib::ustring get_code () const
 Use this function to access the code entered by the user.
const HildonCodeDialog* gobj () const
 Provides access to the underlying C GtkObject.
HildonCodeDialog* gobj ()
 Provides access to the underlying C GtkObject.
void set_help_text (const Glib::ustring& text)
 Use this function to set the text that will be displayd in the help label.
void set_input_sensitive (bool sensitive=true)
 This function will block or enable the input on the code dialog by making the input button sensitive (or not).
Glib::SignalProxy0<void> signal_input ()
 
Prototype:
void input()

virtual ~CodeDialog ()

Related Functions

(Note that these are not member functions.)

Hildon::CodeDialogwrap (HildonCodeDialog* object, bool take_copy=false)
 
Parameters:
object The C instance


Constructor & Destructor Documentation

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

Hildon::CodeDialog::CodeDialog (  ) 


Member Function Documentation

void Hildon::CodeDialog::clear_code (  ) 

Glib::ustring Hildon::CodeDialog::get_code (  )  const

Use this function to access the code entered by the user.

Returns:
The entered code.

const HildonCodeDialog* Hildon::CodeDialog::gobj (  )  const [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Dialog.

HildonCodeDialog* Hildon::CodeDialog::gobj (  )  [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Dialog.

void Hildon::CodeDialog::set_help_text ( const Glib::ustring text  ) 

Use this function to set the text that will be displayd in the help label.

Parameters:
text The text to use in the help label.

void Hildon::CodeDialog::set_input_sensitive ( bool  sensitive = true  ) 

This function will block or enable the input on the code dialog by making the input button sensitive (or not).

Parameters:
sensitive The new state.

Glib::SignalProxy0< void > Hildon::CodeDialog::signal_input (  ) 

Prototype:
void input()


Friends And Related Function Documentation

Hildon::CodeDialog* wrap ( HildonCodeDialog *  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