AW: [Idle-dev] Extends an events
Guido van Rossum
guido@python.org
Thu, 02 Mar 2000 11:17:56 -0500
[Matthias Barmeier]
> Every menu item will register an a central "event manager". The
> event manager will store the menu items name like "File/Open..." as
> key in a dictionary. When registering the calling extension will
> transmit the callback for the default function to the event manager
> too. The callback is stored in an array attached to the dictionary.
[...code stripped...]
I don't understand why you need the type argument. And why you need
to pass results between the handlers?
Tcl already has an event/binding management architecture; see the
bindtags command
(http://dev.scriptics.com/man/tcl8.3/TkCmd/bindtags.htm).
I would like to build on that if possible.
--Guido van Rossum (home page: http://www.python.org/~guido/)