[Idle-dev] Extends an events

Guido van Rossum guido@python.org
Thu, 02 Mar 2000 09:04:02 -0500


> I thin over adding a "Recent files" list for the IDLE file menu.
> My first thought was to use extend.py but I dont know how I can capture
> the "Open event".
> 
> Is this possible  with extend.py ???
> 
> If this is not already possible to capture the menu events without changeing
> the
> IDLE Source I think this should be added.
> 
> Such a feature is very usefull for file locking or check in / check out
> mechanisms.

To add Recent files, you would have to modify the "open" command.

The menus are configurable by extensions, but capturing standard menus
is not possible yet.  Can you suggest an architecture for that?

--Guido van Rossum (home page: http://www.python.org/~guido/)