widget and window configuration options dialogsboth standard and custom low-level event binding tkinter linked variable objects using the python imaging library (pilextension for other image types and operations after this concludes the two-part tour by presenting the remainder of the tkinter library' tool setmenustextcanvasesanimationand more to make this tour interestingi'll also introduce few notions of component reuse along the way for instancesome later examples will be built using components written for prior examples although these two tour introduce widget interfacesthis book is also about python programming in generalas we'll seetkinter programming in python can be much more than simply drawing circles and arrows configuring widget appearance so farall the buttons and labels in examples have been rendered with default lookand-feel that is standard for the underlying platform with my machine' color schemethat usually means that they're gray on windows tkinter widgets can be made to look arbitrarily differentthoughusing handful of widget and packer options because generally can' resist the temptation to customize widgets in examplesi want to cover this topic early on the tour example - introduces some of the configuration options available in tkinter example - pp \gui\tour\config-label py from tkinter import root tk(labelfont ('times' 'bold'widget label(roottext='hello config world'widget config(bg='black'fg='yellow'widget config(font=labelfontwidget config(height= width= widget pack(expand=yesfill=bothroot mainloop(familysizestyle yellow text on black label use larger font initial sizelines,chars rememberwe can call widget' config method to reset its options at any timeinstead of passing all of them to the object' constructor herewe use it to set options that produce the window in figure - this may not be completely obvious unless you run this script on real computer (alasi can' show it in color here)but the label' text shows up in yellow on black tkinter tourpart