😍
Size: a a a
😍
😍
😍
😍
I
😍
😍
ЯЛ
class Window():
def __init__(self):
...
def created_windows(self):
self.label_1 = Label()
def open_windows(self):
self.label_1.pack()
ЯЛ
😍
ЯЛ
ЯЛ
ЯЛ
😍
ЯЛ
ЯЛ
😍
ЯЛ
class Window():
def __init__(self, root):
self.root = root
def created_windows(self):
self.label_1 = Label(self.root, text="Логин", font="Arial 20 bold", bg="#6441a5", fg="WHITE", anchor=S)
def open_windows(self):
self.root.title("Авторизация IRC Twitch")
self.label_1.place(relx=0.5, rely=0.2, anchor=CENTER)
root = Tk()
sx = root.winfo_screenwidth()
sy = root.winfo_screenheight()
x, y = 650, 650
root.geometry(f"{x}x{y}+{int((sx - x) / 2)}+{int((sy - y) / 2)}")
root.resizable(width=False, height=False)
root["bg"] = "#6441a5"
# root.iconbitmap("icotwitch.ico")
my_gui = Window(root)
root.mainloop()
ЯЛ