Creating a window under X (linux)
Hi there,
Does anyone know of any tutorials relating to the creation of a window in X under linux.
Thanks!
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.
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement