import gtk
win = gtk.Window()
win.connect('destroy', gtk.main_quit)
btn = gtk.Button('test')
map = btn.get_colormap()
color = map.alloc_color('red')
style = btn.get_style().copy()
style.bg[gtk.STATE_NORMAL] = color
btn.set_style(style)
win.add(btn)
win.show_all()
gtk.main()
GTK: create a colored regular button