summaryrefslogtreecommitdiffstats
path: root/Tools/pynche/Main.py
Commit message (Collapse)AuthorAgeFilesLines
* Bump to version 1.3Barry Warsaw2001-08-231-1/+1
|
* __version__: Bump to 1.2Barry Warsaw2001-07-101-6/+8
| | | | De-string-module-ification.
* Bump the version to 1.1Barry Warsaw2001-04-181-1/+1
|
* add a commentBarry Warsaw1999-04-271-0/+1
|
* Set the version number to 1.0 -- I think it's stable enoughBarry Warsaw1999-04-261-1/+1
|
* Lots of changes to support loading alternative color name database.Barry Warsaw1999-04-261-13/+21
| | | | | | | | | 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.
* Added /usr/lib/X11/rgb.txt in front of X/rgb.txt for LinuxersBarry Warsaw1999-04-231-0/+2
|
* A start on the TestModExp appletBarry Warsaw1998-12-151-2/+2
| | | | "Author" => "Contact"
* docstring(): Function for returning __doc__ % globals()Barry Warsaw1998-12-031-1/+6
|
* A little more tweakageBarry Warsaw1998-11-181-5/+20
|
* tweak version numberBarry Warsaw1998-11-181-1/+1
|
* Fixed running of standalone via command line. Also, only do save fromBarry Warsaw1998-10-221-3/+5
| | | | main() so that run-as-modal doesn't automatically save database.
* Many changes to support a second mode of operation. Pynche can now beBarry Warsaw1998-10-221-35/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-9/+42
|
* Moved the main pynche.py file to Main.py. Added minimal driverBarry Warsaw1998-10-071-2/+0
| | | | | scripts pynche.py and pynche.pyw for Unix and Windows startup respectively. Document the .pyw file in the README.
* Added the rgb.txt file from X11R6.4, including the licenseBarry Warsaw1998-10-061-0/+3
|
* Better initial color choosingBarry Warsaw1998-10-061-13/+30
|
* main(): Better recovery when bogus color given on command lineBarry Warsaw1998-10-061-3/+2
|
* usage(): Print msg at end of docstringBarry Warsaw1998-10-061-3/+4
| | | | | main(): Fixed logic error and reporting when no colordb was found. Given by GvR.
* Change some init orderBarry Warsaw1998-10-011-5/+10
|
* Rework startupBarry Warsaw1998-09-281-26/+10
|
* Un PMW-ifiedBarry Warsaw1998-09-281-27/+41
|
* fixed initial colorBarry Warsaw1998-02-121-1/+1
|
* Better conversion of command line given initial colorBarry Warsaw1998-02-111-3/+18
|
* Moved toplevel widget to PyncheWidget.pyBarry Warsaw1998-01-311-1/+92
|
* Initial revisionBarry Warsaw1998-01-271-0/+23