-
... is returned by Pen when CocoaGUI is in use. The examples below use the ViewRedirect subclass, Pen . See also: SCWindow , SCUserView , Color , and String Drawing Methods The following methods define paths. You will need to call *stroke or * ...
-
... ght of hand in the implementation, using the port keys as getters and setters directly. The following two lines of code are thus equivalent: myQCView.setInputValue( \valueIn , 1); myQCView.valueIn = 1; Creation / Class Methods *new (parent, ...
-
... Methods *new (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@height. ( w = Window .new.front; a = SCLevelIndicator (w, Rect (10, 10, 20, 160)); ) Accessing Instance and Class Variables v ...
-
... Methods *new (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@height. ( w= Window .new( "Knob" , Rect (640,630,270,70)).front; k = Knob .new(w, Rect (20, 10, 48, 48)); k.action_({ |v,x,y, ...
-
... Methods *new (parent, bounds) parent - the parent view. bounds - an instance of Rect , or a Point indicating width@height. Subclassing and Internal Methods The following methods are usually not used directly or are called by a primitive. Pr ...
-
... mClock by default, you must wrap it in a deferred function: { myWindow.bounds_( Rect(100,500,200,200) ) }.defer . You do not need to use .defer, if you use the AppClock . Creation / Class Methods *new(name, bounds, resizable, border, server ...
-
... var a; a = { |i| var w, b, x,k,t,p; k=i; i = i + 1; w = Window ( "resize:" +i, Rect (10 + (k%3 * 220), Window .screenBounds.height- [250,460,670].at(k/3), 200, 180)); b = w.view.bounds; x = CompositeView (w, w.view.bounds.insetBy(20,20)) . ...
-
... Methods *new (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@height. ( w = Window ( "2DSlider" , Rect (100,100, 140 ,140)).front; t = Slider2D (w, Rect (20, 20,80, 80)) .action_({ |sl| [ ...
-
... ProxyMixer, TdefAllGui, and PdefAllGui. ( w = Window .new( "EZScroller test" , Rect (100, 400,200, 100)).front; // 5 displays v = { |i| DragBoth .new(w, Rect (0, i * 20, 100, 20)) }.dup(5); // 12 items a = (1..12); e = EZScroller (w, Rect ...
-
... Methods *new (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@height. ( w = Window .new( "The Four Noble Truths" ); b = Button (w, Rect (20,20,340,30)) .states_([ [ "there is suffering" , ...