setVal

fnvoid setVal(T)(GValue * gval, T v)

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

Parameters

TD type which the C GValue structure has been initialized to (except Boxed types which are initialized by this template)
gvalC GValue structure pointer
vThe value to set the GValue structure to