Re: [gtk-list]



>  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]