-
... {} onDependantsNotEmpty {} onDependantAdded {} onDependantRemoved {} update { |object, what ...args| dependants.do { |item| item.update(object, what, *args); } } // chaining forwarders chain { |class ...args| var newForwarder = class.new(* ...
-
DeferredView { var <view, <>action, <objects, <value; *new { |view| ^super.newCopyArgs( view ).init; } undefer { ^view.action_( action ); } defer { ^this } init { action = view.action; view.action = { |view ...args| this.updateObjects; acti ...
-
WatchList { classvar <getFuncs; var <object, <>getFunc, <>keepGone; var <list, <skip; *initClass { // lookup for getFuncs getFuncs = (); } *new { |object, getFunc, keepGone = true, skip = true, halo = true| ^super.newCopyArgs(object, getFun ...
-
... se); scroller.slider.resize_(3); } checkUpdate { var overflow, tooMany; names = object.keys.as(Array); try { names.sort }; overflow = (names.size - numItems).max(0); if (overflow > 0) { scroller.visible_(true); scroller.numItems_(names.size ...
-
... omatic AbstractChuckNewDict IdentityDictionary Automatic creation types are for objects which may have an unlimited number of instances (such as process prototypes or bound processes): PR ( \aiMel ) => BP ( \mel1 ); prNew types require you ...
-
... omatic AbstractChuckNewDict IdentityDictionary Automatic creation types are for objects which may have an unlimited number of instances (such as process prototypes or bound processes): PR ( \aiMel ) => BP ( \mel1 ); prNew types require you ...
-
... ; } { ^MethodSlot.prNew().init(obj, method); }; } *prNew { ^super.new } init { |object, methodString| reciever = object; methodName = methodString.asString.split($()[0].asSymbol; updateFunc = MethodSlot.makeUpdateFunc(reciever, methodString ...
-
... D_ToolboxWindow()\ \ GD_ToolboxWindow is a GUI designer tool that lets you draw objects in a window then generates the code from your design.\ \ keys and behavior:\ select view(s) and apple-drag between windows to copy\ select view(s) and a ...
-
... <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 } *register { |object, ...
-
... xtended features: // -> auto drawing function with nice cenital perspective and object names and shapes display // -> dictionary for storing objects by name // -> internal timing functions for the simulation // -> OSC messages with adjustab ...