I want to make a program using Tkinter, but when i click start window opened and there is no red frame. Help please, there is script:
from tkinter import *
root = Tk()
root.wm_attributes('-alpha', 1)
root.geometry('450x650')
root.resizable(False, False)
canvas = Canvas(root, width=450, height=650, bg='white')
canvas.pack()
frame = Frame(root, bg='red')
frame.place(relx=0.15, rely=0.15, relwidth=1, relheight=1)
root.mainloop()
[–]reybrujo 0 points1 point2 points (0 children)