Enums.enumToString

Pretty-prints @value in the form of the enum’s name.

This is intended to be used for debugging purposes. The format of the output may change in the future.

struct Enums
static
string
enumToString

Parameters

gEnumType GType

the type identifier of a #GEnumClass type

value int

the value

Return Value

Type: string

a newly-allocated text string

Meta

Since

2.54