enumToString
fn
string enumToString(gobject.types.GType gEnumType, int value)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.
Parameters
gEnumType | the type identifier of a #GEnumClass type |
value | the value |
Returns
a newly-allocated text string