Gjsify LogoGjsify Logo

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

record

Hierarchy

  • StateKey

Index

Constructors

Properties

name: string

Methods

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

    Returns number

  • get_pre_delay(): number
  • get_property_name(): string
  • get_property_type(): 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>

  • get_source_state_name(): string
  • get_target_state_name(): 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

  • get_value(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