![]() | ![]() | ![]() | [Insert name here] Reference Manual | ![]() |
---|
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_toggle_type_mousebutton (gboolean Pressed); void gok_page_actions_toggle_type_dwell (gboolean Pressed); void gok_page_actions_toggle_type_mousepointer (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_mousebutton_controls (gboolean bTrueFalse); void gok_page_actions_enable_mousepointer_controls (gboolean bTrueFalse); void gok_page_actions_enable_dwell_controls (gboolean bTrueFalse); void gok_page_actions_enable_radios_type (gboolean bTrueFalse); void gok_page_actions_enable_radios_switch (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); void gok_page_actions_mousepointer_keyaverage (gboolean OnOff);
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.
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_toggle_type_mousebutton (gboolean Pressed);
The radio button for the type 'mouse button' has been toggled. Hide or show the controls for the mouse button actions.
Pressed : | State of the toggle button. |
void gok_page_actions_toggle_type_dwell (gboolean Pressed);
The radio button for the type 'switch' has been toggled. Hide or show the controls for the dwell actions.
Pressed : | State of the toggle button. |
void gok_page_actions_toggle_type_mousepointer (gboolean Pressed);
The radio button for the type 'switch' has been toggled. Hide or show the controls for the mouse pointer 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_mousebutton_controls (gboolean bTrueFalse);
Enables/disables the controls for mousebutton actions.
bTrueFalse : | State the controls should be set to. |
void gok_page_actions_enable_mousepointer_controls (gboolean bTrueFalse);
Enables/disables the controls for mousepointer actions.
bTrueFalse : | State the controls should be set to. |
void gok_page_actions_enable_dwell_controls (gboolean bTrueFalse);
Enables/disables the controls for dwell actions.
bTrueFalse : | State the 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_enable_radios_switch (gboolean bTrueFalse);
Enables/disables the radio buttons for switch number.
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 : | Pointer to the radio button you want to find the number of. |
Returns : | The number of the selected radio button in the group. Returns -1 if there are no selected radio buttons in the group. |
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. |
void gok_page_actions_mousepointer_keyaverage (gboolean OnOff);
OnOff : |
|
<<< gok-page-accessmethod | gok-page-feedbacks >>> |