Thread: GUI in UNIX

  1. #1
    Registered User
    Join Date
    Mar 2002

    GUI in UNIX

    hi just a quick question,
    i am currently developing a program and have hit a road block.
    i would like for the program to have the simplest of graphical user interfaces , all it needs to do is print some lines off.
    However my program will be tested on a unix compiler (g++), so i am not sure how to go about it . I have heard of items such as MFC but i am not sure if i should ( as it will be compiled on g++) or how to use them.
    im not asking for source code but some pointers on what approach i should take would be much appreciated.
    thanks in advance

  2. #2
    The Artful Lurker Deckard's Avatar
    Join Date
    Jan 2002
    MFC (Micorsoft Foundation Classes) are one way of programming applications in Windows. Since you've posted in the Linux forum, I'll assume that is not what you want ;)

    The X and Motif APIs are common ways of writing GUI apps in Linux, as is GTK. KDE is also fairly developer-friendly, from what I can tell.
    Jason Deckard

  3. #3
    Fingerstyle Guitarist taylorguitarman's Avatar
    Join Date
    Aug 2001
    QT is suppose to be close to MFC from what I've heard. KDE apps many times use QT. I've been learning GTK and I think it's pretty good. It's familiar because I did some GUI stuff last summer with PERL/TK. Plus, GTK has a Windows port so you can do cross-platform programming. QT allows this too, but the Windows version requires licensing. The Motif/xt/xlib APIs I think are probably a little too low level for what you want to do. I'd go with GTK or QT (checking out GTK first ).
    If a tree falls in the forest, and no one is around to see it, do the other trees make fun of it?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to program in unix
    By Cpro in forum Linux Programming
    Replies: 21
    Last Post: 02-12-2008, 10:54 AM
  2. Setting up a Unix box
    By @nthony in forum Tech Board
    Replies: 6
    Last Post: 07-22-2007, 10:22 PM
  3. GUI Programming :: C++ Exclusive
    By kuphryn in forum C++ Programming
    Replies: 5
    Last Post: 01-25-2002, 03:22 PM
  4. C++: Reference Book, GUI, Networking & Beyond
    By kuphryn in forum C++ Programming
    Replies: 4
    Last Post: 11-10-2001, 08:03 PM
  5. About Unix Programming - Making a career desision
    By null in forum C Programming
    Replies: 0
    Last Post: 10-14-2001, 07:37 AM