-
... tionCenter : Object let an object emit notifications Source: Model.sc See also: SimpleController , NodeWatcher Description In certain cases it may be useful to make an object perform a specific function when receiving a predefined message f ...
-
... name == 'SCScrollTopView' ) { bounds.width = bounds.width - 12; }; controller = SimpleController( chain ); composite = CompositeView( parent, bounds ).resize_(5); composite.addFlowLayout( margin, gap ); composite.onClose = { |vw| controller ...
-
... = ActionFunc( \delay, { { this.rebuild }.defer( 0.01 ); }, 0.1 ); controller = SimpleController( Udef.all ); controller.put( \added, { refreshFunc.value }); if( GUI.id == \qt ) { scrollerMargin = 20 }; collapsed = collapsed ?? { () }; if( ...
-
... score.stop; }, $,, { score.playAnyway; }, ); }; } addCtrl { ctrl.remove; ctrl = SimpleController( score ); ctrl.put( \pos, { markerDict.do({ |item| item[ \setProgress ].value; }); this.setItem; }); views.treeView.onClose = { ctrl.remove }; ...
-
... undView.skin.font ?? { Font( Font.defaultSansFace, 11); }; views = (); //ctrl = SimpleController( unit ); if( (U.uneditableCategories.includes(unit.def.category) || [FreeUdef, MultiUdef, MultiChannelUdef].includes(unit.def.class)).not ) { S ...
-
... = ActionFunc( \delay, { { this.rebuild }.defer( 0.01 ); }, 0.1 ); controller = SimpleController( UMapDef.all ); controller.put( \added, { refreshFunc.value }); if( GUI.id == \qt ) { scrollerMargin = 20 }; collapsed = collapsed ?? { () }; i ...
-
... = ActionFunc( \delay, { { this.rebuild }.defer( 0.01 ); }, 0.1 ); controller = SimpleController( UMapDef.all ); controller.put( \added, { refreshFunc.value }); if( GUI.id == \qt ) { scrollerMargin = 20 }; collapsed = collapsed ?? { () }; i ...
-
... lueFunc { |element, view| var getValueFunc, value, ctrl, changed = true; ctrl = SimpleController( element ) .put( \value, { |obj| changed = true }); getValueFunc = { if( changed == true ) { changed = false; element.value; }; }; value = getV ...
-
... ) }{ currentEnvironment }; task = envir.use { Task { 1e5.wait } }; controller = SimpleController(task) .put(\userPlayed, { this.helpSynth.isPHelpSynthPlaying.if { envir.use { player = player.play(clock: clock, quant: quant.asQuant) } }{ // ...
-
... ffectsRack.out) .action_({|v| redEffectsRack.out= v.value; }); controllers.add( SimpleController(redEffectsRack.cvs.out).put(\value, {|ref| outBox.value= ref.value; }) ); outBox, RedStaticText(nil, nil, "out").maxHeight_(lh).maxWidth_(16), ...