Pack to TOP and RIGHT : Layout : Tkinker PYTHON TUTORIALS


PYTHON TUTORIALS » Tkinker » Layout »

 

Pack to TOP and RIGHT


Pack to TOP and RIGHT
from Tkinter import *
root = Tk()
win = Toplevel(root)

Label(win, text= "Hello Python World" ).pack(side=TOP)
Button(win, text="Close", command=win.quit).pack(side=RIGHT)
win.mainloop()



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Tkinker
» Layout