Re: RE: Changing color/style on a scrollbar inaGtkScrolledWindow

From: Date: Sun, 01 Aug 2004 01:07:56 +0000
Subject: Re: RE: Changing color/style on a scrollbar inaGtkScrolledWindow
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-4907@lists.php.net to get a copy of this message
On Sun, 01 Aug 2004, Steph wrote: > $style = $swin->style; > $red = new GdkColor('#FF0000'); > $green = new GdkColor('#00FF00'); > $blue = new GdkColor('#0000FF'); > $style->bg[GTK_STATE_NORMAL] = $red; > $style->bg[GTK_STATE_PRELIGHT] = $green; //slider hover > $style->bg[GTK_STATE_ACTIVE] = $blue; //trough > $swin->set_style($style); What happened to allocating colors through GdkColormap? AFAIK, nothing has been changed to allow direct allocation of colors this way. -Andrei "There's a big difference between a movie and a film, but they're both worth watching." -- Unknown

« previous php.gtk.general (#4907) next »