Advertisement
GutoBadjhegas

APP

Jan 18th, 2022
731
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import tkinter as tk
  2.  
  3. janela = tk.Tk()
  4. janela.title('GPLAY')
  5. janela.geometry("410x300")
  6.  
  7. Texto_principal =tk.Label(text="CADASTRO DE CLIENTES")
  8. Texto_principal.grid(row=1,column=1,padx=10,pady=10,columnspan=6,sticky='nswe')
  9.  
  10. Texto_Nome =tk.Label(text="NOME:")
  11. Texto_Nome.grid(row=2,column=0,padx=10,pady=10,columnspan=2,sticky='nswe')
  12.  
  13. name_cliente =tk.Entry()
  14. name_cliente.grid(row=2,column=2,padx=10,pady=10,columnspan=6,sticky='nswe')
  15.  
  16. Texto_Telefone =tk.Label(text="TELEFONE:")
  17. Texto_Telefone.grid(row=3,column=0,padx=10,pady=10,columnspan=2,sticky='nswe')
  18.  
  19. tel_cliente =tk.Entry()
  20. tel_cliente.grid(row=3,column=2,padx=10,pady=10,columnspan=6,sticky='nswe')
  21.  
  22. Texto_User =tk.Label(text="USUARIO:")
  23. Texto_User.grid(row=4,column=0,padx=10,pady=10,columnspan=2,sticky='nswe')
  24.  
  25. User_cliente =tk.Entry()
  26. User_cliente.grid(row=4,column=2,padx=10,pady=10,columnspan=6,sticky='nswe')
  27.  
  28. Texto_senha =tk.Label(text="SENHA:")
  29. Texto_senha.grid(row=5,column=0,padx=10,pady=10,columnspan=2,sticky='nswe')
  30.  
  31. Senha_cliente =tk.Entry()
  32. Senha_cliente.grid(row=5,column=2,padx=10,pady=10,columnspan=6,sticky='nswe')
  33.  
  34. Texto_DtVenc =tk.Label(text="DATA DE VENCIMENTO:")
  35. Texto_DtVenc.grid(row=6,column=0,padx=10,pady=10,columnspan=2,sticky='nswe')
  36.  
  37. DtVenc_Cliente =tk.Entry()
  38. DtVenc_Cliente.grid(row=6,column=2,padx=50,pady=10,sticky='nswe',columnspan=6)
  39.  
  40. Save =tk.Button(text="GRAVAR")
  41. Save.grid(row=7,column=4,padx=10,pady=10,columnspan=6,sticky='nswe')
  42.  
  43. Limpar =tk.Button(text="LIMPAR")
  44. Limpar.grid(row=7,column=0,padx=10,pady=10,columnspan=2,sticky='nswe')
  45.  
  46. janela.mainloop()
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement