"""Фрейм для логина и пароля нового бота""" from typing import Any from tkinter import Frame,Label,Entry class FrmNewBot(Frame): def __init__(self, winAddBot:Any)->None: self.winAddBot=winAddBot Frame.__init__(self, master=winAddBot) self.pack(fill="both",expand=1) self.lblLogin=Label(self, text="Логин") self.lblLogin.pack(fill="x") self.entLogin=Entry(self) self.entLogin.pack(fill="x") self.lblLoginErr=Label(self, text="\n") self.lblLoginErr.pack(fill="x") self.lblPass=Label(self, text="Пароль") self.lblPass.pack(fill="x") self.entPass=Entry(self) self.entPass.pack(fill="x") self.lblPassErr=Label(self, text="\n") self.lblPassErr.pack(fill="x")