rc_config_open


Description:


[ Version ( replacement = "Rc.config_open" , since = "4.2" ) ]
public Rc rc_config_open (ResourceType type, string resource, bool readonly)

If readonly is true parsing is generally faster, because only untranslated entries and entries that match the current locale will be loaded.

Also if you pass true for readonly, xfce_rc_config will fail if resource does not reference a regular file.

It is no error if readonly is false and the file referenced by resource does not exists. In this case you'll start with a fresh config, which contains only the default group and no entries.

Parameters:

type

The resource type being opened

resource

The resource name to open

readonly

whether to open resource readonly.

Returns:

the newly created Rc object, or null on error.


Namespace: Xfce