rc_simple_open


Description:


[ Version ( replacement = "Rc.simple_open" , since = "4.2" ) ]
public Rc rc_simple_open (string filename, bool readonly)

Parses the resource config file specified by filename.

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, rc_simple_open will fail if filename does not reference a regular file.

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

Parameters:

filename

name of the filename to open.

readonly

whether to open filename readonly.

Returns:

the newly created Rc object, or null on error.


Namespace: Xfce