Possible window events to track
Action
Description
shown
Window has been shown
hidden
Window has been hidden
exposed
Window has been exposed and should be redrawn
moved
Window has been moved to data1
, data2
resized
Window has been resized to data1
xdata2
minimized
Window has been minimized
maximized
Window has been maximized
restored
Window has been restored to normal size and position
enter
Window has gained mouse focus
leave
Window has lost mouse focus
focus_gained
Window has gained keyboard focus
focus_lost
Window has lost keyboard focus
close
The window manager requests that the window be closed
take_focus
Window is being offered a focus
hit_test
Window had a hit test that wasn't SDL_HITTEST_NORMAL
Last updated
Was this helpful?