[gtkmm] RE: Setting colour of a window



> this->get_window()->set_background(Gdk::Color("maroon"));
> this->get_window()->clear();
> 
> However, it is still gray .
> Where am I wrong?

I doubt that "maroon" is a supported color string, but I don't know what
strings are supported.

Murray Cumming
www.murrayc.com
murrayc usa net



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