rocinantealpha

reference / interface

tab

One page of tabs, with its name on the tab. The widgets inside are made only while it is the page showing, and keep their values apart from the other pages.

size = 40ui [  tabs [    tab "size" [ size = slider "size" 10 100 start 40 ]    tab "about" [ label "tabs keep their own values" ]  ]]draw [ circle at 300 160 radius size ]
what it draws: the whole window, 400 by 300
What the example of tab draws

How to write it

tab text [ ... ]

Related