Re: 2 pixmap on atransparent window



youssa voila fr wrote:

please how to modify the weelbarrow exemple to have 2 pixmap showen??

  You can only 'shape' to one bitmap.

You'll have to load both pixmaps, get the sizes of them (gdk_window_get_size((GdkWindow *)pixmap,&w,&h)), then create a new bitmap of the correct size; finally draw/copy (using gdk_ ops.) the original pixmaps' mask bitmaps into the new bitmap, and use the result to shape with.

--
[neil fnx ~]# rm -f .signature
[neil fnx ~]# ls -l .signature
ls: .signature: No such file or directory
[neil fnx ~]# exit




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