Hi, we're Apple. We know that your existing code is working fine, but we're going to change things up for no good reason. Wanna buy a new underpowered Mac?
Unfortunately, it doesn't only apply to Tkinter and Python. -- Tim > On Jan 23, 2019, at 2:32 PM, bob <b...@greschke.com> wrote: > > This is handy. Instead of <Button-3> stock/default/unfiddled-with Anaconda > Tkinter is calling it <Button-2>. My Tkinter programs have been around since > 2004. I've never had to watch for <Button-2>. It must be in some > configuration file somewhere, but I'll just watch for it. Don't want the user > to have to mess around and change things. > > Never mind. :) > >> On 2019-01-23, at 14:02, bob <b...@greschke.com> wrote: >> >> I have Anaconda 3 with Python 2 and 3 environments on a MacBook running High >> Sierra. >> One section of a program creates rectangles on a canvas (plotting GPS data >> points). Binding <Button-1> to a rectangle works fine (displays info about >> the point when clicked), but binding to <Button-3> doesn't work (it should >> "zap" the point out of the list and redraw the plot). The function for >> zapping never gets called, and there's no errors in the Terminal/xterm. It >> doesn't work with the Python 2 or 3 environment. Tcl/Tk versions are 8.6/8.6 >> in both environments. Shift-clicking, control-clicking, >> shift-control-clicking on the canvas or created items seems fine. Just this >> <Button-3> deal doesn't. >> >> The same code runs fine in an Anaconda Python 3 environment in CentOS (using >> VMWare). >> A Python package we make for our programs on the Mac (and one for Linux) >> with Python 2.7.9 Tcl/Tk 8.6/8.6 which starts XQuartz on a Mac when we start >> a Tkinter program is fine (it's what some are trying to replace with this >> whole Anaconda stuff). >> Python 3 on Win10 works fine. >> >> There is some old chatter about anaconda/conda Tkinter not being great on >> Macs on the net, but I've never seen a solution to get Anaconda to use a >> different Tcl/Tk library. The Anaconda Tkinter looks like junk. Apple's >> Tcl/Tk/Tkinter has never worked/looked well. >> >> Anyone seen this <Button-3> business? Any ideas? Thanks! >> >> Bob >> >> _______________________________________________ >> Tkinter-discuss mailing list >> Tkinter-discuss@python.org >> https://mail.python.org/mailman/listinfo/tkinter-discuss >> > > _______________________________________________ > Tkinter-discuss mailing list > Tkinter-discuss@python.org > https://mail.python.org/mailman/listinfo/tkinter-discuss _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org https://mail.python.org/mailman/listinfo/tkinter-discuss