Skip to content

glgui widget get dyn

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

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))
Clone this wiki locally