Wiki Page Content

Revision 8 as of 2011-03-13 21:18:52

Clear message

SDL_SetWindowGrab

Use this function to set a window's input grab mode.

Syntax

void SDL_SetWindowGrab(SDL_Window* window,
                       SDL_bool    mode)

Function Parameters

window

the window to change

mode

SDL_TRUE to grab input, SDL_FALSE to release input

Code Examples

You can add your code example here

Remarks

When input is grabbed the mouse is confined to the window.


CategoryAPI, CategoryVideo

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit