File: //lib64/python2.7/site-packages/pynche/ListViewer.pyo
ó
¿œ^c @ s9 d Z d d l Td d l Z d Z d d d „ ƒ YZ d S( s ListViewer class.
This class implements an input/output view on the color model. It lists every
unique color (e.g. unique r/g/b value) found in the color database. Each
color is shown by small swatch and primary color name. Some colors have
aliases -- more than one name for the same r/g/b value. These aliases are
displayed in the small listbox at the bottom of the screen.
Clicking on a color name or swatch selects that color and updates all other
windows. When a color is selected in a different viewer, the color list is
scrolled to the selected color and it is highlighted. If the selected color
is an r/g/b value without a name, no scrolling occurs.
You can turn off Update On Click if all you want to see is the alias for a
given name, without selecting the color.
iÿÿÿÿ( t *Ns Color %List Window...t
ListViewerc B st e Z d
d „ Z d „ Z d
d „ Z d
d „ Z d
d „ Z d
d „ Z d
d „ Z d „ Z
d „ Z d „ Z RS( c
C s= | | _ | j ƒ } d | _ d | _ t | d d ƒ} | _ | j d | j ƒ | j d ƒ | j
d ƒ | j d | j ƒ | j d | j ƒ | j d | j ƒ | j d | j ƒ t
| ƒ } | _ | j ƒ t | d
d d d
d d d t ƒ} | _ t | ƒ | _ | j j d t d t ƒ | j d t d d ƒ | j d | j d f ƒ | j j d | d f ƒ | j ƒ t ƒ | _ | j j | j d d ƒ ƒ t | d d d | j d | j ƒ| _ | j j d d d t ƒ t! | d d ƒ| _"