GRAB_KEYBOARD


Description:

[ CCode ( cname = "SDL_HINT_GRAB_KEYBOARD" ) ]
public const string GRAB_KEYBOARD

A variable controlling whether grabbing input grabs the keyboard

This variable can be set to the following values:

  • "0" - Grab will affect only the mouse
  • "1" - Grab will affect mouse and keyboard

By default SDL will not grab the keyboard so system shortcuts still work.


Namespace: SDL.Hint
Package: sdl2



2022 vala-language.org