-
ClassNameLabel : SimpleButton { *new { arg class,layout,minWidth=200,minHeight,font; ^super.prNew(layout,class.name.asString,[minWidth,minHeight],font) .action_({class.ginsp}) .color_(Color.white) .background_(Color( 0.52156862745098, 0.756 ...
-
PeakMonitorGui : ObjectGui { var leftFlow, rightFlow; var multiSl, clipButtons, maxRecentView; var maxRecent, recentSize, maxClip; // workaround for crucial gui issue // closing a Swing window executes viewDidClose before calling remove on ...
-
... through the proxy before taking effect. For instance, if you click the "panic" button, the GUI tells the proxy to panic, whereupon the proxy sends the message along to the voicer. Voicer ------- VoicerProxy ------- VoicerProxyGui The GUI k ...
-
... through the proxy before taking effect. For instance, if you click the "panic" button, the GUI tells the proxy to panic, whereupon the proxy sends the message along to the voicer. Voicer ------- VoicerProxy ------- VoicerProxyGui The GUI k ...
-
... sta).action = { |el| s.volume.volume = el.value.linlin(0.0, 1.0, -90, 6); }; // buttons from first 2 pages play/stop ~ff.addNamed(\playBts, ~ff.elAt([\pgSl1, \pgSl2], \bt, \all, \on).flat); ~ff.elAt(\playBts).do { |bt, i| bt.action = { var ...
-
... c.asSymbol))) // .syntaxColorize; //.stringColor_(color.copy.alpha_(1)); }; var button = SmoothButton(window, 20@sliderHeight) // var button = Button(window, 20@20) .states_([[ c.asString ]] ) .action_(displayFunc) .background_(color); var ...
-
... KeyPlayerGui.help g = KeyPlayerGui(k); // or have KeyPlayer respond to a single button: g.close; ( w = Window("any window", Rect(0,500, 200, 50)).front; b = Button(w, Rect(10, 10, 180, 30)).states_([["I am KeyPlayer('rand')"]]); b.keyDownAc ...
-
... ent directly, or data read from a .wfspath file (generated via the [write data] button in the GUI). Data from file is usually more reliable than sending via network. Note that the 'delay' and 'rate' settings have no effect on the behaviour ...
-
... e stretch factor and alignment. Example: ( w = Window.new; w.layout = VLayout( [Button().states_([["Foo"]]), stretch: 1, align: \bottomLeft], 20, [TextView().string_("Bar\nBar\nBar\n"), s: 3], [nil, s: 1] ); w.front; ) ⧉ ✔ Inherited class m ...
-
... Ê.action_({|v| Ê ÊÊ ÊaddAct = v.items.at(v.value).asSymbol; Ê Ê}); // Print GUI.button.new(win,18@15) Ê Ê.font_(GUI.font.new("Helvetica", 9)) Ê Ê.states_([["#"]]) ; // on off onOffButt = GUI.button.new(win, 40@15) Ê Ê.font_(GUI.font.new("He ...