Skip to content

glgui widget setglobal!

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

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