## gok-page-feedbacks

gok-page-feedbacks

## Synopsis

    gboolean            gok_page_feedbacks_initialize       (GladeXML *xml);
    void                gok_page_feedbacks_refresh          (void);
    gboolean            gok_page_feedbacks_apply            (void);
    gboolean            gok_page_feedbacks_revert           (void);
    void                gok_page_feedbacks_backup           (void);
    void                gok_page_feedbacks_update_controls  (GokFeedback *pFeedback);
    void                gok_page_feedbacks_button_clicked_change_name
                                                            (void);
    void                gok_page_feedbacks_button_clicked_new
                                                            (void);
    void                gok_page_feedbacks_fill_combo_feedback_names
                                                            (void);
    void                gok_page_feedbacks_button_clicked_delete
                                                            (void);
    void                gok_page_feedbacks_check_keyflashing_clicked
                                                            (void);
    void                gok_page_feedbacks_spin_keyflashing_changed
                                                            (void);
    void                gok_page_feedbacks_check_sound_clicked
                                                            (void);
    void                gok_page_feedbacks_entry_soundname_changed
                                                            (void);

## Description

## Details

### gok_page_feedbacks_initialize ()

    gboolean            gok_page_feedbacks_initialize       (GladeXML *xml);

Initializes this page of the gok settings dialog. This must be called prior to any calls on this page.

`xml` : |
Returns : | TRUE if the page was properly initialized, FALSE if not.

### gok_page_feedbacks_refresh ()

    void                gok_page_feedbacks_refresh          (void);

Refreshes the controls on the this page from the gok data.

### gok_page_feedbacks_apply ()

    gboolean            gok_page_feedbacks_apply            (void);

Updates the gok data with values from the controls. Note: This is not used yet. The control values are updated each time the control changes.

Returns : | TRUE if any of the data members have changed, FALSE if not.

### gok_page_feedbacks_revert ()

    gboolean            gok_page_feedbacks_revert           (void);

Revert to the backup settings for this page.

Returns : | TRUE if any of the settings have changed, FALSE if they are all still the same.

### gok_page_feedbacks_backup ()

    void                gok_page_feedbacks_backup           (void);

Copies all the member settings to backup.

### gok_page_feedbacks_update_controls ()

    void                gok_page_feedbacks_update_controls  (GokFeedback *pFeedback);

Updates the controls so they reflect the given feedback.

`pFeedback` : | Controls are changed to display this feedback.

### gok_page_feedbacks_button_clicked_change_name ()

    void                gok_page_feedbacks_button_clicked_change_name
                                                            (void);

The button "change name" has been clicked so allow the user to change the name of the feedback.

### gok_page_feedbacks_button_clicked_new ()

    void                gok_page_feedbacks_button_clicked_new
                                                            (void);

The button "new feedback" has been clicked so add a new feedback.

### gok_page_feedbacks_fill_combo_feedback_names ()

    void                gok_page_feedbacks_fill_combo_feedback_names
                                                            (void);

Fills the combo box that displays the feedback names. This also displays the name of the current feedback in the entry control.

### gok_page_feedbacks_button_clicked_delete ()

    void                gok_page_feedbacks_button_clicked_delete
                                                            (void);

The button "delete feedback" has been clicked so delete the current feedback.

### gok_page_feedbacks_check_keyflashing_clicked ()

    void                gok_page_feedbacks_check_keyflashing_clicked
                                                            (void);

The checkbox has been clicked. Update the current feedback with the change.

### gok_page_feedbacks_spin_keyflashing_changed ()

    void                gok_page_feedbacks_spin_keyflashing_changed
                                                            (void);

The spin control has changed. Update the current feedback with the change.

### gok_page_feedbacks_check_sound_clicked ()

    void                gok_page_feedbacks_check_sound_clicked
                                                            (void);

The checkbox has been clicked. Update the current feedback with the change.

### gok_page_feedbacks_entry_soundname_changed ()

    void                gok_page_feedbacks_entry_soundname_changed
                                                            (void);

The sound file name has changed. Update the current feedback with the change.