[wxpython-users] wxGridCellRenderer

Raffaello Barella barbarossa.platz at gmail.com
Wed Apr 2 09:08:48 PDT 2008


Could you send the code you wrote until __init__?

2008/4/2, Nigel W. Moriarty <nw_moriarty at yahoo.com>:
>
> Hi Folks
>
> I'm trying to change the behaviour of the boolean cell renderer to show a
> # and nothing similar to the python comment character.  I'd be happy to
> subclass the base class but I can't get past the __init__ which fails with
> the following:
>
>   File
> "/net/rosie/scratch1/nigel/phenix-1.3b-final/reel/reel/RestraintGrid.py",
> line 24, in __init__
>     wx.grid.GridCellRenderer.__init__(self, *args, **kwds)
>   File
> "/net/rosie/scratch1/nigel/phenix-1.3b-final/build/intel-linux-2.6-x86_64=
/base/lib/python2.5/site-packages/wx-2.8-gtk2-ansi/wx/grid.py",
> line 112, in __init__
>     def __init__(self): raise AttributeError, "No constructor defined"
> AttributeError: No constructor defined
>
> Nigel
>
> ---
> <b>Nigel W. Moriarty</b>
>
>
>
>
>
>
>       ___________________________________________________________________=
_________________
> You rock. That's why Blockbuster's offering you one month of Blockbuster
> Total Access, No Cost.
> http://tc.deals.yahoo.com/tc/blockbuster/text5.com
> _______________________________________________
> wxpython-users mailing list
> wxpython-users at lists.wxwidgets.org
> http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200804=
02/3df4f760/attachment-0001.htm


More information about the wxpython-users mailing list