[wxPython] grid redraw problem

Hi Robin et al.,

once again, directly from the grid frontier:

while trying to get around the ordinary grid bool edit behavior,
I'm suffering from redraw problems. The idea is: handle bools
directly in OnLeftClick/OnKeyDown methods. Space and left click
toggle the field programmatically. To force a redraw, my current
workaround just enable/disables the cell editor quickly. This
works, as long as the cell is completely visible. If not, the
cell is drawn, when the grid cursor leaves the cell. If there's
no fine solution, I could live with it, although it's not really
aesthetically pleasing.

Question: what's the generic way to redraw some cells/the grid?

Thanks for listening

Cheers
Pete

ยทยทยท

--
Real Programmers consider "what you see is what you get" to be just as
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated,
cryptic, powerful, unforgiving, dangerous.
_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/wxpython-users