| GOK - Gnome Onscreen Keyboard | ||||
|---|---|---|---|---|
| Top | Description | ||||
gboolean gok_gconf_get_int (GConfClient *client,const gchar *key,gint *dest); gboolean gok_gconf_set_int (GConfClient *client,const gchar *key,gint value); gboolean gok_gconf_get_bool (GConfClient *client,const gchar *key,gboolean *dest); gboolean gok_gconf_set_bool (GConfClient *client,const gchar *key,gboolean value); gboolean gok_gconf_get_string (GConfClient *client,const gchar *key,gchar **dest); gboolean gok_gconf_set_string (GConfClient *client,const gchar *key,const gchar *value);
gboolean gok_gconf_get_int (GConfClient *client,const gchar *key,gint *dest);
Retrieves the requested key and stores it in the given dest. If an error occurs during retreiving the key a message is logged using gok_log_x and dest is left unchanged.
|
GConfClient to use to retreive the key. |
|
GConf key to retrieve. |
|
Pointer to a gint to store the retrieved key, if successful. |
Returns : |
TRUE if key retrieved successfully, FALSE if an error occured. |
gboolean gok_gconf_set_int (GConfClient *client,const gchar *key,gint value);
Stores the given (key, value) pair if it is different from what is in GConf already. If an error occurs during storing the key a message is logged using gok_log_x.
|
GConfClient to use to set the value. |
|
GConf key to set. |
|
gint to store. |
Returns : |
TRUE if key stored successfully, FALSE if an error occured. |
gboolean gok_gconf_get_bool (GConfClient *client,const gchar *key,gboolean *dest);
Retrieves the requested key and stores it in the given dest. If an error occurs during retreiving the key a message is logged using gok_log_x and dest is left unchanged.
|
GConfClient to use to retreive the key. |
|
GConf key to retrieve. |
|
Pointer to a gboolean to store the retrieved key, if successful. |
Returns : |
TRUE if key retrieved successfully, FALSE if an error occured. |
gboolean gok_gconf_set_bool (GConfClient *client,const gchar *key,gboolean value);
Stores the given (key, value) pair if it is different from what is in GConf already. If an error occurs during storing the key a message is logged using gok_log_x.
|
GConfClient to use to set the value. |
|
GConf key to set. |
|
gboolean to store. |
Returns : |
TRUE if key stored successfully, FALSE if an error occured. |
gboolean gok_gconf_get_string (GConfClient *client,const gchar *key,gchar **dest);
Retrieves the requested key and stores it in the given dest. If an error occurs during retreiving the key a message is logged using gok_log_x and dest is left unchanged.
NOTE: *dest needs to be freed when finished with.
|
GConfClient to use to retreive the key. |
|
GConf key to retrieve. |
|
Pointer to a pointer to a gchar to store the retrieved key, if successful. |
Returns : |
TRUE if key retrieved successfully, FALSE if an error occured. |
gboolean gok_gconf_set_string (GConfClient *client,const gchar *key,const gchar *value);
Stores the given (key, value) pair if it is different from what is in GConf already. If an error occurs during storing the key a message is logged using gok_log_x.
|
GConfClient to use to set the value. |
|
GConf key to set. |
|
gchar to store. |
Returns : |
TRUE if key stored successfully, FALSE if an error occured. |