Commit Graph

206 Commits

Author SHA1 Message Date
Matthias Klose a6d9abfc9e Merged revisions 78988 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78988 | matthias.klose | 2010-03-16 11:48:52 +0100 (Tue, 16 Mar 2010) | 3 lines

  - Issue #4961: Inconsistent/wrong result of askyesno function in tkMessageBox
    with Tcl/Tk-8.5.
........
2010-03-16 10:51:28 +00:00
Guilherme Polo bcd03df1bd Merged revisions 74507-74511,74517 via svnmerge from
svn+ssh://pythondev/python/trunk

........
  r74507 | guilherme.polo | 2009-08-18 10:23:08 -0300 (Tue, 18 Aug 2009) | 1 line

  Issue #1119673: Do not override Tkinter.Text methods when creating a ScrolledText.
........
  r74508 | guilherme.polo | 2009-08-18 10:29:20 -0300 (Tue, 18 Aug 2009) | 1 line

  Issue #1250469: Fix the return value of Tix.PanedWindow.panes.
........
  r74509 | guilherme.polo | 2009-08-18 10:33:30 -0300 (Tue, 18 Aug 2009) | 1 line

  Mark the "radio" option of Tix.CheckList as static.
........
  r74510 | guilherme.polo | 2009-08-18 11:23:00 -0300 (Tue, 18 Aug 2009) | 1 line

  Issue #1522587: New constants and methods for the Tix.Grid widget.
........
  r74511 | guilherme.polo | 2009-08-18 11:34:44 -0300 (Tue, 18 Aug 2009) | 1 line

  Fixes for Tix.Grid from issue #1522587.
........
  r74517 | guilherme.polo | 2009-08-18 11:46:57 -0300 (Tue, 18 Aug 2009) | 1 line

  Issue #1356969: Add missing info methods in Tix.HList.
........
2009-08-18 15:35:57 +00:00
Guilherme Polo 1fff008326 Merged revisions 74446-74449 via svnmerge from
svn+ssh://pythondev/python/trunk

........
  r74446 | guilherme.polo | 2009-08-14 10:53:41 -0300 (Fri, 14 Aug 2009) | 1 line

  Issue #3344: Replace itertools.count by enumerate.
........
  r74447 | guilherme.polo | 2009-08-14 11:03:07 -0300 (Fri, 14 Aug 2009) | 1 line

  Issue #3926: Fix the usage of the new showwarnings and formatwarning.
........
  r74448 | guilherme.polo | 2009-08-14 11:36:45 -0300 (Fri, 14 Aug 2009) | 3 lines

  Issue #1135: Add the XView and YView mix-ins to avoid duplicating
  the xview* and yview* methods.
........
  r74449 | guilherme.polo | 2009-08-14 11:43:43 -0300 (Fri, 14 Aug 2009) | 1 line

  Clarifying Entry.selection_present's docstring.
........
2009-08-14 15:05:30 +00:00
Georg Brandl ab91fdef1f Merged revisions 73715 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r73715 | benjamin.peterson | 2009-07-01 01:06:06 +0200 (Mi, 01 Jul 2009) | 1 line

  convert old fail* assertions to assert*
........
2009-08-13 08:51:18 +00:00
Benjamin Peterson c9c0f201fe convert old fail* assertions to assert* 2009-06-30 23:06:06 +00:00
Matthias Klose b0a8be5f1b - remove svn:executable property from some library files 2009-06-22 14:17:00 +00:00
Guilherme Polo 2a998fabec Merged revisions 73495 via svnmerge from
svn+ssh://pythondev/python/trunk

........
  r73495 | guilherme.polo | 2009-06-21 14:22:50 -0300 (Sun, 21 Jun 2009) | 4 lines

  Issue #5450: Moved tests involving loading tk from Lib/test/test_tcl to
  Lib/lib-tk/test/test_tkinter/test_loadtk in order to follow the behaviour of
  test_ttkguionly.
........
2009-06-21 17:40:07 +00:00
Guilherme Polo 86425563e8 Merged revisions 73083 via svnmerge from
svn+ssh://pythondev/python/trunk

........
  r73083 | guilherme.polo | 2009-05-31 18:31:21 -0300 (Sun, 31 May 2009) | 1 line

  Improved PanedWindow.add's docstring. 'subcomand' is a Tcl term, and the possible options and values are the same accepted by paneconfigure (not configure).
