GUI programming question

Florian Diesch diesch at spamfence.net
Tue Feb 17 20:10:08 UTC 2009


WipeOut <wipe_out at users.sourceforge.net> wrote:

> I have a small project that needs a simple GUI app developped to 
> simplify firing off complicated command lines..
>
> Initially it will require a few variables to be typed in and then will 
> have a few buttons that will perform some system tasks by running 
> commands or scripts..

Maybe something like zenity
<http://manpages.ubuntu.com/manpages/intrepid/en/man1/zenity.1.html>
is all you need.


> I have written bash scripts and some php in the past but never a desktop 
> application..
>
> There seems to be a huge choice of languages to do this like GTK, JAVA, 
> QT and and a few others..

GTk and Qt aren't languages but Widget sets, i.e. libraries for wring
GUI apps. Both have bindings for most common programming languages.

>
> In looking briefly they all seem quite complicated but JAVA has the 
> Netbeans development application which looks very useful for developing 
> the GUI, just JAVA doesn't look that simple for the logic..

To design a GUI Qt has Designer and GTK has Glade.


> Whats the easiest way to do this for someone with very little 
> programming experience??

I'm using GTK with python and I think it's quite easy to use.

"A Byte of Python" <http://www.swaroopch.com/notes/Python> is a nice
introduction to Python, on <http://www.pygtk.org/articles.html> you
find some tutorials for using GTK with python. The "GTK+ and Glade3
GUI Programming Tutorial" by Micah Carrick should be a good starting
point once you have some basic knowledge of Python.



   Florian
-- 
<http://www.florian-diesch.de/>
-----------------------------------------------------------------------
**  Hi! I'm a signature virus! Copy me into your signature, please!  **
-----------------------------------------------------------------------




More information about the ubuntu-users mailing list