Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Nice IDE with GUI designer for wxPython or Tkinter [closed]

I have a little experience developing small command-line applications with Python. I want to move on to developing GUIs with Python. From the available GUI toolkits for Python, the ones I feel the most inclined to are wxPython and Tkinter; but I don't want to code all of the GUI by myself all of the time.

Are there any good GUI IDEs for any of these toolkits? It doesn't need to be free or open source.

like image 533
Alix Axel Avatar asked Apr 29 '09 04:04

Alix Axel


People also ask

Which is better Tkinter or wxPython?

wxPython has much better printing support than Tkinter. wxPython cons: wxPython requires a separate download which can be a pain to manage when you deploy your app. Documentation is very weak in my opinion; it's very hard to find specific information.

Is there a designer for Tkinter?

Tkinter Designer was created to speed up the GUI development process in Python. It uses the well-known design software Figma to make creating beautiful Tkinter GUIs in Python a piece of cake 🍰 . Tkinter Designer uses the Figma API to analyse a design file and create the respective code and files needed for the GUI.


1 Answers

I will talk only about WxPython because it's the only toolkit I have experience with. TkInter is nice to write small programs (then it doesn't require a GUI Designer), but is not really appropriate for large application development.

  • wxFormBuilder is really good: it generates .XRC files you need to load in your program, and it can generate .py files by subclassing them when you use.

  • DialogBlocks and wxDesigner are two commercial software which can generate Python code directly. I didn't tested these much because of their price.

  • wxGlade is (I think) not yet mature enough for large programs, but it's worth a try.

After trying all these, I realized they had all flaws and that nothing is better than just writing the GUI in an editor. The problem is the extended learning curve. But then you will be much more faster and your code will be much more flexible than when using a GUI designer.

Have a look at this list of major applications written with wxPython. You will probably see that none of these use a GUI Designer, there must be a reason for this.

You then understand gs is right when saying that either you switch to PyQt or you write your application by hand. I had a look at Qt Designer in the past and thought this was what I needed. Unfortunately PyQt has some license restrictions.

like image 75
Mapad Avatar answered Sep 17 '22 17:09

Mapad