setVal

Template to set a GValue to a given D type (must have been initialized to the proper type)

void
setVal
(
T
)

Parameters

T

D type which the C GValue structure has been initialized to (except Boxed types which are initialized by this template)

gval GValue*

C GValue structure pointer

v T

The value to set the GValue structure to