After of fighting much I have managed to control the progress bar 
(thanks to the people that helped me). Now I have the following 
problem: I want to change the color of the bar. I have tried all 
type of combinations of styles and I have not obtained it.
Since I can do it? 

        mycolor = 'blue' # for instance

        self.progress = GtkProgressBar ()
        style = self.progress.get_style ().copy ()
        color = self.progress.get_colormap().alloc(mycolor)
        style.base[STATE_ACTIVE] = color
        self.progress.set_style (style)     


So what´s the suitable combination to change the color of the bar?

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to