Re: pixmaps and xpm-transparency



On Sun, Apr 22, 2001 at 02:34:45PM +0200, Tobias Hintze wrote:
> > 
> > You need to set the clip mask in the graphics context used for the
> > draw using gdk_gc_set_clip_mask and gdk_gc_set_clip_origin.
> 
> yes. this one just works too.

just one question left:

currently i fetch the GC via 

style = gtk_widget_get_style(gRootWindow);
style->fg_gc[GTK_STATE_NORMAL];

but that needs a already visible root-window.
is there a better way?

th
--
Tobias Hintze - http://hbs-solutions.de
HBS solutions GbR - Network & Information Systems




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