Did you know ... Search Documentation:
pce_config.pl -- XPCE congifuration database
PublicShow source

This module deals with saving and loading application settings such as preferences and the layout of windows.

See also
- library(settings) provides the Prolog equivalent
Source register_config(:Pred) is det
Register Pred to provide metadata about the configuration handled in the calling module. Pred is called as call(Pred, Path, Attributes).
Source get_config(:Key, -Value) is det
Get configuration for Key as Value.
Source set_config(:Key, +Value) is det
Set the configuration parameter Key to Value. If the value is modified, a broadcast message set_config(Key, Value) is issued.
Source config_attributes(+Key, -Attributes)
Fetch the (meta) attributes of the given config key. The special path `config' returns information on the config database itself. The path of the key may be partly instantiated.
Source pce_object_type(+Type)[private]
Succeed if Type denotes an XPCE type

Undocumented predicates

The following predicates are exported, but not or incorrectly documented.

Source current_config_type(Arg1, Arg2, Arg3)
Source config_term_to_object(Arg1, Arg2)
Source edit_config(Arg1)
Source save_config(Arg1)
Source load_config(Arg1)
Source ensure_loaded_config(Arg1)
Source del_config(Arg1, Arg2)
Source add_config(Arg1, Arg2)
Source register_config_type(Arg1, Arg2)
Source config_term_to_object(Arg1, Arg2, Arg3)