[wxPython-users] Re: about colors (and thanks)
Joan .
tontudelbot at gmail.com
Thu Jul 13 12:34:10 PDT 2006
hmmm
I'm thinking and... i don't use out_of_bounds... so, i can do it in
another way more simple and more efficient?
Thereforce, <a href="http://tontudelbot.no-ip.info/sudoku-2.py">my
ugly, inefficient and first program</a> :P
See you!
2006/7/13, Robin Dunn <robin at alldunn.com>:
> Joan . wrote:
> > here comes:
> >
> > Traceback (most recent call last):
> > File "/home/johan/Desktop/2.py", line 97, in casellesevent
> > caselles(cass)
> > File "/home/johan/Desktop/2.py", line 27, in __init__
> > casella.SetColors(self, wx.Colour(0,0,0))
> > File
> > "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/lib/intctrl.py",
> > line 705, in SetColors
> > self._colorValue()
> > File
> > "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/lib/intctrl.py",
> > line 724, in _colorValue
> > self.SetForegroundColour(self.__default_color)
> > File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py",
> > line 9524, in SetForegroundColour
> > return _core_.Window_SetForegroundColour(*args, **kwargs)
> > TypeError: Expected a wxColour object or a string containing a colour
> > name or '#RRGGBB'.
> >
> > I tried using a string with name color or hex values too...
>
> I still can't duplicate this. Please make a small runnable sample app
> that shows the problem.
>
>
> --
> Robin Dunn
> Software Craftsman
> http://wxPython.org Java give you jitters? Relax with wxPython!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
>
>
More information about the wxpython-users
mailing list