|
marco 1.29.1
Window manager
|
Data Fields | |
| gchar * | key |
| gchar * | schema |
| MetaPreference | pref |
| void(* | handler )(MetaPreference pref, const gchar *string_value, gboolean *inform_listeners) |
| A handler. | |
| gchar ** | target |
| Where to write the incoming string. | |
| void(* MetaStringPreference::handler) (MetaPreference pref, const gchar *string_value, gboolean *inform_listeners) |
A handler.
Many of the string preferences aren't stored as strings and need parsing; others of them have default values which can't be solved in the general case. If you include a function pointer here, it will be called before the string value is written out to the target variable.
The function is passed two arguments: the preference, and the new string as a gchar*. It returns a gboolean; only if this is true, the listeners will be informed that the preference has changed.
This may be NULL. If it is, see "target", below.
Referenced by handle_preference_init_string(), and handle_preference_update_string().
| gchar* MetaStringPreference::key |
Referenced by handle_preference_init_string(), and handle_preference_update_string().
| MetaPreference MetaStringPreference::pref |
Referenced by handle_preference_init_string(), and handle_preference_update_string().
| gchar* MetaStringPreference::schema |
Referenced by handle_preference_init_string().
| gchar** MetaStringPreference::target |
Where to write the incoming string.
This must be NULL if the handler is non-NULL. If the incoming string is NULL, no change will be made.
Referenced by handle_preference_init_string(), and handle_preference_update_string().