[Python tkinter GUI] #14 Grid(그리드)
전체 소스코드 from tkinter import * root = Tk() root.title("GUI") root.geometry("300x150") #맨 윗줄 btn_f16 = Button(root, text="F16", width=5, height=2) btn_f17 = Button(root, text="F17", width=5, height=2) btn_f18 = Button(root, text="F18", width=5, height=2) btn_f19 = Button(root, text="F19", width=5, height=2) btn_f16.grid(row=0, column=0, sticky=N+E+W+S, padx=3, pady=3) btn_f17.grid(row=0, column=1,..
2022. 12. 16.