On Wed, 01 Apr 2009 21:27:18 +1100 Andy Todd <an...@ha...>
wrote:
> Definition: colorDialog(parent=None, colorData=None, color=None)
> Docstring:
> <no docstring>
>
> Which tells me that you can supply two optional parameters when you
> create the dialog, one called colorData and another called color.
...and there was me getting lost trying to follow the
Pythoncard->wxPython->wx class hierarchy and work out what you could
pass into the constructor. I really must look into iPython one of these
days.
It looks like colorData and color correspond to...er...ColorData
and Color objects, the former being specific to the color picker
dialog (it stores various settings including RGB). If you just want to
pass an RGB value it looks like you use the Color object.
--
XXXXXXXXXXX
|