Flags

Members

Static functions

completeTypeInfo
void completeTypeInfo(GType gFlagsType, GTypeInfo info, GFlagsValue* constValues)

This function is meant to be called from the complete_type_info() function of a GTypePlugin implementation, see the example for g_enum_complete_type_info() above.

getFirstValue
GFlagsValue* getFirstValue(GFlagsClass* flagsClass, uint value)

Returns the first GFlagsValue which is set in value.

getValueByName
GFlagsValue* getValueByName(GFlagsClass* flagsClass, string name)

Looks up a GFlagsValue by name.

getValueByNick
GFlagsValue* getValueByNick(GFlagsClass* flagsClass, string nick)

Looks up a GFlagsValue by nickname.

registerStatic
GType registerStatic(string name, GFlagsValue* constStaticValues)

Registers a new static flags type with the name name.