in reply to Tk, Gtk or...

I just finished with banging my head against the wall over Gtk the other day. It looks nice (better than Tk), but I found it difficult to place widgets (when will there be a Cartesian coordinate widget placing widget set?), the docs are horrific, and there are no good books on Gtk.

Tk isn't much better IMHO. It is still a pain in the ass to use it, not many people use it, and I think it doesn't look so hot.

So what about Glade, huh? Well, I would be lying if I said I wasn't tempted, but it is so...non-Klingon.

redmist
Silicon Cowboy

Replies are listed 'Best First'.
Re: (redmist) Re: Tk, Gtk or...
by traveler (Parson) on Feb 20, 2001 at 03:22 UTC

    I've developed a few apps with Gtk and perl. True, the documentation is, umm, lacking to say the least. True, the widget packing is not as nice as some others. BUT, it is fairly easy to build GUI apps quickly, the perl interface is intuitive (if you know some GTK).

    You can use a simple cartesian placement system with GTKTable, BTW. It lets you lay out widgets sort of like graph paper.

    Also, Sams Teach Yourself GTK+ Programming in 21 Days by Donna Martin is quite useful. It is a book for GTK in C, but if you look at the perl examples in the tutorial , you should have no trouble translating. It is not complete (it is only "21 days", after all), but does a great job helping one get started. [Disclaimer: Donna's a friend and I'm mentioned in the Acknowledgments.]

    --john

Re: (redmist) Re: Tk, Gtk or...
by zephyr (Initiate) on Aug 04, 2001 at 23:48 UTC
    I too am thinking this over. I have done some TK but am now trying Glade and using it with Gtk-Perl. So far I am leaning toward Galde/Gtk-Perl but need a good application to really try it out. Has anyone looked at the books Gtk+Gnome Application Development by Havoc Pennington or Developing Linux Applications with Gtk+ and CDk by Eric Harlow? Are either of these useful?