[Python-bugs-list] [ python-Bugs-775309 ] button methods tkButtonDown, etc don't work

SourceForge.net noreply@sourceforge.net
Mon, 21 Jul 2003 14:45:45 -0700


Bugs item #775309, was opened at 2003-07-21 14:45
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=775309&group_id=5470

Category: Tkinter
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Russell Owen (reowen)
Assigned to: Nobody/Anonymous (nobody)
Summary: button methods tkButtonDown, etc don't work

Initial Comment:
The Tkinter.Button methods tkButtonDown, etc. don't work in Python 2.2.2 or 2.3b2. Sample traceback:

Traceback (most recent call last):
  File "/usr/local/lib/python2.2/lib-tk/Tkinter.py", line 1300, in __call__
    return apply(self.func, args)
  File "/Users/rowen/PythonRO/RO/Wdg/ScriptWindow.py", line 90, in run
    exec script in globals, locals
  File "<string>", line 1, in ?
  File "/usr/local/lib/python2.2/lib-tk/Tkinter.py", line 1831, in tkButtonDown
    self.tk.call('tkButtonDown', self._w)
TclError: invalid command name "tkButtonDown"

I'm not sure what's going on. I've not even been able to find tkButtonDown in the tcl/tk documentation, though a google search come up with some hits for Tcl/Tk 8.3 so it clearly existed or exists.

Details:
- This is on MacOS X 10.2.6, though I doubt it matters
- Python 2.2.2 is a standard unix build with unix/X Tcl/Tk 8.4.1 (all built from source) running with Apple's X11
- MacPython 2.3b2 (via binary installer) with aqua Tcl/Tk 8.4.3 (built from source)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=775309&group_id=5470