flagsToString

fnstring flagsToString(gobject.types.GType flagsType, uint value)

Pretty-prints value in the form of the flag names separated by ` | ` and sorted. Any extra bits will be shown at the end as a hexadecimal number.

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

Parameters

flagsTypethe type identifier of a #GFlagsClass type
valuethe value

Returns

a newly-allocated text string