Gary, It would also be nice to know about menus that open, but that is probably a matter to be taken up with the individual tool shell as it is opened. Either way, this sounds like a great start. Thanks to all involved for working on this! Bill -----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Gary Chambers Sent: Thursday, January 07, 2010 6:50 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] Notifications of windows opening/closing/focus I think the annnouncements should be sent by the World (being, effectively, the window manager). Too many ways to open open a window exist and only the fact of being added to the World seems consistent. I suggest opened, closed, activated (becoming topmost-ish), deactivated, expanded, collapsed, restored and maybe repositioned/resized would be useful. Regards, Gary ----- Original Message ----- From: "Henrik Sperre Johansen" <henrik.s.johansen@veloxit.no> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, January 06, 2010 9:53 PM Subject: Re: [Pharo-project] Notifications of windows opening/closing/focus
On 06.01.2010 22:36, Simon Denier wrote:
On 6 janv. 2010, at 18:42, Gary Chambers wrote:
Indeed. Would be nicer if there was a proper announcement protocol for such things though.
I see, updateTasks is called everytime a change in layout happens then. Indeed, it looks like announcements will greatly simplified the trick.
I am not sure where to do the announcement though. Does any top window uses openInWorld to add itself to World?
My guess would be that at the end of SystemWindow>> openAsIsIn: would be the the simplest place to put it.
Cheers, Henry
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project