Linux Graphics Question.
Apr. 17th, 2008 12:16 pmI've only ever written text-based programs for Linux, and am thinking of writing one that would be inherently graphical in nature. Imagine something like the venerable FractInt.
The question is: is there a standard Linux API that would allow me to have my program open a window and perform graphics in it, and possibly respond to window controls, without being specific to any particular window manager? I would ideally like this program to run equally well under Gnome, KDE, or whatever and yet still make use of whatever the standard widgets of the windowing system are.
If so, what would this API be called, and where can I find docs on it?
---
EDIT: Okay, after a lot of googling and reading, the main contenders seem to be wxWidgets and Qt. Since I happen to know of at least one company looking for Qt developers, I guess that tips the scale in favour of learning that API.
The question is: is there a standard Linux API that would allow me to have my program open a window and perform graphics in it, and possibly respond to window controls, without being specific to any particular window manager? I would ideally like this program to run equally well under Gnome, KDE, or whatever and yet still make use of whatever the standard widgets of the windowing system are.
If so, what would this API be called, and where can I find docs on it?
---
EDIT: Okay, after a lot of googling and reading, the main contenders seem to be wxWidgets and Qt. Since I happen to know of at least one company looking for Qt developers, I guess that tips the scale in favour of learning that API.