Class
ClutterSettings
Description [src]
final class Clutter.Settings : GObject.Object
{
/* No available fields */
}
Settings configuration
Clutter depends on some settings to perform operations like detecting multiple button press events, or font options to render text.
Usually, Clutter will strive to use the platform’s settings in order
to be as much integrated as possible. It is, however, possible to
change these settings on a per-application basis, by using the
ClutterSettings
singleton object and setting its properties. It is
also possible, for toolkit developers, to retrieve the settings from
the ClutterSettings
properties when implementing new UI elements,
for instance the default font name.
Functions
clutter_settings_get_default
Retrieves the singleton instance of ClutterSettings
.
deprecated: Unknown
Properties
Clutter.Settings:dnd-drag-threshold
The default distance that the cursor of a pointer device should travel before a drag operation should start.
Clutter.Settings:double-click-distance
The maximum distance, in pixels, between button-press events that determines whether or not to increase the click count by 1.
Clutter.Settings:double-click-time
The time, in milliseconds, that should elapse between button-press events in order to increase the click count by 1.
Clutter.Settings:font-antialias
Whether or not to use antialiasing when rendering text; a value of 1 enables it unconditionally; a value of 0 disables it unconditionally; and -1 will use the system’s default.
Clutter.Settings:font-hint-style
The style of the hinting used when rendering text. Valid values are:.
Clutter.Settings:font-hinting
Whether or not to use hinting when rendering text; a value of 1 unconditionally enables it; a value of 0 unconditionally disables it; and a value of -1 will use the system’s default.
Clutter.Settings:font-name
The default font name that should be used by text actors, as
a string that can be passed to pango_font_description_from_string()
.
Clutter.Settings:font-subpixel-order
The type of sub-pixel antialiasing used when rendering text. Valid values are:.
Clutter.Settings:long-press-duration
Sets the minimum duration for a press to be recognized as a long press gesture. The duration is expressed in milliseconds.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.