Penguin

SDL_WM_!GrabInput?

SDL_WM_!GrabInput?

NAME SYNOPSIS DESCRIPTION RETURN VALUE


NAME

SDL_WM_!GrabInput?- Grabs mouse and keyboard input.

SYNOPSIS

#include

SDL_!GrabMode? SDL_WM_!GrabInput?(SDL_!GrabMode? mode);

DESCRIPTION

Grabbing means that the mouse is confined to the application window, and nearly all keyboard input is passed directly to the application, and not interpreted by a window manager, if any.

When mode is SDL_GRAB_QUERY the grab mode is not changed, but the current grab mode is returned.

typedef enum { SDL_GRAB_QUERY, SDL_GRAB_OFF, SDL_GRAB_ON } SDL_!GrabMode?;

RETURN VALUE

The current/new SDL_!GrabMode?.


This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.