Re: Transparent label



Daniel Shane <daniel@insu.com> writes:
> I would like to know if its possible to make the main window
> transparent? My main window only has to things, a pixmap (which can
> easily be made transparent) and a label. The question is, how can I
> recompute the mask so as to show the text that is in the label? If I
> gtk_window_shape_combine_mask() the pixmap with the main window then my
> label will not show up because the mask will hide it.
> 

Why not just draw your label text on the pixmap, and ditch the GtkLabel?

Havoc




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