Setting colour of a window



Hi, All!
I'v trying to change the background color of a GtkWindow in this
way:

this->get_window()->set_background(Gdk::Color("maroon"));
this->get_window()->clear();

However, it is still gray .
Where am I wrong?

Igor Gorbounov





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