-
... m.valueAction_(b[i][1].unmap(b[i][2].postln))}.defer}; w = Window(); w.layout_( HLayout( VLayout(*b.collect{|item| StaticText().string_(item[0])}), VLayout(*c), VLayout(*b.collect{|item| item[3]}) )); w.front; }); ) ⧉ ✔ helpfile source: /tm ...
-
... erSubdivisions_(7) .polarity_(\bi) .value_(0.333); win.layout_( VLayout() .add( HLayout() .add(slider1) .add(slider2) .add(slider3) .add(slider4) .add(slider5) .add(slider6), 6 ) .add(hSlider, 1) ); win.front; CmdPeriod.doOnce({ win.close; ...
-
... e methods . asMenu Examples Simple checkable menu item ( ~view = View().layout_(HLayout( Button() .states_([["Options..."]]) .action_({ ~menu.front }) )); ~menu = Menu( MenuAction("enabled") .checkable_(true) .action_({ |a, enabled| if (ena ...
-
... odIndex, x); synth.set(\modFreq, y); }); var fmContainer = UserView() .layout_( HLayout() .margins_(0) .spacing_(0) .add( VLayout() .margins_(0) .spacing_(0) .add(dummyView, 1) .add(modFreqText, 7), 1 ) .add( VLayout() .margins_(0) .spacing ...
-
... make a window and a layout ( w = Window(bounds: Rect(700, 200, 200, 200)); h = HLayout(); v = VLayout(h); w.layout = v; w.front; w.alwaysOnTop = true; ) // add views step by step v.add(k = Slider()); h.add(Slider()); h.add(Slider()); k.ori ...
-
... Scroll , AbstractStepValue , Button , CheckBox , CompositeView , EnvelopeView , HLayoutView , ItemViewBase , LevelIndicator , MultiSliderView , QView , QuartzComposerView , SCScope , ScopeView , SoundFileView , TextViewBase , TopView , Tree ...
-
... organizes views in a grid Source: QLayout.sc Subclasses: QGridLayout See also: HLayout , VLayout , StackLayout , Layout Management Description GridLayout distributes its space into a grid of rows and columns , where each item can occupy on ...
-
... = false k.canFocus = true ⧉ ✔ Compare Mouse Modes ( var view = View().layout_( HLayout( VLayout(Knob().mode_(\round), StaticText().string_("round")), VLayout(Knob().mode_(\vert), StaticText().string_("vert")), VLayout(Knob().mode_(\horiz), ...
-
... ction to time-varying value. ( a = Slider(); b = Slider(); w = Window().layout_(HLayout(a,b)).front; ) ( ENdef(\x).clear; ENdef(\x, { //first slider as signal var aES = a.enInSig; var bES = b.enIn; (aES |+| bES) .enDebug("val"); }).start ) ...
-
... ", Rect(200, 300, 400, 30 * module.numCells + 100)); var l = VLayout(); var h = HLayout(l); var xsl = Set[], ysl = Set[]; var sliders, twod; var update = { |index, val| sliders[index].value = val; module.theta[index] = val * 2 - 1; module.t ...