Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
4cbf8562
Commit
4cbf8562
authored
Dec 03, 1998
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Untabification and other cruft
parent
3d536aa3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
31 deletions
+40
-31
Tools/pynche/README
Tools/pynche/README
+40
-31
No files found.
Tools/pynche/README
View file @
4cbf8562
Pynche - The PYthonically Natural Color and Hue Editor
Author: Barry A. Warsaw <bwarsaw@python.org>
Author: Barry A. Warsaw
Email: bwarsaw@python.org
Version: 0.1
Introduction
...
...
@@ -54,14 +57,14 @@ Running Standalone
--help
-h
Print the help message.
Print the help message.
initialcolor
a Tk color name or #rrggbb color spec to be used as the
initially selected color. This overrides any color saved in
the persistent init file. Since `#' needs to be escaped in
many shells, it is optional in the spec (e.g. #45dd1f is the
same as 45dd1f).
a Tk color name or #rrggbb color spec to be used as the
initially selected color. This overrides any color saved in
the persistent init file. Since `#' needs to be escaped in
many shells, it is optional in the spec (e.g. #45dd1f is the
same as 45dd1f).
Running as a Modal Dialog
...
...
@@ -81,7 +84,7 @@ Running as a Modal Dialog
When "Okay" is hit, askcolor() returns the tuple
((r, g, b), "name")
((r, g, b), "name")
where r, g, and b are red, green, and blue color values
respectively (in the range 0 to 255). "name" will be a color name
...
...
@@ -92,35 +95,35 @@ Running as a Modal Dialog
askcolor() supports the following optional keyword arguments:
color
the color to set as the initial selected color
color
the color to set as the initial selected color
master[*]
the master window to use as the parent of the modal
dialog. Without this argument, pyColorChooser will create
it's own Tkinter.Tk instance as the master. This may not
be what you want.
master[*]
the master window to use as the parent of the modal
dialog. Without this argument, pyColorChooser will create
it's own Tkinter.Tk instance as the master. This may not
be what you want.
databasefile[*]
similar to the --database option, the value must be a
file name
databasefile[*]
similar to the --database option, the value must be a
file name
initfile[*]
similar to the --initfile option, the value must be a
file name
initfile[*]
similar to the --initfile option, the value must be a
file name
ignore[*]
similar to the --ignore flag, the value is a boolean
ignore[*]
similar to the --ignore flag, the value is a boolean
wantspec[*]
When this is true, the "name" field in the return tuple
will always be a color spec of the form "#rrggbb". It
will not return a color name even if there is a match;
this is so pyColorChooser can exactly match the API of
tkColorChooser.
wantspec[*]
When this is true, the "name" field in the return tuple
will always be a color spec of the form "#rrggbb". It
will not return a color name even if there is a match;
this is so pyColorChooser can exactly match the API of
tkColorChooser.
[*] these arguments must be specified the first time
askcolor() is used and cannot be changed on subsequent calls.
[*] these arguments must be specified the first time
askcolor() is used and cannot be changed on subsequent calls.
The Colorstrip Window
...
...
@@ -330,3 +333,9 @@ To Do
- Support setting the font in the text view
I'm open to suggestions!
Local Variables:
indent-tabs-mode: nil
End:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment