-
... ndows to snoop in 5.do { | i | var w, b; w = Window.new("snoop " ++ i.asString, Rect.new( 200 + 400.rand, 69 + 300.rand, 172, 90 )); w.front; b = Button.new( w, Rect.new( 23, 28, 127, 25 )); b.states = [["BLAM-O", Color.red]]; } ) Window.al ...
-
... es_(0.25!7) ]); 1.wait; }; }).play(TempoClock.default); { var win = Window( "", Rect( 0, 0, 600, 400 ) ); var multiSlider = GMLineMultiSlider() .values_(levels) .actionMode_(\index) .action_({ |index, value| levels[index] = value; }); win.l ...
-
... e regarding controller gets invoked. WARNING: Do not try to change the models directly, e.g. by doing something like myWidget.wdgtControllersAndModels.someModel = someValue Models are designed for internal bookkeeping and all methods within ...
-
... a. Inherited instance methods Examples ( w = Window.new.front; a = TextField(w, Rect(10, 10, 150, 20)); a.string = "hi there"; a.action = { |field| field.value.postln }; ) // does not do the action a.value = "yo"; a.string = "oy"; a.valueAc ...
-
... malized 0.0-1.0 cycle, which is then scaled up according to 'dur' (expressing directly the idea of "18 to 30 notes within the specified duration"). ( p = Pspawner { |sp| var notes, dur; loop { notes = Pseries( rrand(-9, -5), Pconst(16, Pwra ...
-
... Methods . new Create an ActionMenu Arguments: parent The parent view. bounds A Rect name The Menu Button Title items An Array of String , Association (\key->function), MenuAction , or ActionQSubMenu . NOTE: items A String is interpreted as ...
-
... nset: 5@5); b=NumberBox(w,40@27).value_(1); q.target=b; w.startRow; // fill the rect b=NumberBox(w,40@27).value_(1); StepButton(w,27@27,target:b,eq:false); w.startRow; // inset the icon, and no eq c=EZSlider(w,300@27,"demo", [0,10,'linear', ...
-
... e instance of View or Window that the new View will become a child of. bounds A Rect or a Point describing size and position of the new View. If a Point is given, its coordinates will denote the view's size, while the view's position will b ...
-
... on : asControlInputFor { |server, startPos| ^this.value( server, startPos ) } + Rect : asControlInput { ^this.asArray } + Boolean : asControlInput { ^this.binaryValue } + Point : asControlInput { ^this.asArray } ⧉ ✔ Other objects that can b ...
-
... lotter.parent.close; m.plotter.name_("plot some fake data"); m.plotter.bounds_( Rect(100, 100, 700, 700)) m.plotter.makeWindow; // also, all the keyboard shortcuts from Plotter work (found in the Plotter helpfile) ⧉ ✔ helpfile source: /tmp/ ...