| GOK - Gnome Onscreen Keyboard | ||||
|---|---|---|---|---|
| Top | Description | ||||
Synopsis
gboolean gok_settingsdialog_open (gboolean bShow); void gok_settingsdialog_close (void); gboolean gok_settingsdialog_show (void); void gok_settingsdialog_hide (void); void on_button_try (GtkButton *button,gpointer user_data); void on_button_revert (GtkButton *button,gpointer user_data); void on_button_ok (GtkButton *button,gpointer user_data); void on_button_cancel (GtkButton *button,gpointer user_data); void on_button_help (GtkButton *button,gpointer user_data); void gok_settingsdialog_refresh (void); void gok_settingsdialog_backup_settings (void); GtkWidget * gok_settingsdialog_get_window (void);
Details
gok_settingsdialog_open ()
gboolean gok_settingsdialog_open (gboolean bShow);
Creates the GOK settings dialog.
bShow: If TRUE the settings dialog will be shown. If FALSE the dialog will be
created but not shown.
|
|
Returns : |
TRUE if the settings dialog could be created, FALSE if not. |
gok_settingsdialog_show ()
gboolean gok_settingsdialog_show (void);
Displays the GOK settings dialog.
Returns : |
TRUE if the settings dialog was shown, FALSE if not. |
on_button_try ()
void on_button_try (GtkButton *button,gpointer user_data);
The TRY button has been clicked. Apply any changes from the settings but don't hide the dialog
|
|
|
Any user data associated with the button. |
on_button_revert ()
void on_button_revert (GtkButton *button,gpointer user_data);
The REVERT button has been clicked. Returns the settings to the way they were and update the keyboard.
|
|
|
Any user data associated with the button. |
on_button_ok ()
void on_button_ok (GtkButton *button,gpointer user_data);
The OK button has been clicked. Apply any changes from the settings and hide the settings dialog.
|
|
|
Any user data associated with the button. |
on_button_cancel ()
void on_button_cancel (GtkButton *button,gpointer user_data);
The CANCEL button has been clicked. Return settings to the way they were and update the keyboard and hide the settings dialog.
|
|
|
Any user data associated with the button. |
on_button_help ()
void on_button_help (GtkButton *button,gpointer user_data);
The HELP button has been clicked.
|
|
|
Any user data associated with the button. |
gok_settingsdialog_refresh ()
void gok_settingsdialog_refresh (void);
Refreshes the dialog controls. This should be called after the user has resized the keyboard (which causes the key size to change) or if the gok data has changed.
gok_settingsdialog_backup_settings ()
void gok_settingsdialog_backup_settings (void);
Copies all the member settings to backup.
