Python Forum
choosing a GUI library
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
choosing a GUI library
#1
i have been thinking about a GUI interface to a networked computational app i have wanted to do. my other option is to make a web-like interface. i have yet to decide since part of what the user needs to see will be rapidly updated and doing it as video is not practical. plus, a new GUI app need has come up with needs more like a normal GUI app except it needs to create an image at the pixel level and display it directly (not save it as a file and run a program to display that file). so i hope that gives some sense of my needs. on thing i need to be sure of is that the mainloop features it has include incoming and outgoing network capability so that it smoothly includes network activity with user interface activity.

the first project will have some heavy computation parts that need to be done in C but those will probably be separate executables and separate processes using network communication.

the main thing i am looking for right now is feature comparison documentation about libraries like WxPython, Tkinter, PyQT, and others. the only code written so far is some non-network C code that does the computation in one core.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply
#2
PyQT5
PyQT5 is a graphical user interface (GUI) framework for Python. It is very popular among developers and the GUI can be created by coding or a QT designer. A QT Development framework is a visual framework that allows drag and drop of widgets to build user interfaces.

It is a free, open source binding software and is implemented for cross platform application development framework. It is used on Windows, Mac, Android, Linux and Raspberry PI.
Reply
#3
This gets asked so many times and the real answer is you should choose by yourself by trying them and finding out which one best suits you and your needs
A lot of it is a personal preference so you will get biased opinions on what to use.
Here is a previous post asking about which GUI https://python-forum.io/thread-15611.html
buran and jehoshua like this post
Reply
#4
i understand that this is a decision i must make for myself. i want to start the process of learning enough about how each is used by seeing example code. but these examples need to be intended as examples and focus on specific features. then i can start by adding on to the examples. if they a truly written as examples, my add-ons will make them not be recognizable as what they were before.

things i do want to examine include:

1. how a portion of the window can be written to display some pixels. think of a window that has text to describe an object or person, has buttons to take specific action, and shows a picture of that object or person.

2. how the main loop can be woken up to handle incoming data buffers from a network TCP connection, SCTP session, or UDP association (this activity using the usual system interfaces except the Python equivalent of poll() or select() which are the places of network waiting that would freeze a GUI app). how to wait for one event from any of many interfaces is a classic issue with interfaces that must involve waiting for something. threads are not an instant solution as the code must now include thread events.


> PyQT5
describe how PyQT5 handles numbers 1 and 2 above.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [PyQt] Need help choosing threading method Oolongtea 5 2,491 Nov-03-2022, 03:44 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020