-
... the machine It is not possible to enter a class definition into an interpreter window and execute it. Inheriting NewClass : SomeSuperclass { } Without specifying a superclass, Object is assumed as the default superclass. NewClass { // : Ob ...
-
... you can write: CmdPeriod .doOnce { "foo" .postln } // a typical example: ( w = Window .new( "close on cmd-." ).front; CmdPeriod .doOnce { w.close }; ) // in some cases you might need to defer the function by a short amount of time a = { Sy ...
-
... e buffer: p.defineKey( "hello", { "hey there".postln; } ); // type hello on the window and look at the postbuffer p.front; p.defineKey( "hey there", { "hello".postln; } ); // type hey there and look at the postbuffer p.front; // put some te ...
-
... y finished yet. Common slot numbers across platforms are not yet guaranteed. On Windows there is not yet a proper implementation available. Accessing Instance and Class Variables debug_( arg onoff ) Turns on debugging for the slot. value Ge ...
-
... name with "_rewritten." appended. If open is true (default: true), open a text window with the string. // example use: History .clear.end; // clear to start over History .start; // starts recording, opens log file // execute these lines on ...
-
... w An oscilloscope-type view. See also: SCStethoscope , SCFreqScope , SCFreqScopeWindow Some Important Issues Regarding SCScope SCScope can only work with the internal Server . Creation / Class Methods *new (parent, bounds) parent - The pare ...
-
... ng drag and drop, defining mouse actions, and defining key actions. See also: SCWindow , GUI Some Important Issues Regarding SCView If you try to set parameters of a GUI widget from a Routine , which uses the SystemClock by default, you mus ...
-
... methods isCaps, isShift, isCtrl, isAlt, isCmd, isNumPad, isHelp, isFun : ( w = Window .new.front; w.addFlowLayout; // direct, using bit field Button (w, Rect (0,0,390,50)).states_([[ "hold shift/alt keys and click" ]]) .action_ { |but, mod ...
-
... nt variable ~myVar=12 in the current Environment, you can create a new Document window in which that Environment variable is not set. Creation / Class Methods *new (title, string, makeListener, envir) title - An instance of String or Symbol ...
-
... is is used by Buffer , etc. By default this is "/tmp/" for Linux and OSX, and "/WINDOWS/TEMP/" for Windows. Instance Methods fileName returns just the name of the file itself; i.e. everything after the last slash in the full path. ( var myP ...