From: Albert Wagner Date: 2002-08-27T03:08:20+09:00 Subject: Re: Tk and Gtk On Monday 26 August 2002 12:59 pm, CRIBBSJ wrote: > > -----Original Message----- > > From: Lyle Johnson [mailto:lyle@users.sourceforge.net] > > Sent: Thursday, August 22, 2002 6:37 PM > > To: ruby-talk@ruby-lang.org > > Subject: Re: Tk and Gtk > > > > > > As for GTK+, the big sticking point seems to be the wobbly > > support for > > Windows. This was supposed to have improved for the GTK+ 2.0 > > release but > > I get the impression that nothing's changed; the Windows > > version still > > seems to be a second-class citizen with one person doing the > > job. But I > > don't use it regularly and I may be way off on this assessment. > > I'm curious what bugs/weird-behaviour people have noticed using ruby-gtk. > I recently bit the bullet and began learning ruby-gtk. It wasn't easy, > given the lack of documentation. Basically, I read all of the tutorials > and bought a book on programming Gtk+ in C. Additionally, the php-gtk docs > proved useful. I was able to build a small app using a clist, three or > four forms, and had a backend database (sqlite). Having built a similar > app in Tcl/Tk recently, it was a good comparison for me. > > I have to say that I REALLY like using ruby-gtk. To me, it seems to "fit" > together much better than ruby-tk (I know, VERY subjective!). So, anyway, > I began to think that using ruby-gtk for some of my future programming > would be nice. Then I started playing with Glade. Wow! Glade is awesome. > You design your form, put all of the widgets on it, specify the > properties, save it, and, using ruby-libglade, you immediately use it in > your ruby program. Boy, does this reduce a lot of the code that normally > clutters up your gui programs. And the sweet thing is, all of the widgets > are still accessible to your program just as if you had coded it all by > hand. Ruby + gtk + glade is a great combination! > > Which is why I asked the above question. I have been doing all of this > programming in Windows, and although I have noticed a few small bugs, I > haven't seen anything that would keep me from using this combo for app > development. Am I missing something? > > Jamey. I don't think so. Most of the complaints about Tk and GTK seem to arise from only a cursory examination. Anyone who has actually used either one enough to feel in control doesn't buy into the FUD.