@get


Description:

public bool @get (...)

Parses the variable arguments and reads fields from this accordingly.

Variable arguments should be in the form field name, field type (as a GType), pointer(s) to a variable(s) to hold the return value(s). The last variable argument should be null.

For refcounted (mini)objects you will receive a new reference which you must release with a suitable _unref\() when no longer needed. For strings and boxed types you will receive a copy which you will need to release with either g_free or the suitable function for the boxed type.

Parameters:

this

a Structure

...

variable arguments

first_fieldname

the name of the first field to read

Returns:

false if there was a problem reading any of the fields (e.g. because the field requested did not exist, or was of a type other than the type specified), otherwise true.