Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
I was just looking for some advice. The thing is I am preety new to linux and I want to learn GUI programming in linux. And I dont want to ...
  1. #1
    Just Joined!
    Join Date
    Feb 2006
    Posts
    10

    linux gui programming



    I was just looking for some advice. The thing is I am preety new to linux and I want to learn GUI programming in linux. And I dont want to code gui that doesnot work on all windowing systems. What is your advice on whatever I should learn.

    THanks in advance

  2. #2
    zyd
    zyd is offline
    Just Joined!
    Join Date
    Nov 2005
    Posts
    44
    it will be very hard (i would say not possible) to have a gui that works native for linux and windows.
    But you can port nearly any linux code to windows using cygwin. Another option is using java

  3. #3
    Trusted Penguin Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,317
    There are a couple of packages around that let you do what you need. Java is the most obvious one, but you should investigate QT which will do native widgets across platforms, and for which there is a cut-down community version.
    Linux user #126863 - see http://linuxcounter.net/

  4. #4
    Just Joined!
    Join Date
    Feb 2006
    Posts
    10
    hmm...I dont mean WINDOWS!!!!! I mean windowing systems... Of course it wont work on windows.

  5. #5
    Linux Guru kkubasik's Avatar
    Join Date
    Mar 2004
    Location
    Lat: 39:03:51N Lon: 77:14:37W
    Posts
    2,396
    Actualy, you can have both worlds, gtk is a powerful and relativly easy to use window system for linux, with a windows port. While the build system for windows can be a little complicated, it runs fine once installed.
    Avoid the Gates of Hell. Use Linux
    A Penny for your Thoughts

    Formerly Known as qub333

  6. #6
    Just Joined! the ex's Avatar
    Join Date
    Nov 2005
    Location
    oregon
    Posts
    41
    he means other window mangers, cross compatible between gnome, kde etc.

  7. #7
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Quote Originally Posted by the ex
    he means other window mangers, cross compatible between gnome, kde etc.
    Have you considered the Java Swing interface?
    Registered Linux user #270181
    TechieMoe's Tech Rants

  8. #8
    Just Joined!
    Join Date
    Feb 2006
    Posts
    10
    nope...dont like java at all.

  9. #9
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,204
    Damn shame, because Java rules .

    Well, there are two main options in the Linux world:

    Qt - Best known for inclusion in KDE
    Gtk - Best known for inclusion in GNOME

    That said, if the proper libraries are installed, Qt apps will of course run in any WM, as will Gtk. It truly is a matter of preference. Personally, I love Gtk's appearance and functionality FAR more than Qt's, but that said, I haven't done GUI programming in C/++ (just Java Swing and SWT), so I don't know about implementation differences.

    For details:

    http://www.trolltech.com/ - Qt (check out the Open Source version)
    http://doc.trolltech.com/4.1/ - Qt Reference Documentation

    http://www.gtk.org/ - Gtk
    DISTRO=Arch
    Registered Linux User #388732

  10. #10
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Quote Originally Posted by rsnd
    nope...dont like java at all.
    Guess there's no accounting for taste.
    Registered Linux user #270181
    TechieMoe's Tech Rants

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •