-
... y be shown if the contents can not be resized small enough in the scrollbar's direction. See -canvas for further explanation. Restrictions NOTE: The View: -resize mode of the children is ignored. One should not use a decorator such as FlowL ...
-
... Methods *new (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@height. ( w = Window .new.front; a = RangeSlider (w, Rect (20, 80, 120, 30)) .lo_(0.2) .range_(0.4) .action_({ |slider| [ \sl ...
-
... q.draw = q.draw ? (); // make a window ... q.draw.demoWin = Window("test_draw", Rect(0,0,400, 400)).front; // make the window slightly transparent q.draw.demoWin.alpha_(0.997); // and put a userview on it, on which we can we draw: q.draw.de ...
-
... or make a new one if needed lay = w ?? { w = ResizeFlowWindow.new("TempoClock", Rect(0, 20, width + 5, height)) }; }, { mainLayout = lay; lay = lay.asPageLayout(title,bounds); }); lay.removeOnClose(this); ^lay } guiBody { arg lay, n; namev. ...
-
... on, startView; var soundfile; ~temp = nil; win = Window.new("Sound Descripter", Rect(140, 800, 1100, 200)).front.alwaysOnTop_(true).background_(colorSet1[2]); //*** Drop Area *** drg = DragSink(win, Rect(15, 15, 700, 50)) .resize_(2) .backg ...
-
... caller is bufferpool win = GUI.window.new(filename+" - bufferPool: "+poolname, Rect(200, 600, 800, 248), resizable:false).front; // }, { // else it is the bufferplayer // win = GUI.window.new(filename, // Rect(200, 500, 800, 238), // resiz ...
-
... rpreted after hitting the enter key. ( w = Window ( "SmoothNumberBox Example" , Rect ( 100 , 500 , 400 , 120 )).front; b = SmoothNumberBox (w, Rect ( 150 , 10 , 100 , 20 )); b.value = rrand( 1 , 15 ); b.action = { arg numb; numb.value.postl ...
-
... w.maxAcross_(1)); }); ~toolbarFlow.isNil.if({ AbstractChuckArray.loadFromChuckDirectories("devPreMIDIcfg.scd"); MIDIPort.init(~srcInports); MIDIPort.resetAll; MIDIPort.autoFreeSockets = false; // protect midi controllers from being destroye ...
-
yo dawg, I herd you like SC Code WebView(Window("sccode",Rect(0,0,800,600)).front,Rect(0,0,800,600)).url_("http://sccode.org/1-4Qt")
-
... w.maxAcross_(1)); }); ~toolbarFlow.isNil.if({ AbstractChuckArray.loadFromChuckDirectories("devPreMIDIcfg.scd"); MIDIPort.init(~srcInports); MIDIPort.resetAll; MIDIPort.autoFreeSockets = false; // protect midi controllers from being destroye ...