Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | A little more tweakage | Barry Warsaw | 1998-11-18 | 1 | -5/+20 |
| | |||||
* | (ChipViewer): Make frame sticky NSEW to fix geometry problem. | Barry Warsaw | 1998-11-18 | 1 | -1/+1 |
| | |||||
* | tweak version number | Barry Warsaw | 1998-11-18 | 1 | -1/+1 |
| | |||||
* | Updating | Barry Warsaw | 1998-11-18 | 2 | -4/+0 |
| | |||||
* | Brief update on the slightly changed API of pyColorChooser.askcolor(). | Barry Warsaw | 1998-10-22 | 1 | -11/+41 |
| | | | | Added a To Do list. | ||||
* | __init__(): Removed initialcolor keyword. | Barry Warsaw | 1998-10-22 | 1 | -6/+26 |
| | | | | | | | | | | | | | show(): added color keyword here so that the selected color can be chosen on each invocation of askcolor(). Also fixed this class, and askcolor() so that the same Chooser instance can be re-used instead of creating a new one on each invocation of askcolor(). Added a module function save() which can be used to explicitly save the option database in ~/.pynche. This does not happen automatically when used as a modal. | ||||
* | sticky should be NSEW to fix pixel weirdness at right edge | Barry Warsaw | 1998-10-22 | 1 | -1/+1 |
| | |||||
* | Error message goes to stderr | Barry Warsaw | 1998-10-22 | 1 | -4/+8 |
| | | | | | canceled() takes an optional flag so that the canceled flag can be cleared. | ||||
* | beep => bell | Barry Warsaw | 1998-10-22 | 1 | -3/+6 |
| | | | | deiconify(): New method | ||||
* | Fixed running of standalone via command line. Also, only do save from | Barry Warsaw | 1998-10-22 | 1 | -3/+5 |
| | | | | main() so that run-as-modal doesn't automatically save database. | ||||
* | Describe all the new features | Barry Warsaw | 1998-10-22 | 1 | -133/+262 |
| | |||||
* | Chooser.__init__(): Added `wantspec' keyword to conform exactly to | Barry Warsaw | 1998-10-22 | 1 | -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 be | Barry Warsaw | 1998-10-22 | 10 | -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 file | Barry Warsaw | 1998-10-20 | 10 | -27/+160 |
| | |||||
* | The driver script on Unix is `pynche'; for Windows `pynche.pyw' | Barry Warsaw | 1998-10-16 | 1 | -2/+2 |
| | |||||
* | Updated __main__ unit test | Barry Warsaw | 1998-10-15 | 1 | -5/+10 |
| | |||||
* | Updated about text | Barry Warsaw | 1998-10-07 | 1 | -3/+3 |
| | |||||
* | Moved the main pynche.py file to Main.py. Added minimal driver | Barry Warsaw | 1998-10-07 | 5 | -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 buttons | Barry Warsaw | 1998-10-07 | 1 | -13/+16 |
| | |||||
* | Fixes for some type-in strangeness | Barry Warsaw | 1998-10-07 | 1 | -8/+18 |
| | |||||
* | Add a note about the console window | Barry Warsaw | 1998-10-06 | 1 | -4/+6 |
| | |||||
* | Never mind | Barry Warsaw | 1998-10-06 | 1 | -0/+0 |
| | |||||
* | Add link for Windows | Barry Warsaw | 1998-10-06 | 1 | -0/+0 |
| | |||||
* | RightARrow._create(): justify=RIGHT on the text object | Barry Warsaw | 1998-10-06 | 1 | -0/+1 |
| | |||||
* | A readme | Barry Warsaw | 1998-10-06 | 1 | -0/+173 |
| | |||||
* | Add a SELECTION to the pre-inserted text | Barry Warsaw | 1998-10-06 | 1 | -1/+6 |
| | |||||
* | Copyright CNRI | Barry Warsaw | 1998-10-06 | 1 | -2/+1 |
| | |||||
* | Added the rgb.txt file from X11R6.4, including the license | Barry Warsaw | 1998-10-06 | 1 | -0/+3 |
| | |||||
* | Initial revision | Barry Warsaw | 1998-10-06 | 2 | -0/+782 |
| | |||||
* | Better initial color choosing | Barry Warsaw | 1998-10-06 | 2 | -17/+37 |
| | |||||
* | Better quitting | Barry Warsaw | 1998-10-06 | 3 | -6/+3 |
| | |||||
* | Converted to newstyle menubars | Barry Warsaw | 1998-10-06 | 1 | -34/+43 |
| | |||||
* | Update main window when Update on Click is turned on | Barry Warsaw | 1998-10-06 | 1 | -1/+7 |
| | |||||
* | Added version number in the About window | Barry Warsaw | 1998-10-06 | 1 | -4/+6 |
| | |||||
* | Track color changes: disable buttons and their labels when turned off | Barry Warsaw | 1998-10-06 | 1 | -13/+28 |
| | |||||
* | Color Variation Ties => Move Sliders | Barry Warsaw | 1998-10-06 | 1 | -15/+15 |
| | | | | Moved buttons to the top | ||||
* | main(): Better recovery when bogus color given on command line | Barry Warsaw | 1998-10-06 | 1 | -3/+2 |
| | |||||
* | rrggbb_to_triplet(): When color doesn't start with `#' raise a | Barry Warsaw | 1998-10-06 | 1 | -1/+2 |
| | | | | BadColor exception. | ||||
* | Added a hex button so arrow numbers can display in decimal or hex. | Barry Warsaw | 1998-10-06 | 1 | -7/+30 |
| | |||||
* | __togglehex(): Simplify | Barry Warsaw | 1998-10-06 | 1 | -12/+2 |
| | |||||
* | hexp() => hexp_var() | Barry Warsaw | 1998-10-06 | 1 | -2/+2 |
| | |||||
* | hexp(): New function | Barry Warsaw | 1998-10-06 | 1 | -0/+3 |
| | |||||
* | __normalize(): Preserve the location of the icursor and restore it so | Barry Warsaw | 1998-10-06 | 1 | -0/+3 |
| | | | | that Left/Right arrow keys and C-a C-e all work. | ||||
* | Changed the grey/magenta/cyan/yellow label text slightly. | Barry Warsaw | 1998-10-06 | 1 | -5/+5 |
| | | | | Changed Color Ties label to Color Variation Ties | ||||
* | usage(): Print msg at end of docstring | Barry Warsaw | 1998-10-06 | 1 | -3/+4 |
| | | | | | main(): Fixed logic error and reporting when no colordb was found. Given by GvR. | ||||
* | Title | Barry Warsaw | 1998-10-05 | 3 | -8/+6 |
| | |||||
* | Finished implementation + docstring | Barry Warsaw | 1998-10-05 | 1 | -0/+262 |
| | |||||
* | Added Alt-w bindings | Barry Warsaw | 1998-10-05 | 2 | -0/+5 |
| | |||||
* | Added details window | Barry Warsaw | 1998-10-05 | 1 | -1/+11 |
| | |||||
* | current_rgb(): New method | Barry Warsaw | 1998-10-05 | 1 | -0/+3 |
| |