Refresh Callback
- property Window.refresh_callback: callable
Callback executed when the window needs refreshing.
On most platforms, this is called when the size of the window changes through resizing, minimizing, maximizing, and entering fullscreen.
def refresh_callback() -> None: # code here
- Raises
TypeError – callback must be callable
ValueError – callback function must not take arguments
- Return type
callable