From: Hidetoshi NAGAI Date: 2012-01-07T22:16:48+09:00 Subject: Re: Tk Bwidget on windows From: Jon Cooper Subject: Tk Bwidget on windows Date: Sat, 7 Jan 2012 00:41:54 +0900 Message-ID: > Hello, I am trying to do a progress bar via the Tk BWidgets thing and > the following line taken from the (otherwise extremely helpful) > tutorialspoint ruby examples... > require 'tkextlib/bwidget' > ....gives an error "TkPackage can't find package BWidget". > I am using ruby 193 on Windows. Any clues much appreciated. Probably you can get BWidget extension from ActiveTcl package. Please copy BWidget library files on ActiveTcl to your Tcl/Tk (which is used on your Ruby/Tk) library path. Please try to run /tkextlib/pkg_checker.rb. It will show which extension is available on your Ruby/Tk. > The normal > Tk things all seem to work fine... just stuck with the progressbar! You can get a pure Ruby/Tk (with standard Tcl/Tk only) version of progressbar widget class (progressbar.rb) at (the page is written in Japanese). It is an example of usage of place geometry manager and how to make a composite widget class. -- Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) Department of Artificial Intelligence, Kyushu Institute of Technology