glgui widget get dyn - part-cw/lambdanative GitHub Wiki
(glgui-widget-get-dyn g w id)
glgui-widget-get-dyn extracts dynamic parameters from a widget. (glgui-widget-get-dyn g w id) is similar to (glgui-widget-get g w id), but it can also extract procedures.
| Parameter | Description |
|---|---|
| g | Graphical User Interface (GUI) for this widget |
| w | Width of the element in pixels |
| id | The desired parameter of the widget |
Example
Example 1: Extract the x-value from the widget wgt and store it in x
(x (glgui-widget-get-dyn g wgt 'x))