mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-03 02:17:39 +00:00
Sync SDL3 wiki -> header
[ci skip]
This commit is contained in:
parent
17b84dbcf3
commit
f15832c685
1 changed files with 8 additions and 7 deletions
|
@ -1282,19 +1282,20 @@ extern SDL_DECLSPEC SDL_Window * SDLCALL SDL_CreatePopupWindow(SDL_Window *paren
|
|||
*
|
||||
* These are additional supported properties with Emscripten:
|
||||
*
|
||||
* - `SDL_PROP_WINDOW_CREATE_EMSCRIPTEN_CANVAS_ID`: the id given to the canvas element.
|
||||
* This should start with a '#' sign
|
||||
* - `SDL_PROP_WINDOW_CREATE_EMSCRIPTEN_KEYBOARD_ELEMENT`: override the binding element
|
||||
* for keyboard inputs for this canvas. The variable can be one of:
|
||||
* - `SDL_PROP_WINDOW_CREATE_EMSCRIPTEN_CANVAS_ID`: the id given to the canvas
|
||||
* element. This should start with a '#' sign
|
||||
* - `SDL_PROP_WINDOW_CREATE_EMSCRIPTEN_KEYBOARD_ELEMENT`: override the
|
||||
* binding element for keyboard inputs for this canvas. The variable can be
|
||||
* one of:
|
||||
* - "#window": the javascript window object (default)
|
||||
* - "#document": the javascript document object
|
||||
* - "#screen": the javascript window.screen object
|
||||
* - "#canvas": the WebGL canvas element
|
||||
* - "#none": Don't bind anything at all
|
||||
* - any other string without a leading # sign applies to the element on the
|
||||
* page with that ID.
|
||||
* Windows with the "tooltip" and "menu" properties are popup windows and have
|
||||
* the behaviors and guidelines outlined in SDL_CreatePopupWindow().
|
||||
* page with that ID. Windows with the "tooltip" and "menu" properties are
|
||||
* popup windows and have the behaviors and guidelines outlined in
|
||||
* SDL_CreatePopupWindow().
|
||||
*
|
||||
* If this window is being created to be used with an SDL_Renderer, you should
|
||||
* not add a graphics API specific property
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue