Class: Clutter::Settings

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.defaultClutter::Settings

Retrieves the singleton instance of Clutter::Settings

Returns:

  • (Clutter::Settings)

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

Instance Method Details

#backend=(backend) ⇒ Clutter::Backend

A back pointer to the Clutter::Backend

Parameters:

Returns:

#dnd_drag_thresholdInteger

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

Returns:

  • (Integer)

    dnd-drag-threshold

#dnd_drag_threshold=(dnd_drag_threshold) ⇒ Integer

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

Parameters:

  • dnd_drag_threshold (Integer)

Returns:

  • (Integer)

    dnd-drag-threshold

  • (Integer)

    dnd-drag-threshold

#double_click_distanceInteger

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

Returns:

  • (Integer)

    double-click-distance

#double_click_distance=(double_click_distance) ⇒ Integer

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

Parameters:

  • double_click_distance (Integer)

Returns:

  • (Integer)

    double-click-distance

  • (Integer)

    double-click-distance

#double_click_timeInteger

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

Returns:

  • (Integer)

    double-click-time

#double_click_time=(double_click_time) ⇒ Integer

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

Parameters:

  • double_click_time (Integer)

Returns:

  • (Integer)

    double-click-time

  • (Integer)

    double-click-time

#font_antialiasInteger

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.

Returns:

  • (Integer)

    font-antialias

#font_antialias=(font_antialias) ⇒ Integer

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.

Parameters:

  • font_antialias (Integer)

Returns:

  • (Integer)

    font-antialias

  • (Integer)

    font-antialias

#font_dpiInteger

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

Returns:

  • (Integer)

    font-dpi

#font_dpi=(font_dpi) ⇒ Integer

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

Parameters:

  • font_dpi (Integer)

Returns:

  • (Integer)

    font-dpi

  • (Integer)

    font-dpi

#font_hint_styleString

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

  • hintnone
  • hintslight
  • hintmedium
  • hintfull

Returns:

  • (String)

    font-hint-style

#font_hint_style=(font_hint_style) ⇒ String

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

  • hintnone
  • hintslight
  • hintmedium
  • hintfull

Parameters:

  • font_hint_style (String)

Returns:

  • (String)

    font-hint-style

  • (String)

    font-hint-style

#font_hintingInteger

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.

Returns:

  • (Integer)

    font-hinting

#font_hinting=(font_hinting) ⇒ Integer

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.

Parameters:

  • font_hinting (Integer)

Returns:

  • (Integer)

    font-hinting

  • (Integer)

    font-hinting

#font_nameString

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

Returns:

  • (String)

    font-name

#font_name=(font_name) ⇒ String

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

Parameters:

  • font_name (String)

Returns:

  • (String)

    font-name

  • (String)

    font-name

#font_subpixel_orderString

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

  • none
  • rgb
  • bgr
  • vrgb
  • vbgr

Returns:

  • (String)

    font-subpixel-order

#font_subpixel_order=(font_subpixel_order) ⇒ String

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

  • none
  • rgb
  • bgr
  • vrgb
  • vbgr

Parameters:

  • font_subpixel_order (String)

Returns:

  • (String)

    font-subpixel-order

  • (String)

    font-subpixel-order

#fontconfig_timestamp=(fontconfig_timestamp) ⇒ Integer

Returns fontconfig-timestamp.

Parameters:

  • fontconfig_timestamp (Integer)

Returns:

  • (Integer)

    fontconfig-timestamp

#long_press_durationInteger

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.

Returns:

  • (Integer)

    long-press-duration

#long_press_duration=(long_press_duration) ⇒ Integer

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.

Parameters:

  • long_press_duration (Integer)

Returns:

  • (Integer)

    long-press-duration

  • (Integer)

    long-press-duration

#password_hint_timeInteger

Returns password-hint-time.

Returns:

  • (Integer)

    password-hint-time

#password_hint_time=(password_hint_time) ⇒ Integer

Parameters:

  • password_hint_time (Integer)

Returns:

  • (Integer)

    password-hint-time

  • (Integer)

    password-hint-time

#unscaled_font_dpi=(unscaled_font_dpi) ⇒ Integer

Returns unscaled-font-dpi.

Parameters:

  • unscaled_font_dpi (Integer)

Returns:

  • (Integer)

    unscaled-font-dpi

#window_scaling_factorInteger

Returns window-scaling-factor.

Returns:

  • (Integer)

    window-scaling-factor

#window_scaling_factor=(window_scaling_factor) ⇒ Integer

Parameters:

  • window_scaling_factor (Integer)

Returns:

  • (Integer)

    window-scaling-factor

  • (Integer)

    window-scaling-factor