From: Hidetoshi NAGAI Date: 2006-11-10T10:57:29+09:00 Subject: Re: BLT -- integrating into Ruby From: Patrick Lynch Subject: BLT -- integrating into Ruby Date: Fri, 10 Nov 2006 03:52:13 +0900 Message-ID: <166784007431b176640032a2acd1eb09@ruby-forum.com> > BLT is a very nice graphics package. Does anyone know how to integrate > it into Ruby? 1. Install BLT for your Tcl/Tk. When your Tcl/Tk and BLT libraries are installed at /usr/lib and your Ruby libraries are installed at /usr/local/lib, you may have to make a symbolic link '/usr/local/lib/blt' -> '/usr/lib/blt' because of Tcl/Tk's library search path. 2. Please try "ruby /tkextlib/pkg_checker.rb". If its output includes "Ready : blt.rb : ...", your Ruby/Tk is ready to use BLT. When includes "LACK : blt.rb : ...", please check Tcl/Tk's library path on your Ruby/Tk. If you need some setup operation (e.g. add a library path), you can add the operation on "tkextlib/blt/setup.rb" or "tkextlib/setup.rb" which are loaded before trying to load BLT library. 3. "require 'tkextlib/blt'" in your script. Please get the latest version of tkextlib/blt/* from CVS. On the versions before 2006/11/07, tkextlib/blt/table.rb doesn't work. If you see bugs or lack of support, please report it to me. I need help to find and fix such defects. # A latest example of improvement based on a user's report is # "tkextlib/tile/treeview.rb". -- Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)