Jump to content
  • Advertisement
Sign in to follow this  
RSC_x

gcc creating a gui window on linux

This topic is 3812 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi. are anyone knows.[and can say] how can i create GUI windows on linux using gcc. am i need extra libraries other then gcc's standard library. i heard about libgnome but is it enough.? or what is other choices.? thanks.

Share this post


Link to post
Share on other sites
Advertisement
I allways think that it is best to use multi-platform libraries; for non-game GUI the best one I think is QT http://trolltech.com/products/qt , but I know that other people like Ultimate++ (I dislike TheIDE that you MUST to use in order to compile) or wxWidgets.

All of them are quite easy to understand, cool tools included (designers, localization).

Share this post


Link to post
Share on other sites
Under linux, there is no "standard" GUI toolkit (the frameworks that do windows, buttons and the rest). The leading two are QT (C++ with a custom preprocessor on top) and GTK+ (plain C). then you get a bunch of a little less used toolkits like wxWidgets (plain C++, native look under linux (via GTK+) and under windows), FLTK, Motif...

For you to have a idea, the Gnome and XFCE desktop use GTK+ while KDE uses QT.

The choice depends on what you are the most comforable with.

Note that if you absolutely want an C++ framework, a wrapper for GTK+ named gtkmm exists.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!