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

glgui-widget-get extract parameters from a widget

Parameter Description
g Graphical User Interface (GUI) parent to the widget
w The widget
id Desired parameter of the widget

Example

Example 1: Obtain the label value of the mywidget in mygui

(set! mygui (make-glgui))
(set! mywidget (glgui-label mygui 0 0 85 16 "Build:" ascii_16.fnt DarkGray))
(glgui-widget-get mygui mywidget 'label)
Clone this wiki locally