Structure.getFieldType

Finds the field with the given name, and returns the type of the value it contains. If the field is not found, G_TYPE_INVALID is returned.

class Structure
getFieldType
(
string fieldname
)

Parameters

fieldname string

the name of the field

Return Value

Type: GType

the #GValue of the field

Meta