Re: [gtk-list]



From: "David M. Cook" <davecook@hotmail.com>
Subject: [gtk-list] 
Date: Sat, 21 Mar 1998 05:08:36 PST

davecook> How do I add a pixmap to a window (a dialog in this case) 
davecook> before I've shown the window.  

 

 GdkColormap *cmap;

 cmap = gdk_colormap_get_system();

 <snip>

 xpm = gdk_pixmap_colormap_create_from_xpm_d (NULL, cmap, &mask, 
                                              &style->bg[GTK_STATE_NORMAL],
                                              XPM_DATA);

thanks,
---
hideki



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