Wiki Page Content

Differences between revisions 3 and 7 (spanning 4 versions)
Revision 3 as of 2010-08-29 23:19:34
Size: 619
Editor: SheenaSmith
Comment: update content (w/ Sam); remove 'draft' note
Revision 7 as of 2011-03-13 21:21:13
Size: 630
Editor: SheenaSmith
Comment: update content - 3/13 e20c93bc9122 (2/27 424f036f7c68)
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
#pragma disable-camelcase #pragma camelcase off
Line 5: Line 5:
Use this function to get the window's input grab mode. Use this function to get a window's input grab mode.
Line 11: Line 11:
int SDL_GetWindowGrab(SDL_Window* window) SDL_bool SDL_GetWindowGrab(SDL_Window* window)
Line 18: Line 18:
Returns 1 if input is grabbed and 0 otherwise. Returns SDL_TRUE if input is grabbed, SDL_FALSE otherwise.

SDL_GetWindowGrab

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

Syntax

SDL_bool SDL_GetWindowGrab(SDL_Window* window)

Function Parameters

window

the window to query

Return Value

Returns SDL_TRUE if input is grabbed, SDL_FALSE otherwise.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryVideo

None: SDL_GetWindowGrab (last edited 2011-03-13 21:21:13 by SheenaSmith)

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