Clutter.Settings

g Clutter.Settings Clutter.Settings GObject.Object GObject.Object GObject.Object->Clutter.Settings

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

get_default ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

backend

Clutter.Backend

d/w/co

A pointer to the backend deprecated

dnd-drag-threshold

int

r/w

The distance the cursor should travel before starting to drag

double-click-distance

int

r/w

The distance between clicks necessary to detect a multiple click

double-click-time

int

r/w

The time between clicks necessary to detect a multiple click

font-antialias

int

r/w

Whether to use antialiasing (1 to enable, 0 to disable, and -1 to use the default)

font-dpi

int

r/w

The resolution of the font, in 1024 * dots/inch, or -1 to use the default

font-hint-style

str

r/w

The style of hinting (hintnone, hintslight, hintmedium, hintfull)

font-hinting

int

r/w

Whether to use hinting (1 to enable, 0 to disable and -1 to use the default)

font-name

str

r/w

The description of the default font, as one that could be parsed by Pango

font-subpixel-order

str

r/w

The type of subpixel antialiasing (none, rgb, bgr, vrgb, vbgr)

fontconfig-timestamp

int

w

Timestamp of the current fontconfig configuration

long-press-duration

int

r/w

The minimum duration for a long press gesture to be recognized

password-hint-time

int

r/w

How long to show the last input character in hidden entries

unscaled-font-dpi

int

w

The resolution of the font, in 1024 * dots/inch, or -1 to use the default

window-scaling-factor

int

r/w

The scaling factor to be applied to windows

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Clutter.Settings(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Clutter.SettingsClass

ClutterSettings is an opaque structure whose members cannot be directly accessed.

New in version 1.4.

classmethod get_default()
Returns:

the instance of Clutter.Settings. The returned object is owned by Clutter and it should not be unreferenced directly

Return type:

Clutter.Settings

Retrieves the singleton instance of Clutter.Settings

New in version 1.4.

Property Details

Clutter.Settings.props.backend
Name:

backend

Type:

Clutter.Backend

Default Value:

None

Flags:

DEPRECATED, WRITABLE, CONSTRUCT_ONLY

A back pointer to the Clutter.Backend

New in version 1.4.

Deprecated since version 1.10.

Clutter.Settings.props.dnd_drag_threshold
Name:

dnd-drag-threshold

Type:

int

Default Value:

8

Flags:

READABLE, WRITABLE

The default distance that the cursor of a pointer device should travel before a drag operation should start.

New in version 1.8.

Clutter.Settings.props.double_click_distance
Name:

double-click-distance

Type:

int

Default Value:

5

Flags:

READABLE, WRITABLE

The maximum distance, in pixels, between button-press events that determines whether or not to increase the click count by 1.

New in version 1.4.

Clutter.Settings.props.double_click_time
Name:

double-click-time

Type:

int

Default Value:

250

Flags:

READABLE, WRITABLE

The time, in milliseconds, that should elapse between button-press events in order to increase the click count by 1.

New in version 1.4.

Clutter.Settings.props.font_antialias
Name:

font-antialias

Type:

int

Default Value:

-1

Flags:

READABLE, WRITABLE

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.

New in version 1.4.

Clutter.Settings.props.font_dpi
Name:

font-dpi

Type:

int

Default Value:

-1

Flags:

READABLE, WRITABLE

The DPI used when rendering text, as a value of 1024 * dots/inch.

If set to -1, the system’s default will be used instead

New in version 1.4.

Clutter.Settings.props.font_hint_style
Name:

font-hint-style

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

The style of the hinting used when rendering text. Valid values are:

  • hintnone

  • hintslight

  • hintmedium

  • hintfull

New in version 1.4.

Clutter.Settings.props.font_hinting
Name:

font-hinting

Type:

int

Default Value:

-1

Flags:

READABLE, WRITABLE

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.

New in version 1.4.

Clutter.Settings.props.font_name
Name:

font-name

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

The default font name that should be used by text actors, as a string that can be passed to Pango.FontDescription.from_string().

New in version 1.4.

Clutter.Settings.props.font_subpixel_order
Name:

font-subpixel-order

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

The type of sub-pixel antialiasing used when rendering text. Valid values are:

  • none

  • rgb

  • bgr

  • vrgb

  • vbgr

New in version 1.4.

Clutter.Settings.props.fontconfig_timestamp
Name:

fontconfig-timestamp

Type:

int

Default Value:

0

Flags:

WRITABLE

Timestamp of the current fontconfig configuration

Clutter.Settings.props.long_press_duration
Name:

long-press-duration

Type:

int

Default Value:

500

Flags:

READABLE, WRITABLE

Sets the minimum duration for a press to be recognized as a long press gesture. The duration is expressed in milliseconds.

See also Clutter.ClickAction :long-press-duration.

New in version 1.8.

Clutter.Settings.props.password_hint_time
Name:

password-hint-time

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

How long to show the last input character in hidden entries

Clutter.Settings.props.unscaled_font_dpi
Name:

unscaled-font-dpi

Type:

int

Default Value:

-1

Flags:

WRITABLE

The resolution of the font, in 1024 * dots/inch, or -1 to use the default

Clutter.Settings.props.window_scaling_factor
Name:

window-scaling-factor

Type:

int

Default Value:

1

Flags:

READABLE, WRITABLE

The scaling factor to be applied to windows