Value.typeCompatible

Returns whether a #GValue of type src_type can be copied into a #GValue of type dest_type.

class Value
static
bool
typeCompatible

Parameters

srcType gobject.types.GType

source type to be copied.

destType gobject.types.GType

destination type for copying.

Return Value

Type: bool

true if gobject.value.Value.copy is possible with src_type and dest_type.