Re: GTK+ & images



On Tue, 4 Jan 2005, Hubert Sokolowski wrote:

I have not been able to find a way to add an image to the background of a
window
created with glade.
I would like to have the base window to have a background image and each
button
on that window to also have an image as background. I have seen this done
on VB
& want the same functionality in GTK+.
Can this be done?
yes,
http://developer.gnome.org/doc/API/2.0/gdk/gdk-Windows.html#gdk-window-set-back-pixmap

Thank you Hubert, I did not know this.

---

Regards,
Alf Stockton    www.stockton.co.za

... A booming voice says, "Wrong, cretin!", and you notice that you
have turned into a pile of dust.



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