Gjsify LogoGjsify Logo

Index

Enumerations

Classes

Interfaces

Variables

Functions

Variables

MAJOR_VERSION: number

The major version of the Mx clibrary (1 if version is 1.2.3)

MICRO_VERSION: number

The micro version of the Mx library (3, if version is 1.2.3)

MINOR_VERSION: number

The minor version of the Mx library (2, if version is 1.2.3)

PARAM_STYLE_INHERIT: number
PARAM_TRANSLATEABLE: number
VERSION_HEX: number

Numerically encoded version of the Mx library, like 0x010203

VERSION_S: string

The full version of the Mx library, in string form (suited for string concatenation)

Functions

  • actor_box_clamp_to_pixels(box: ActorBox): void
  • border_image_set_from_string(value: any, str: string, filename: string): void
  • Transforms a focus direction to a focus hint. This is a convenience function for actors that implement the #MxFocusable interface, to pass the correct #MxFocusHint to their children when calling mx_focusable_accept_focus().

    %MX_FOCUS_DIRECTION_UP maps to %MX_FOCUS_HINT_FROM_BELOW, %MX_FOCUS_DIRECTION_DOWN maps to %MX_FOCUS_HINT_FROM_ABOVE, %MX_FOCUS_DIRECTION_LEFT maps to %MX_FOCUS_HINT_FROM_RIGHT, %MX_FOCUS_DIRECTION_RIGHT maps to %MX_FOCUS_HINT_FROM_LEFT, %MX_FOCUS_DIRECTION_NEXT maps to %MX_FOCUS_HINT_FIRST, %MX_FOCUS_DIRECTION_PREVIOUS maps to %MX_FOCUS_HINT_LAST and anything else maps to %MX_FOCUS_HINT_PRIOR.

    Parameters

    Returns Mx.FocusHint

  • font_weight_set_from_string(value: any, str: string): void
  • image_error_quark(): Quark
  • set_locale(): void
  • Initializes internationalization support for Mx. If MxApplication is used, this is called automatically. Otherwise it has to be called together with clutter_init() before using Mx.

    Returns void

  • utils_format_time(time_: TimeVal): string
  • Generates a string describing the time given in time_ using colloquial language suitable for display to the user. Examples of what might be returned are "A few minutes ago" or "Yesterday".

    Parameters

    Returns string

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method