Commit graph

330 commits

Author SHA1 Message Date
Hirokazu Yamamoto
007ee17e21 Issue #3774: Fixed an error when create a Tkinter menu item without command
and then remove it. Written by Guilherme Polo (gpolo). Backport of r67082.
2008-11-03 18:18:08 +00:00
Georg Brandl
4235e6f111 #3968: fix missing update() call in end_fill(). 2008-09-26 07:17:03 +00:00
Georg Brandl
00d71436c7 #3969: fix typo in turtle.py. 2008-09-26 07:14:57 +00:00
Robert Schuppenies
8a8bfa0bc7 Issue #1342811: Fixed broken patch.
Backport from trunk r65971.
2008-08-22 08:20:35 +00:00
Robert Schuppenies
78813dccd8 Issue #1342811: Fix leak in Tkinter.Menu.delete. Commands associated to
menu entries were not deleted.

Backport from trunk r65622.
2008-08-10 11:19:25 +00:00
Martin v. Löwis
c7af7f36a6 Issue #799428: Fix Tkinter.Misc._nametowidget to unwrap
Tcl command objects.
Backport of r65399.
2008-08-02 07:21:06 +00:00
Georg Brandl
7eb4a82182 Fix tkinter sequence passing. #2906. Backport from r63914. 2008-06-03 10:26:21 +00:00
Georg Brandl
1a34834e09 Backport r63776: tkinter fixes. 2008-05-31 18:34:27 +00:00
Georg Brandl
f2944600bd Fix #1771558 (already fixed in trunk). 2007-08-10 17:29:51 +00:00
Neal Norwitz
44dab0ab2f Whitespace normalization 2007-04-25 06:42:41 +00:00
Martin v. Löwis
0e64202fd7 Patch #1472877: Fix Tix subwidget name resolution. 2006-11-18 18:42:22 +00:00
Martin v. Löwis
e350c840b3 Patch #1594554: Always close a tkSimpleDialog on ok(), even
if an exception occurs.
2006-11-18 18:05:57 +00:00
Martin v. Löwis
ce9212f018 Patch #1538878: Don't make tkSimpleDialog dialogs transient if
the parent window is withdrawn. This mirrors what dialog.tcl
does.
2006-11-18 18:00:34 +00:00
Andrew M. Kuchling
e2222a083b Fix docstring punctuation 2006-07-29 14:43:55 +00:00
Martin v. Löwis
426f4a1c65 Patch #1524429: Use repr instead of backticks again. 2006-07-18 17:46:31 +00:00
Tim Peters
12c00f79bc Whitespace normalization. 2006-07-11 02:17:48 +00:00
Martin v. Löwis
06c68b800c Patch #1519566: Remove unused _tofill member.
Make begin_fill idempotent.
Update demo2 to demonstrate filling of concave shapes.
2006-07-10 22:11:28 +00:00
Tim Peters
63597f129d Whitespace normalization. 2006-07-08 19:55:05 +00:00
Martin v. Löwis
2b88f63a3c Bug #1514693: Update turtle's heading when switching between
degrees and radians.
2006-07-03 10:19:49 +00:00
Martin v. Löwis
4c4300de4e Reimplement turtle.circle using a polyline, to allow correct
filling of arcs. Also fixes #1514693.
2006-07-03 10:05:30 +00:00
Martin v. Löwis
bd39c03c9f Only setup canvas when it is first created.
Fixes #1514703
2006-07-03 09:44:00 +00:00
Georg Brandl
1be63af41d Fix end_fill(). 2006-06-28 20:23:25 +00:00
Tim Peters
43bc3788c0 Whitespace normalization. 2006-06-19 07:45:16 +00:00
Neal Norwitz
210262c0ec Fix typo in docstring 2006-06-17 22:37:45 +00:00
Martin v. Löwis
6fb20aa92c Patch #815924: Restore ability to pass type= and icon= 2006-06-17 19:03:26 +00:00
Martin v. Löwis
3798da0f92 Patch #812986: Update the canvas even if not tracing. 2006-06-17 18:44:27 +00:00
Martin v. Löwis
92733be85e Patch #1494750: Destroy master after deleting children. 2006-06-17 09:25:15 +00:00
Martin v. Löwis
5ecad9ca13 Patch #1096231: Add default argument to wm_iconbitmap. 2006-06-17 09:20:41 +00:00
Martin v. Löwis
337487e3b8 Patch #763580: Add name and value arguments to
Tkinter variable classes.
2006-06-17 09:15:14 +00:00
Martin Blais
215f13dd11 Normalized a few cases of whitespace in function declarations.
Found them using::

  find . -name '*.py' | while read i ; do grep 'def[^(]*( ' $i /dev/null ; done
  find . -name '*.py' | while read i ; do grep ' ):' $i /dev/null ; done

