read_bool_entry


Description:

[ Version ( since = "4.2" ) ]
public bool read_bool_entry (string key, bool fallback)

Reads the value of an entry specified by key in the current group and interpret it as a boolean value.

Currently "on", "true" and "yes" are accepted as true, everything else is false.

Parameters:

this

an Rc object.

key

the key to search for.

fallback

a default value returned if the key was not found.

Returns:

the value for this key.