-
... ost window Inherits from: Object The class Post is a stream destination. a = "a string" ; b = 'a symbol' ; c = 4; d = [1,2,3,4,a,b]; // post as string Post << a << Char .nl; // post as compile string Post <<< a << Char .nl; // post as strin ...
-
... nherited class methods Undocumented class methods qtClass Instance methods Data string object setBoth value valueAction Appearance align font stringColor background Actions action Drag and drop defaultGetDrag defaultCanReceiveDrag defaultRe ...
-
+ 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 ...
-
... ground_(GUI.skins.redFrik.background); } } RedButton { *new {|parent, bounds ...strings| var fnt= RedFont.new; if(strings.isEmpty, {strings= [""]}); bounds= bounds ?? {Point(strings.maxValue{|x| x.bounds(fnt).width}+14, 14)}; ^Button(parent ...
-
... nt customDecoder Inherited instance methods Examples Convert an Event to a JSON string Convert a Dictionary to a JSON string Convert a JSON string to an Event Save to file Using null Use custom en/decoders to store functions Transfer nested ...