gboolean g_field_info_get_field GIRepository.FieldInfo field_info gpointer mem None value field_info_get_field @accepts(GIRepository.FieldInfo, gpointer, None) @returns(gboolean) def field_info_get_field(field_info, mem, value)

Reads a field identified by a GFieldInfo from a C structure or union. This only handles fields of simple C types. It will fail for a field of a composite type like a nested structure or union even if that is actually readable.

field_info :

a GIFieldInfo

mem :

pointer to a block of memory representing a C structure or union

value :

a GIArgument into which to store the value retrieved

Returns :

True if reading the field succeeded, otherwise False