Structure.idHasFieldTyped

Check if structure contains a field named field and with GType type.

class Structure
bool
idHasFieldTyped

Parameters

field glib.types.Quark

#GQuark of the field name

type gobject.types.GType

the type of a value

Return Value

Type: bool

true if the structure contains a field with the given name and type