Hi, 

From: Peter Hickman <peter / semantico.com>
Subject: Re: Problem with Ruby Tk
Date: Mon, 28 Jan 2002 19:51:44 +0900
Message-ID: <3C552D3E.6030307 / semantico.com>
peter> Brilliant, it works now.
peter> Although it is not an entierly obvious problem or solution. Ah well.

And, another sample is here. :-)
---------------------------------------------------------
require 'tk'
class NoBugged
  def initialize
    TkRoot.new.title 'There are no bugs here'
    frm_top = TkFrame.new.pack('anchor'=>'w')
    @text = TkText.new {
              width 60
              height 30
              yscrollbar(TkScrollbar.new.pack('side'=>'right', 'fill'=>'y'))
              pack('side'=>'left', 'expand'=>1, 'fill'=>'both')
            }
    (1..50).each {|n| @text.insert('end', "This is line #{n}\n") }
    Tk.mainloop
  end
end
NoBugged.new
---------------------------------------------------------
-- 
                                  Hidetoshi NAGAI (nagai / ai.kyutech.ac.jp)