Function

GObjectValuetype_transformable

Declaration

gboolean
g_value_type_transformable (
  GType src_type,
  GType dest_type
)

Description

Check whether g_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

src_type GType
 

Source type.

dest_type GType
 

Target type.

Return value

Returns: gboolean
 

TRUE if the transformation is possible, FALSE otherwise.