nick_from_type


Description:

public static unowned string nick_from_type (Type type)

Finds the nickname for a given type

Parameters:

type

The type for which to find the nickname

Returns:

If the object has a nickname, then it is returned. Otherwise, the type name.