aboutsummaryrefslogtreecommitdiffstats
path: root/src/gui/test2.py
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2021-12-13 18:31:05 +0100
committerNao Pross <np@0hm.ch>2021-12-13 18:31:05 +0100
commit723103628ccb1679fc7e94022f5a97176442544d (patch)
tree96391de5e584901787ccaef9c8b2a78d2b17eb4d /src/gui/test2.py
parentEdit fractional delay (diff)
downloadFading-723103628ccb1679fc7e94022f5a97176442544d.tar.gz
Fading-723103628ccb1679fc7e94022f5a97176442544d.zip
Clean up GUI code, set up network constellation plots
Diffstat (limited to '')
-rw-r--r--src/gui/test2.py22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/gui/test2.py b/src/gui/test2.py
deleted file mode 100644
index f339af8..0000000
--- a/src/gui/test2.py
+++ /dev/null
@@ -1,22 +0,0 @@
-import dearpygui.dearpygui as dpg
-
-dpg.create_context()
-
-with dpg.window(label="about", width=400, height=400):
- dpg.add_button(label="Press me")
- dpg.draw_line((0, 10), (100, 100), color=(255, 0, 0, 255), thickness=1)
-
-# print children
-print(dpg.get_item_children(dpg.last_root()))
-
-# print children in slot 1
-print(dpg.get_item_children(dpg.last_root(), 1))
-
-# check draw_line's slot
-print(dpg.get_item_slot(dpg.last_item()))
-
-dpg.create_viewport(title='Custom Title', width=800, height=600)
-dpg.setup_dearpygui()
-dpg.show_viewport()
-dpg.start_dearpygui()
-dpg.destroy_context()