Re: pixmap creating



Norbert de Jonge <ndejonge@tebenet.nl> writes:

> ** WARNING **: Creating pixmap from xpm with NULL window and colormap.
> 
> What I do is this:
> 
> ..
> pixmap4 = gdk_pixmap_create_from_xpm (window1->window, &mask4,
> &style4->bg[GTK_STATE_NORMAL], "xr23.xpm");
> ..

Call `gtk_widget_realize (window1)' before gdk_pixmap_create_*.

Good luck.



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