Re: How can I draw a trasparent pixmap when drawable is a pixmap?



Alexander Chiang <achiang2 rsn hp com> writes: 
How do you combine several transparent pixmaps into a single window
then? If you use gtk_widget_shape_combine_mask on each pixmap, then the
mask belonging to the last pixmap will "win" and everything but the last
pixmap will be masked out.

All the examples put a transparent pixmap into its own window.


You can't stack widgets (GtkPixmap). If you have multiple GdkPixmap,
you need to draw them to a drawable independently, each with its own
mask.

Havoc





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