Skip to content

glgui widget clear!

Matthias Görges edited this page Mar 13, 2015 · 1 revision

glgui-widget-clear! clears a parameter of a widget.

Parameter Description
g Graphical User Interface (GUI) parent to the widget
w The widget for which a parameter is to be changed
id The desired parameter of the widget to be cleared

Example

Example 1: Clear the secondcolor variable of mywidget in gui mygui.

(glgui-widget-set! mygui mywidget 'secondcolor)
Clone this wiki locally