]> granicus.if.org Git - python/commit
__init__(): Removed initialcolor keyword.
authorBarry Warsaw <barry@python.org>
Thu, 22 Oct 1998 18:51:22 +0000 (18:51 +0000)
committerBarry Warsaw <barry@python.org>
Thu, 22 Oct 1998 18:51:22 +0000 (18:51 +0000)
commit2be858230a1253b773a7e0d004ac84fae785d8b9
tree72f11361d9baeebf24f0afdf9e15d4c69407a94b
parentf72d580d5e7759fd75ab18c238f851cadba248b3
__init__(): Removed initialcolor keyword.

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.
Tools/pynche/pyColorChooser.py