From: Kevin Smith Date: 2000-12-28T12:09:56+09:00 Subject: [ruby-talk:8154] Re: Praise for Ruby/GTK Cameron Laird wrote: >I have a lot of interest in comparisons of the toolkits. >How do you find "GTK ... so much better than Tk ..."? - GTK widgets have a crisper look (subjective). - GTK widget hierarchy is better designed. Examples include their ScrollableWindow and Paned classes. Very similar to the "Design Patterns" examples. - GTK parameters are all "normal" instead of the confusing hashes and blocks used by Perl/Tk. Also, Tk wants parameters as strings, like 'end', which I didn't like. - GTK packing seems much more straightforward. - Ruby/GTK is much closer to the C GTK+ API (and docs) than Ruby/Tk is to Perl/Tk. I bought a Perl/Tk book and still struggled, but the online GTK+ reference has worked great for me. - Widget selection. GTK has trees, multi-column listbox with header, tab control, balloon help, and just about anything else you would want. - Sequence of creation. With Tk it's: child.new(parent). With GTK it's child.new, parent.add(child). Either works, but GTK is simpler and more conventional (to me). - GTK has slightly more "normal" key bindings in the multi-line editor widget. [Hey Dave! You wanna paste this into the Wiki for me?] Kevin