........
2009-05-31 21:35:23 +00:00
Guilherme Polo f45b4cce7f Merged revisions 70223 via svnmerge from
svn+ssh://pythondev/python/trunk

........
  r70223 | guilherme.polo | 2009-03-06 23:14:38 -0300 (Fri, 06 Mar 2009) | 4 lines

  Fixed issue #2638: Show a window constructed with tkSimpleDialog.Dialog only
  after it is has been populated and properly configured in order to prevent
  window flashing.
........
2009-03-07 02:19:14 +00:00
Guilherme Polo 56f5be5317 Merged revisions 70218-70219 via svnmerge from
svn+ssh://pythondev/python/trunk

........
  r70218 | guilherme.polo | 2009-03-06 22:19:12 -0300 (Fri, 06 Mar 2009) | 1 line

  Fixed issue #5193: Guarantee that Tkinter.Text.search returns a string.
........
  r70219 | guilherme.polo | 2009-03-06 22:47:49 -0300 (Fri, 06 Mar 2009) | 4 lines

  Fixed issue #4792: Prevent a segfault in _tkinter by using the
  guaranteed to be safe interp argument given to the PythonCmd in place
  of the Tcl interpreter taken from a PythonCmd_ClientData.
........
2009-03-07 01:54:57 +00:00
Mark Dickinson 934896dc09 Merged revisions 69846 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69846 | mark.dickinson | 2009-02-21 20:27:01 +0000 (Sat, 21 Feb 2009) | 2 lines

  Issue #5341: Fix a variety of spelling errors.
........
2009-02-21 20:59:32 +00:00
Guilherme Polo a91790a5b0 Merged revisions 69460,69467,69470 via svnmerge from
svn+ssh://pythondev/python/trunk

........
  r69460 | guilherme.polo | 2009-02-09 14:09:17 -0200 (Mon, 09 Feb 2009) | 1 line

  Turned setup_master public
........
  r69467 | guilherme.polo | 2009-02-09 17:21:21 -0200 (Mon, 09 Feb 2009) | 2 lines

  Some tests for Tkinter.Text.search
........
  r69470 | guilherme.polo | 2009-02-09 17:57:04 -0200 (Mon, 09 Feb 2009) | 1 line

  Checking for tk availability before continuing (basically the same that is done in test_ttk_guionly)
........
2009-02-09 20:40:42 +00:00
Guilherme Polo ae09899fa3 Merged revisions 69461 via svnmerge from
svn+ssh://pythondev/python/trunk

........
  r69461 | guilherme.polo | 2009-02-09 14:41:09 -0200 (Mon, 09 Feb 2009) | 3 lines

  Fixed issue #4890: Handle empty text search pattern in
  Tkinter.Text.search
........
2009-02-09 16:44:24 +00:00
Guilherme Polo fa8fba96a6 Merged revisions 69404 via svnmerge from
svn+ssh://pythondev/python/trunk

........
  r69404 | guilherme.polo | 2009-02-07 00:20:29 -0200 (Sat, 07 Feb 2009) | 2 lines

  Eliminated the need to use ttk.__loadtk__ and the problems related it.
........
2009-02-07 02:33:47 +00:00
Guilherme Polo b41bc91549 Fixing changes from the last merge. 2009-02-06 23:04:44 +00:00
Benjamin Peterson 063ff65e2c Merged revisions 69141,69211-69212 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69141 | benjamin.peterson | 2009-01-31 14:01:48 -0600 (Sat, 31 Jan 2009) | 1 line

  fix indentation
........
  r69211 | guilherme.polo | 2009-02-02 14:23:29 -0600 (Mon, 02 Feb 2009) | 1 line

  Restore the previous geometry before leaving the test
........
  r69212 | guilherme.polo | 2009-02-02 14:28:59 -0600 (Mon, 02 Feb 2009) | 1 line

  Moving to importlib
........
2009-02-06 03:01:24 +00:00
Guilherme Polo 8ec5829910 Recorded merge of revisions 69195 via svnmerge from
svn+ssh://pythondev/python/trunk

........
  r69195 | guilherme.polo | 2009-02-01 22:38:54 -0200 (Sun, 01 Feb 2009) | 3 lines

  Use a single Tcl interpreter through all these tests, this may help some
  failing buildbots.
........
2009-02-02 01:02:20 +00:00
Guilherme Polo 9de29afa7c Merged revisions 69060-69063 via svnmerge from
svn+ssh://pythondev/python/trunk

