-
... then. ( // example is mac-only d = (a: 12, b: 24); d.win = SCWindow ( "dict" , Rect (0,0,200,60)).front; d.views = [ \a , \b ].collect { |name, i| SCStaticText (d.win, Rect (i * 100,0,96,20)) .background_( Color .yellow).align_(0).string_( ...
-
... n (0.0, 1.0, 0.1, inf ); c = a.asStream.nextN(500); w = Window .new( "Pbrown" , Rect (10, 10, 540, 800)); // plot the values c.plot(bounds: Rect (10, 10, 520, 380), discrete: true , parent: w); // a histogram of the values c.histo(500).plot ...
-
... Methods *new (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@height. ( w = Window ( "NumberBox Example" , Rect (100, 500, 400, 120)); b = NumberBox (w, Rect (150, 10, 100, 20)); b.value ...
-
... ; ) x.free; // IFFTed frames contain the same windowed output data b.plot( \b , Rect (200, 430, 700, 300)); c.plot( \c , Rect (200, 100, 700, 300)); //// Multiple Magnitude plots ( x = { var in, chain, chainB, chainC; in = WhiteNoise .ar; c ...
-
... desired size and position where to display a JITGui. can be nil, a point, or a rect. JITGuis know their minimum size ( minSize), and if bounds is nil, minSize is used. if bounds is a point or rect, it will be set to at least minSize. With ...
-
... desired size and position where to display a JITGui. can be nil, a point, or a rect. JITGuis know their minimum size ( minSize), and if bounds is nil, minSize is used. if bounds is a point or rect, it will be set to at least minSize. With ...
-
... l argument in SCWindow:new. You do not need to create instances of this class directly. See also: SCWindow GUI SCScrollView Setting the Internal Bounds The size of the contained 'canvas' is determined by the bounds of the views which it enc ...
-
... Methods *new (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@height. ( w = Window .new.front; m = PopUpMenu (w, Rect (10,10,180,20)); m.items = [ "linear" , "exponential" , "sine" , "wel ...
-
... oreArgs| view.value_(theChanger.value); }); view = Slider ( Window ( "slider" , Rect (100, 100, 330, 38)).front, Rect (5, 5, 320, 20)); view.onClose_{controller.remove}; // run a routine to change the model's value: r{ 100.do{ model.value_( ...
-
... title bar. An instance of String or Symbol . The default is 'panel'. bounds - A Rect or Point specifying the size of the window. The size does not include the title bar. N.B. App Modal windows are centred on the screen when created, so if y ...