|  |  |  | GOK - Gnome Onscreen Keyboard |  | 
|---|---|---|---|---|
GokFeedback* gok_feedback_new (void); void gok_feedback_free (GokFeedback *pFeedback); gboolean gok_feedback_open (void); void gok_feedback_close (void); GokFeedback* gok_feedback_get_first_feedback (void); GokFeedback* gok_feedback_find_feedback (gchar *NameFeedback, gboolean bDisplayName); void gok_feedback_add_feedback (GokFeedback *pFeedbackNew); void gok_feedback_delete_feedback (GokFeedback *pFeedbackDelete); void gok_feedback_backup (GokFeedback *pFeedback); gboolean gok_feedback_revert (GokFeedback *pFeedback);
GokFeedback* gok_feedback_new (void);
Allocates memory for a new GokFeedback and initializes its attributes to default values. Please free the returned GokFeedback using gok_feedback_free.
| Returns : | A pointer to a new GokFeedback. | 
void gok_feedback_free (GokFeedback *pFeedback);
Frees a GokFeedback and associated resources.
| 
 | Pointer to the feedback that will be freed. | 
gboolean gok_feedback_open (void);
Initializes the gok feedbacks and reads them from GConf.
| Returns : | TRUE if the feedbacks were initialized, FALSE if not. | 
void gok_feedback_close (void);
Closes the gok feedbacks and saves them in GConf.
GokFeedback* gok_feedback_get_first_feedback (void);
| Returns : | A pointer to the first feedback in the list of feedbacks. | 
GokFeedback* gok_feedback_find_feedback (gchar *NameFeedback, gboolean bDisplayName);
Finds the feedback from within our list of feedbacks.
| 
 | Name of the feedback you're trying to find. | 
| 
 | This should be set TRUE if you are passing in the display name of the feedback. It should be set FALSE if passing in the actual name of the feedback. | 
| Returns : | A pointer to the feedback, NULL if not found. | 
void gok_feedback_add_feedback (GokFeedback *pFeedbackNew);
Adds a new feedback to our list of feedbacks.
| 
 | Pointer to an feedback that gets added to our list of feedbacks. | 
void gok_feedback_delete_feedback (GokFeedback *pFeedbackDelete);
Deletes the given feedback and unhooks it from our list of feedbacks.
| 
 | Pointer to the feedback that will be deleted. | 
void gok_feedback_backup (GokFeedback *pFeedback);
Creates a copy of all the data stored on the feedback.
| 
 | Pointer to the feedback that will be backed up. | 
gboolean gok_feedback_revert (GokFeedback *pFeedback);
Moves the backup data to the current data on the feedback.
| 
 | Pointer to the feedback that will be reverted. | 
| Returns : | TRUE if any of the reverted settings are different from the current settings. Returns FALSE if the reverted settings are the same as the current settings. |