g_type_to_string


Description:


public unowned string g_type_to_string (Type type)

Converts a GType to its string representation (use g_type_from_string for the operation in the other direction).

This function wraps name but for common types it provides an easier to understand and remember name. For Example the G_TYPE_STRING is converted to "string" whereas name converts it to "gchararray".

Parameters:

type

Type to convert from.

Returns:

the GDA's string representing the given Type or the name returned by name.


Namespace: Gda
Package: libgda-5.0