My name is Alexis Andre, and I have been using ruby-gnome2 to develop
simple apps. The only one that I made public can be found at
http://duby.rubyforge.org . It is a clone of filelight.
I tried to post the following yesterday but it was refused without a
reason, so I hope I am doing the right thing in subscribing to the list.
If not, please forgive my stubbornness.
I am using a TextView widget in a really simple text editor, and I
changed the background to black, and the text to green. The problem is
that the cursor stays black, so I can not see it anymore!
I could not find a method to specify the cursor-color neither in
Gtk::Widget nor in Gtk::TextView.
In gtkwidget.c, however, the possibility to change the cursor-color is
available. What have I done wrong? Am I missing a method?
Thanks in advance.
Here is a sample:
window = Gtk::Window.new(“Editor”)
window.signal_connect(“destroy”) do Gtk.main_quit end
view = Gtk::TextView.new
sw = Gtk::ScrolledWindow.new(nil, nil)
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share
opinions on IT & business topics through brief surveys - and earn cash