........
  r69060 | guilherme.polo | 2009-01-28 17:23:28 -0200 (Wed, 28 Jan 2009) | 2 lines

  Added support for collecting tests only from specific packages.
........
  r69061 | guilherme.polo | 2009-01-28 17:28:04 -0200 (Wed, 28 Jan 2009) | 4 lines

  * Renaming test_tk_* to test_ttk_* since that is what they are testing.
  * Added ttk tests to the expected skips mapping just like where test_tcl
  was expected to be skipped too.
........
  r69062 | guilherme.polo | 2009-01-28 18:02:01 -0200 (Wed, 28 Jan 2009) | 1 line

  Make sure the root windows gets destroyed
........
  r69063 | guilherme.polo | 2009-01-28 18:03:26 -0200 (Wed, 28 Jan 2009) | 2 lines

  Issue #5083: New 'gui' resource for regrtest.
........
2009-01-28 20:40:48 +00:00
Guilherme Polo 5f23848574 Merged revisions 69050 via svnmerge from
svn+ssh://pythondev/python/trunk

........
  r69050 | guilherme.polo | 2009-01-28 11:09:03 -0200 (Wed, 28 Jan 2009) | 2 lines

  Added the ttk module. See issue #2983: Ttk support for Tkinter.
........
2009-01-28 14:41:10 +00:00
Martin v. Löwis acbf461fe5 Merged revisions 68893 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68893 | martin.v.loewis | 2009-01-24 16:47:27 +0100 (Sa, 24 Jan 2009) | 3 lines

  Issue #3881: Help Tcl to load even when started through the
  unreadable local symlink to "Program Files" on Vista.
........
2009-01-24 16:19:45 +00:00
Hirokazu Yamamoto 21027e608a Fixed 2to3 issue on tix module. 2009-01-10 12:15:23 +00:00
Hirokazu Yamamoto b5e5da4518 Commit miss. 2009-01-10 11:55:57 +00:00
Hirokazu Yamamoto 6c7e562310 Merged revisions 68468-68470 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68468 | hirokazu.yamamoto | 2009-01-10 17:09:43 +0900 | 1 line

  Bump up Tcl/Tk version on VC6. (tcl8.4.12 -> tcl8.5.2, tk8.4.12 -> tk8.5.2, tix8.4.0 -> tix8.4.3)
........
  r68469 | hirokazu.yamamoto | 2009-01-10 17:12:09 +0900 | 1 line

  Link to debug version of Tcl/Tk when python is built as debug version.
........
  r68470 | hirokazu.yamamoto | 2009-01-10 18:18:16 +0900 | 1 line

  Added helper script to build Tcl/Tk.
........
2009-01-10 11:48:27 +00:00
Guilherme Polo 4baac0f913 Forgot to remove no longer needed code since r68237 2009-01-03 22:13:31 +00:00
Benjamin Peterson de342c4a77 #4406 Directory has to inherit from commondialog.Dialog 2008-12-31 14:51:07 +00:00
Martin v. Löwis 1f1620e946 Merged revisions 68010 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68010 | martin.v.loewis | 2008-12-29 17:22:25 +0100 (Mo, 29 Dez 2008) | 2 lines

  Issue #3767: Convert Tk object to string in tkColorChooser.
........
2008-12-29 16:27:13 +00:00
Martin v. Löwis e354d78b30 Merged revisions 68006 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68006 | martin.v.loewis | 2008-12-29 16:51:01 +0100 (Mo, 29 Dez 2008) | 2 lines

  Issue #3248: Allow placing ScrolledText in a PanedWindow.
........
2008-12-29 16:03:04 +00:00
Hirokazu Yamamoto a18424c624 Issue #3774: Fixed an error when create a Tkinter menu item without command
and then remove it. Written by Guilherme Polo (gpolo). Ported r67082.
2008-11-04 06:26:27 +00:00
Martin v. Löwis 60ebb8b0aa Bug #3884: Make the turtle module toplevel again. 2008-09-21 07:32:10 +00:00
Guilherme Polo b212b75c22 Issue #1658: dict size is changing during iteration in tkinter.BaseWidget and
tkinter.scrolledtext.ScrolledText.

