[Java-gnome-developer] Non-Rectangular windows
Brought to you by:
afcowie
From: Stefan P. <pr...@tz...> - 2006-09-16 22:06:26
|
Hi all, I am trying to get a non-rectangular window (showing a progress bar). =46rom searching around the web, I found hints that applying a Pixbuf of a PNG with an alpha channel and a mask to a GDK window (and disabling the decoration) does the trick (at least for the non-rectangular part). At least for regular GTK+ with newer X Servers. But when trying to follow these hints in the Java bindings, I am stuck after loading a Pixbuf or a Bitmap with the image. I don't know how to set the background of the org.gnu.gtk.Window and I don't know how to use a org.gnu.gtk.Window and place a GTK widget in it (if this is even possible). Can anybody give me an example here? I would really appreciate it. Regards, Stefan --=20 Stefan Prelle <pr...@tz...> |