Re: [SLUG] {SPAM?} Linux gui programming

From: Paul M Foster (paulf@quillandmouse.com)
Date: Mon Mar 14 2005 - 19:01:51 EST


On Mon, Mar 14, 2005 at 05:23:11PM -0500, Kwan Lowe wrote:

>
>
> > For doing small (home/hobby type) gui base projects, which language
> would you
> > recommend? I've been looking at Qt, GTK, and Java, and each one gets
> touted
> > as the best.
> >
> > I've struggled through the learning with WN98SE, C++, wilth MFC (and it's
> > miserable documentation). Getting over to Linux is now the goal. I would
> > like to avoid the situation of investing the time and effort in learning
> only
> > to discover that I picked one that was on its way out, a dog, obsolete,
> etc.
>
> It depends entirely on your needs, but have you considered using the xdialog
> utility? It lets you generate GUI interfaces from shell scripts and unless
> you're learning a gui toolkit for your own edification, is perfect for many
> smaller projects.
>
> If you do want to use a toolkit, I have a preference for Qt versus gnome, if
> only because Kdevelop and the example projects allowed me to easily build an
> interface to a couple of my (simple) applications.
>
> As to Java, there are some very good books that walk you through creating
> interfaces using Netbeans or Eclipse. The benefit I'd see with Java is
> that it
> doesn't change as rapidly as either Qt or GTK+ and of course, you can run it
> just about anywhere. I was able to create Eclipse sample applications in a
> couple hours. They didn't do much, but actually looked pretty good :D.

There is also Tcl/Tk, though much less is being coded in Tcl/Tk than
used to be.

Java is a lot like C++, so if you know that, you've got a head start.
Java is ubiquitous, but support under Linux has been spotty in the past.

There are also a couple of GUI toolkits that have nothing to do with KDE
or Gnome, and in which programs are currently being written. One is
wxWidgets. I believe it's C++. Can't recall the names of the others.

And one or the other of Qt or GTK+ (again, can't recall which; can you
tell I don't code GUIs much?) requires pre-processing through their tool
before you compile. Personally, I believe Qt is more stable, but there
may be licensing encumberances. The library(s) are controlled by a
commercial entity, which is not the case with GTK+/Gnome.

Paul

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:38:52 EDT