![]() |
![]() |
![]() |
hildon 2.0.6 Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Signals |
HildonCodeDialog; GtkWidget * hildon_code_dialog_new (void); const gchar * hildon_code_dialog_get_code (HildonCodeDialog *dialog); void hildon_code_dialog_clear_code (HildonCodeDialog *dialog); void hildon_code_dialog_set_help_text (HildonCodeDialog *dialog, const gchar *text); void hildon_code_dialog_set_input_sensitive (HildonCodeDialog *dialog, gboolean sensitive);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkDialog +----HildonCodeDialog
HildonCodeDialog displays a keypad that can be used to enter numerical pin codes or lock codes. It emits a 'input' signal each time an input action is performed on the dialog.
GtkWidget * hildon_code_dialog_new (void);
Use this function to create a new HildonCodeDialog.
Returns : |
A HildonCodeDialog .
|
const gchar * hildon_code_dialog_get_code (HildonCodeDialog *dialog);
Use this function to access the code entered by the user.
|
The HildonCodeDialog from which to get the entered code |
Returns : |
The entered code. |
void hildon_code_dialog_clear_code (HildonCodeDialog *dialog);
|
void hildon_code_dialog_set_help_text (HildonCodeDialog *dialog, const gchar *text);
Use this function to set the text that will be displayd in the help label
|
The HildonCodeDialog whose entry should be cleared: |
|
The text to use in the help label. |
void hildon_code_dialog_set_input_sensitive (HildonCodeDialog *dialog, gboolean sensitive);
This function will block or enable the input on the code dialog by making the input button sensitive (or not).
|
The HildonCodeDialog whose state is to be changed |
|
The new state |
"input"
signalvoid user_function (HildonCodeDialog *hildoncodedialog, gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |