[Patches] [ python-Patches-946153 ] askstring => grab fail
SourceForge.net
noreply at sourceforge.net
Sat May 1 19:59:41 EDT 2004
Patches item #946153, was opened at 2004-05-01 16:59
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=946153&group_id=5470
Category: Tkinter
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: wes (wweston)
Assigned to: Martin v. Löwis (loewis)
Summary: askstring => grab fail
Initial Comment:
Calling askstring results in a "grab fail" exception
about 2/3rds of the time on redhat 9/Python 2.3.3.
By inserting one line in:
/usr/local/Python/lib/python2.3/lib-tk/Tkinter.py
//line 521
the problem seems to go away.
def grab_set(self):
"""Set grab for this widget.
A grab directs all events to this and descendant
widgets in the application."""
self.wait_visibility()############added#####################
self.tk.call('grab', 'set', self._w)
wes
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=946153&group_id=5470
More information about the Patches
mailing list