this is the same as before except you have a full object instead of a symbol. You register interest in something and when this event occurs you get an object containing the information you need not only a symbol. stef
Exists some manual or tuto for explanation of use? I see a tuto of Cincom Smalltalk, but im not sure of understand it :|
Stéphane Ducasse-2 wrote:
On Sep 7, 2009, at 2:37 PM, nullPointer wrote:
What do you mean? That you use Announcements?
I use #triggerEvent: mechanism, but hided. I dont know of Announcements ; what is the difference?
with announcement you get an object around and not just a symbol. For the future use announcement since it is the new standard for notification in Smalltalk
Basically the control when want launch a event (for example the click) call the message #raiseOnClick:args: where the first parameter is the sender of event, and the second parameter is the click event.That is always works of that way in the widgets events.
Regards -- View this message in context: http://n2.nabble.com/CLFramework-UIBuilder-tp3594252p3597137.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
_______________________________________________ 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
-- View this message in context: http://n2.nabble.com/CLFramework-UIBuilder-tp3594252p3606145.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project