(I was doing this all over my own code anyway, because I'd been using spaces in
all defs, so I thought I'd make a run on the Python code as well.  If you need
to do such fixes in your own code, you can use xx-rename or parenregu.el within
emacs.)
2006-06-06 12:46:55 +00:00
Tim Peters
fd4c419332 Whitespace normalization. 2006-05-18 02:06:40 +00:00
Georg Brandl
e3a25838db Patch #1486962: Several bugs in the turtle Tk demo module were fixed
and several features added, such as speed and geometry control.
2006-05-17 14:56:04 +00:00
Tim Peters
aa220a7023 Whitespace normalization. 2006-04-16 22:22:36 +00:00
Martin v. Löwis
0db2a989f3 Patch #1063914: Add clipboard_get. 2006-04-16 20:55:38 +00:00
Georg Brandl
314fce92dd Patch #1468808: don't complain if Tkinter is already deleted at the time Font.__del__ is run. 2006-04-12 15:28:49 +00:00
Tim Peters
3daf304f3b Whitespace normalization. 2006-04-10 20:28:40 +00:00
Martin v. Löwis
b04dee935c Patch #1462222: Fix Tix.Grid. Closes #1036406. 2006-04-10 08:34:21 +00:00
Georg Brandl
4696ffbf09 Remove "disgusting hack" in favour of closure (patch #1462235) 2006-04-02 21:09:51 +00:00
Fredrik Lundh
d489398da9 r903@spiff: Fredrik | 2005-11-12 16:28:37 +0100
removed outdated copyright notices (etc)
2005-11-12 15:28:52 +00:00
Walter Dörwald
966c264b02 Fix typos. 2005-11-09 17:12:43 +00:00
Guido van Rossum
49a4b68b8b Fix a problem in Tkinter introduced by SF patch #869468 (checked in as
1.179): delete bogus __hasattr__ and __delattr__ methods on class Tk
that were breaking Tkdnd.
2005-07-26 23:57:46 +00:00
Martin v. Löwis
4afe154369 Patch #1121234: Properly cleanup _exit and tkerror commands.
Will backport to 2.4.
2005-03-01 08:09:28 +00:00
Martin v. Löwis
b0c670ce39 Convert boolean results back to strings. Fixes #807871.
Will backport to 2.3.
2004-09-18 16:01:23 +00:00
Martin v. Löwis
cd4d297a23 Remove debug print. 2004-08-20 06:19:23 +00:00
Tim Peters
a45cacfc1c Whitespace normalization. 2004-08-20 03:47:14 +00:00
Martin v. Löwis
babc5ec630 Expand tabs. 2004-08-18 17:47:40 +00:00
Martin v. Löwis
fe84d17a6a Patch #764217: Add nametofont function, exists parameter. 2004-08-18 11:06:45 +00:00
Martin v. Löwis
9441c078cf Patch #986929: Add support for wish -sync and -use options. 2004-08-03 18:36:25 +00:00
Martin v. Löwis
b217cd802e Wait for visibility before setting a grab. Fixes #946153. 2004-08-03 18:36:25 +00:00
Tim Peters
182b5aca27 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00