-
+ String{ /// returns a dictionary with stats of the named process getStats{ var stats; stats = ("ps -C \""++this++"\" u").unixCmdGetStdOut; // stats.postcs; // some reformatting: stats = stats.split($\n).collect{ |it| it.split($ ) }.do{ |i ...
-
... MENT_FRAGMENT, "#document-fragment"); } // end new // --- format(indentLevel) : String --------------------------------------- // format { arg indentLevel; // type int var xml = ""; if ( indentLevel == nil, { indentLevel = 0 }); this.getChi ...
-
... ummy Republic post view with RePost q.pr = TextView(w, Rect(0,0,500,200)); q.pr.string_("... Republic posts here ..."); q.pr.background_(Color.grey(0.8)).stringColor_(Color.black); // example buttons ( q.butzone.remove; q.butzone = Composit ...
-
... path ++ id ++ ".cld"; var file; file = File(filePath, "w"); file.write(textView.string); file.close; } init{|tabView,control, tabId| id = tabId; track = CollidingTrack.new; tab = tabView.add(" " ++ id ++ " ").closable_(true) .onRemove_({|t| ...
-
+ String { // bypass cents and alt methods, causes crashes on post 3.14.0-dev uNamemidi { arg cents; // format "[notename][bb/b/#/x][octave(-9/9)]" // examples: "C#-2" , "Gbb7" // min notenr = -84 (C-9) // max notenr = 145 (Bx9) var notenam ...
-
... ey] = val; } } // move up to dictionary? // dictionary key could also be e.g. a string + IdentityDictionary { atKeys { |keys| if (keys.isKindOf(Collection)) { ^keys.collect (this.at(_)) }; ^this.at(keys); } }
-
... Row; ArgNameLabel( a ,layout,150); CXLabel(layout, " = " ++ model.defArgAt(i).asString,100); model.specs.at(i).asCompileString.gui(layout,specWidth@GUI.skin.buttonHeight); }); layout.startRow; CXLabel(layout,"outSpec:",150); CXLabel(layout, ...
-
... w; ArgNameLabel( a , layout, 150); CXLabel(layout, " = " ++ model.defArgAt(i).asString, 100); model.specs.at(i).asCompileString.gui(layout, specWidth@GUI.skin.buttonHeight); }); layout.startRow; CXLabel(layout, "outSpec:", 150); CXLabel(lay ...
-
... {starttime = newstart; isGui.if({ AppClock.sched(0.01, {window.view.children[4].string_(starttime.asTimeString); window.view.children[5].value_(starttime / sf.duration); }) }) }); } // in mixer, use initendtime to truncate initendtime_ {arg ...
-
... ances of any other class are either created internally during parsing of an XML-string, or programmatically through calls on 'DOMDocument.createElement(..)', 'DOMDocument.createText(..)', etc. DOMElement Represents an XML-tag. DOMAttr Repre ...