LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   programming graphical program (https://www.linuxquestions.org/questions/programming-9/programming-graphical-program-133154/)

tearinox 01-09-2004 02:22 PM

programming graphical program
 
I'm learning C/C++ right now and would like to know the situation with for graphical programming. I've seen things online about programming for kde, gnome or X11. Now which one is better and why is there three different styles? I'm really confused and if someone could just shed some light, i'd be grateful.

basically, i want to be able to program for any desktop manager. THanks in advance

DrOzz 01-09-2004 02:30 PM

look at the table on this page here

they are the most common for GUI development..

jtshaw 01-09-2004 02:40 PM

QT and GTK apps will run on any desktop manager as long as the libraries exsist on the system. This is the case on most modern linux systems. If you want to really insure it'll run you could always use xlib which is the basic x11 libraries. Requires re-inventing the wheel in a lot of cases though.

Mega Man X 01-09-2004 04:17 PM

I've been trying to compile a gtk gui for a long time, never could get it done. Qt was pretty simple though. GTK is not OO, and you've to agree that when it comes down to gui handling it's pretty useful ;). Good tutorials at their page by the way, taking you from a Hello World program up to a playable game with score :)

Hko 01-10-2004 07:27 AM

Quote:

Originally posted by Megaman X
GTK is not OO.
GTK is OO, though it is implemented in plain C.
C has no special facilities for OOP, but GTK does arrange for that.

chens_83 01-10-2004 07:49 AM

didnt know there was polymorphism and inheritance in plain old C :rolleyes: nah couldnt see how OO can really help you out in getting a GUI working.. Not as if your going to be making new widgets and the like, by using OO features.

Mega Man X 01-10-2004 11:36 AM

How is it possible to use OO in plain C? :)


All times are GMT -5. The time now is 04:11 AM.