get_nick


Description:

public static string get_nick (Type enumeration, int val) throws Error

Introspect an enumeration to get value's nick name.

Returns: an string representing an enumeration's value.

Parameters:

enumeration

a GLib.Type of type GLib.Type.ENUM

val

an integer to parse an enum value of type @enumeration.




2022 vala-language.org