| [Insert name here] Reference Manual |
|---|
gok-page-actions —
gboolean gok_page_actions_initialize (GtkWidget *pWindowSettings); void gok_page_actions_refresh (void); gboolean gok_page_actions_apply (void); gboolean gok_page_actions_revert (void); void gok_page_actions_backup (void); void gok_page_actions_toggle_type_switch (gboolean Pressed); void gok_page_actions_button_clicked_new (void); void gok_page_actions_button_clicked_delete (void); void gok_page_actions_button_clicked_change_name (void); void gok_page_actions_action_changed (GtkEditable *pEditControl); void gok_page_actions_enable_switch_controls (gboolean bTrueFalse); void gok_page_actions_enable_radios_type (gboolean bTrueFalse); void gok_page_actions_fill_combo_action_names (void); gint gok_page_actions_get_radio_number (GtkRadioButton *pRadioButtonGiven); void gok_page_actions_update_controls (GokAction *pAction); void gok_page_actions_set_number (gint NumberSwitch); void gok_page_actions_set_state (gint State); void gok_page_actions_set_rate (gint Rate);
gboolean gok_page_actions_initialize (GtkWidget *pWindowSettings);
Initializes this page of the gok settings dialog. This must be called prior to any calls on this page.
| pWindowSettings : | Pointer to the settings dialog window. |
| Returns : | TRUE if the page was properly initialized, FALSE if not. |
void gok_page_actions_refresh (void);
Refreshes the controls on the this page from the gok data.
gboolean gok_page_actions_apply (void);
Updates the gok data with values from the controls. Unfinished.
| Returns : | TRUE if any of the data members have changed, FALSE if not. |
gboolean gok_page_actions_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. |
void gok_page_actions_backup (void);
Copies all the member settings to backup.
void gok_page_actions_toggle_type_switch
(gboolean Pressed);The radio button for the type 'switch' has been toggled. Hide or show the controls for the switch actions.
| Pressed : | State of the toggle button. |
void gok_page_actions_button_clicked_new
(void);The button "new action" has been clicked so add a new action.
void gok_page_actions_button_clicked_delete
(void);The button "delete action" has been clicked so delete the current action.
void gok_page_actions_button_clicked_change_name
(void);The button "change name" has been clicked so allow the user to change the name of the action.
void gok_page_actions_action_changed (GtkEditable *pEditControl);
The user has selected a new action from the combo box so update the page's controls with the new action data.
| pEditControl : | Pointer to the edit control that contains the names of the actions. |
void gok_page_actions_enable_switch_controls
(gboolean bTrueFalse);Enables/disables the controls for switch actions.
| bTrueFalse : | State that the switch controls should be set to. |
void gok_page_actions_enable_radios_type
(gboolean bTrueFalse);Enables/disables the radio buttons for action type.
| bTrueFalse : | State the controls should be set to. |
void gok_page_actions_fill_combo_action_names
(void);Fills the combo box that displays the action names.
gint gok_page_actions_get_radio_number (GtkRadioButton *pRadioButtonGiven);
| pRadioButtonGiven : | |
| Returns : |
void gok_page_actions_update_controls
(GokAction *pAction);Updates the controls so they reflect the given action.
| pAction : | Controls are changed to display this action. |
void gok_page_actions_set_number (gint NumberSwitch);
| NumberSwitch : | Number of the switch selected. |
| << gok-page-accessmethod | gok-page-feedbacks >> |