Function

GObjectValuetype_transformable

Declaration [src]

gboolean
g_value_type_transformable (
  GType src_type,
  GType dest_type
)

Description [src]

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

Type: GType

Source type.

dest_type

Type: GType

Target type.

Return value

Type: gboolean

TRUE if the transformation is possible, FALSE otherwise.