0

What tools should be used to create GUI app in python? I imagine something similar to WinForms or WPF. It would be best if there were tools to design app visually. I think something similar to Java FX/Swing will do, too.

I tried tkinter framework, but it was impossible to use, it's very different from WinForms for example. In my app I will need canvas or something to draw few figures.

2
  • Gtk is available for python. i've only used it in c, but have seen python source which imports a glade file. glade is a screen painter for Gnu-Tool-Kit Commented Dec 3, 2018 at 9:49
  • check out wxPython for GUIs. See stackoverflow.com/questions/16597110/best-canvas-for-wxpython Commented Dec 3, 2018 at 9:49

2 Answers 2

1

I would recommend wxPython and wxGlade. The later includes a tutorial that should get you started with wxPython as well.

Depending on the type of drawing, matplotlib might be an option. wxGlade includes examples for this. Otherwise have a look at the link posted by wich or at the wxPython demo, whether the drawing capabilities match your requirements.

Sign up to request clarification or add additional context in comments.

Comments

1

There are many GUI libraries.

  1. PyQt is a cross-platform application framework.
  2. wxPython
  3. PyGTK
  4. kivy is available on Ardroid.

I think PyQt could help you. It has GraphicsView class and you can draw something using it.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.