Would be nice (if anyone needs it) to have a "global" access point (the World perhaps) for general notifcations as hinted at earlier. Kind of "window manager" notifications. In the individual window case, I see some use in being to pick up "reactivation" perhaps, to refresh contents etc. when costly to keep constantly in sync... Regards, Gary ----- Original Message ----- From: "Alexandre Bergel" <alexandre@bergel.eu> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, January 06, 2010 3:17 PM Subject: Re: [Pharo-project] Notifications of windows opening/closing/focus
In this email I attached a .st file. Just load it, and it will install the change set to get notifications.
I see. The fact that the actual changes are in a method makes it a bit hard to browse (I like to browse things before installing them)
Only problem is how to subscribe to a new window announcer when it pops up by any means (world menu, button, do-it....)? Should I scan World submorphs periodically? It does not seem right. Perhaps an announcement is missing in World, to notify a new window (then one can subscribe to the window)
This is not supported currently. I haven't see a situation where I personally need it. I can easily add this... Do you want me to do it?
Alexandre
A number of people already expressed their need for such an extension.
Cheers, Alexandre
<MOMorphicExtensionInstaller.st> On 4 Jan 2010, at 17:20, Gary Chambers wrote:
Nothing like that currently or previously AFAIK.
Regards, Gary
----- Original Message ----- From: "Simon Denier" <Simon.Denier@inria.fr> To: "Pharo Development" <pharo-project@lists.gforge.inria.fr> Sent: Monday, January 04, 2010 4:00 PM Subject: [Pharo-project] Notifications of windows opening/closing/ focus
Hi
How do you get notified of windows opening, closing, or getting focus in Pharo? Is there some announcements or some older events?
-- Simon
_______________________________________________ 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
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Simon
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project