Guilherme Polo <ggp...@gmail.com> added the comment: What do you think about adding a third element for each tuple in rmenu_specs ? This new element would be a string determining the name of a function that would be called to define the state of each entry in the right menu. If None is used in place of a string, then it is assumed that the entry doesn't require such thing.
Attaching a patch that does that. It also adds cut/copy/paste to the right menu in IDLE shell. ---------- Added file: http://bugs.python.org/file14685/rightmenu_copypastecut.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1207589> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com