PDA

View Full Version : Need Help with GUI programming


captainobvious62
April 29th, 2009, 01:31 PM
I am working on a college project, and I am at a loss. I need to design a GUI for a program, but I have no idea how to do so. What is the most painless way to go about doing this? I have very little prior experience ---help!!

simeon87
April 29th, 2009, 01:32 PM
What language are you writing the program in?

captainobvious62
April 29th, 2009, 01:33 PM
Python - and i need to somehow roll it into an installer

grepgav
April 29th, 2009, 01:38 PM
I don't have too much experience with python GUI programming, but I did brief work with pygtk using Glade to design the interface and it seemed like a pretty nice system.

I would do some Googling about those and design your interface with Glade to get the file describing the UI first, then start working in python to do the backend and event listener code.

stevescripts
April 29th, 2009, 02:22 PM
You have tkinter available for Python, and also EasyGUI (a wrapper around tkinter) - about the simplest I can think of.

Steve

Nevon
April 29th, 2009, 03:14 PM
They didn't teach you that before giving you the assignment?

Carl Hamlin
April 29th, 2009, 03:17 PM
They didn't teach you that before giving you the assignment?

Seriously - either you didn't read the materials, or this is some kind of clown college. I've never heard of a programming class where they just throw you in and say 'come up with something' without giving you some idea of how to go about it.

samjh
April 29th, 2009, 08:18 PM
I am working on a college project, and I am at a loss. I need to design a GUI for a program, but I have no idea how to do so. What is the most painless way to go about doing this? I have very little prior experience ---help!!

What platform? Linux, BSD, Solaris, Mac, Windows?

On Linux or other Unix-like systems, PyGTK with Glade is probably the easiest.

On Windows, just stick to Python's built-in Tkinter module. PyGTK programs are extremely difficult to distribute on Windows in a clean, professional installation package. I tried it for days and developed an allergic reaction to it. ;)

Google is your friend. :)