Value.typeTransformable
bool typeTransformable(gobject.types.GType srcType, gobject.types.GType destType)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.
Parameters
srcType | Source type. |
destType | Target type. |
Returns
true if the transformation is possible, false otherwise.