From: Ryan Tarpine Date: 2001-08-18T03:18:17+09:00 Subject: [ruby-talk:19955] Re: Ruby/Gtk, Text widget question Yuri Leikind wrote: > Yes, it does work, thank you. When in doubt, look at the source in the testgtk directory of the ruby-gtk tarball. Also helpful is official gtk api manual (http://www.gtk.org/api/). The testgtk samples are often the easiest way to see how to do something; that's how I looked up how to scroll text :) When I tried to do it by memory, it didn't work, because ScrollWindow has both #add #add_with_viewport, and I tried #add_with_viewport first. Sometimes samples show you how but the reference shows why -- Ryan Tarpine, rtarpine@hotmail.com "Technology is a queer thing. It brings you great gifts in one hand, and it stabs you in the back with the other." -- C.P. Snow