Reviewed by Amaury Forgeot d'Arc
2008-09-04 11:21:31 +00:00
Robert Schuppenies ffeef9044e Merged revisions 65971 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65971 | robert.schuppenies | 2008-08-22 10:03:43 +0200 (Fri, 22 Aug 2008) | 2 lines

  Issue #1342811: Fixed broken patch. Reviewed by benjamin.peterson.
........
2008-08-22 08:27:53 +00:00
Robert Schuppenies 3d1c7dec4a Merged revisions 65622 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65622 | robert.schuppenies | 2008-08-10 13:01:53 +0200 (Sun, 10 Aug 2008) | 4 lines

  Issue #1342811: Fix leak in Tkinter.Menu.delete. Commands associated to
  menu entries were not deleted.
........
2008-08-10 11:28:17 +00:00
Martin v. Löwis cdfae162c9 Merged revisions 65399 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65399 | martin.v.loewis | 2008-08-02 09:20:25 +0200 (Sa, 02 Aug 2008) | 3 lines

  Issue #799428: Fix Tkinter.Misc._nametowidget to unwrap
  Tcl command objects.
........
2008-08-02 07:23:15 +00:00
Benjamin Peterson ca0c8ab97d Merged revisions 65328 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65328 | benjamin.peterson | 2008-07-31 10:15:45 -0500 (Thu, 31 Jul 2008) | 1 line

  remove usage of MacOS from Tkinter
........
2008-07-31 15:20:45 +00:00
Martin v. Löwis 97cf99fc7e Patch #3064: Port new turtle module and demos to 3.0. 2008-06-10 04:44:07 +00:00
Georg Brandl 3b55003e33 Fix Tkinter sequence passing. #2906. 2008-06-03 10:25:47 +00:00
Georg Brandl 29e4f631ac Remove basestring usage. 2008-05-30 06:27:54 +00:00
Georg Brandl bf1eb637bd #2906: accept lists for options, and some cosmetic fixes in Tkinter. 2008-05-29 07:19:00 +00:00
Georg Brandl b533e26dfa Merged revisions 63412,63445-63447,63449-63450,63452,63454,63459,63463,63465,63470,63483-63484,63496-63497,63499-63501,63530-63531,63540,63614 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r63412 | georg.brandl | 2008-05-17 19:57:01 +0200 (Sat, 17 May 2008) | 2 lines

  #961805: fix Edit.text_modified().
........
  r63445 | georg.brandl | 2008-05-18 10:52:59 +0200 (Sun, 18 May 2008) | 2 lines

  GHOP #180 by Michael Schneider: add examples to the socketserver documentation.
........
  r63446 | georg.brandl | 2008-05-18 11:12:20 +0200 (Sun, 18 May 2008) | 2 lines

  GHOP #134, #171, #137: unit tests for the three HTTPServer modules.
........
  r63447 | georg.brandl | 2008-05-18 12:39:26 +0200 (Sun, 18 May 2008) | 3 lines

  Take namedtuple item names only from ascii_letters (this blew up on OSX),
  and make sure there are no duplicate names.
........
  r63449 | georg.brandl | 2008-05-18 13:46:51 +0200 (Sun, 18 May 2008) | 2 lines

  GHOP #217: add support for compiling Python with coverage checking enabled.
........
  r63450 | georg.brandl | 2008-05-18 13:52:36 +0200 (Sun, 18 May 2008) | 2 lines

  GHOP #257: test distutils' build_ext command, written by Josip Dzolonga.
........
  r63452 | georg.brandl | 2008-05-18 15:34:06 +0200 (Sun, 18 May 2008) | 2 lines

  Add GHOP students.
........
  r63454 | georg.brandl | 2008-05-18 18:32:48 +0200 (Sun, 18 May 2008) | 2 lines

  GHOP #121: improve test_pydoc, by Benjamin Peterson.
........
  r63459 | benjamin.peterson | 2008-05-18 22:48:07 +0200 (Sun, 18 May 2008) | 2 lines

  bring test_pydoc up to my high standards (now that I have them)
........
  r63463 | georg.brandl | 2008-05-18 23:10:19 +0200 (Sun, 18 May 2008) | 2 lines

  Fix test_pyclbr after another platform-dependent function was added to urllib.
........
  r63465 | benjamin.peterson | 2008-05-19 01:07:07 +0200 (Mon, 19 May 2008) | 2 lines

  change some imports in tests so they will not be skipped in 3.0
........
  r63470 | georg.brandl | 2008-05-19 18:47:25 +0200 (Mon, 19 May 2008) | 2 lines

  test_httpservers has unpredictable refcount behavior.
