| Top |
| void | gok_editor_run () |
| void | gok_editor_close () |
| void | gok_editor_on_exit () |
| void | gok_editor_new () |
| void | gok_editor_open_file () |
| void | gok_editor_new_file () |
| void | gok_editor_touch_file () |
| void | gok_editor_show_parameters () |
| void | gok_editor_next_key () |
| void | gok_editor_previous_key () |
| void | gok_editor_add_key () |
| void | gok_editor_delete_key () |
| void | gok_editor_duplicate_key () |
| void | gok_editor_update_key () |
| void | gok_editor_update_keyboard () |
| gboolean | on_editor_keyboard_delete_event () |
| void | gok_editor_keyboard_key_press () |
| gboolean | gok_editor_save_current_keyboard () |
| gboolean | gok_editor_save_current_keyboard_as () |
| gboolean | gok_editor_save_keyboard () |
| gboolean | gok_editor_print_outputs () |
| gboolean | gok_editor_validate_keyboard () |
| void | gok_editor_message_filename_bad () |
| void | gok_editor_update_title () |
void
gok_editor_on_exit (void);
The menu item to close the program has been selected so close it.
void
gok_editor_open_file (void);
Opens an existing keyboard file for editing.
void
gok_editor_touch_file (gboolean modified);
Marks the file as having modifications (or not)
void
gok_editor_show_parameters (GokKey *pKey);
Displays the parameters for the given key on the editor dialog.
void
gok_editor_next_key (void);
Display parameters for the next key on the keyboard.
void
gok_editor_duplicate_key (void);
Add a copy of the currently selected key.
void
gok_editor_update_keyboard (GokKeyboard *pKeyboard);
update the display of the keyboard and recalculate rows and columns
gboolean on_editor_keyboard_delete_event (GtkWidget *widget,GdkEvent *event,gpointer user_data);
Prevents the keyboard window from closing.
void
gok_editor_keyboard_key_press (GtkWidget *pWidget);
The user has just pressed a key on the keyboard.
gboolean
gok_editor_save_current_keyboard (void);
Saves the current keyboard back to its original file.
gboolean
gok_editor_save_current_keyboard_as (void);
Saves the current keyboard under a new filename.
gboolean gok_editor_save_keyboard (GokKeyboard *pKeyboard,gchar *Filename);
Saves the given keyboard to the given file.
pKeyboard
: Pointer to the keyboard that will be saved to disk.
Filename
: Name of the file where the keyboard will be saved.
gboolean gok_editor_print_outputs (FILE *pFile,GokOutput *pOutput,gboolean bWrapper);
Prints the outputs in XML format to the given file.
gboolean
gok_editor_validate_keyboard (GokKeyboard *pKeyboard);
Validates the current keyboard to make sure it is OK.
void
gok_editor_message_filename_bad (gchar *Filename);
Inform the user that the selected file name is not a valid GOK keyboard file name.