mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-06 07:20:48 +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:
|
* These are additional supported properties with Emscripten:
|
||||||
*
|
*
|
||||||
* - `SDL_PROP_WINDOW_CREATE_EMSCRIPTEN_CANVAS_ID`: the id given to the canvas element.
|
* - `SDL_PROP_WINDOW_CREATE_EMSCRIPTEN_CANVAS_ID`: the id given to the canvas
|
||||||
* This should start with a '#' sign
|
* element. This should start with a '#' sign
|
||||||
* - `SDL_PROP_WINDOW_CREATE_EMSCRIPTEN_KEYBOARD_ELEMENT`: override the binding element
|
* - `SDL_PROP_WINDOW_CREATE_EMSCRIPTEN_KEYBOARD_ELEMENT`: override the
|
||||||
* for keyboard inputs for this canvas. The variable can be one of:
|
* binding element for keyboard inputs for this canvas. The variable can be
|
||||||
|
* one of:
|
||||||
* - "#window": the javascript window object (default)
|
* - "#window": the javascript window object (default)
|
||||||
* - "#document": the javascript document object
|
* - "#document": the javascript document object
|
||||||
* - "#screen": the javascript window.screen object
|
* - "#screen": the javascript window.screen object
|
||||||
* - "#canvas": the WebGL canvas element
|
* - "#canvas": the WebGL canvas element
|
||||||
* - "#none": Don't bind anything at all
|
* - "#none": Don't bind anything at all
|
||||||
* - any other string without a leading # sign applies to the element on the
|
* - any other string without a leading # sign applies to the element on the
|
||||||
* page with that ID.
|
* page with that ID. Windows with the "tooltip" and "menu" properties are
|
||||||
* Windows with the "tooltip" and "menu" properties are popup windows and have
|
* popup windows and have the behaviors and guidelines outlined in
|
||||||
* the behaviors and guidelines outlined in SDL_CreatePopupWindow().
|
* SDL_CreatePopupWindow().
|
||||||
*
|
*
|
||||||
* If this window is being created to be used with an SDL_Renderer, you should
|
* If this window is being created to be used with an SDL_Renderer, you should
|
||||||
* not add a graphics API specific property
|
* not add a graphics API specific property
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue