-
... olTip = "Press CMD + drag to move this item to another position."; mainLayout = HLayout(); mainLayout.margins = [5, 5, 20, 5]; this.layout = mainLayout; this.setContextMenuActions( MenuAction("Insert parameter before", { if (actionInsertPat ...
-
... in.layout_( VLayout( main_view ).margins_(0) ); main_view.layout_( HLayout( button_rack_view, layout ).margins_(3) ); layout.layout_( StackLayout( views[0], views[1], views[2], views[3], ).margins_(3 ...
-
... or_picker_view.background_( Color.black ); color_picker_view.layout_( VLayout( [HLayout( [helper, stretch: 1], [sv_slider, stretch: 3]), stretch: 3], [v_slider, stretch: 1], [hex_text_field, stretch: 1] ), ); color_picker_view.addUniqueMeth ...
-
... 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 ...
-
... (char == $ ) { Tdef(\u).play } { ~start.trunc.post; ",".postln; } }; w.layout = HLayout(sl); ) // e.g. put in a pseq for later on. ( Pseq([ 610, 805, 986, 298, 841, ], inf); ) // patterns // using Pwavesets, we can use wavesets in event pat ...
-
... 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 ...
-
... Text.new .font_(Font("Arial",10)) .string_("--"); knob_layout = HLayout.new( self.knob_level, self.knob_time, self.knob_curve, self.env_label ); self.update_label; self.update_knobs; ...
-
... gn_(\center) .string_("You pressed " ++ modStr ++ (code bitAnd: 0xFF).asAscii), HLayout( nil, Button().states_([["Apply and Save"]]).action_({ hotkeyCode = code; hotkeyMods = mod; this.write; window.close; }).minWidth_("Apply and Save".boun ...