ClassyTcl

  ColorHSV

Home    Documentation    Screenshots    Binary distributions    Source distribution   

subclass of Widget
An HSV color selector for composing color values. A large part of this code has been inspired by the colorselect widget in the [Incr Tcl] 1.5 distribution

ColorHSV specific options

Command-Line Name: -size
Database Name: size
Database Class: Size
gives the desired size of the widget. (it is square, so no width and height.)
Command-Line Name: -command
Database Name: command
Database Class: Command
command to be executed upon changing the color

ColorHSV specific methods

pathname set value
set the current color to $value, without executing command
pathname set value
set the current color to $value
pathname get
get the current color
pathname getHSV
get the current color as a list of hue, saturation and value
Peter De Rijk
hosted at SourceForge.net Logo