PDA

View Full Version : How to get the background of Gtk::Widget?



cl333r
May 19th, 2009, 11:22 PM
Hi,
I'm using Gtkmm and I noticed there's no method like get_background().
I'm using Cairo to draw and it doesn't have such a feature either.

So folks, how do I get the current background?

I need to draw a few lines using the background of the widget I'm drawing to (which is a Gtk::TreeView in case it matters).

Any simple example or link please?