[wxPython-users] ANN: CubeColourDialog Control for wxPython :-D

jmf jfauth at bluewin.ch
Wed Aug 22 23:46:25 PDT 2007


Hi again,

Stef Mientki wrote:
 > One small detail I'm missing in the color dialog,
 > is the palette of 16 selected colors (as shown in the windows / linux
 > dialog).
 > If you to set more than just a few colors,
 > it's very handy that you can collect these colors,
 > so after selecting the right set of colors,
 > each component really gets the same color,
 > without writing down all those hex numbers.

I understand your point Stef... the only problem I see is that there
is no more space (in terms of screen space) to add the standard
Windows/Linux colours palette left... but any idea about that is
welcome!

----

May be a small palette containing the common 16 base colours:

wxColour(red=128, green=0, blue=0)
wxColour(red=255, green=0, blue=0)
wxColour(red=128, green=0, blue=128)
wxColour(red=255, green=0, blue=255)
wxColour(red=0, green=128, blue=128)
wxColour(red=0, green=0, blue=255)
wxColour(red=0, green=128, blue=128)
wxColour(red=0, green=255, blue=255)
wxColour(red=0, green=128, blue=0)
wxColour(red=0, green=255, blue=0)
wxColour(red=128, green=128, blue=0)
wxColour(red=255, green=255, blue=0)
wxColour(red=0, green=0, blue=0)
wxColour(red=192, green=192, blue=192)
wxColour(red=128, green=128, blue=128)
wxColour(red=255, green=255, blue=255)

They are so many used !

To Robin:
This is what I miss a lot in wxPython/wxWidgets. I do no more count the number 
of times when my fingers typed wx.YELLOW ... to produce an AttributeError.
I know there is the NamedColour lib, but these 16 base colours are so handy for 
a testing purposes.
If I recall correctly, I already "complain" about this on the dev list.

Jean-Michel Fauth, Switzerland




More information about the wxpython-users mailing list