Re: Whats a good way to write GUI apps



On Tue, 30 Jan 2007 13:59:25 GMT, colin@xxxxxxxxxxxxx staggered into the
Black Sun and said:
I need to write a couple of small GUI applications but have never done
so on Linux. I'm fairly conversant with linux but have never written
any code for it. I know this tends to be subjective and I dont want a
flame war

This is Usenet. Flame wars have started over mispelled words.
alt.pipe.dreams is --> that way.

can anyone suggest the best language to learn to do this with?

This depends on how complex your finished app will be and the languages
you're familiar with. There are 2 widget sets in wide use that look
good and can do almost everything, GTK+ and Qt. Qt is intended to be
used from C++, GTK+ has bindings for tons of languages (native C, can be
called from Perl, Python, and C++ without much hassle). It's possible
to use gtk2-perl to rapidly prototype things using GTK+. One thing
to remember if your gtk2-perl program is doing a lot of I/O or
CPU-intensive junk: make sure to define a subroutine that does
"Gtk2->main_iteration while Gtk2->events_pending;" , otherwise your GUI
may not update. HTH,

--
People don't tend to get paid.
--MegaHAL, trained on Netizen's quotes file
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
.



Relevant Pages

  • Re: Motif
    ... >> Most GUI work on Linux is in either GTK or Qt. ... For other languages there might be others (Tcl/Tk comes to mind, ...
    (comp.os.linux.development.apps)
  • Re: If it works, this might be interesting
    ... Software is written to the Linux API. ... more than many scheme VMs or other functional languages. ... For a compiler or other command-line tool, ...
    (alt.lang.asm)
  • Re: what is the most suitable Linux platform for Programmers and software developers
    ... C, C++, Perl, Python, Lisp, and a bunch of other languages are supported ... There are FORTRAN compilers, but FORTRAN ... Look at the Linux ...
    (comp.os.linux.misc)
  • Re: Some thoughts about yum and repositories
    ... > random e-mail attachment on Windows. ... I run linux not only because it's not MS, ... How many languages would anyone here use, if before you learned any you ... Beartooth Autodidact, curmudgeonly codger learning linux ...
    (Fedora)
  • Re: Open Office Cocoa
    ... Va scritto lo strato Cocoa da usare poi nello stesso posto in cui su Linux si usa GTK. ...
    (it.comp.macintosh)