cplusplus.com cplusplus.com
cplusplus.com   C++ : Forums : UNIX/Linux Programming : Open a window on Linux
  Search:
- -
C++
Information
Documentation
Reference
Articles
Sourcecode
Forums
Forums
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Articles
Lounge
Jobs

-

post  Open a window on Linux

kacko (55)
I was looking around the web for a tutorial on how to open a window with C++. And I kept coming across the windows.h header file.

Is this header file for the windows operating system only, or can it be used on Linux?? If it can't what are the alternatives?
|
Duoas (1458)
It is Microsoft Windows only.

On *nix the OS API is xlib, but you really don't want to mess with that directly. Use a GUI toolkit.

Best choices (in no particular order):

Trolltech Qt
http://trolltech.com/

GTK+
http://www.gtk.org/
http://sourceforge.net/projects/gtkpp/

wxWidgets
http://www.wxwidgets.org/

FLTK
http://www.fltk.org/

FOX
http://www.fox-toolkit.org/

You may also want to peruse The GUI Toolkit, Framework Page
http://www.free-soft.org/guitool/

Hope this helps.
|
kacko (55)
Thanks Duos, I by accident (I really just forgot I made this post) reposted this question in the beginner section. Just disregard it!
|

This topic is archived - New replies not allowed.
Home page | Privacy policy
© cplusplus.com, 2000-2008 - All rights reserved - v2.2
Spotted an error? contact us