-
... Marinus Klaassen (2012, 2021Q3) EXAMPLE: a = SCMMessageLabelView(bounds:400@50).string_("test").front a.clear */ SCMMessageLabelView : StaticText { *new { | parent, bounds | ^super.new(parent, bounds).visible_(false); } string_ { |string| s ...
-
... d("Pbind")-1); argNames = this.argNames; patType = Pseq; argNames.do{|item| var string; string = ("Pdefn('" ++ argNames[0] ++ "_" ++ item ++ "', " ++ patType.asString ++ "(" ++ item ++ ", inf))").asString; part2 = part2.replace(item.asStrin ...
-
... thisProcess.interpreter.preProcessor; thisProcess.interpreter.preProcessor = { |string| if(isPermitted(this, string).not) { "GLOBOL DOES NOT PERMIT THIS INPUT".warn; } { this.distribute(string); // SEND TO EVERYWHERE interpret(process(this, ...
-
... cordHistory, startTime, historyPath, <keyFunc, <callwin, <backgroundColor, <>varString, <>replace=false; *new {arg window, bounds, font, qpalette, settings, postWhere, postType, postWin, postBool, storeSize=10; ^super.new.initCallWindow(win ...
-
+ String { wordBins {|minLengthOfWords = 2, stopList| var index = 0, size, bj = 0, raw, strings, numAppearances; minLengthOfWords.postln; stopList = stopList ? #[]; raw = this .tr($\t, $ ).tr($\n, $ ) // replace \n, \t with blank .tr($(, $ ...
-
OSCIIRadioButton { var <>action, <>button, <>valueText, stringview, font; var fillcolor; *new { arg w, bounds, string; ^super.new.initOSCIIRadioButton(w, bounds, string); } initOSCIIRadioButton { arg w, bounds, string; var buttrect, light; ...
-
... ( target != nt ){ if ( doc.notNil ){ doc.close; } }; target = nt; } value{ |lev,string,method| var postString = string; if ( (level+globalLevel) >= lev ){ if ( method.notNil ){ postString = method + ":" + postString; }; postString = key + " ...
-
SimpleLabel : SCViewHolder { *new { arg layout,string,bounds,font; var new; new = this.prNew(layout,string,bounds,font); new.background_(Color(0.9843, 0.9843, 0.9843, 1.0)) .align_(\left); ^new } *prNew { arg layout,string,bounds,font; var ...
-
+ String { subStr { arg start=0, end; /* Returns a sub-string from start index to end index (0-based). Negative start indexes wrap around from the end. End indexes greater than string length and nil end indexes are forced to string length. ...
-
... ssName) and executing commands //Batuhan Bozkurt 2009 Executor { classvar <>lastString; *new { ^super.new.init; } init { var bnd, cmWin, tBox; bnd = Window.screenBounds; cmWin = Window("Command:", Rect((bnd.width/2) - 100, (bnd.height/2), 2 ...