Top | ![]() |
![]() |
![]() |
![]() |
gboolean | gok_settingsdialog_open () |
void | gok_settingsdialog_close () |
gboolean | gok_settingsdialog_show () |
void | gok_settingsdialog_hide () |
void | on_button_try () |
void | on_button_revert () |
void | on_button_ok () |
void | on_button_cancel () |
void | on_button_help () |
void | gok_settingsdialog_refresh () |
void | gok_settingsdialog_backup_settings () |
GtkWidget * | gok_settingsdialog_get_window () |
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.
gboolean
gok_settingsdialog_show (void
);
Displays the GOK settings dialog.
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
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.
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.
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.
void on_button_help (GtkButton *button
,gpointer user_data
);
The HELP button has been clicked.
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.