summaryrefslogtreecommitdiffstats
path: root/Tools/pynche/ListViewer.py
Commit message (Collapse)AuthorAgeFilesLines
* Make the Pynche tool work with Python 3.Georg Brandl2010-08-021-1/+1
|
* __populate(): Use augmented assignments.Barry Warsaw2001-07-101-1/+1
|
* update_yourself(): Removed unused local variable reported byBarry Warsaw2001-04-181-1/+0
| | | | PyChecker.
* Add a module global variable ADDTOVIEW to conform to dynamic viewerBarry Warsaw1999-04-271-1/+3
| | | | lookup protocol.
* Lots of changes to support loading alternative color name database.Barry Warsaw1999-04-261-18/+26
| | | | | | | | | You can switch database by just loading the new one; the list window and nearest colors adapt to the new database. Some reorganizing of code. Also, the name of the database file is stored in the ~/.pynche pickle. If it can't be loaded, fallbacks are used.
* Many changes to support a second mode of operation. Pynche can now beBarry Warsaw1998-10-221-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | run either as a standalone application (by running pynche or pynche.pyw), or as a modal dialog inside another application. This can be done by importing pyColorChooser and running askcolor(). The API for this is the same as the tkColorChooser.askcolor() API, namely: When `Okay' is hit, askcolor() returns ((r, g, b), "name"). When `Cancel' is hit, askcolor() returns (None, None). Note the following differences: 1. pyColorChooser.askcolor() takes an optional keyword `master' which if set tells Pynche to run as a modal dialog. `master' is a Tkinter parent window. Without the `master' keyword Pynche runs standalone. 2. in pyColorChooser.askcolor() will return a Tk/X11 color name as "name" if there is an exact match, otherwise it will return a color spec, e.g. "#rrggbb". tkColorChooser can't return a color name. There are also some UI differences when running standalone vs. modal. When modal, there is no "File" menu, but instead there are "Okay" and "Cancel" buttons. The implementation of all this is a bit of a hack, but it seems to work moderately well. I'm not guaranteeing the pyColorChooser.Chooser class has the same semantics as the tkColorChooser.Chooser class.
* Saving/Restoring state into ~/.pynche fileBarry Warsaw1998-10-201-1/+5
|
* Better quittingBarry Warsaw1998-10-061-2/+1
|
* Update main window when Update on Click is turned onBarry Warsaw1998-10-061-1/+7
|
* TitleBarry Warsaw1998-10-051-2/+1
|
* Added Alt-w bindingsBarry Warsaw1998-10-051-0/+3
|
* DocstringBarry Warsaw1998-10-021-0/+17
|
* Functionality completeBarry Warsaw1998-10-021-5/+45
|
* Got click on working. Dragging is disabled for nowBarry Warsaw1998-10-021-35/+17
|
* Lots of good UI working, but not yet update-while-draggingBarry Warsaw1998-10-011-13/+31
|
* *** empty log message ***Barry Warsaw1998-10-011-0/+98