How to change scrollbar color in pygtk ?
Norah Jones
nh.jones01 at gmail.com
Wed Aug 21 05:17:38 EDT 2013
Hi,
I Tried the below code, the color is not reflected, Am i missing something?
#add description box beside test cases
testCaseDescWindow = gtk.ScrolledWindow()
testCaseDescWindow.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
testCaseDescWindow.get_vscrollbar().modify_fg(gtk.STATE_NORMAL,gtk.gdk.color_parse('#40515F'))
testCaseDescWindow.get_hscrollbar().modify_fg(gtk.STATE_NORMAL,gtk.gdk.color_parse('#40515F'))
Thanks,
Norah Jones
More information about the Python-list
mailing list