Commit Graph

61 Commits

Author SHA1 Message Date
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 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 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 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 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
Guido van Rossum 55618efad9 use $DISPLAY 1995-09-07 19:44:48 +00:00
Guido van Rossum c66394d049 Initial revision 1995-09-07 19:42:57 +00:00
Guido van Rossum 5b98ac5b14 added hello world 1995-04-10 11:46:37 +00:00
Guido van Rossum 630112ed04 demonstrate shell in a Tk window 1995-01-10 17:08:10 +00:00
Guido van Rossum 4450bab750 update pathnames 1994-10-11 14:57:03 +00:00
Guido van Rossum ac97fd7fc8 Micro portability changes 1994-10-06 15:50:49 +00:00
Guido van Rossum 3d0df46fff AttrDialog.py: some structural changes
listtree.py: "Print" -> "List" in description
1994-08-03 08:10:35 +00:00
Guido van Rossum 78b0c82535 Made refile work -- basically set exportselection to 0 for list of
folders, then fix minor bugs and remove debug print statement.  Also
needs a fix to mhlib.py
1994-07-13 16:53:32 +00:00
Guido van Rossum 74f2565e7c Added comment about need of OO style 1994-07-13 13:08:01 +00:00
Guido van Rossum e7e8d1e15c Change remote operation -- display the widget tree in a listbox and
open relevant dialogs on double click
1994-07-13 12:56:10 +00:00
Guido van Rossum 3284abe754 Initial revision 1994-07-13 12:54:42 +00:00
Guido van Rossum 50f437c968 Added names to demo widgets; added RemoteWidgetDialog. 1994-07-12 16:37:21 +00:00
Guido van Rossum 3e4f182f4c Added names to all widgets 1994-07-12 16:35:35 +00:00
Guido van Rossum 28bb652887 correct typo 1994-07-12 15:55:43 +00:00
Guido van Rossum b78e03c23d Complete redesign for more code sharing.
Added readonly options, used for .class field.
1994-07-12 15:53:26 +00:00
Guido van Rossum c618ed9868 Use disabled state to enforce read-only state (bit painful since it means
switching states each time we insert some text but has to be done this way
since else class bindings might allow editing...)
1994-07-12 09:00:42 +00:00
Guido van Rossum 3e395be1ee Initial revision 1994-07-12 08:58:25 +00:00
Guido van Rossum 36ea0e760e Add menu to change directories -- also generalize acceptable names from *.n
into *.[ln123456789]
1994-07-11 13:15:05 +00:00
Guido van Rossum 0f650f4107 Use guido's Python 1994-07-08 15:11:08 +00:00
Guido van Rossum 18886ab24f Initial revision 1994-07-08 15:08:55 +00:00
Guido van Rossum 119749b7d7 Adapted to new async ManPage interface (kill, busy);
Added case sensitive searching;
Added explicit buttons for man page display and search (in addition to
<Return> and double clicking in the listbox)
1994-07-08 14:28:38 +00:00
Guido van Rossum 7d5e4217ef Rewritten somewhat again, distinguished between internal and external
methods (internal ones start with '_'), asynchronous transfers are now
killed synchronously (i.e. after t.kill(), t.busy() is false immediately).
1994-07-08 14:15:05 +00:00
Guido van Rossum 9755b26fa9 Always insert at 'end' 1994-07-08 09:17:26 +00:00
Guido van Rossum fdfa2b5136 parsefile() now calls self.update() while filling the buffer,
so you can read the top of the man page while the rest is being parsed
1994-07-08 09:14:54 +00:00