summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk
Commit message (Collapse)AuthorAgeFilesLines
* SF patch #581396, Canvas "select_item" always returns NoneNeal Norwitz2002-07-231-1/+1
| | | | Return the selected item, if there is any.
* Use string methods, remove import stringNeal Norwitz2002-05-311-4/+3
|
* SF patch 546244 by John Williams: add Text.dump() method.Guido van Rossum2002-04-231-1/+38
|
* Patch #539392: Invoke setlocale, try opening the file in demo mode.Martin v. Löwis2002-04-081-2/+18
|
* Reindent.Martin v. Löwis2002-03-281-551/+550
|
* Patch #536117: Typo in turtle.py.Martin v. Löwis2002-03-281-1/+1
| | | | 2.2.2 candidate.
* Destroy and unlink deleted NoteBook panes. Fixes #516703.Martin v. Löwis2002-03-271-1/+2
| | | | 2.2.2 candidate.
* Ignore widgets with unknown names in winfo_children. Fixes #518283.Martin v. Löwis2002-03-271-3/+11
| | | | 2.2.2 candidate.
* Set TCL_LIBRARY before import _tkinter. Suggested by Kirill Simonov.Martin v. Löwis2002-02-241-10/+31
| | | | Fixes #418173 and #219960. 2.2.1 candidate.
* Patch #515598: removed unused import of os.Martin v. Löwis2002-02-161-1/+0
|
* Fix typo in labelAndrew M. Kuchling2002-01-021-1/+1
|
* Print encoded versions of the file names in test application. Fixes #496084Martin v. Löwis2001-12-301-2/+16
|
* Make tix_configure() work the same way configure() works for the basicFred Drake2001-12-131-86/+92
| | | | | | | Tkinter classes. Adjust a lot of docstrings. Convert a few type checks to use isinstance() instead of type(). This is part of SF patch #485959.
* Fix for SF #491953 (Andrew Dalke): ScrolledText.py has TabErrorGuido van Rossum2001-12-121-3/+3
| | | | Untabified.
* SF patch #491183 (Jeff Epler): ScrolledText.grid() doesn't workGuido van Rossum2001-12-101-2/+6
| | | | | | | | | | | | | | | | | | | | | | | Using grid methods on ScrolledText widgets does not work as expected. It either fails to pack a widget, or can even cause Tk to lock up. The problem is that the .grid method is being called on the text widget, not the frame widget. This can lead to the well-known lockup in Tk when a frame's children are managed by both the pack and grid managers. Even if it doesn't lock up, the frame is never placed within the intended widget. Program fragment: >>> import ScrolledText >>> s = ScrolledText.ScrolledText() >>> s.grid(row=0, column=0, rowspan=2) The following patch uses the same hack to copy the 'grid' and 'place' geometry manager methods to the ScrolledText instance as is already used for the 'pack' manager.
* Be more careful about accessing attributes of the parent: if Tk has not beenFred Drake2001-12-061-4/+20
| | | | | | | | | | | | | | initialized, this will be None, but the functions will still work (there will simply be a bogus parent on the screen). Allowing the parent to be None is useful when testing the functions from an interactive interpreter. Add an optional keyword paramter "show" to the _QueryString class; when given it is used to set the -show option to the entry widget. This allows passing show="*" or the like to askstring(), making it useful for requesting passwords/passphrases from the user. This closes SF bug #438517. Changed a docstring to be less font-lock-hostile.
* Properly set static options for tixBalloon and tixResizeHandle.Martin v. Löwis2001-11-251-2/+19
| | | | | Expose Tix.ResizeHandle.{detach_widget,hide,show}. Update Tix demos.
* Merge directory chooser into tkFileDialog.Martin v. Löwis2001-11-082-54/+18
|
* Patch #478654: Expose tk_chooseDirectory.Martin v. Löwis2001-11-071-4/+11
| | | | Also delegate kw arguments through ** calls.
* Patch #471120: Improved doc strings and new wrappers.Martin v. Löwis2001-11-021-45/+382
|
* directory chooser (requires a recent version of Tk)Fredrik Lundh2001-10-291-0/+52
|
* Move grid_location into Misc. Fixes bug #426892.Martin v. Löwis2001-10-131-8/+8
|
* Suggestion from SF patch #470433 to avoid clobbering TCL_LIBRARY etGuido van Rossum2001-10-121-4/+9
| | | | | al. if already set. Also adds TIX_LIBRARY (just in case). (Note that this is entirely Windows specific.)
* Add entry parameter to HList.item_cget. Fixes bug #466981.Martin v. Löwis2001-10-091-2/+2
|
* 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.
* Fix two bugs discovered by PyChecker. (I cannot test these, but I'mGuido van Rossum2001-08-131-2/+2
| | | | | confident that the old code was utterly broken -- the worse that can happen is that the new code is still broken.)
* 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.
* Applied SF patch #438424 by Josh Cogliati:Guido van Rossum2001-08-091-4/+42
| | | | | | | | | Python's logolike module turtle.py did not display the turtle except when actually drawing lines. This patch changes the turtle.py module so that it displays the turtle at all times when tracing is on. This is similar to the the way that logo works. When tracing is off the turtle will not be displayed.
* The lower() and tkraise() methods were calling the Canvas widgetGuido van Rossum2001-04-101-2/+2
| | | | | | wrongly. Fixed this. This closes SF bug #412682.
* Fixed a bunch of Tabnanny errorsMoshe Zadka2001-03-211-590/+590
|
* Patch #410231: Add the Python Tix library.Martin v. Löwis2001-03-211-0/+1266
|
* String method conversion.Eric S. Raymond2001-02-093-15/+10
|
* Patch by kragen@pobox.com: When tracing is turned on, lines shorterGuido van Rossum2001-01-011-0/+2
| | | | | than a pixel don't get drawn at all. If you're building long curves made of such lines, this is a bad thing.
* 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.
* Also point TK_LIBRARY to the appropriate directory.Guido van Rossum2000-10-251-3/+4
| | | | Changed the landmark to tclIndex, which should occur in both.
* Make reindent.py happy (convert everything to 4-space indents!).Fred Drake2000-10-239-249/+246
|
* [ Bug #110677 ] PRIVATE: various minor Tkinter things (PR#388)Guido van Rossum2000-10-061-12/+15
| | | | | | | | | | | | | | 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.
* Don't rename Tkinter to Tk; closes bug 115714Martin v. Löwis2000-10-011-6/+6
| | | | Subclass Error from Exception.
* 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)
* -- added a couple of missing Tkinter constants (canvas item styles,Fredrik Lundh2000-08-091-0/+22
| | | | place bordermode, etc)
* -- 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)