Gjsify LogoGjsify Logo

Hierarchy

  • BindingTransformFunc

Callable

  • BindingTransformFunc(binding: Binding, fromValue: any, toValue: any): boolean
  • A function to be called to transform from_value to to_value.

    If this is the transform_to function of a binding, then from_value is the source_property on the source object, and to_value is the target_property on the target object. If this is the transform_from function of a %G_BINDING_BIDIRECTIONAL binding, then those roles are reversed.

    Parameters

    • binding: Binding

      a #GBinding

    • fromValue: any

      the #GValue containing the value to transform

    • toValue: any

      the #GValue in which to store the transformed value

    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