Package: gobject

Function gobject:value-init

Lambda List

gobject:value-init (gvalue &optional gtype)

Arguments

gvalue -- an uninitialized g:value instance
gtype -- an optional g:type-t type ID the gvalue argument should hold values of, or the default nil value

Return Value

The g:value instance that has been passed in.

Details

Sets gvalue to zero and initializes it with the gtype type. If the gtype argument is nil, the gvalue argument is set to zero but not initialized.
 

See also

2024-12-21