Re: [Swingosc-devel] window.isClosed at swingosc quit
Brought to you by:
sciss
From: Sc i. <co...@sc...> - 2009-03-23 14:43:29
|
hi marije, we could add a shutdown action list like in UI. however, you can probably already achieve your task by registering an observer with the swing server: g.boot; JSCWindow( server: g ).front.onClose_({ "Closed!".postln }); UpdateListener.newFor( g, { arg upd, swing; if( swing.serverRunning.not, { upd.remove; JSCWindow.allWindows.select( _.server == swing ).do( _.close )})}, \serverRunning ); g.quit; ciao, -sciss- ----- original message -------- Subject: [Swingosc-devel] window.isClosed at swingosc quit Sent: Mon, 23 Mar 2009 From: nescivi<ne...@gm...> > Hiho, > > the status of whether or not windows are closed is not updated when swingosc > > itself was quit. > > Since I use SkipJack's quite a lot that update Gui windows, which get > stopped, > once the window is closed that they update, this is a problem, e.g. when for > > some reason you have to quit and restart swingosc. > > Would it be possible to add something that sets all open windows to be > closed, > once quit is called on SwingOSC? > > sincerely, > Marije > > ---------------------------------------------------------------------------- > -- > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Swingosc-devel mailing list > Swi...@li... > https://lists.sourceforge.net/lists/listinfo/swingosc-devel > --- original message end ---- |