ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Gentoo 2004.2, Slackware 10, Windows XP, Windows 2003 Server
Posts: 348
Rep:
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
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.
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
didnt know there was polymorphism and inheritance in plain old C 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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.