glgui widget setglobal! - part-cw/lambdanative GitHub Wiki

(glgui-widget-setglobal! g id val)

glgui-widget-setglobal! sets a parameter of all widgets in a given gui.

Parameter Description
g Graphical User Interface (GUI) for this widget
id The desired parameter of the widget to be changed
val The new value of parameter id

Example

Example 1: Disable focus for all elements in gui mygui

(glgui-widget-setglobal! mygui 'focus #f)