-
... me restore bounds rect of a currently open window by window name. . makeFuncs a dictionary of window-making functions . addMake add a make function to makeFuncs by name . make make the window with that name . showOrMake if a window with tha ...
-
... this.dispose(); } closeView { patternBoxView.close(); } getState { var state = Dictionary(); state[\type] = "PatternBoxLauncherItemView"; state[\patternBoxState] = patternBoxView.getState(); state[\patternBoxName] = patternBoxName; state[\ ...
-
... e(server); } The function uses the value of ~type to select a function from the Dictionary held in ~eventTypes. helpfile source: /usr/local/share/SuperCollider/HelpSource/Overviews/Event_types.schelp link::Overviews/Event_types::
-
... ind stream for its next value, the result is an object called an Event . Like a Dictionary (which is a superclass of Event), an event is a set of "key-value pairs": each value is named by a key. e = (freq: 440, dur: 0.5); // an Event e.at( ...
-
... > globalDur; var <> globalAttackDur; var <> globalReleaseDur; *initClass{ dbs = Dictionary.new; } *new{ ^super.new.init(); } *db{|name| ^this.class.dbs.at(name); } init{ var timestamp = Date.getDate.format("%m%H%M%S"); var serialNumber = 0; ...
-
... is.makeDefaultStyles(skin); numRows = argNumRows; numCols = argNumCols; boxes = Dictionary.new; handlers = IdentityDictionary.new; bounds = argbounds ?? {Rect(20, 20, min(numCols * 100,1000), numRows * skin.buttonHeight)}; bounds = bounds.a ...
-
... dentifierCodes = (65..90) ++ (97..122) ++ (48..57) ++ $_.ascii ++ 127; states = Dictionary[ // matchItem is done on unicode value from keystroke // arrow keys, pass to default action of the view who has focus now (65361..65364) -> { |instan ...
-
... ew Inherited class methods Instance methods initElements initCollectives oscFuncDictionary closeDevice cleanupElementsAndCollectives send source destination recvPort updateSrcAddr updateDstAddr updateSrcDstAddr Inherited instance methods Cl ...
-
... IdentitySet) classvar <all; classvar <>timeout = 3; *initClass { all = IdentityDictionary.new; } // 'object' should be a Node *cache { |object, function| var coll = this.findCollFor(object, function); ^if(coll.notNil) { coll } // else nil ...
-
... ctl, controls, learning; var aliveThread, addr; *initClass { profiles = IdentityDictionary[ \openstage -> { var out = IdentityDictionary.new; var spec = [0, 1].asSpec; (1..24).do { |i| var digits = if(i >= 10) { 2 } { 1 }; out.put( ("/fader ...