[fxruby-users] How can I color?

Jeroen van der Zijp jeroen at fox-toolkit.org
Sun Feb 5 22:09:48 EST 2006

On Friday 03 February 2006 13:31, Ronaldo Rodrigues Ferreira wrote:
> Hi everyone,
>    I have a text on the FXText widget. I'd like to color different 
> characters with different colors. By example, I want that an A be 
> painted with green, a B with blue, etc. How can I do this?
>    And I have a FXTable widget. I'd like to color the cells with 
> different colors, depending of its content.. The method setCellColor of 
> this class just let me color following the specified rules.
>        Waiting for help,

Take a look at Adie.  It uses FXText's style buffer and style table.

	- Jeroen

| Copyright (C) 21:00 02/ 5/2006 Jeroen van der Zijp.   All Rights Reserved. |

More information about the fxruby-users mailing list