........
  r63483 | georg.brandl | 2008-05-20 08:15:36 +0200 (Tue, 20 May 2008) | 2 lines

  Activate two more test cases in test_httpservers.
........
  r63484 | georg.brandl | 2008-05-20 08:47:31 +0200 (Tue, 20 May 2008) | 2 lines

  Argh, this is the *actual* test that works under Windows.
........
  r63496 | georg.brandl | 2008-05-20 10:07:36 +0200 (Tue, 20 May 2008) | 2 lines

  Improve diffing logic and output for test_pydoc.
........
  r63497 | georg.brandl | 2008-05-20 10:10:03 +0200 (Tue, 20 May 2008) | 2 lines

  Use inspect.getabsfile() to get the documented module's filename.
........
  r63499 | georg.brandl | 2008-05-20 10:25:48 +0200 (Tue, 20 May 2008) | 3 lines

  Patch #1775025: allow opening zipfile members via ZipInfo instances.
  Patch by Graham Horler.
........
  r63500 | georg.brandl | 2008-05-20 10:40:43 +0200 (Tue, 20 May 2008) | 2 lines

  #2592: delegate nb_index and the floor/truediv slots in weakref.proxy.
........
  r63501 | georg.brandl | 2008-05-20 10:48:34 +0200 (Tue, 20 May 2008) | 2 lines

  #615772: raise a more explicit error from Tkinter.Misc.__contains__.
........
  r63530 | benjamin.peterson | 2008-05-22 02:57:02 +0200 (Thu, 22 May 2008) | 2 lines

  use more specific asserts in test_opcode
........
  r63531 | benjamin.peterson | 2008-05-22 03:02:23 +0200 (Thu, 22 May 2008) | 2 lines

  remove redundant invocation of json doctests
........
  r63540 | benjamin.peterson | 2008-05-23 01:09:26 +0200 (Fri, 23 May 2008) | 3 lines

  fix test_pydoc so it works on make installed Python installations
  Also let it pass when invoked directly
........
  r63614 | georg.brandl | 2008-05-25 10:07:37 +0200 (Sun, 25 May 2008) | 2 lines

  #2959: allow multiple close() calls for GzipFile.
........
2008-05-25 18:19:30 +00:00
Georg Brandl 2e08136b3c Tkinter, step 4: merge simple- and filedialog modules. 2008-05-17 19:04:04 +00:00
Georg Brandl 14fc4270da Tkinter, step 2: adapt imports. 2008-05-17 18:39:55 +00:00
Georg Brandl 3302312383 Tkinter move, part 1: move modules. 2008-05-17 18:28:57 +00:00
Guido van Rossum d7500fcbb4 These directories renamed: tkinter -> lib-tk, stdwin -> lib-stdwin. 1997-09-09 03:39:21 +00:00
Guido van Rossum 9918e0c750 Add missing comma to make a tuple of (tagOrId). 1997-08-18 14:44:04 +00:00
Guido van Rossum 1530c87985 Fred Lundh's latest versions. 1997-08-14 14:17:28 +00:00
Guido van Rossum f53c86c2b6 Add dummies for create/delete filehandles, just so that vanilla Grail
0.3 won't break on Windows.
1997-08-14 14:15:54 +00:00
Guido van Rossum f55afae3c6 New dialog from Fred Lundh 1997-08-12 18:21:21 +00:00
Guido van Rossum 9d9af2c7a8 Fixes for the Mac. (Jack) 1997-08-12 18:21:08 +00:00
Guido van Rossum d6615ab30c Get READABLE c.s. from _tkinter instead of conditional definition.
in Tk.destroy(), reset _default_root to None when it is us.
1997-08-05 02:35:01 +00:00
Guido van Rossum 1e8c8a20f2 New dialog routines (Fred Lundh) 1997-07-19 20:02:36 +00:00
Guido van Rossum 65c78e18b5 Use dictionary's update() method in _cnfmerge(). 1997-07-19 20:02:04 +00:00
Fred Drake c8296db67d Widget._setup(): Support name=None in a similar way to the handling of other
Tkinter keyword parameters.
1997-05-27 22:45:10 +00:00
Guido van Rossum 16cd332aab Add root.tkraise() to the _test() program so the window doesn't hide
behind the shell window on NT.
1997-05-09 00:59:43 +00:00
Fred Drake 526749b678 Misc.__init__(): Removed method, replaced with class attribute (which
was all that the method set anyway).  Removed calls to the
	constructor.  This reduces the number of Python function calls
	per widget construction by one, for every widget construction.
