pub trait KeyFileExt {
    fn optional_string(
        &self,
        group: &str,
        key: &str
    ) -> Result<Option<GString>, Error>; fn optional_bool(&self, group: &str, key: &str) -> Result<Option<bool>, Error>; fn optional_string_list(
        &self,
        group: &str,
        key: &str
    ) -> Result<Option<Vec<GString>>, Error>; }
Expand description

Helper methods for [glib::KeyFile].

Required Methods

Get a string value, but return None if the key does not exist.

Get a boolean value, but return None if the key does not exist.

Get a string list value, but return None if the key does not exist.

Implementations on Foreign Types

Implementors