Set control's properties through dictionary syntax : Pack : Tkinker PYTHON TUTORIALS


PYTHON TUTORIALS » Tkinker » Pack »

 

Set control's properties through dictionary syntax


Set control's properties through dictionary syntax
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 TUTORIALS

 Navioo Tkinker
» Pack