1997-05-03 04:16:23 +00:00
Guido van Rossum 103cc6dd11 Patch by Craig McPheeters to clean up the back-references to widgets
contained in commands created by those same widgets.
1997-04-14 13:30:24 +00:00
Guido van Rossum 9580609ba3 Require _tkinter -- don't attempt to import tkinter when _tkinter does
not exist.  All 8 uses of tkinter are replaced with _tkinter.  Still
create a variable tkinter though, because that is used by other
modules importing Tkinter (e.g. tkinter.createfilehandler()).

Also added a comment to the 'import _tkinter' line saying that if this
fails, Python is not configured correctly.
1997-02-15 18:33:24 +00:00
Guido van Rossum 764d6c7acd Gave the Listbox selection methods their correct (longer) names.
Removed select_adjust -- Tk no longer supports this.
1997-02-14 16:21:16 +00:00
Guido van Rossum 17ca992818 Put support for a cnf dictionary back in, since it is still supported
by all true Tkinter widgets.  (Not that I *like* this module -- it
stinks, but until I have something better, I can't nuke it.)
1997-02-12 16:49:57 +00:00
Guido van Rossum 76f587b7f8 Avoid traceback in selection_own_get() when no Tk widget owns the
selection; return None instead.
1997-01-21 23:22:03 +00:00
Fred Drake 41dc09d10e (Tkinter.py): Add support for Frame(w, class_="classname") as an alternative
to Frame(w, cnf={"class": "classname"}).  I think this is the only
	widget other than Toplevel that needs to be concerned about setting
	the widget's class (-class must be the first option on the Tcl
	widget creation command).
1997-01-10 15:13:12 +00:00
Guido van Rossum 7fc0bf8247 Fix the following bug:
- When dragging the mouse in either listbox, the *first* entry
clicked on is selected rather than the last (but the last one is
highlighted).

This is done by changing the bindtags so that our binding is executed
after the default binding (which sets the 'active' index to the last
item selected), and using 'active' instead of 'anchor' as the index to
ask for.
1997-01-03 23:39:26 +00:00
Guido van Rossum 178ff353e8 Fix bogus implementation of Group.bind().
Added unbind() to CanvasItem and Group classes.
1996-12-27 15:40:31 +00:00
Guido van Rossum 8371013f9a Added config(ure) method to Image class.
(Fred Drake)
1996-12-27 15:33:17 +00:00
Guido van Rossum 0b96b945b8 Change the default values for IntVar and DoubleVar to numbers (they
were strings, accidentally).
1996-12-27 15:30:20 +00:00
Guido van Rossum c0967cd4a2 Added a bunch of new winfo options; we should now be up to date with
Tk 4.2.  The new winfo options supported are: mananger, pointerx,
pointerxy, pointery, server, viewable, visualid, visualsavailable.

Also fixed bugs in winfo_colormapfull() and winfo_containing().
1996-12-12 16:43:05 +00:00
Guido van Rossum 40a172c779 Added ALL='all'. 1996-11-20 22:20:21 +00:00
Guido van Rossum 58103d3b11 Turn leading minus sign into underscore for image widget name -- the
hyphen confused Tk into thinking the name was an option.
1996-11-20 22:17:38 +00:00
Guido van Rossum 73eba25f5f Don't require leading '-' on option name to Text.tag_cget 1996-11-11 19:10:58 +00:00
Guido van Rossum 40f7a55608 Get rid of bogus binding of <Delete> to a function that deletes the next
character (this is already a built-in binding now).
1996-10-24 18:34:36 +00:00
Guido van Rossum 149574767c Added support for floating point resolution to Scale.get(). 1996-10-23 14:16:28 +00:00
Fred Drake 0c373691ae (Tkinter.py): Fixed bug in re-implementation of OptionMenu. 1996-10-21 17:09:31 +00:00
Guido van Rossum 28574b557b (Fred Drake:) Re-wrote the OptionMenu class to allow access to a real
Menu object via om['menu'] -- this is necessary to use a post-command
with an OptionMenu.  The API has not changed.
1996-10-21 15:16:51 +00:00
Fred Drake cab3c3b8d4 (Tkinter.py): Improve application basename determination to make .py and
.pyc extensions completely equivelent when locating the "profile"
	which should be read on startup.
