-
... .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 ...
-
... i Opens the snippet-selection window. Arguments: doc An instance of Document or TextView . If not specified, the default is Document.current . After selection, the snippet will be inserted into this view's contents. . insert Insert a snippe ...
-
... 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 ...
-
... mberBox.value])}; }) .font_(Font("Helvetica", 32)); ~received = TextView(w, Rect(750, 95, 170, 60)) .visible_(false) .editable_(false) .string_("received") .font_(Font("Helvetica", 42)) .stringColor_(Colo ...
-
... vieView SCMovieView JSCMovieView canvas for movie (QuickTime) and image display TextView SCTextView JSCTextView multiline text editor ----------------- SCQuartzComposerView ----------------- view for displaying QuartzComposer documents ---- ...
-
... 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 ...