Re: Transparent image



On Fri, 2007-08-31 at 09:22 +0200, Rok Jaklič wrote:
> Hi.
> 
> I am sending this mail again since there was problems with mailing list 
> yesterday ...
> 
> I have a simple program which loads image from file and display it into
> the window. Image has also some transparent sections. Is it possible to
> show image without window background (soo I can see desktop background).

yes it is. check into Gdk::Window::shape_combine_mask(). see also the
demo program, which has animated images that are drawn using this.

--p





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