def __init__(self,parent): tkinter.Toplevel.__init__(self,parent) self.parent = parent self.resizable(0,0) #self.geometry("350x150") func.central(self, 350, 150) self.initialize() self.configure(background='#b3d0e3') self.title("Adicionar Imagem - FaceTask") self.iconbitmap('facetaskico.ico')
def __init__(self,parent): tkinter.Toplevel.__init__(self,parent) self.parent = parent self.resizable(0,0) #self.geometry("400x230") func.central(self, 400, 230) self.initialize() self.iconbitmap('facetaskico.ico')
def __init__(self,parent): tkinter.Tk.__init__(self,parent) #self.geometry("420x300") func.central(self, 420, 300) self.configure(background='#b3d0e3') self.title("Menu Principal - FaceTask") self.iconbitmap('facetaskico.ico') self.resizable(0,0) self.parent = parent self.initialize()
def __init__(self,parent): tkinter.Toplevel.__init__(self,parent) self.parent = parent #self.geometry("600x300") func.central(self, 600, 300) self.configure(background='#b3d0e3') self.title("Adicionar um Usuário - FaceTask") self.iconbitmap('facetaskico.ico') self.resizable(0,0) func.limpa_temp(PATH) self.initialize()
def __init__(self,parent, idimg): tkinter.Toplevel.__init__(self,parent) self.parent = parent self.idmigt=idimg #self.geometry("500x300") func.central(self, 700, 300) self.resizable(0,0) self.configure(background='#b3d0e3') self.title("Tarefa do Dia - FaceTask") self.iconbitmap('facetaskico.ico') self.initialize()
def __init__(self,parent): tkinter.Toplevel.__init__(self,parent) self.parent = parent self.geometry("600x300") func.central(self, 600, 300) self.configure(background='#b3d0e3') self.title("Editar um Usuário - FaceTask") self.iconbitmap('facetaskico.ico') self.resizable(0,0) func.limpa_temp(PATH) self.initialize() self.loadCombo() self.selectUser.bind('<<ComboboxSelected>>', self.modified)
def __init__(self,parent, arg, video_source=0): tkinter.Toplevel.__init__(self,parent) self.argwc=arg self.video_source = video_source self.delay = 15 self.resizable(0,0) self.vid = objetoWebcam(video_source) self.canvas = tkinter.Canvas(self, width = self.vid.width, height = self.vid.height) self.canvas.pack() self.parent = parent self.iconbitmap('facetaskico.ico') #self.geometry("500x500") func.central(self, int(self.vid.width), int(self.vid.height)+30) self.title("Tire uma foto - FaceTask") self.btn_foto=tkinter.Button(self, text="Tirar foto", width=50, command=self.salvar_foto, background='#b3d0e3') self.btn_foto.pack(anchor=tkinter.CENTER, expand=True) self.update()