This is the sort of output I would be looking for, although my guess is this isn't possible right now. (the program to run is config_util.py, source for the specific GUI is under tools/cfg_util/cfg_util_sg) Not really any specific code to duplicate, and since the project is so expansive and interwoven to handle these devices, its likely best if I just leave a link to the github page with the project. Oh, and appreciate all the time that has went into this project, PySimpleGUI has been amazing to work with thus far. This leads to my question - Is there any way to insert an image (or possibly a GIF) into a table? If not, is there any better way to handle what I am trying to do? I also thought about having the LED indicators outside the table, but since the program can be dealing with 100s of devices at once, I would run into an issue as soon as someone needed to scroll through the table. The LEDs from DemoLEDIndicators.py would be perfect, but to my knowledge, there is no way to insert one element into another (as mentioned here. I would prefer a nicer way of doing this that doesn't interfere with other tags (such as coloring the devices based on status), so I was looking into a way to add a LED indicator to each table row. With these devices, I have the ability to turn on or off an LED on the device, and to indicate that, I am configuring the tags of the table to set rows with the LED on to red. tree ttk.Treeview (master, columns) Here, tree corresponds to the root node of the newly formed tree. To create a new TreeView widget, the syntax is simple. Now, we can refer to the widget as ttk.TreeView (). I am creating a program that deals with external devices, and as part of that logs them and some information about them in a sg.Table. The TreeView widget belongs to the tkinter.ttk module, so we must import this. Your problem may have already been fixed but not released Tried using the PySimpleGUI.py file on GitHub.Searched through Issues (open and closed) to see if already reported.Run your program outside of your debugger (from a command line).For non tkinter - Looked at readme for your specific port if not PySimpleGUI (Qt, WX, Remi).If not tkinter - looked for Demo Programs for specific port.Looked for Demo Programs that are similar to your goal.Please check those you've done by changing - to. Have used another Python GUI Framework? - NoĪnything else you think would be helpful? Your Experience In Months or Years (optional) Or you can print each version shown in () Python version - 3.10.0 PySimpleGUI Version - 4.53.0 GUI Version - tkinter 8.6.10 Unable to display images in Tkinter Treeview properly. How to insert image into different columns in tkinter Treeview widget 0. Image in treeview Tkinter library in Python. Version information can be obtained by calling sg.main_get_debug_data() Python Tkinter Treeview add an image as a column value. Operating System - Windows 10 PySimpleGUI Port - tkinter Type of Issue (Enhancement, Error, Bug, Question)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |