summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk/Tkinter.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove sys.exc_type, sys.exc_value, sys.exc_tracebackNeal Norwitz2006-03-171-1/+1
|
* Fix typos.Walter Dörwald2005-11-091-1/+1
|
* Fix a problem in Tkinter introduced by SF patch #869468 (checked in asGuido van Rossum2005-07-261-6/+0
| | | | | 1.179): delete bogus __hasattr__ and __delattr__ methods on class Tk that were breaking Tkdnd.
* Patch #1121234: Properly cleanup _exit and tkerror commands.Martin v. Löwis2005-03-011-0/+7
| | | | Will backport to 2.4.
* Patch #986929: Add support for wish -sync and -use options.Martin v. Löwis2004-08-031-2/+3
|
* Whitespace normalization, via reindent.py.Tim Peters2004-07-181-1/+1
|
* Implementation of patch 869468David Ascher2004-02-181-5/+30
| | | | | | | | | | | | | | | 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.
* Replace backticks with repr() or "%r"Walter Dörwald2004-02-121-6/+6
| | | | From SF patch #852334.
* Fix SF bug #763637, 2.3b2 unpack tuple of wrong size in after_cancelNeal Norwitz2003-07-011-2/+4
| | | | | Tk 8.4 may return different values than 8.3. This fix should handle either version.
* Patch #749191: Delete commands in after_cancel. Will backport to 2.2.Martin v. Löwis2003-06-071-0/+6
|
* Convert tcl_version to str before comparing. Fixes #729317.Martin v. Löwis2003-05-241-1/+2
|
* Remove extra space in docstringNeal Norwitz2003-04-171-1/+1
|
* Add 'get' method to Variable and switch it from internal class toGuido van Rossum2003-04-161-1/+7
| | | | | standard class (it is now useful because it doesn't constrain the type of the value).
* For StringVar results to strings. Document that boolean things are ofMartin v. Löwis2003-04-161-4/+7
| | | | type bool. Requested in #721171.
* SF patch #701494: more apply removalsRaymond Hettinger2003-04-061-275/+274
|
* Patch #707701: Expect '??' in event fields. Fixes #698517.Martin v. Löwis2003-03-291-16/+32
| | | | Will backport to 2.2.
* Convert booleans to integers in IntVar.set. Fixes #671741.Martin v. Löwis2003-01-221-0/+6
| | | | | Return booleans from _tkinter.getboolean. Convert booleans to Tcl booleans in AsObj.
* Fix SF bug # 602259, 3rd parameter for Tkinter.scan_dragtoNeal Norwitz2003-01-101-3/+3
| | | | Add the optional gain parameter and pass it to Tk.
* Rename want_objects to wantobjects throughout, for consistency.Martin v. Löwis2002-11-261-2/+2
|
* Patch #518625: Return objects in Tkinter.Martin v. Löwis2002-11-261-0/+3
|
* Patch #621205: Tkinter updates for tk8.4.Martin v. Löwis2002-10-131-26/+548
|
* Patch #612602: Streamline configure methods.Martin v. Löwis2002-10-101-79/+24
|
* SF patch #581396, Canvas "select_item" always returns NoneNeal Norwitz2002-07-231-1/+1
| | | | Return the selected item, if there is any.
* SF patch 546244 by John Williams: add Text.dump() method.Guido van Rossum2002-04-231-1/+38
|
* Ignore widgets with unknown names in winfo_children. Fixes #518283.Martin v. Löwis2002-03-271-3/+11
| | | | 2.2.2 candidate.
* Move grid_location into Misc. Fixes bug #426892.Martin v. Löwis2001-10-131-8/+8
|
* Undo last checkin, since it duplicated the code.Martin v. Löwis2001-10-011-25/+0
|
* Patch #426880: Implement Listbox itemcget and itemconfigure.Martin v. Löwis2001-10-011-0/+25
|
* class Listbox: add itemcget, to satisfy SF patch #457713.Guido van Rossum2001-09-051-1/+5
| | | | Fix up docstring for itemconfigure.
* Add Listbox.itemconfig[ure] call. (A "recent" addition to Tk -- 8.0Guido van Rossum2001-09-011-5/+26
| | | | doesn't have it.) This is from SF bug #457487 by anonymous.
* Don't make even the _slightest_ modification between test and checkin,Jack Jansen2001-08-231-1/+1
| | | | or you will break something:-)
* The MacOS module may be available on Mac OS X, but it doesn't have a ↵Jack Jansen2001-08-231-1/+1
| | | | SchedParams() method, and there's no need to call it anyway.
* Patch #403514: precompute _subst_format_str to avoid a call toMartin v. Löwis2001-08-091-2/+2
| | | | string.join() on each invocation of _bind.
* String method conversion.Eric S. Raymond2001-02-091-7/+5
|
* Update the code to better reflect recommended style:Fred Drake2000-12-121-2/+2
| | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects.
* Make reindent.py happy (convert everything to 4-space indents!).Fred Drake2000-10-231-1/+0
|
* Removed some debugging prints: When running user configuration codeFred Drake2000-09-151-4/+0
| | | | | from Tk.readprofile(), do not print anything extra to stdout, just run the code.
* Fix for bug 110629: Generate unique image names by introducing a counterMartin v. Löwis2000-09-081-1/+3
|
* Older Tk versions don't support mousewheel support. Set event.deltaFredrik Lundh2000-09-071-1/+4
| | | | to zero if that's the case (closes bug #113727)
* -- don't mess up in winfo_visualsavailable if the system onlyFredrik Lundh2000-08-091-0/+2
| | | | supports a single visual (closes bug #110603)
* -- added optional newstate argument to Wm.state. The newstate argFredrik Lundh2000-08-091-4/+4
| | | | was added in Tk 8.3 (this fixes the first part of Bug #110605)
* -- use explicit conversion instead of u-string literal in the testFredrik Lundh2000-08-091-4/+8
| | | | | code, to make the new Tkinter.py run under 1.5.2 -- changed Text.yview argument name (for consistency with xview)
* -- added xview_moveto, xview_scroll, yview_moveto, yview_scrollFredrik Lundh2000-08-091-3/+19
| | | | to the Text method (closes Bug #110605)
* -- untabification (use "diff -b" to verify)Fredrik Lundh2000-08-091-2858/+2858
|
* Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in eitherThomas Wouters2000-07-161-16/+16
| | | | | | | | | | 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 ;)
* Change whitespace in two places to silence tabnanny.Guido van Rossum2000-07-061-4/+4
| | | | Also fix spelling tupel -> tuple.
* Nils Fischbeck: added doc strings to everything. Martin von LoewisGuido van Rossum2000-06-291-9/+1087
| | | | has reviewed this, too.
* Patch from /F:Andrew M. Kuchling2000-06-181-0/+6
| | | | | | | | | | 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.
* Show Tcl/Tk version number in _test() and show Unicode test if possible.Guido van Rossum2000-03-301-1/+4
|
* Fix a typo in Barry's checkin.Guido van Rossum2000-02-271-1/+1
| | | | Reported both by Gerrit Holl and Mark Favas.