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
Moshe Zadka
22710823fb
Fixed a bunch of Tabnanny errors
2001-03-21 17:24:49 +00:00
Martin v. Löwis
b21cb5fa7d
Patch #410231 : Add the Python Tix library.
2001-03-21 07:42:07 +00:00
Eric S. Raymond
fc170b1fd5
String method conversion.
2001-02-09 11:51:27 +00:00
Guido van Rossum
a659efe5c7
Patch by kragen@pobox.com: When tracing is turned on, lines shorter
...
than a pixel don't get drawn at all. If you're building long curves
made of such lines, this is a bad thing.
2001-01-01 19:11:07 +00:00
Fred Drake
132dce2246
Update the code to better reflect recommended style:
...
Use != instead of <> since <> is documented as "obsolescent".
Use "is" and "is not" when comparing with None or type objects.
2000-12-12 23:11:42 +00:00
Guido van Rossum
1378bd5b0b
Also point TK_LIBRARY to the appropriate directory.
...
Changed the landmark to tclIndex, which should occur in both.
2000-10-25 17:42:13 +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
Martin v. Löwis
4b6ea798cb
Don't rename Tkinter to Tk; closes bug 115714
...
Subclass Error from Exception.
2000-10-01 17:52:01 +00:00
Fred Drake
d2a5ad25d5
Removed some debugging prints: When running user configuration code
...
from Tk.readprofile(), do not print anything extra to stdout, just run
the code.
2000-09-15 04:41:22 +00:00
Martin v. Löwis
0d8ce6111c
Fix for bug 110629: Generate unique image names by introducing a counter
2000-09-08 16:28:30 +00:00
Fredrik Lundh
a249f16af0
Older Tk versions don't support mousewheel support. Set event.delta
...
to zero if that's the case (closes bug #113727 )
2000-09-07 15:05:09 +00:00
Fredrik Lundh
46a4151674
-- added a couple of missing Tkinter constants (canvas item styles,
...
place bordermode, etc)
2000-08-09 19:37:16 +00:00
Fredrik Lundh
24037f735f
-- don't mess up in winfo_visualsavailable if the system only
...
supports a single visual (closes bug #110603 )
2000-08-09 19:26:47 +00:00
Fredrik Lundh
289ad8f063
-- added optional newstate argument to Wm.state. The newstate arg
...
was added in Tk 8.3 (this fixes the first part of Bug #110605 )
2000-08-09 19:11:59 +00:00
Fredrik Lundh
8fffa208e0
-- use explicit conversion instead of u-string literal in the test
...
code, to make the new Tkinter.py run under 1.5.2
-- changed Text.yview argument name (for consistency with xview)
2000-08-09 18:51:01 +00:00
Fredrik Lundh
5bd2cd663d
-- added xview_moveto, xview_scroll, yview_moveto, yview_scroll
...
to the Text method (closes Bug #110605 )
2000-08-09 18:29:51 +00:00
Fredrik Lundh
06d2815350
-- untabification (use "diff -b" to verify)
2000-08-09 18:03:12 +00:00
Thomas Wouters
7e47402264
Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either
...
comments, docstrings or error messages. I fixed two minor things in
test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't").
There is a minor style issue involved: Guido seems to have preferred English
grammar (behaviour, honour) in a couple places. This patch changes that to
American, which is the more prominent style in the source. I prefer English
myself, so if English is preferred, I'd be happy to supply a patch myself ;)
2000-07-16 12:04:32 +00:00
Guido van Rossum
0a3f7978c4
Change whitespace in two places to silence tabnanny.
...
Also fix spelling tupel -> tuple.
2000-07-06 05:34:14 +00:00
Guido van Rossum
5917ecb0a4
Nils Fischbeck: added doc strings to everything. Martin von Loewis
...
has reviewed this, too.
2000-06-29 16:30:50 +00:00
Andrew M. Kuchling
e475e70128
Patch from /F:
...
this patch adds a fast _flatten function to the _tkinter
module, and imports it from Tkinter.py (if available).
this speeds up canvas operations like create_line and
create_polygon. for example, a create_line with 5000
vertices runs about 50 times faster with this patch in
place.
2000-06-18 18:45:50 +00:00
Guido van Rossum
aaa8bb4211
Work the Tcl version number in the path we search for.
2000-04-04 23:32:21 +00:00
Guido van Rossum
42405a5d7d
A version of FixTk.py that works with the way the installer now
...
installs Tcl/Tk.
2000-03-31 03:11:40 +00:00