SCWindow { classvar <>allWindows, initAction; var dataptr, onClose, drawHook; var toFrontAction, <> endFrontAction; var constructionView; var CODE"]]) .canFocus_(false).action_{ Document("window construction code", win.asConstructionCompileString); }; w.view.decorator.nextLine; // c = [SCSlider, SCRangeSlider, SC2DSlider, SCPopUpMenu, SCButton, // SCNumberBox, SCMultiSliderView, // SCStaticText, SCDragSource, SCDragSink, SCDragBoth, // ]; c = SCView.allSubclasses.reject{|it| (it.superclasses.indexOf(SCContainerView).notNil or: (it.name === 'SCContainerView') or: (it.name ==='SCStaticTextBase') or: (it.name === 'SCSliderBase') or: (it.name === 'SCControlView')) }; c.do({ arg item; var n; n = SCDragSource(w, Rect(0, 0, 140, 24)); n.object = item; try{ item.paletteExample(w, Rect(0,0,140,24)); }{ "no paletteExample found".warn; }; w.view.decorator.nextLine; }); win.onClose_{ Document("window construction code", win.asConstructionCompileString); w.close }; ^w } */ storeArgs{^[name, this.bounds]} storeModifiersOn{|stream| stream << ".front;"; } } SCAbstractModalWindow : SCWindow { front { this.shouldNotImplement(thisMethod); } userCanClose_ { this.shouldNotImplement(thisMethod); } } SCModalWindow : SCAbstractModalWindow { classvar