Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #52761 > unrolled thread

How to change scrollbar color in pygtk ?

Started byNorah Jones <nh.jones01@gmail.com>
First post2013-08-21 09:17 +0000
Last post2013-08-21 09:17 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  How to change scrollbar color in pygtk ? Norah Jones <nh.jones01@gmail.com> - 2013-08-21 09:17 +0000

#52761 — How to change scrollbar color in pygtk ?

FromNorah Jones <nh.jones01@gmail.com>
Date2013-08-21 09:17 +0000
SubjectHow to change scrollbar color in pygtk ?
Message-ID<mailman.75.1377080541.19984.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web