Jump to content
  • Advertisement
Sign in to follow this  
lonewolff

Creating a window under X (linux)

This topic is 3718 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 there, Does anyone know of any tutorials relating to the creation of a window in X under linux. Thanks!

Share this post


Link to post
Share on other sites
Advertisement
First of all, use Gnome or QT (or any other GUI Toolset).

But if you want to understand whats going on under the hood then I recommend to google for xcb or XLib tutorials (The first entries under google will show good results, if not look at wikipedia).

Since xcb will replace (internally) XLib try xcb. The API is cleaner and less... hackish.

But I wouldn't recommend it, since libraries like Gnome or QT(try it its easy) do all the dirty work for you. And for QT you always get an native look for your programs on every OS.

Just my 2 cents.

Edit:
In this thread I posted some links.

Share this post


Link to post
Share on other sites
Awesome!

I'll take a look at those.

If I am going to learn to program under linux, I want to keep it as cross-disto as possible. Without having to have nasty dependencies. As I am from a windows background, I see the importance of making my apps work with minimum of fuss.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!