Message123559
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. |
|
Date |
User |
Action |
Args |
2010-12-07 15:58:43 | ronaldoussoren | set | recipients:
+ ronaldoussoren, kbk, taleinat, benjamin.peterson, ned.deily, eric.araujo, Bruce.Sherwood |
2010-12-07 15:58:43 | ronaldoussoren | set | messageid: <1291737523.06.0.856869581624.issue10404@psf.upfronthosting.co.za> |
2010-12-07 15:58:41 | ronaldoussoren | link | issue10404 messages |
2010-12-07 15:58:41 | ronaldoussoren | create | |
|