SDL_SetWindowInputFocus

pull/108/head
Ethan Lee 2016-11-11 13:40:34 -05:00
parent 8a51516de0
commit 4ec65bc5a0
1 changed files with 5 additions and 0 deletions

View File

@ -1387,6 +1387,11 @@ namespace SDL2
IntPtr parent_window
);
/* window refers to an SDL_Window* */
/* Available in 2.0.5 or higher */
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern int SDL_SetWindowInputFocus(IntPtr window);
/// <summary>
/// Use this function to retrieve the data pointer associated with a window.
/// </summary>