FlagSet

class FlagSet(*args, **kwargs)

A fundamental type that describes a 32-bit flag bitfield, with 32-bit mask indicating which of the bits in the field are explicitly set.

Methods

class FlagSet
register(flags_type: type) type

Create a new sub-class of GST_TYPE_FLAG_SET which will pretty-print the human-readable flags when serializing, for easier debugging.

Added in version 1.6.

Parameters:

flags_type – a Type of a G_TYPE_FLAGS type.