Reputation: 859
My girlfriend asked me if there was a tool (actually, an IDE) that would let her create her GUI visually and edit functions associated with GUI-related events with little effort.
For example, she wants to double-click a button she just created and immediately see (and edit) the code associated with that button's on-click event. I believe this is what she does in Visual Studio.
The toolkit doesn't matter. She just wants this funcionality.
Is there some tool that accomplishes this?
Thank you.
EDIT: Made the example look bold. Seemed no one was looking at it, and it's an important requirement.
Upvotes: 7
Views: 33640
Reputation: 1
Hear! Hear! I've been asking the same question. I love the ease of creating and programming a gui that visual studio provides. It is exactly what your girlfriend is talking about. Unfortunately, it doesn't appear to support Python yet for coding of events. I keep hoping Microsoft will recognize the popularity of Python but, for now, VS only supports five languages and Python isn't one of them. You can use VS as an ide for Python code but, it wont allow you to use it in the same way you can those five languages.
Upvotes: 0
Reputation: 19353
Python(x,y) includes an installation of Eclipse with PyDev and QT Designer integrated. If you configure PyUIC to run from Eclipse (see this brief HOWTO) then, once the GUI has been designed, the framework code can be generated at the push of a button.
Admittedly this is not as easy or as polished as VS and there may be problems when it comes to refactoring the GUI ...
Upvotes: 2
Reputation: 41481
For GTK+ there is Glade. Python can load interface files created with Glade. There are some tutorials on the net.
For Qt there is QtDesigner. PyQt manual covers how to use PyQt with QtDesigner.
As far as I know QtDesigner is integrated into some IDEs (e.g. Eclipse)
Upvotes: 2
Reputation: 52984
Qt Creator is pretty slick. It's for C++ coding only, but Qt manages to make that a bit easier.
Upvotes: 0
Reputation: 1702
I would recommend based on your needs:
Check this out: http://wiki.python.org/moin/GuiProgramming
Upvotes: 8