Re: FXRuby table and color questions

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: FXRuby table and color questions

by Lyle Johnson-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Nov 9, 2009 at 1:38 PM, Leslie Viljoen <leslieviljoen@...> wrote:

> Does the Fox toolkit support partial transparency?

Not as far as I know.

When you assign an icon image to a widget (usually a label or button),
FOX will honor any regions identified as fully transparent in the
image. For PNGs, it uses the alpha channel to identify regions where
alpha is zero; for other image types it can guess the transparent
color or you can specify it explicitly.

> Also, is it possible to give different background colours to each cell
> in a FXTable? The documentation seems to
> skirt past this issue with a setCellColor function which only provides
> for global shading of every second row/col.
> Maybe I am missing something obvious?

You aren't missing anything. All you can achieve with the table, short
of maybe subclassing it and overriding the drawing behavior, is set
alternating cell colors.
_______________________________________________
fxruby-users mailing list
fxruby-users@...
http://rubyforge.org/mailman/listinfo/fxruby-users