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
Martin v. Löwis
dc57909323
Move grid_location into Misc. Fixes bug #426892 .
2001-10-13 09:33:51 +00:00
Martin v. Löwis
c04f7a794e
Undo last checkin, since it duplicated the code.
2001-10-01 17:02:49 +00:00
Martin v. Löwis
2fa69d7984
Patch #426880 : Implement Listbox itemcget and itemconfigure.
2001-10-01 10:09:31 +00:00
Guido van Rossum
09f1ad8542
class Listbox: add itemcget, to satisfy SF patch #457713 .
...
Fix up docstring for itemconfigure.
2001-09-05 19:29:56 +00:00
Guido van Rossum
a0adb92b23
Add Listbox.itemconfig[ure] call. (A "recent" addition to Tk -- 8.0
...
doesn't have it.) This is from SF bug #457487 by anonymous.
2001-09-01 18:29:55 +00:00
Jack Jansen
be92af0e2a
Don't make even the _slightest_ modification between test and checkin,
...
or you will break something:-)
2001-08-23 13:25:59 +00:00
Jack Jansen
0eb936b47d
The MacOS module may be available on Mac OS X, but it doesn't have a SchedParams() method, and there's no need to call it anyway.
2001-08-23 13:18:10 +00:00
Martin v. Löwis
c8718c13e8
Patch #403514 : precompute _subst_format_str to avoid a call to
...
string.join() on each invocation of _bind.
2001-08-09 16:57:33 +00:00
Eric S. Raymond
fc170b1fd5
String method conversion.
2001-02-09 11:51:27 +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
Fred Drake
d038ca830f
Make reindent.py happy (convert everything to 4-space indents!).
2000-10-23 18:31:14 +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
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