PDA

View Full Version : KDE GUI programming, complete noob



bighomer
February 2nd, 2008, 06:15 AM
Currently I know a little C++ and was thinking about learning Java, Ruby or maybe Python, but right now I need to know more about GUI programming. Like, say, in windows, I'd probably be looking up DirectX. What is the Linux/KDE equivalent? For practice, I'm trying to make a simple tetris clone.

Any info on GUI programming for Linux, or links to html books or online guides, would be greatly appreciated.

mbrush
February 2nd, 2008, 06:46 AM
Never done any game-type programming in linux, but I was reading this the other day.

http://www.linuxdevcenter.com/pub/a/linux/2001/09/21/sdl.html

If you just want like a standard desktop GUI, with buttons, text boxes, and the likes, KDevelop is pretty cool.


Good Luck

bighomer
February 2nd, 2008, 06:56 AM
Thanks for that link. SDL...looks like, well, like what I was looking for. Got a lot of reading to do now.

LaRoza
February 2nd, 2008, 09:35 AM
I am not sure what language you were asking for, for Python, PyGame would be well suited for what you want. For other languages and toolkits, my wiki has a bit of information for as many languages I could do.

Jessehk
February 2nd, 2008, 06:52 PM
You mentioned KDE in the title but not in your post, so I'm a bit unclear. For developing applications for KDE4, look here (http://techbase.kde.org/index.php?title=Welcome_to_KDE_TechBase).
Qt (which KDE is built on) has lots of capabilities for graphics, etc. Look at their site here (http://doc.trolltech.com/) for more on that.

DamagePlan
February 2nd, 2008, 11:00 PM
Im confused because you mentioned in your post both GUI programming and game programming. If you want to learn gui programming then either use Tkinter or wxpython. For game programming I recommend pygame for python. I wouldn't bother with c++ for game programming because it is mainly used in big teams.