GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SDL_WM_GRABINPUT (3)

NAME

SDL_WM_GrabInput - Grabs mouse and keyboard input.

CONTENTS

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 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.

Search for    or go to Top of page |  Section 3 |  Main Index


SDL SDL_WM_GRABINPUT (3) Tue 11 Sep 2001, 23:01

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.