![]() |
![]() |
![]() |
GOK - Gnome Onscreen Keyboard | ![]() |
---|---|---|---|---|
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);
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.
bShow : |
|
Returns : | TRUE if the settings dialog could be created, FALSE if not. |
gboolean gok_settingsdialog_show (void);
Displays the GOK settings dialog.
Returns : | TRUE if the settings dialog was shown, FALSE if not. |
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
button : |
|
user_data : |
Any user data associated with the button. |
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.
button : |
|
user_data : |
Any user data associated with the button. |
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.
button : |
|
user_data : |
Any user data associated with the button. |
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.
button : |
|
user_data : |
Any user data associated with the button. |
void on_button_help (GtkButton *button, gpointer user_data);
The HELP button has been clicked.
button : |
|
user_data : |
Any user data associated with the button. |
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.
void gok_settingsdialog_backup_settings (void);
Copies all the member settings to backup.
GtkWidget* gok_settingsdialog_get_window (void);
Returns : | A pointer to the settings dialog window. |