change pixmap after creation with GTK_PIXMAP

Hello All,
   Does anyone know how to change the pixmap after PIXMAP widget is created using :
selected_colour_px = gdk_pixmap_create_from_xpm(

selected_colour_pixmap = gtk_pixmap_new(selected_colour_px, mask);

I've tried to use 
void  gtk_pixmap_set( GtkPixmap  *pixmap,
                      GdkPixmap  *val,
                      GdkBitmap  *mask );

but it doesn't seem to work.

Thanks in advance,


Robert Bui
Get Your Private, Free E-mail from Astrogate Technology at
Get Paid to Surf, Free News, Free Javascript, Free Powerbuilder, Top 100 Vietnamese Webites

Powered by Outblaze

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