Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- #
- # PACK
- import tkinter as tk
- from tkinter import ttk
- ventana = tk.Tk()
- ventana.title("Grid")
- ventana.config(width=400, height=600)
- caja = ttk.Entry()
- caja.pack(expand=True, fill=tk.BOTH)
- boton = ttk.Button(text='HOLA')
- boton.pack(padx=50, pady=75, ipadx=50, ipady=100)
- label = ttk.Label(text="CHAU")
- label.pack(before=boton)
- ventana.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement