Page 356 -
P. 356
graphical interface elements
Study the three tkinter properties presented below and see if you can
match up the properties to the correct description:
WM_TAKE_FOCUS A message sent to your main window
when the operating system is shutting
down
WM_SAVE_YOURSELF A message sent to your main window
when the close box has been clicked
WM_DELETE_WINDOW A message sent to your main window
when the window has been selected
after a mouse click
Which of these protocol messages do you think you need to capture?
Geek Bits
The tkinter library provides a mechanism to
react to an event that is associated with the GUI
window. These are known as Window Manager
protocol properties. Think of the event as a
protocol event.
you are here 4 321