Re: [gtk-list]
- From: Federico Mena Quintero <federico nuclecu unam mx>
- To: gtk-list redhat com
- Subject: Re: [gtk-list]
- Date: Sat, 6 Jun 1998 13:33:24 -0500
> If you create a GdkPixmap with:
>
> pixmap = gdk_pixmap_create_from_xpm_d(widget->window, &mask,
> &widget->style->bg[GTK_STATE_NORMAL],
> placeholder_xpm);
>
> can you only show it in the specified window?
>
> It seems to display OK in other windows on some systems but not others.
> Are you supposed to create it again for each window?
The window is used only to specify which screen you are referring to.
If you want to paint a pixmap to another drawable, you have to make
sure that their visuals and colormaps match. I.e. you can't take a
pseudocolor pixmap and paint it on a truecolor drawable.
Federico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]