Display.getSetting

bool getSetting(string name, gobject.value.Value value)

Retrieves a desktop-wide setting such as double-click time for the display.

Parameters

namethe name of the setting
valuelocation to store the value of the setting

Returns

true if the setting existed and a value was stored

in value, false otherwise