Setting Drawing Area Background Color



Hello all,

How do I set the background color of a DrawingArea?  The DrawingArea is a
GtkWidget and I'm able to use the default DrawingArea->style->black_gc to
color it black when calling gdk_draw_rectangle() , but I want to change the
color to something else other than the default colors of white_gc or
black_gc.  Any hints on how to do this?

Thanks a bunch.

Paul Fiorillo



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