Chris
2/24/2006 5:33:00 AM
Hi,
I'm having a bizarre problem with Ruby/Tk. I'm running OS X 10.4 with
the standard ruby:
ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0]
The code below is the simplest code that reproduces the problem.
Namely, when run, I see my window and scrollbar flicker rapidly,
apparently between two different sizes.
----
require 'tk'
top = TkRoot.new
f = TkFrame.new(top)
sb = TkScrollbar.new(f,'orient'=>'horizontal')
sb.pack('side'=>'bottom')
f.pack
Tk.mainloop
--
All of this is required. It works fine:
* without the intermediate frame, f
* without orient=>horizontal
* without side=>bottom
Any help would be much appreciated. Please e-mail any replies to me at
calfeld@math.utah.edu as I do not read this group regularly.
Thank you,
Chris