Next / Previous / Contents / Shipman's homepage

4.5. Main program

This is the usual main program for a Tkinter application: instantiate an Application object, set up the application's title in the window frame, and wait for events.

fontselector
#================================================================
# Main program
#----------------------------------------------------------------

app = Application()
app.master.title("fontselector")
app.mainloop()