Linux GUI

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
N64vSNES
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 632
Joined: Thu Aug 12, 2010 11:25 am

Linux GUI

Post 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!
qpHalcy0n
Respected Programmer
Respected Programmer
Posts: 387
Joined: Fri Dec 19, 2008 3:33 pm
Location: Dallas
Contact:

Re: Linux GUI

Post by qpHalcy0n »

Linux has "X".

Start w/ X11/Xlib.h and X11/X.h
N64vSNES
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 632
Joined: Thu Aug 12, 2010 11:25 am

Re: Linux GUI

Post by N64vSNES »

Thank qp! Exactly what I was looking for! :)
User avatar
Ginto8
ES Beta Backer
ES Beta Backer
Posts: 1064
Joined: Tue Jan 06, 2009 4:12 pm
Programming Language of Choice: C/C++, Java

Re: Linux GUI

Post 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.
Quit procrastinating and make something awesome.
Ducky wrote:Give a man some wood, he'll be warm for the night. Put him on fire and he'll be warm for the rest of his life.
Post Reply