-
... ds occupied by the subviews of view. ( w= Window .new.front; w.view.decorator = FlowLayout (w.view.bounds); g = EZPopUpMenu .new(w, 230@22, "A PopUpMenu: " , [ \item0 ->{ |a| ( "this is item 0 of " ++ a).postln}, \item1 ->{ |a| ( "this is i ...
-
... th, height); window = GUI.window.new(windowName, rect, resizable:false); flow = FlowLayout.new(window.view.bounds, Point.new(0,0), Point.new(0,0);); window.view.decorator = flow; rows.do({ arg i; columns.do({ arg j; var index; index = (i * ...
-
... /testBuffer.aif" , 5, sfBuffer: b ); ) SCWindow:decorate ( margin, gap ) Adds a FlowLayout decorator to the window's SCTopView. w = SCWindow ( ).front.decorate; // typical use ( // replaces all this with one word w = SCWindow ( ).front; w.v ...
-
... 5).panes.do({ |p| PaneView(p, \vertical, 2.rrand(9)) }); ) ⧉ ✔ ( // responsive FlowLayout inside panes w = Window().front; PaneView(w.view, \horizontal, 2, [1,2]).panes.do({|p| var i = ScrollView(p, p.bounds.extent).hasBorder_(false).resiz ...
-
... by the subviews of view. Discussion: ( w = Window.new.front; w.view.decorator = FlowLayout(w.view.bounds); g = EZPopUpMenu.new( w, 230@22, "A PopUpMenu: ", [ \item0 ->{ |a| ("this is item 0 of " ++ a).postln }, \item1 ->{ |a| ("this is item ...
-
... th: 282, height: this.windowHeight), resizable: false); window.view.decorator = FlowLayout( window.view.bounds ); window.background_(Color.fromHexString("#282828")); window.onClose = { this.clear; }; } setCmdPeriodActions { CmdPeriod.add({ ...
-
... .class.asString, Rect(440,800, width + 4 , 200)).front; parent.view.decorator = FlowLayout(parent.bounds.moveTo(0,0), gap, gap); parent; }; comp = comp ?? { comp = CompositeView(parent, Rect(0,0, width, height)) .background_(Color.gray(0.9) ...
-
... th: 282, height: this.windowHeight), resizable: false); window.view.decorator = FlowLayout( window.view.bounds ); window.background_(Color.fromHexString("#282828")); window.onClose = { this.clear; }; } setCmdPeriodActions { cmdPeriodActionA ...
-
... w=Window("frequency modulation", Rect(100, 400, 400, 300)); w.view.decorator = FlowLayout(w.view.bounds); a = Synth(\modulo); carrfreqslider= EZSlider(w, 300@50, "carrfreq", ControlSpec(20, 1500, 'linear', 10, 440), {|ez| a.set(\car ...
-
... tive" , Rect (1, sb[1] - 300, 220, 400));\ w.front;\ \ w.view.decorator = dec = FlowLayout (w.view.bounds, 10 @ 5, 2 @ 2 );\ \ activeBut = GUI .button.new(w, Rect (0, 0, 50, 30));\ activeBut.states = [[ "away" , Color .black, Color .clear], ...