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(
                      colour_window->window,&mask,
                      &style->bg[GTK_STATE_NORMAL],
                      selected_colour_pixmap_filename);

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,

Regards,

Robert Bui
-- 
___________________________________________________________________________________________
Get Your Private, Free E-mail from Astrogate Technology at http://astrogate.virtualave.net
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]