added the ability to update the treeview and images in it no longer are as buggy

This commit is contained in:
UpstreamData
2022-05-05 14:47:18 -06:00
parent 51dae7375f
commit 26c6e47f1e
4 changed files with 66 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
import PySimpleGUI as sg
from .imgs import WINDOW_ICON, LIGHT
from .imgs import WINDOW_ICON, LIGHT, FAULT_LIGHT
TABLE_HEADERS = {
"SCAN": [
@@ -134,6 +134,8 @@ def get_scan_layout():
def get_command_layout():
data = sg.TreeData()
data.insert("", 0, "", ["", "", ""], icon=FAULT_LIGHT)
data.insert("", 1, "", ["192.168.1.13", "", ""], icon=LIGHT)
col_widths = [
IP_COL_WIDTH,
MODEL_COL_WIDTH,