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.

string
enumToString

Parameters

gEnumType gobject.types.GType

the type identifier of a #GEnumClass type

value int

the value

Return Value

Type: string

a newly-allocated text string