Welcome, guest | Sign In | My Account | Store | Cart
my_rc = \
"""
style "my button"
{
  engine "" {}
}
widget "*.my button" style "my button"
"""

b = gtk.Button()
b.set_name("my button")
# and now you can...
b.modify_bg(gtk.STATE_NORMAL, gtk.gdk.color_parse("pink"))

History