Re: Help with transparent pixmaps



In message <000d01c08ace$d75bfd40$2c50623e e6z1t6>you write:
>| 1) check the "shapes" example in the testgtk.c file
>| 2) understand gtk_widget_shape_combine_mask()
>| 2) the following code should give you some ideas, even though its in C++
>    Thank you very much, Paul, it's pretty much what I need... :)) But... I
>still have to have a GdkBitmap; how can I load it from a file? The one and
>only function listed in the API reference guide is
>gdk_bitmap_create_from_data, and it doesn't manage files...

the functions which create pixmaps from xpm's tend to create a bitmap
to go with them.

sounds like you're happier using the imlib code, however.

--p




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