make glgui - part-cw/lambdanative GitHub Wiki
(make-glgui . offset)
make-glgui creates GUI object to add widgets
Parameter | Description |
---|---|
offset | Optional: The first value specifies the lower left corner along the x-axis in pixels, the second value specifies the lower left corner along the y-axis in pixels |
Example
Example1: The most common way a gui is made in LambdaNative apps
(set! gui (make-glgui))
Example 2: Make a gui where the reference coordinates start at global x=60 and y=20;
(set! gui (make-glgui 60 20))