Structure.getFlags

Sets the unsigned int pointed to by value corresponding to the value of the given field. Caller is responsible for making sure the field exists, has the correct type and that the flagstype is correct.

class Structure
bool
getFlags

Parameters

fieldname string

the name of a field

flagsType gobject.types.GType

the flags type of a field

value uint

a pointer to an unsigned int to set

Return Value

Type: bool

true if the value could be set correctly. If there was no field with fieldname or the existing field did not contain flags or did not contain flags of the given type, this function returns false.