-
... guis. First code examples: w = Window("Compass").front; z = CompassView(w.view, Rect( 200, 100,100,100)); z.action = { |comp| comp.dump }; z.nameView.string = "test"; z.value = 0; z.value = rrand(1, 8); z.valueAction = 0; z.valueAction = rr ...
-
... = Window("manta").front; h = 6.collect { |j| 8.collect { |i| var h = MHexPad(w, Rect(i * 45 + (j % 2 * 22), j * 40, 45, 45)).mode_(\noteOnLed); h.action = { |el| "pad %, % vel % \n".postf(j, i, el.value.round(0.01)) }; h.upDoesAction = true ...
-
... MTP : keydownDict defaultDrawFunc killAll uview refresh maximize minimize smallRect infoText extraText fingerCol fingerSize fingerStrings Inherited from MultiTouchPad: progpath setDevice activeBlobs fingersDict guiOn device pid isRunning p ...
-
... e . Use one of the following symbols to specify other types: \hamming \hanning \rect \welch ⧉ ✔ Inherited class methods Instance Methods . board get the board instance . fft perform FFT calculation. Arguments: data an Array of data to be an ...
-
... 't be modified. Inherited instance methods Examples ( var win = Window.new( "", Rect(0, 400, 300, 100) ); var label = GMTextView() .fontRatio_(0.4) .string_("Hello World !"); // Nest it inside a Layout win.layout_( HLayout( label, ).margins ...
-
... have KeyPlayer respond to a single button: g.close; ( w = Window("any window", Rect(0,500, 200, 50)).front; b = Button(w, Rect(10, 10, 180, 30)).states_([["I am KeyPlayer('rand')"]]); b.keyDownAction_({ |view, char, mod, uni| KeyPlayer(\rd ...
-
... nd = BPF.ar(snd, bpFreq); Out.ar(0, snd); }).play; var win = Window( "GMWindy", Rect(100, 100, 600, 400) ); var multiSlider = GMSymbol2DSlider() .min_([55, 0]) .max_([1760, 1]) .scales_([\exp, \exp]) .values_([440, 0]) .roundValues_([1, 0.0 ...
-
... isible element of which the graphical user interface is composed. It occupies a rectangular space on screen within which it draws itself to display some data or to indicate a mode of interaction between the user and the program. Views recei ...
-
... ods Examples Simple setup example : ( s.waitForBoot({ var win = Window.new( "", Rect(0, 400, 700, 300) ); var keyboard; // Using an Array to map key index // to a particular frequency var freqs = Scale.at(\chromatic).ratios * 220; freqs = f ...
-
... ////////////////////////////// ( var w, b, u, f, z, level=0; w = Window("test", Rect(40, 240, 200, 200)).front; w.view.decorator = FlowLayout(w.bounds.copy.left_(30).top_(30)); b = { |i| { |j| var c = ({ "abcd".choose } ! 3).join; Button(w, ...