1996-10-06 17:55:20 +00:00
Fred Drake 3faf9b4d48 (Tkinter.py): Fixed dumb typo in Misc.tk_setPalette(). 1996-10-04 19:23:04 +00:00
Fred Drake 3c602d7d0c (Tkinter.py): Many revisions for Tk 4.X: Added clipboard support, updated
selection interface, handle the -displayof option intelligently in
	many places.  Added "wm colormapwindows" and "winfo colormapfull"
	support.  Removed "focus default" and "focus none" method: these are
	not in Tk 4.X.
1996-09-27 14:06:54 +00:00
Fred Drake e9c515adc7 (Canvas.py): Added definition of CanvasItem.cget() as suggested by
Nils Fischbeck.
1996-09-26 20:21:26 +00:00
Guido van Rossum 6e8ec59eb4 Implement lower by calling lower, not lift. 1996-09-11 14:25:41 +00:00
Guido van Rossum 6b7a7e9fe0 Bug fixes in index&icursor suggested by Nils Fischbeck. 1996-09-11 14:23:43 +00:00
Guido van Rossum 688bbfc217 simpler version of the previous fix 1996-09-10 12:39:26 +00:00
Guido van Rossum 8535b29f39 compatibility changes suggested by Jack,
for tk_menuBar and tk_bindForTraversal
(i.e. don't call these for Tk >= 4.1)
1996-09-10 12:36:34 +00:00
Guido van Rossum 5c1d1ee8a8 Change to allow keyword args for Group,
suggested by Nils Fischbeck, adapted by Fred
1996-09-06 21:09:31 +00:00
Guido van Rossum 42b78e6441 Fixed Entry.select_from() to acually call the "select from" widget
command instead of the non-existant "select set".  (Fred)
1996-09-06 14:20:23 +00:00
Guido van Rossum 2caac73aa6 Added Menu.insert*() methods [Fred] 1996-09-05 16:46:31 +00:00
Guido van Rossum e1a7a3b3b3 Add initial values to variables to avoid crash in __del__ 1996-09-05 16:45:49 +00:00
Guido van Rossum 5c8c91bbc5 Changes for Canvas by Fred 1996-08-22 23:18:09 +00:00
Guido van Rossum c417ef8e57 Added a small test program. 1996-08-21 23:38:59 +00:00
Guido van Rossum 5468a7b76b stupid typo in latest fix ('Name' should be 'name') 1996-08-08 18:31:42 +00:00
Guido van Rossum 524e9a450b Need to import * from types 1996-08-08 18:31:11 +00:00
Guido van Rossum 9afdabffa9 Add missing close parenthesis. 1996-07-30 20:16:21 +00:00
Guido van Rossum 053313a507 Change to use keyword args instead of dicts 1996-07-30 18:35:38 +00:00
Guido van Rossum c8b4791d9e Two independent changes:
- accept empty string from focus_get
- map coords() return value through getdouble and splitlist
1996-07-30 16:31:32 +00:00
Guido van Rossum ad8b3baa91 Restore the capability to pass a class (usually Pack) as an option to widget
creation; no longer support this for the config method.
1996-07-21 03:05:05 +00:00
Guido van Rossum 17f2b2dfed Don't use tktools, dummy! Reworded test message slightly. 1996-07-21 02:20:06 +00:00
Guido van Rossum 421bb0e389 fix canvas bind commands 1996-07-21 02:19:32 +00:00
Guido van Rossum bd6187fcce get rid of temporary README about Tommy's efforts 1996-06-17 17:15:28 +00:00
Guido van Rossum 990e619b45 new simple dialog module, incompatible 1996-06-17 17:14:46 +00:00
Guido van Rossum 72e316428f made it work again with changed Tkinter 1996-05-28 23:15:20 +00:00
Guido van Rossum 0978f993e3 Major overhaul:
- Support ~[user] expansion.

- Remember last directory and pattern; optional 'key' argument
specifies different memory locations.

- Absolutify pathnames if possible.

- WM close event cancels the dialog.

- First arg to go() can be either a directory or a file (renamed to
dir_of_file); defaults to current directory.
1996-05-28 23:14:36 +00:00
Guido van Rossum 51b708ab61 don't export selection 1996-05-28 23:10:30 +00:00
Guido van Rossum 422cc7ffec more changes copied from Grail 1996-05-21 20:30:07 +00:00