comp • gb.sdl2 • window • grabbed

Window.Grabbed (gb.sdl2)

Property Grabbed As Boolean

Grab the mouse, so that it is confined to the window.

If the caller enables a grab while another window is currently grabbed, the other window loses its grab in favor of the caller's window.