Function

GObject-2.0GObjectvalue_type_transformable

  • Checks whether GObject.Value.transform is able to transform values of type src_type into values of type dest_type.

    Note that for the types to be transformable, they must be compatible or a transformation function must be registered using GObject.Value.register_transform_func.

    Parameters

    • src_type: GType

      source type

    • dest_type: GType

      target type

    Returns boolean

    true if the transformation is possible; false otherwise