Initial commit
This commit is contained in:
commit
5e62cdd2ba
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
nv-venv
|
||||
.idea
|
||||
output
|
||||
22
app.py
Normal file
22
app.py
Normal file
@ -0,0 +1,22 @@
|
||||
import PySimpleGUI as sg
|
||||
import sys
|
||||
|
||||
sg.theme("DarkAmber")
|
||||
|
||||
class GUI:
|
||||
|
||||
def __init__(self):
|
||||
layout = [
|
||||
[sg.Text("Commandline arguments:")],
|
||||
[sg.Multiline("\n".join(sys.argv), size=(100, 20))]
|
||||
]
|
||||
self.window = sg.Window(title="Windows Protocol Viewer",
|
||||
layout=layout)
|
||||
|
||||
def run(self):
|
||||
while True:
|
||||
self.event, self.values = self.window.read()
|
||||
|
||||
if self.event == sg.WINDOW_CLOSED:
|
||||
break
|
||||
self.window.close()
|
||||
1
requirements.txt
Normal file
1
requirements.txt
Normal file
@ -0,0 +1 @@
|
||||
PySimpleGUI==4.*
|
||||
Loading…
Reference in New Issue
Block a user