Re: change pixmap color table
- From: Paul Davis <pbd Op Net>
- To: pzn terra com br
- Cc: gtk-list gnome org
- Subject: Re: change pixmap color table
- Date: Sun, 15 Jul 2001 15:23:46 -0400
> and I'd like to change the "+" color from red(#FF0000) to green(#00FF00) at r
>unning time to simulate a kind of "led" that blinks red... green... red... gre
> other alternative would be create red_xpm and green_xpm and change which xpm
>the pixmap is using, but I don't know how to to this.
> Do you have any hint? manpage? manual? about doing this?
create two pixmaps from XPM's. then create a third, and use gtk_pixmap_set()
to alternate between the two colored ones. its very trivial.
] [Thread Prev