Commit Graph

94 Commits

Author SHA1 Message Date
Guido van Rossum
065627e15c Add "select all" by clicking on (0,0) cell.
Redo setting the selection and setting the beacon to deal better
with rows or columns -- these are now expressed by range (1, sys.maxint).
2002-11-02 22:18:46 +00:00
Guido van Rossum
bfcd6533e4 Add ESC key binding -- undo current cell editing. 2002-11-02 06:50:05 +00:00
Guido van Rossum
3669242ac9 Major breakthrough in selection -- drag-select multiple cells now
works.  Also row and column selection works (sort of).  The DEL
key deletes the selected rectangle.  sys.argv[1] used by test_gui().
2002-11-02 06:25:51 +00:00
Guido van Rossum
69ccfcc8da Spreadsheet demo that I used in the advanced talk at Linux Lunacy II. 2002-10-28 01:06:37 +00:00
Guido van Rossum
eeb7827cad Remove reference to deleted 'www' directory. 2002-10-18 18:54:22 +00:00
Tim Peters
817ed5a750 Kill another merge zombie. 2001-07-17 21:10:44 +00:00
Guido van Rossum
75698a4937 Removing these scripts. redemo.py lives on in Tools/scripts/.
regexdemo.py is obsolete with the regex module.
2000-10-06 17:38:42 +00:00
Guido van Rossum
6a1b1338de Removing junk 2000-05-11 18:28:03 +00:00
Guido van Rossum
60cc90ec98 This demo imported some private code from Matt. Make it cripple along. 1999-04-08 15:18:12 +00:00
Guido van Rossum
fe78cc0f7e Adding Fredrik Lundh's demo of the option menu. 1998-10-20 15:32:39 +00:00
Guido van Rossum
9c2c1e88a3 Fix multi-arg list.append() calls. 1998-10-08 15:24:48 +00:00
Barry Warsaw
dfae3d55f2 Added a 'Help' special menu to show how this is done. 1998-10-06 19:37:20 +00:00
Guido van Rossum
d24d3fcd03 Added the mainloop() call. 1998-09-14 17:52:29 +00:00
Guido van Rossum
98c92c83a5 Show how to do switchable panels. 1998-07-15 14:58:05 +00:00
Guido van Rossum
7e0e9555b7 Get rid of the lock; it's no longer needed. 1998-06-30 17:01:06 +00:00
Guido van Rossum
5542449875 Remove the doc string -- it doesn't tell the truth. 1998-05-29 20:08:35 +00:00
Guido van Rossum
0da45c4089 New demo -- Perl style regular expression matching.
Slightly more featureful than regexdemo.py.
1998-05-29 19:57:47 +00:00
Guido van Rossum
7e7912f2ca Protect all uses of the random generator with a lock.
Particles break out of their loop when the main loop exits.
1998-05-28 23:02:33 +00:00
Guido van Rossum
3d3a52aa3a An example of a multi-threaded Tkinter program. 1998-05-28 22:52:01 +00:00
Guido van Rossum
f638d1c9dd Fix some comments; move 'import random' to top. 1998-05-26 21:43:44 +00:00
Guido van Rossum
6c3a2cbc52 whrandom -> random 1998-05-20 17:13:01 +00:00
Guido van Rossum
29892d848c Use whrandom instead of rand.
Run 500 steps instead of forever.
1998-05-19 21:16:10 +00:00
Guido van Rossum
bd8341eeeb Catch exceptions in final self.destroy() call. 1998-04-10 19:17:41 +00:00
Guido van Rossum
25f1722dd7 Paint demo by Dave Mitchell. There's clearly a demand for such a
demo, so here it is.
1998-01-26 16:47:30 +00:00
Guido van Rossum
37885c27c0 Trivial change in prompt label suggested by Case Roole. 1997-11-24 17:49:13 +00:00
Guido van Rossum
46a0bb4c3c Typo discovered by Case Roole. 1997-10-07 14:37:58 +00:00
Guido van Rossum
d6449a2b11 Be more careful with closing fd's 0,1,2. 1997-10-07 14:37:31 +00:00
Guido van Rossum
5edcf34fac Change bind() to tag_bind() so it works again. 1997-09-24 13:39:51 +00:00
Guido van Rossum
a2f626ff58 Patch by Case Roole <cjr@bound.xs4all.nl> to fail with a more
explanatory message when the manual directories aren't found.
(I have to say I'm surprised that it actually still works!)
1997-09-15 15:39:11 +00:00
Guido van Rossum
21c5c8fa5b Correct off-by-two-pixels error. 1997-08-22 20:56:07 +00:00
Guido van Rossum
dac444703d Add try-finally around main loop. 1997-08-14 19:49:27 +00:00
Guido van Rossum
9a8cb84072 Checked in some new Tk demos that I wrote a while ago. 1997-04-03 00:04:51 +00:00
Guido van Rossum
b5846d7600 A different winning animation. 1996-12-30 16:45:14 +00:00
Guido van Rossum
a0dc1c4a61 Actually, *this* fixes the last bug. 1996-12-30 02:37:07 +00:00
Guido van Rossum
1b2b53a25d Considerably restructured. This fixes the one remaining bug. 1996-12-30 02:20:29 +00:00
Guido van Rossum
8de9f894e1 Solitaire game, like the one that comes with Windows. 1996-12-29 20:15:32 +00:00
Guido van Rossum
f06ee5fa07 /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
Guido van Rossum
58a7856961 Pass self as master to Entry() widget constructor. 1996-11-27 19:47:42 +00:00
Guido van Rossum
a4ddb238bc update -- Undo is now entry 1 1996-08-21 20:13:08 +00:00
Guido van Rossum
89cb67bb64 Updated for Python 1.4 1996-07-30 18:57:18 +00:00
Fred Drake
4dd0bf92e6 (rmt.py): Updated to "modern" python coding conventions, somewhat. Keyword
arguments and explicit calls to .pack() are used; no more dictionaries
	are being passed to Tkinter constructors.  Otherwise, the example is
	unchanged.  (The app isn't implemented as a Python object.)
1996-07-23 17:47:21 +00:00
Guido van Rossum
faefe4cb60 Fix typos (need to use tag_bind, not bind). 1996-05-24 18:40:46 +00:00
Guido van Rossum
e71c5a7585 Removed broken tst.py 1996-04-26 20:53:30 +00:00
Jack Jansen
10d0f8fc40 Renamed module tkinter to _tkinter 1995-10-23 14:36:05 +00:00
Guido van Rossum
81a07ceddc idraw on top of an image 1995-10-11 18:27:23 +00:00
Guido van Rossum
447ae53eab fix for 4.0 1995-10-08 00:41:25 +00:00
Guido van Rossum
502d96021b incompletely converted to Tk 4.0 1995-09-07 19:59:22 +00:00
Guido van Rossum
c27e04228c adapted to Tk 4.0 and CNRI man page locations 1995-09-07 19:47:46 +00:00
Guido van Rossum
69428f1fb3 improve fonts; Tk 4.0 aware 1995-09-07 19:46:43 +00:00
Guido van Rossum
bbf817557f simplified no Tk() sets _default_root 1995-09-07 19:45:52 +00:00