Set a background pixmap in Gtk+3



Hello List,

how can I set a pixmap for a Gtk::Window in gtkmm-3? In gtkmm-2 I did this in the following way:

Gtk::Window *window;
...
window->modify_bg_pixmap(Gtk::STATE_NORMAL, "bgimage.jpg");
...

modify_bg_pixmap no longer exists in gtkmm-3. Is there an easy way to come to the same result?

Thanks
Christian Schaubschläger




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