Package: gobject

Function gobject:value-set

Lambda List

gobject:value-set (gvalue value gtype)

Arguments

gvalue -- a g:value instance to initialize and to set
value -- a value to set as the value of the g:value instance
gtype -- a g:type-t type ID for the g:value instance

Details

The g:value-set function initializes the g:value instance and sets the value. Unlike the (setf g:value-get) function, this function first intializies the g:value instance for a value of gtype type.

Notes

This function replaces the g_value_set_<type>() functions of the C API.
 

See also

2024-12-21