Gtk::ScrolledWindow.new and setting colours?


#1

Gtk::ScrolledWindow.new

I seem to be unable to change the colours of a scrolled window.

It has a default grayish colour, thats hard to read in my application.
How to set it to white background and black foreground?

.modify_bg seems to not work hmm

=
Business Simulation
Free samples of the programs used by 500+ colleges, universities and
major corporations; 250,000 participants. In-class, on-site or distance
learning.
http://a8-asy.a8ww.net/a8-ads/adftrclick?redirectid=7c1316fb933f90df21e16d00fcef65c0


Powered by Outblaze


This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/


#2

I think you use rcstyle.
http://ruby-gnome2.sourceforge.jp/hiki.cgi?Gtk%3A%3ARcStyle

You could also look at gtk/sample/misc/style_property.rb
and style_property.rc

If anyone would like to provide a simpler example please feel free todo
so.