From: Hidetoshi NAGAI Date: 2009-07-13T19:21:33+09:00 Subject: Re: Are these widgets worth adding as standard libraries of Ruby/Tk? Hi, I committed updates of Ruby/Tk on trunk and ruby_1_8. Bug reports are welcome. ------------------------------------------------------------------------- * ext/tk/extconf.rb: New strategy for searching Tcl/Tk libraries. * ext/tk/*: Support new features of Tcl/Tk8.6b1 and minor bug fixes. ( [KNOWN BUG] Ruby/Tk on Ruby 1.9 may not work on Cygwin. ) * ext/tk/*: Unify sources between Ruby 1.8 & 1.9. * ext/tk/*: Improve default_widget_set handling. * ext/tk/*: Multi-TkInterpreter (multi-tk.rb) works on Ruby 1.8 & 1.9. ( [KNOWN BUG] On Ruby 1.8, join to a long term Thread on Tk callbacks may freeze. On Ruby 1.9, cannot create a second master interpreter (creating slaves are OK); supported master interpreter is the default master interpreter only. ) * ext/tk/lib/tkextlib/*: Update supported versions of Tk extensions. Tcllib 1.8/Tklib 0.4.1 ==> Tcllib 1.11.1/Tklib 0.5 BWidgets 1.7 ==> BWidgets 1.8 TkTable 2.9 ==> TkTable 2.10 TkTreeCtrl 2005-12-02 ==> TkTreeCtrl 2.2.9 Tile 0.8.0/8.5.1 ==> Tile 0.8.3/8.6b1 IncrTcl 2005-02-14 ==> IncrTcl 2008-12-15 TclX 2005-02-07 ==> TclX 2008-12-15 Trofs 0.4.3 ==> Trofs 0.4.4 ------------------------------------------------------------------------- I don't guarantee, but this updates may work recent Ruby/Tk. If you try, please replace old ext/tk tree on your Ruby source to the new one, and make it (may be required reconfigure also). From: Antonio Galeone Subject: Re: Are these widgets worth adding as standard libraries of Ruby/Tk? Date: Thu, 2 Jul 2009 06:41:57 +0900 Message-ID: <3fd29a9104b0713578c07dd2f2505f40@ruby-forum.com> > these ruby megawidgets effectively resolve recurring problems, so > according to > me can be promoted into one library. > In the future would be ideal to add tab(notebook) and tree ruby > megawidget also. In this way we can avoid to use others tcl/tk libraries > (like BWidget). It looks like a good idea. In the updates, althought the megawidgets are still sample scripts. those are defined in Tk::RbWidget module (e.g. Tk::RbWidget::Combobx). If create a Ruby's MegaWidgets library in the future, classes/modules will be defined in/under Tk::RbWidget. > An osservation : in "editable_listbox" and "combobox" when I set state > to "disabled" the actions are not inhibited. Thank you for your report. I fixed them. Please try the new Ruby/Tk. ;-) -- Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)