-
... I.font.new("Courier",12.0); height = source.split(Char.nl).size * 15 + 20; tf = TextView(layout,Rect(0,0,width,height)); tf.string = source; tf.font_(f); tf.syntaxColorize; up = Updater(model,{ source = model.funcDef.sourceCode; if(tf.isClo ...
-
... .font.new("Courier", 12.0); height = source.split(Char.nl).size * 15 + 20; tf = TextView(layout, Rect(0, 0, width, height)); tf.string = source; tf.font_(f); tf.syntaxColorize; up = Updater(model, { source = model.funcDef.sourceCode; if(tf. ...
-
... -", Rect(point.x, point.y, 766, 370), resizable: false); // main windon txtv = TextView(win, Rect(20, 10, 500, 320)) // textview .hasVerticalScroller_(true) .autohidesScrollers_(true) .usesTabToFocusNextView_(false) .focus(true) .string_(p ...
-
w = Window.new; w.layout = VLayout( Button().states_([["Foo"]]), 20, TextView().string_("Bar\nBar\nBar\n"), nil ); w.front mPage.layout_( VLayout([ Button, HLayout([ TextField(), 0.3, Button() ]), 0.2, Slider() ], Rect() // optionally give ...
-
... n be one of the following: [\pushbutton, \togglebutton, \tactilezone, \slider, \textview, \textinputview, \titleview, \accelerometer, \webview] gridCols: number of grid columns for layout gridRows: number of grid rows for layout posCol: the ...
-
... serView().minSize_(Size(winRect.width-22, winRect.height*0.75)), midiNotesText= TextView().maxHeight_(22), midiVelocitiesText= TextView().maxHeight_(22), HLayout( midiSendPop= PopUpMenu().items_(#["sCluster", "sDrone", "sGliss", "sStream-pa ...
-
... e } { j = 0; }; // Yeah. Seriously. I actually have to do this: // Document and TextView use different method names if(doc.respondsTo(\selectRange)) { doc.selectRange(pos + i, j) } { doc.select(pos + i, j) } }; ^true } { "DDWSnippets: % is ...
-
... ze = 10| var oldVal = this.perform(property); // determine optimal size (todo) ^TextView(parent, Rect(0, 0, 500, 30)) .string_(oldVal ? "add % here".format(property)) .keyDownAction_({ |v| AppClock.sched(0.01, { this.perform(property.asSett ...
-
... manager is created from a save button in the pool if(pool.notNil, { txtv = GUI.textView.new(win, Rect(10, 51, 100, 14)) .hasVerticalScroller_(false) .autohidesScrollers_(true) .focus(true) .font_(GUI.font.new("Helvetica", 9)) .string_(pool ...
-
... userView, \multiSliderView,\envelopeView,\tabletView,\soundFileView,\movieView,\textView,\quartzComposerView, \scrollView].do({ |classSelector| //\ezSlider,\ezNumber takes a point t = GUI.perform(classSelector).new(c,Rect(100,100,100,100)); ...