Ronald Oussoren <ronaldousso...@mac.com> added the comment:

The patch binds the menu to Ctrl-Button-1 (that is, the way you open context 
menu's on OSX systems with a single button), however rightclick still doens't 
work (but does an X11-style paste operation).

I propose adding an explicit binding for button-2 as well:

            text.bind("<Control-Button-1>",self.right_menu_event)
            text.bind("<Button-2>",self.right_menu_event)

This ensures that the context menu can be opened using the expected mouse 
button.

An IMO additional bonus is that the odd X11-style pasting behaviour is disabled 
(that is, right-click is no longer equivalent to Cmd-V), although one could 
claim that this breaks backward compatibility.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10404>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to