-
... Button().states_([["+"]]); b = Button().states_([["-"]]); w = Window().layout_(HLayout(a,b)).front; ) //sum and subtract ( ENdef(\x).clear; ENdef(\x, { var aES = a.enIn.collect{{|x| x+1 }}; var bES = b.enIn.collect{{|x| x-1 }}; (aES |+| bE ...
-
... ronment. ( s.waitForBoot{ var l,r,l2,r2; Window("visualization").front.layout_( HLayout( VLayout(StaticText().string_("left amp"), l=LevelIndicator()), VLayout(StaticText().string_("right db"), r=LevelIndicator()), VLayout(StaticText().stri ...
-
... rrentBuffer.path) }; p.value = 0; p.action.value(p); update.value; w.layout.add(HLayout(p, iv, dv)); w.layout.add(v); )
-
... dding of interactive components to a Menu or ToolBar . ( ~view = View().layout_(HLayout( ToolBar( MenuAction("Min", { ~slider.value = 0 }), MenuAction("Max", { ~slider.value = 1 }), CustomViewAction( ~slider = Slider().orientation_(\horizon ...
-
... Button(); q.but2 = Button(); q.text = StaticText(); q.window = Window().layout_(HLayout(q.sl, q.but1, q.but2, q.text)); q.defaults = { rrand(0.0,1.0) } ! 10; q.numPages = q.defaults.size; ENdef(\x, { //get guis as event streams //for this c ...
-
... s.redFrik.background; view.layout= VLayout( pop= RedPopUpMenu().maxHeight_(lh), HLayout( RedStaticText(nil, nil, "bps:").maxWidth_(30).maxHeight_(lh), num= RedNumberBox().maxWidth_(bw).maxHeight_(lh), bpm= RedStaticText(nil, nil, "(bpm:)"). ...
-
... 50)).front; window.background_(Color.gray(0.2)); window.layout = VLayout( HLayout( nil, deviceMenu = PopUpMenu(), startB = Button(), // stopB = Button(), nil ), View().fixedHeight_(60) .layout_(HLayout( nil, ...
-
... v, char| actions[char.asSymbol].value(this); }); if (border.not) { view.layout_(HLayout( WindowHandleView().maxWidth_(10).minWidth_(10), widgetLayout = VLayout() ).spacing_(0).margins_(2)); }{ view.layout_(HLayout( widgetLayout = VLayout() ...
-
... Assign a state switchButton.state_(3); // Nest it inside a Layout win.layout_( HLayout( switchButton, ).margins_(0)); win.front; // Useful when developping CmdPeriod.doOnce({ win.close; }); ) ⧉ ✔ Assigning states without specifying colors ...
-
... on closeButton.action_({ win.close; }); // Nest it inside a Layout win.layout_( HLayout( closeButton, ).margins_(0)); win.front; // Useful when developping CmdPeriod.doOnce({ win.close; }); ) ⧉ ✔ helpfile source: /tmp/scquark_hs/GraphicalMo ...