Skip to content

Instantly share code, notes, and snippets.

@eimon96
Created April 21, 2022 14:41
Show Gist options
  • Save eimon96/2072b204212757bef7253ae10ce116b8 to your computer and use it in GitHub Desktop.
Save eimon96/2072b204212757bef7253ae10ce116b8 to your computer and use it in GitHub Desktop.
# Python3
# 2021
import tkinter as tk
window = tk.Tk()
frame1 = tk.Frame(master=window, width=90, height=200, bg="blue")
frame1.pack(fill=tk.Y, side=tk.LEFT)
frame2 = tk.Frame(master=window, width=90, bg="white")
frame2.pack(fill=tk.Y, side=tk.LEFT)
frame3 = tk.Frame(master=window, width=90, bg="red")
frame3.pack(fill=tk.Y, side=tk.LEFT)
window.mainloop()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment