-
... on like `view.action = {...}`, but runs it with the view's source: // \menu for PopUpMenus and lists and \button for buttons (posted on radpost), // \gui for sliders, knobs and text fields (posted on radpostcont). // See Design Principle 1. ...
-
... ); win.layout= VLayout( HLayout( StaticText().string_("Presets:"), [presetsPop= PopUpMenu(), stretch:1] ), HLayout( StaticText().string_("Amplitudes:"), amplitudesTypePop= PopUpMenu().items_(#["Floats (0-1)", "MIDI Velocity (0-127)", "dB"]) ...
-
... s: 2), \numOutputBusChannels: (\type: NumberBox, \pos: 3), \sampleRate: (\type: PopUpMenu, \pos: 4), \blockSize: (\type: NumberBox, \pos: 5), \memSize: (\type: NumberBox, \pos: 6), \numPrivateAudioBusChannels: (\type: NumberBox, \pos: 7), \ ...
-
... out_(VLayout( HLayout( StaticText().string_("Theme").maxWidth_(50), themePopup= PopUpMenu().items_(themes) ), nil, StaticText().string_("Shortcuts for launching instruments and/or bring to front"), HLayout( StaticText().string_("key 'ctrl'" ...
-
... iew, Rect(argBounds.left, argBounds.top, argBounds.width, 20)); targetAppMenu = PopUpMenu(myView, Rect(0, 0, (argBounds.width/2)-5, 20)) .action_ ({|menu| if(menu.value == 0, { currentSelPlugin = nil; currentSelParam = nil; targetParamMenu. ...
-
/* FILENAME: PopUpMenuFactory DESCRIPTION: Factory class AUTHOR: Marinus Klaassen (2021Q4) */ PopUpMenuFactory { *createInstance { |caller, class| var newInstance = PopUpMenu(); class = class.asString(); ^newInstance; } }
-
... etColumnStretch(0,1); mainLayout.setColumnStretch(1,1); mainLayout.addSpanning( PopUpMenu() .items_(MIDIClient.destinations.collect(_.device)) .action_({ | caller | this.setDevice(caller.value); }) ,0,0,1,2,\center); mainLayout.add( Button( ...
-
... - INPUT CHANNEL GUI.staticText.new(win, Rect(10, 9, 40, 16)).string_("in"); GUI.popUpMenu.new(win,Rect(35, 10, 50, 16)) .items_(if(channels==1, {monoChList},{stereoChList})) .value_(inbus) .background_(Color.white) .font_(GUI.font.new("Helv ...
-
... - INPUT CHANNEL GUI.staticText.new(win, Rect(10, 9, 40, 16)).string_("in"); GUI.popUpMenu.new(win,Rect(35, 10, 50, 16)) .items_(if(channels==1, {monoChList}, {stereoChList})) .value_(params[0]) .background_(Color.white) .font_(GUI.font.new( ...
-
... - INPUT CHANNEL GUI.staticText.new(win, Rect(10, 9, 40, 16)).string_("in"); GUI.popUpMenu.new(win,Rect(35, 10, 50, 16)) .items_(if(channels==1, {monoChList},{stereoChList})) .value_(params[0]) .background_(Color.white) .font_(GUI.font.new(" ...