the same thing happend to me with another library, i forget which. i had
to download the ruby source tarball and extract it and copy the missing
file(s) to my distribution. worked.

related to tcltk has anyone gotten the tkext to work? i'm messing with
the installation. i have tix installed. and i've edited the Tix.def file
to point to my tix path and ran mk_tkextlib.rb -p Tix. that ran fine,
then i copied the 3 .rb libraries (tkext, tcltkext, tcltkextlib) to my
ruby installtion location. when i test it out i get an error saying it
can't find the library, but not the library i specified in Tix.def. its
still looking for the default one. any ideas on how to fix this?

~tranasmi

p.s. what's Tix-for-TkPackage.rb, too?


On Thu, 2002-07-11 at 21:51, nagai / ai.kyutech.ac.jp wrote:
> Hi, 
> 
> From: katiedhe / hotmail.com (Dandan He)
> Subject: Ruby/Tk, TkMessage
> Date: Tue, 9 Jul 2002 14:45:48 +0900
> Message-ID: <5d85b7fe.0207082127.3f806f76 / posting.google.com>
> > I need to use a Ruby/Tk widget to display some read-only information,
> > which can be multi-line. I need the widget to be displayed as a
> > certain size (say, width=100, height=50) even when it doesn't have any
> > text in it. I would use TkText if there is a way to make it read-only.
> 
> Use a frame widget with fixed size. 
> If you want to use Pack geometry manager only, 
> you must do TkPack.propagate(<frame widget>, false) 
> to block the propagation of size. 
> For example, 
> -------------------------------------
> require 'tk'
> f = TkFrame.new(nil, 'width'=>100, 'height'=>50).pack
> TkPack.propagate(f,false)
> TkMessage.new(f, 'text'=>'1111111111222222222233333333334444444444555555555566666666667777777777888888888899999999990000000000').pack
> Tk.mainloop
> -------------------------------------
> As you see when you run it, 
> the center part of the message widget is shown. 
> But if you want to show upper-left corner of the message widget, 
> probably you must use Place geometry manager. 
> For example, 
> -------------------------------------
> require 'tk'
> f = TkFrame.new(nil, 'width'=>100, 'height'=>50).pack
> TkMessage.new(f, 'text'=>'1111111111222222222233333333334444444444555555555566666666667777777777888888888899999999990000000000').place('x'=>0, 'y'=>0)
> Tk.mainloop
> -------------------------------------
> In this case, no need TkPack.propagate. 
> The message widget has no influence on the frame widget, 
> because the message widget is not known by Pack geometry manager. 
> -- 
>                                   Hidetoshi NAGAI (nagai / ai.kyutech.ac.jp)
> 
-- 
~transami

"They that can give up essential liberty to obtain a little
 temporary safety deserve neither liberty nor safety."
	-- Benjamin Franklin