Forum: Ruby-Gnome 2 Gtk::ScrolledWindow.new and setting colours?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
7e17d370dc95b48cd82944a62f1caf76?d=identicon&s=25 Robert H. (shevegen)
on 2007-04-17 19:53
(Received via mailing list)
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?redirecti...


--
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/
678eb345ddfe97f0ffe5a0ae805229af?d=identicon&s=25 Steve S. (caracal)
on 2007-04-18 01:52
(Received via mailing list)
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.
This topic is locked and can not be replied to.