Destroy Callback
- property Window.destroy_callback: callable
Callback executed when the window is destroyed.
It is called directly after Window.destroy().
def destroy_callback() -> None: # code here
- Raises
TypeError – callback must be callable
ValueError – callback function must not take arguments
- Return type
callable