Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I actually get somewhere in GUI programming?

I am an undergraduate student. I was exposed to basic programming couple of years back in school. Till now I have an understanding of Core Java, Core Python and basic C and C++.

Every time I start off with some GUI programming so as I can start off with a project of mine, I get boggled by the sheer amount which is to be done, API to be learnt, MVC architecture and everything programmers talk about, event handling etc etc.

Studied awt and swings for a while. Tried my hands on Qt and Gtk, could not find much of documentation. Tried to make sense of pygame. I end up at the same place, knowing the core language.

Tkinter on my zenwalk Linux is broken so could never start it athough I own a book on python with Tkinter explained.

But I end up at the same place, with just the basic understanding of the language.

Want to start over, seriously now. I would like to choose python. How should I go about studying GUI programming?

I need some Internet resources and direction so that I don't end up at the same place!

like image 437
Nitish Upreti Avatar asked Dec 07 '09 19:12

Nitish Upreti


People also ask

Is GUI hard to learn?

C++ GUI programming requires a good reference manual on a framework such as Win32, MFC, Qt, etc. and is generally harder to learn.

Where can I learn GUI?

Java's Swing API is cross platform and relatively simple, and NetBeans is a good GUI builder. Show activity on this post. Netbeans is cross platform, and while it is centered towards Java developers, you can easily install addons to work with C/C++, Ruby, etc.


1 Answers

Since it sounds like you want Python GUI programming, may I suggest PyGTK?

That's probably a pretty good place to start for someone who knows Python and would like to start small on some basic GUI apps. GTK can be complex at times, but with PyGTK there's plenty of open-source example apps you can study, from simple to complex.

Edit: This tutorial from LinuxJournal seems pretty helpful.

Edit 2: Here's the tutorial from PyGTK's site, and another tutorial I randomly found from Google (seems like that whole blog is pretty useful for what you want to do, actually). Finally, the snippet at the bottom of this page might be helpful, courtesy of Ubuntu's forums.

like image 187
Reynolds Avatar answered Sep 23 '22 14:09

Reynolds