-
... der(); b = Slider(); w = Window(bounds:Rect(200,200,200,100)).layout_( HLayout( StaticText().string_("In:"), a, StaticText().string_("Out:"), b ) ); w.front; ) //start event graph ( ENdef(\graph1,{ //in var aSig = a.enIn; //try changing the ...
-
... r dragged.".warn; }; }; // Middle: display selected folder displayText = StaticText().align_(\center).string_("Selected Folder: None"); // 2. Extension input extFieldInitialString = "2. File Extension (txt or scd) to Merge"; ext ...
-
... [selectedMIDIOutName] }; mainLayout.add(popupMenuMIDIOuts); labelErrorMessage = StaticText(); labelErrorMessage.visible = false; mainLayout.add(labelErrorMessage); } dispose { dependants.remove(this); } getState { var state = Dictionary(); ...
-
... umber.action= {|view| view.value= view.value.max(0); flt.factor= view.value; }; StaticText(win, Rect(110, 10, 300, 20)).string_("factor. lower is smoother"); slider= Slider(win, Rect(10, 40, 20, 350)); slider.value= flt.val; plot= MultiSlid ...
-
... nerBounds) .color_(drawColor) .stringAtPoint(string, Point(1, 1)) }); // text = StaticText(view, bounds.insetBy(1, 1).moveTo(1, 1)).background_(Color.white); view.keyDownAction = { |view, char, modifiers, unicode| this.doKey(char, modifiers ...
-
... nerBounds) .color_(drawColor) .stringAtPoint(string, Point(1, 1)) }); // text = StaticText(view, bounds.insetBy(1, 1).moveTo(1, 1)).background_(Color.white); view.keyDownAction = { |view, char, modifiers, unicode| this.doKey(char, modifiers ...
-
... do not require the Cmd/Ctrl key to be held down to initiate dragging . Akin to StaticText they can store arbitrary content in the -object variable, and display it using Object: -asString . You can set the displayed text separately using -s ...
-
... ("WARNING", Rect(0,0,300,100).center_( Window.availableBounds.center )); text = StaticText(win); text.string = string; text.align = \center; button1 = Button(win).states_([["Yes"]]).maxWidth_(75); button1.action = {yesfunc.value; win.close} ...
-
... singleWindow = bt.value.booleanValue; }); composite.decorator.nextLine; // name StaticText( composite, labelWidth@14 ) .applySkin( RoundView.skin ) .string_( "name" ) .align_( \right ); views[ \name ] = TextField( composite, 84@14 ) .applyS ...
-
... .fillColor = Color.white; Pen.fillRect(tooltipWindow.bounds); }); tooltipText = StaticText(tooltipWindow, Rect(5, 2, text.size * 8 + 10, 16)) .string_(text) .align_(\left) .background_(Color.grey(0.9)) .font_(Font("Helvetica", 12)); tooltip ...