-
... Base See also: SCDragSource , SCDragSink , SCDragBoth Users will not normally directly create instances of SCDragView, but only use it through its subclasses. The three subclasses, SCDragSource, SCDragSink, SCDragBoth, all function basicall ...
-
... Methods *new (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@height. ( w = Window .new.front; a = Slider (w, Rect (20, 60, 150, 20)); a.action = { a.value.postln }; ) Accessing Instance ...
-
... 1.0, 0.1, 0.1, inf ); c = a.asStream.nextN(500); w = Window .new( "Pbetarand" , 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 ...
-
... auchy (0.0, 1.0, inf ); c = a.asStream.nextN(500); w = Window .new( "Pcauchy" , 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 ...
-
... Ppoisson (1.0, inf ); c = a.asStream.nextN(500); w = Window .new( "Ppoisson" , 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 ...
-
... Pgauss (0.0, 100, inf ); c = a.asStream.nextN(500); w = Window .new( "Pgauss" , 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 ...
-
GUI Overview and Introduction See also: GUI-Classes , GUI , ViewRedirect . SuperCollider provides for using different gui kits, and also provides syntax for transparently writing kit and platform independent code. Two main classes control t ...
-
... Methods *new (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@height. ( w = Window .new.front; a = StaticText (w, Rect (10, 10, 200, 20)); a.string = "an instance of String" ; ) Examples ...
-
... Methods *new (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@height. Accessing Instance and Class Variables bufnum bufnum_ (num) num - An integer.The bufnum of the scope's Buffer . style ...
-
... riggered by a refresh of the parent view, drawFunc is evaluated. Using refreshInRect constrains the receiver's refresh area to the rectangle passed in a Rect (see SCView ). See also: GUI-Overview , SCWindow , Pen , Color , and String SCUser ...