aboutsummaryrefslogtreecommitdiff
path: root/test/frames.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/frames.py')
-rw-r--r--test/frames.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/frames.py b/test/frames.py
new file mode 100644
index 0000000..8870fa7
--- /dev/null
+++ b/test/frames.py
@@ -0,0 +1,16 @@
+import tkinter
+from tkinter import *
+root = tkinter.Tk()
+root.geometry("1920x1080")
+
+TopFrame = Frame(root, width=1920, height=200, bg= "green")
+MiddleRightFrame = Frame(root, width=1120, height=730, bg="orange")
+MiddleLeftFrame = Frame(root, width=800, height=730, bg="black")
+BottomFrame = Frame(root, width=1920, height=150, bg="blue")
+
+TopFrame.pack(side=TOP)
+BottomFrame.pack(side=BOTTOM)
+MiddleRightFrame.pack(side=RIGHT)
+MiddleLeftFrame.pack(side=LEFT)
+
+root.mainloop()