[ python-Bugs-1362475 ] Text.edit_modified() doesn't work

SourceForge.net noreply at sourceforge.net
Mon Nov 21 04:14:00 CET 2005


Bugs item #1362475, was opened at 2005-11-20 22:13
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=1362475&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tkinter
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Ron Provost (ronpro at cox.net)
Assigned to: Martin v. Löwis (loewis)
Summary: Text.edit_modified() doesn't work

Initial Comment:
Tkinter's Text widget has a method edit_modified()
which should return True if the modified flag of the
widget has been set, False otherwise.  It should also
be possible to pass True or False into the method to
set the flag to a desired state.  The implementation
retrieves the correct value, but then calls
self._getints( result ).  This causes an exception to
be thrown.

In my build, I found that changing the implementation
to the following appears to fix the function.

  return self.tk.call( self._w, 'edit', 'modified', arg )



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

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


More information about the Python-bugs-list mailing list