Value.typeTransformable

Check whether gobject.value.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.

class Value
static
bool
typeTransformable

Parameters

srcType gobject.types.GType

Source type.

destType gobject.types.GType

Target type.

Return Value

Type: bool

true if the transformation is possible, false otherwise.