Sabyasachi Mustafi wrote:
Our software is expected to be installed in this month. After two months of extensive use of Ruby/Tk I
have something to say about it I think to make real life applications
quickly we need more in the area of
Ruby/Tk as in the following.
- Tkcombobox should be added in the Ruby Distribution.
Actually, combobox should be added to Tk. There is at least five
combobox implementations, none of which are part of the core (Tcl/)Tk
distribution. I use (strictly for prototyping, later I will replace it)
- Both of the List box and combo box should have the option to provide two values as in Visual Basic (Bound
You can extend the widgets easily with addPair(), selectId(), text2id(),
currentId() functions, which simply manipulate a hash.
- Need something like Grid. I think there is TkTable but I am not sure about it.
Yes, there is, and TkTable is great! I have written a wrapper to it, but
didn’t released it yet. You can download it from here:
In my opinion, the bare Tk without any extensions is a bit featureless
(no keyboard shortcuts, missing key widgets (combobox, grid etc.),
lacking framework for writing custom widgets…). If you use it from
tcl, it is compensated by the lots of widget and other libraries which
is available for tk. Unfortunately, if you use Tk from ruby, it is much
more harder to use these libs. Also, there are problems with the ruby/tk
implementation itself (e.g. callback and exceptions, maybe corrected in
CVS). If I could restart my (mainly GUI-oriented, database handling)
project, I think I would choose another GUI lib (or, shame, another
Anyway, what tk extension library wrappers (e.g., bwidgets?) are
available for ruby?