Package ch.bailu.gtk.gobject
Schnittstelle TypeValueTable.OnTypeValueInitFunc
- Umschließende Klasse:
TypeValueTable
- Funktionsschnittstelle:
- Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
onTypeValueInitFunc
(CallbackHandler __self, Value value) Initializes the value contents by setting the fields of the `value->data`
array.
-
Methodendetails
-
onTypeValueInitFunc
Initializes the value contents by setting the fields of the `value->data`
array.
The data array of the #GValue passed into this function was zero-filled
with `memset()`, so no care has to be taken to free any old contents.
For example, in the case of a string value that may never be %NULL, the
implementation might look like:
<!-- language="C" --> value->data[0].v_pointer = g_strdup ("");
- Parameter:
value
- the value to initialize
-