[wxPython-users] stylish text in grid
Robin Dunn
robin at alldunn.com
Thu Nov 2 20:39:24 PST 2006
Adam Groszer wrote:
> Hello Robin,
>
> What is the lifecycle of the custom renderer object?
> Does it get instanciated and GC'ed with the grid or with every cell?
It varies. It can be an instance per cell, per row, per col, or for the
whole grid. The Renderer object (and the Editor too) is assigned to a
cell attribute instance, so it depends on if you are setting the
attributes for cell, row, col, or default.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list