PDA

View Full Version : Making GUI menu in python?



BlackRat90
June 8th, 2011, 11:28 PM
So, I have been playing with python for awhile. However, mostly just with like text based in the console stuff. I was wondering how you could build a graphical clicking based menu?

r-senior
June 8th, 2011, 11:39 PM
Have a look on here:

http://www.zetcode.com/

Examples of menus for PyGTK, PyQt4, Tkinter and wxPython.

There are a few threads on this forum comparing the relative merits of the bindings.

PeterP24
June 8th, 2011, 11:40 PM
You didn't said how advanced are you with Python.

Most handy would be to use Tkinter since it comes already with Python. However Tkinter (and others) relies heavily on classes and similar stuff (basically every widget is a class) - that means that you should be familiar with classes.

pts

cgroza
June 9th, 2011, 02:13 AM
I recommend wxPython. I have coded a project in it and never regretted it a single time.

BlackRat90
June 9th, 2011, 09:04 PM
You didn't said how advanced are you with Python.

My apologizes, I would say I am about intermediate level at python.
I have a very good understanding of how it works.

BlackRat90
June 9th, 2011, 09:46 PM
I actually found this one, easyGUI. Very simple. Though rather powerful!

http://easygui.sourceforge.net/

simeon87
June 10th, 2011, 09:43 AM
I actually found this one, easyGUI. Very simple. Though rather powerful!

http://easygui.sourceforge.net/

It's advertised as easy without advanced features. Which means you'll be learning again when you learn a mainstream GUI framework.