Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- #
- import tkinter as tk
- from tkinter import ttk
- ventana = tk.Tk()
- ventana.title("Posicionamiento pack")
- ventana.config()
- caja = ttk.Entry()
- caja.pack(side=tk.LEFT)
- boton = ttk.Button(text="HOLA")
- boton.pack(side=tk.RIGHT, fill=tk.BOTH)
- boton2 = ttk.Button(text="OTRO BOTON")
- boton2.pack(before=caja, side=tk.LEFT)
- boton3 = ttk.Button(text="JAJA")
- boton3.pack(after=boton, padx=30, pady=50, ipadx=100, ipady=40)
- ventana.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement