Unix/Linux Go Back    


CentOS 7.0 - man page for sdl_wm_grabinput (centos section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


SDL_WM_GrabInput(3)			SDL API Reference		      SDL_WM_GrabInput(3)

NAME
       SDL_WM_GrabInput - Grabs mouse and keyboard input.

SYNOPSIS
       #include "SDL.h"

       SDL_GrabMode SDL_WM_GrabInput(SDL_GrabMode mode);

DESCRIPTION
       Grabbing  means	that the mouse is confined to the application window, and nearly all key-
       board input is passed directly to the application, and not interpreted by  a  window  man-
       ager, 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.

SDL				      Tue 11 Sep 2001, 23:01		      SDL_WM_GrabInput(3)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 11:33 AM.