Package: gobject

Function gobject:value-get

Lambda List

gobject:value-get (gvalue &optional gtype)

Syntax

(g:value-get gvalue) => value)
(setf (g:value-get gvalue) value)

Arguments

gvalue -- an initialized g:value instance
value -- a value which corresponds to the type of gvalue

Details

The g:value-get function parses the g:value instance and returns the corresponding Lisp value. The (setf g:value-get) function sets the value of an initialized g:value instance.

Use the g:value-set function for initialization and setting a g:value instance in one step.

Notes

This function replaces the g_value_get_<type>() funcions of the C API.
 

See also

2024-12-21