Commit Graph

18 Commits

Author SHA1 Message Date
Raymond Hettinger 0e449234bf SF patch 672098: Three __contains__ implementations
Contributed by Jp Calderone.
2003-01-30 00:56:33 +00:00
Guido van Rossum 40f3c7fdf0 The lower() and tkraise() methods were calling the Canvas widget
wrongly.  Fixed this.

This closes SF bug #412682.
2001-04-10 21:13:06 +00:00
Fred Drake d038ca830f Make reindent.py happy (convert everything to 4-space indents!). 2000-10-23 18:31:14 +00:00
Guido van Rossum 00236f38da [ Bug #110677 ] PRIVATE: various minor Tkinter things (PR#388)
http://sourceforge.net/bugs/?func=detailbug&group_id=5470&bug_id=110677

Canvas.CanvasItem & Canvas.Group:
- bind lacks an optional "add" param
- unbind lacks an optional "funcid" param
- tkraise/lower should call self.canvas.tag_XXXX

(markus.oberhumer@jk.uni-linz.ac.at)

Note: I'm *not* fixing "bbox() return value is inconsistent with
Canvas.bbox()" -- it might break existing code.
2000-10-06 00:38:51 +00:00
Guido van Rossum 93d1fe1c56 From: Nicolas CHAUVAT <nico@caesium.fr>
In the bbox method of Group (Canvas.py file), you should read

	return self.canvas._getints(self._do('bbox'))

instead of

	return self._getints(self._do('bbox'))
1998-07-16 13:43:05 +00:00
Guido van Rossum c457048744 Give in to the tab police. 1998-03-20 20:45:49 +00:00
Guido van Rossum 178ff353e8 Fix bogus implementation of Group.bind().
Added unbind() to CanvasItem and Group classes.
1996-12-27 15:40:31 +00:00
Fred Drake e9c515adc7 (Canvas.py): Added definition of CanvasItem.cget() as suggested by
Nils Fischbeck.
1996-09-26 20:21:26 +00:00
Guido van Rossum 6b7a7e9fe0 Bug fixes in index&icursor suggested by Nils Fischbeck. 1996-09-11 14:23:43 +00:00
Guido van Rossum 5c1d1ee8a8 Change to allow keyword args for Group,
suggested by Nils Fischbeck, adapted by Fred
1996-09-06 21:09:31 +00:00
Guido van Rossum 5c8c91bbc5 Changes for Canvas by Fred 1996-08-22 23:18:09 +00:00
Guido van Rossum 524e9a450b Need to import * from types 1996-08-08 18:31:11 +00:00
Guido van Rossum 421bb0e389 fix canvas bind commands 1996-07-21 02:19:32 +00:00
Guido van Rossum 72e316428f made it work again with changed Tkinter 1996-05-28 23:15:20 +00:00
Guido van Rossum efa3143abd add keyword args to CanvasItem class __init__ 1996-01-26 17:45:07 +00:00
Guido van Rossum 0b0804be77 Lots of new stuff 1994-06-28 13:48:26 +00:00
Guido van Rossum fea128ecf3 Reformatted using 8-space wide tabs 1994-06-20 13:42:28 +00:00
Guido van Rossum 1846882254 Initial revision 1994-06-20 07:49:28 +00:00