FXRuby: Possible to specify color for single cell?

Hello everyone,

I’m writing a small PIM-like application in ruby, and therefore, I’m
using the FXTable widget.

I need to change the color of some cells, but I only found methods to
change the color of, all even/odd rows/columns – no single cells.

Is there a way to change the color of a single cell?
Or does anyone know a workaround?

Thanks a lot,
Greetings & a Happy new Year!
Daniel

Daniel Sperl wrote:

Is there a way to change the color of a single cell?
Or does anyone know a workaround?

There isn’t a straightforward way to do this in FOX 1.0. You could
conceivably do it by subclassing FXTableItem and overriding its
drawContent() method, but that is much more problematic than it should
be. Hopefully, Jeroen will address some of these limitations in FOX 1.2.