Function gdk::setting_get[][src]

pub fn setting_get(name: &str) -> Option<Value>
Expand description

Obtains a desktop-wide setting, such as the double-click time, for the default screen. See [Screen::is_setting()][crate::Screen::is_setting()].

name

the name of the setting.

value

location to store the value of the setting.

Returns

true if the setting existed and a value was stored in value, false otherwise.