Add a label to the top of a frame : Layout : GUI Tk PYTHON examples


PYTHON examples » GUI Tk » Layout »

 

Add a label to the top of a frame


Add a label to the top of a frame


from Tkinter import *

widget = Label()
widget['text'] 'Hello GUI world!
widget.pack(side=TOP)
mainloop()


           
       



Leave a Comment / Note


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


PYTHON examples

 Navioo GUI Tk
» Layout