summaryrefslogtreecommitdiffstats
path: root/Tools/pynche
Commit message (Collapse)AuthorAgeFilesLines
* Error message goes to stderrBarry Warsaw1998-10-221-4/+8
| | | | | canceled() takes an optional flag so that the canceled flag can be cleared.
* beep => bellBarry Warsaw1998-10-221-3/+6
| | | | deiconify(): New method
* 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.
* Describe all the new featuresBarry Warsaw1998-10-221-133/+262
|
* Chooser.__init__(): Added `wantspec' keyword to conform exactly toBarry Warsaw1998-10-221-4/+10
| | | | | tkColorChooser.askcolor() interface (i.e. don't return a color name even if there is an exact match).
* Many changes to support a second mode of operation. Pynche can now beBarry Warsaw1998-10-2210-120/+256
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2010-27/+160
|
* The driver script on Unix is `pynche'; for Windows `pynche.pyw'Barry Warsaw1998-10-161-2/+2
|
* Updated __main__ unit testBarry Warsaw1998-10-151-5/+10
|
* Updated about textBarry Warsaw1998-10-071-3/+3
|
* Moved the main pynche.py file to Main.py. Added minimal driverBarry Warsaw1998-10-075-5/+16
| | | | | scripts pynche.py and pynche.pyw for Unix and Windows startup respectively. Document the .pyw file in the README.
* Better layout of options menu and inc/dec buttonsBarry Warsaw1998-10-071-13/+16
|
* Fixes for some type-in strangenessBarry Warsaw1998-10-071-8/+18
|
* Add a note about the console windowBarry Warsaw1998-10-061-4/+6
|
* Never mindBarry Warsaw1998-10-061-0/+0
|
* Add link for WindowsBarry Warsaw1998-10-061-0/+0
|
* RightARrow._create(): justify=RIGHT on the text objectBarry Warsaw1998-10-061-0/+1
|
* A readmeBarry Warsaw1998-10-061-0/+173
|
* Add a SELECTION to the pre-inserted textBarry Warsaw1998-10-061-1/+6
|
* Copyright CNRIBarry Warsaw1998-10-061-2/+1
|
* Added the rgb.txt file from X11R6.4, including the licenseBarry Warsaw1998-10-061-0/+3
|
* Initial revisionBarry Warsaw1998-10-062-0/+782
|
* Better initial color choosingBarry Warsaw1998-10-062-17/+37
|
* Better quittingBarry Warsaw1998-10-063-6/+3
|
* Converted to newstyle menubarsBarry Warsaw1998-10-061-34/+43
|
* Update main window when Update on Click is turned onBarry Warsaw1998-10-061-1/+7
|
* Added version number in the About windowBarry Warsaw1998-10-061-4/+6
|
* Track color changes: disable buttons and their labels when turned offBarry Warsaw1998-10-061-13/+28
|
* Color Variation Ties => Move SlidersBarry Warsaw1998-10-061-15/+15
| | | | Moved buttons to the top
* main(): Better recovery when bogus color given on command lineBarry Warsaw1998-10-061-3/+2
|
* rrggbb_to_triplet(): When color doesn't start with `#' raise aBarry Warsaw1998-10-061-1/+2
| | | | BadColor exception.
* Added a hex button so arrow numbers can display in decimal or hex.Barry Warsaw1998-10-061-7/+30
|
* __togglehex(): SimplifyBarry Warsaw1998-10-061-12/+2
|
* hexp() => hexp_var()Barry Warsaw1998-10-061-2/+2
|
* hexp(): New functionBarry Warsaw1998-10-061-0/+3
|
* __normalize(): Preserve the location of the icursor and restore it soBarry Warsaw1998-10-061-0/+3
| | | | that Left/Right arrow keys and C-a C-e all work.
* Changed the grey/magenta/cyan/yellow label text slightly.Barry Warsaw1998-10-061-5/+5
| | | | Changed Color Ties label to Color Variation Ties
* 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.
* TitleBarry Warsaw1998-10-053-8/+6
|
* Finished implementation + docstringBarry Warsaw1998-10-051-0/+262
|
* Added Alt-w bindingsBarry Warsaw1998-10-052-0/+5
|
* Added details windowBarry Warsaw1998-10-051-1/+11
|
* current_rgb(): New methodBarry Warsaw1998-10-051-0/+3
|
* *** empty log message ***Barry Warsaw1998-10-051-0/+0
|
* DocstringBarry Warsaw1998-10-021-0/+14
|
* DocstringBarry Warsaw1998-10-023-1/+58
|
* DocstringBarry Warsaw1998-10-022-0/+20
|
* Added the ListViewerBarry Warsaw1998-10-021-0/+11
|
* Updated docstring.Barry Warsaw1998-10-021-5/+12
|
* all_names(): => unique_names()Barry Warsaw1998-10-021-2/+12
| | | | aliases_of(): New method