Try to make a GUI for one application I'am working on. Try Tkinter, but I can´t handle a While-loop and reciving UDP-messages at the same time I use Tkinter as GUI. Maybe I can start different threads, but am relatively new to Python. Have a decent grasp of the python code how it is written (maybe not the best coder) until I get to the graphical stuff.
Try Pygame just for the GUI, I can recive UDP-message but I don´t find the classic HTML-listbox <SELECT> in Pygame.
Is there another GUI to look at with listbox?
What I'm looking for is to have a fixed page (1024x768) where I have a few different labels, some buttons and a large "listbox". I want to be able to change the text of the labels at any time in my code. They should never move, only change content
* In the listbox, I would like to have each row with one "label" and two "input".
* I would like to be able to receive a UDP command and display the current row in the middle of the list box + 10 lines before and 10 lines after. So I need to set the height for my listbox and select which rows to view.
* I want to be able to scroll in the list box on the screen when I don´t recive UDP-commands that says jump to row.
* I want to save the content in my listbox to a file.
I don´t wan´t someone to do this for me... But I need to know if someone had seen this before and know some suitable GUI.
I am relatively new to Python but have done some programming before. When searching for Python and GUI, it is mostly Tkinter that appears in my searches.
EDIT:
Can also imagine if it is possible to make a classic HTML-"<table>" with 21 rows and 3 columns. If it was possible to add these 21 lines of type:

Try Pygame just for the GUI, I can recive UDP-message but I don´t find the classic HTML-listbox <SELECT> in Pygame.
Is there another GUI to look at with listbox?
What I'm looking for is to have a fixed page (1024x768) where I have a few different labels, some buttons and a large "listbox". I want to be able to change the text of the labels at any time in my code. They should never move, only change content
* In the listbox, I would like to have each row with one "label" and two "input".
* I would like to be able to receive a UDP command and display the current row in the middle of the list box + 10 lines before and 10 lines after. So I need to set the height for my listbox and select which rows to view.
* I want to be able to scroll in the list box on the screen when I don´t recive UDP-commands that says jump to row.
* I want to save the content in my listbox to a file.
I don´t wan´t someone to do this for me... But I need to know if someone had seen this before and know some suitable GUI.
I am relatively new to Python but have done some programming before. When searching for Python and GUI, it is mostly Tkinter that appears in my searches.

EDIT:
Can also imagine if it is possible to make a classic HTML-"<table>" with 21 rows and 3 columns. If it was possible to add these 21 lines of type:
for in to range(21) hiddenValue = add.hidden(value=myArrayRow) label = add.label(text="text", column="0") input = add.input(text="text", column="1") input2 = add.input2(text="text", column="2")...to then be able to update label[x] = "new text" whitout redrawing entire page and then retrieve the value from input[x] and input2[x] to save in an array which is then saved later in a text file.
buran write Nov-28-2024, 01:50 PM:
Please, use proper tags when post code, traceback, output, etc. This time I have added tags for you.
See BBcode help for more info.
Note you code snippet is NOT syntax correct
Please, use proper tags when post code, traceback, output, etc. This time I have added tags for you.
See BBcode help for more info.
Note you code snippet is NOT syntax correct