PDA

View Full Version : [pygtk] How to use the gtk color constants?


days_of_ruin
October 14th, 2008, 08:34 PM
like fg[Normal] etc...The colors that all the widgets use.Defined in
the gtkrc.I know some programs have text that use gtk color constants and
I want to know how.:guitar:

loell
October 14th, 2008, 08:42 PM
probably


map = e.get_colormap()
colour = map.alloc_color("green")