Commit Graph

210 Commits

Author SHA1 Message Date
Robert Schuppenies 14646337bf Issue #1342811: Fix leak in Tkinter.Menu.delete. Commands associated to
menu entries were not deleted.
2008-08-10 11:01:53 +00:00
Brett Cannon ff6868cf10 Remove a use of callable() from Tkinter to silence warnings under -3. 2008-08-04 21:24:43 +00:00
Martin v. Löwis aabf404ecc Issue #799428: Fix Tkinter.Misc._nametowidget to unwrap
Tcl command objects.
2008-08-02 07:20:25 +00:00
Benjamin Peterson e70f8e1205 remove usage of MacOS from Tkinter 2008-07-31 15:15:45 +00:00
Georg Brandl 4ed3ed13c5 Fix Tkinter sequence passing. #2906. 2008-06-03 10:23:15 +00:00
Georg Brandl 7943a3295d #2906: accept lists for options, and some cosmetic fixes in Tkinter. 2008-05-29 07:18:49 +00:00
Georg Brandl ae019e14bd #615772: raise a more explicit error from Tkinter.Misc.__contains__. 2008-05-20 08:48:34 +00:00
Georg Brandl 06d2a2cb0e Remove debugging line. 2008-05-20 07:23:59 +00:00
Georg Brandl 6634bf2919 Tkinter rename reversal: remove tkinter package, adapt imports and docs. 2008-05-20 07:13:37 +00:00
Georg Brandl 33cece05b9 Tkinter renaming reversal: move modules back in their place. 2008-05-20 06:58:21 +00:00
Georg Brandl 248e3a8b7f Tkinter renaming reversal: Delete all stubs from lib-tk. 2008-05-20 06:49:28 +00:00
Georg Brandl ad9afeb8f0 Tkinter rename, step 2: fix imports and add stub modules. 2008-05-16 15:48:15 +00:00
Georg Brandl bbc57d73a0 Step 1 of Tkinter renaming: move lib-tk modules into a new "tkinter" package. 2008-05-16 14:24:45 +00:00
Georg Brandl 275360eaa5 #2535: remove duplicated method. 2008-05-11 21:34:10 +00:00
Benjamin Peterson 5b63acd31e #2503 make singletons compared with "is" not == or !=
Thanks to Wummel for the patch
2008-03-29 15:24:25 +00:00
Martin v. Löwis f5d902fc47 Always convert Text.index result to string.
This improves compatibility with Tcl 8.5, which would
otherwise return textindex objects.
2008-01-01 21:08:18 +00:00
Martin v. Löwis 038cad7ee4 Patch #1592250: Add elidge argument to Tkinter.Text.search. 2006-11-09 11:27:32 +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 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 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
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 4696ffbf09 Remove "disgusting hack" in favour of closure (patch #1462235) 2006-04-02 21:09:51 +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 9441c078cf Patch #986929: Add support for wish -sync and -use options. 2004-08-03 18:36:25 +00:00
Tim Peters 182b5aca27 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
David Ascher e2b4b32025 Implementation of patch 869468
Allow the user to create Tkinter.Tcl objects which are
just like Tkinter.Tk objects except that they do not
initialize Tk. This is useful in circumstances where the
script is being run on machines that do not have an X
server running -- in those cases, Tk initialization fails,
even if no window is ever created.

Includes documentation change and tests.

Tested on Linux, Solaris and Windows.

Reviewed by Martin von Loewis.
2004-02-18 05:59:53 +00:00
Walter Dörwald 70a6b49821 Replace backticks with repr() or "%r"
From SF patch #852334.
2004-02-12 17:35:32 +00:00
Neal Norwitz 3c0f2c91ad Fix SF bug #763637, 2.3b2 unpack tuple of wrong size in after_cancel
Tk 8.4 may return different values than 8.3.  This fix should handle
either version.
2003-07-01 21:12:47 +00:00
Martin v. Löwis 0f9e525bdf Patch #749191: Delete commands in after_cancel. Will backport to 2.2. 2003-06-07 19:52:38 +00:00
Martin v. Löwis 5489597f56 Convert tcl_version to str before comparing. Fixes #729317. 2003-05-24 11:37:15 +00:00
Neal Norwitz 6e5be22d97 Remove extra space in docstring 2003-04-17 13:13:55 +00:00
Guido van Rossum 2cd0a65c70 Add 'get' method to Variable and switch it from internal class to
standard class (it is now useful because it doesn't constrain the type
of the value).
2003-04-16 20:10:03 +00:00
Martin v. Löwis bfe175c190 For StringVar results to strings. Document that boolean things are of
type bool. Requested in #721171.
2003-04-16 19:42:51 +00:00
Raymond Hettinger ff41c48a77 SF patch #701494: more apply removals 2003-04-06 09:01:11 +00:00
Martin v. Löwis 043bbc7da3 Patch #707701: Expect '??' in event fields. Fixes #698517.
Will backport to 2.2.
2003-03-29 09:47:21 +00:00
Martin v. Löwis 70c3dda2fb Convert booleans to integers in IntVar.set. Fixes #671741.
Return booleans from _tkinter.getboolean.
Convert booleans to Tcl booleans in AsObj.
2003-01-22 09:17:38 +00:00
Neal Norwitz e931ed59d3 Fix SF bug # 602259, 3rd parameter for Tkinter.scan_dragto
Add the optional gain parameter and pass it to Tk.
2003-01-10 23:24:32 +00:00
Martin v. Löwis 8c8aa5d666 Rename want_objects to wantobjects throughout, for consistency. 2002-11-26 21:39:48 +00:00
Martin v. Löwis ffad633af9 Patch #518625: Return objects in Tkinter. 2002-11-26 09:28:05 +00:00
Martin v. Löwis 2ec362717b Patch #621205: Tkinter updates for tk8.4. 2002-10-13 10:22:08 +00:00
Martin v. Löwis 6ce1315bd3 Patch #612602: Streamline configure methods. 2002-10-10 14:36:13 +00:00
Neal Norwitz 58b63bf4e3 SF patch #581396, Canvas "select_item" always returns None
Return the selected item, if there is any.
2002-07-23 02:52:58 +00:00
Guido van Rossum 256705bca7 SF patch 546244 by John Williams: add Text.dump() method. 2002-04-23 13:29:43 +00:00
Martin v. Löwis f2041b8aa6 Ignore widgets with unknown names in winfo_children. Fixes #518283.
2.2.2 candidate.
2002-03-27 17:15:57 +00:00