Gjsify LogoGjsify Logo

#ClutterStateKey is an opaque structure whose members cannot be accessed directly

record

Hierarchy

  • StateKey

Index

Constructors

Properties

name: string

Methods

  • getMode(): number
  • getPostDelay(): number
  • Retrieves the duration of the pause after transitioning is complete as a fraction of the total transition time.

    Returns number

  • getPreDelay(): number
  • Retrieves the pause before transitioning starts as a fraction of the total transition time.

    Returns number

  • getPropertyName(): string
  • Retrieves the name of the property this #ClutterStateKey applies to

    Returns string

  • getPropertyType(): GType<unknown>
  • Retrieves the #GType of the property a key applies to

    You can use this type to initialize the #GValue to pass to clutter_state_key_get_value()

    Returns GType<unknown>

  • getSourceStateName(): string
  • getTargetStateName(): string
  • Get the name of the source state this #ClutterStateKey contains, or NULL if this is the generic state key for the given property when transitioning to the target state.

    Returns string

  • getValue(value: any): boolean
  • Retrieves a copy of the value for a #ClutterStateKey.

    The #GValue needs to be already initialized for the value type of the property or to a type that allow transformation from the value type of the key.

    Use g_value_unset() when done.

    Parameters

    • value: any

      a #GValue initialized with the correct type for the state_key

    Returns boolean

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