GUI in UNIX [Archive] - C Board

PDA

View Full Version : GUI in UNIX


rxg00u
04-13-2002, 03:29 AM
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
:D

Deckard
04-13-2002, 06:50 AM
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 (http://www.pconline.com/~erc/motif.htm) are common ways of writing GUI apps in Linux, as is GTK (http://www.gtk.org/). KDE (http://developer.kde.org/documentation/tutorials/) is also fairly developer-friendly, from what I can tell.

taylorguitarman
04-14-2002, 01:30 AM
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 :) ).