homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ronaldoussoren
Recipients Bruce.Sherwood, benjamin.peterson, eric.araujo, kbk, ned.deily, ronaldoussoren, taleinat
Date 2010年12月07日.15:58:41
SpamBayes Score 4.9397436e-06
Marked as misclassified No
Message-id <1291737523.06.0.856869581624.issue10404@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010年12月07日 15:58:43ronaldoussorensetrecipients: + ronaldoussoren, kbk, taleinat, benjamin.peterson, ned.deily, eric.araujo, Bruce.Sherwood
2010年12月07日 15:58:43ronaldoussorensetmessageid: <1291737523.06.0.856869581624.issue10404@psf.upfronthosting.co.za>
2010年12月07日 15:58:41ronaldoussorenlinkissue10404 messages
2010年12月07日 15:58:41ronaldoussorencreate

AltStyle によって変換されたページ (->オリジナル) /