Page 1 of 1

Linux GUI

Posted: Fri Dec 30, 2011 10:10 am
by N64vSNES
I've not been able to find much info on this, maybe you guys can help me out?

The most bare bones way creating and utilizing GUI in Windows would be via the Win32 API. Or in C# and .NET languages I believe the .NET framework and CLR provides this for you?

Back on topic though, on Linux, all I can find is people suggesting pre-built libraries such as the ever-growing popular Qt.

But how is libraries like Qt utilizing it? How would I do it without a library?

Thanks, I hope that made enough sense!

Re: Linux GUI

Posted: Fri Dec 30, 2011 10:32 am
by qpHalcy0n
Linux has "X".

Start w/ X11/Xlib.h and X11/X.h

Re: Linux GUI

Posted: Fri Dec 30, 2011 11:43 am
by N64vSNES
Thank qp! Exactly what I was looking for! :)

Re: Linux GUI

Posted: Sun Jan 01, 2012 11:26 am
by Ginto8
XLib is the main way to go, but it should be noted that there is an alternative: XCB. I haven't used it personally, but I've heard a lot of people (or at least a few very vocal people ;) ) saying that they prefer it over XLib.