Canvas background color



Hi,

How can I change background color of gnome canvas ?
I know I should probably use GtkStyle ... but I didn't success yet.
Any workable code example is appreciated.

And does anyone can tell me why GNOME or GTK choose a "complicated" way
to handle background, foreground color ?  Such functions are trivial
in some toolkit such as Tcl/Tk ...  I'm quite surprised that I still can't make
it work by checking the APIs manual again and again ...

Thanks
KC
kccheng LinuxDAQ-Labs org



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]