Wiki Page Content

Differences between revisions 5 and 6
Revision 5 as of 2010-09-18 03:44:34
Size: 668
Editor: SheenaSmith
Comment: update content - "the" to "a" window update
Revision 6 as of 2010-10-09 05:58:29
Size: 672
Editor: SheenaSmith
Comment: update content - pointers, structs
Deletions are marked like this. Additions are marked like this.
Line 16: Line 16:
||'''window'''||the window to change|| ||'''window'''||the SDL_Window to change||

SDL_SetWindowGrab

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

Syntax

void SDL_SetWindowGrab(SDL_Window* window,
                       int         mode)

Function Parameters

window

the SDL_Window to change

mode

1 to grab input or 0 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

None: SDL_SetWindowGrab (last edited 2015-03-29 21:55:12 by PhilippWiesemann)

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