Skip to content
Chris Petersen edited this page Oct 16, 2014 · 1 revision

This function is used to return state parameter store in a GUI context.

Parameter Description
g GUI context handle
id Parameter symbol identifier
fb Optional fallback parameter to be returned if undefined

Example

> (glgui-get mygui 'myguistate 'undefined)
'undefined
> (glgui-set! mygui 'myguistate 12)
> (glgui-get mygui 'myguistate 'undefined)
12
Clone this wiki locally