Sync SDL3 wiki -> header

This commit is contained in:
SDL Wiki Bot 2023-03-10 23:52:18 +00:00
parent cfeb663c87
commit 1550fb69e4

View file

@ -667,23 +667,20 @@ extern DECLSPEC SDL_Window *SDLCALL SDL_CreateWindow(const char *title, int w, i
/** /**
* Create a child popup window of the specified parent window. * Create a child popup window of the specified parent window.
* *
* 'flags' **must** contain exactly one of the following: * 'flags' **must** contain exactly one of the following: -
* - 'SDL_WINDOW_TOOLTIP': The popup window is a tooltip and will not pass any input events * 'SDL_WINDOW_TOOLTIP': The popup window is a tooltip and will not pass any
* - 'SDL_WINDOW_POPUP_MENU': The popup window is a popup menu * input events - 'SDL_WINDOW_POPUP_MENU': The popup window is a popup menu
* *
* The following flags are not valid for popup windows and will be ignored: * The following flags are not valid for popup windows and will be ignored: -
* - 'SDL_WINDOW_MINIMIZED' * 'SDL_WINDOW_MINIMIZED' - 'SDL_WINDOW_MAXIMIZED' - 'SDL_WINDOW_FULLSCREEN' -
* - 'SDL_WINDOW_MAXIMIZED' * `SDL_WINDOW_BORDERLESS` - `SDL_WINDOW_MOUSE_GRABBED`
* - 'SDL_WINDOW_FULLSCREEN'
* - `SDL_WINDOW_BORDERLESS`
* - `SDL_WINDOW_MOUSE_GRABBED`
* *
* The parent parameter **must** be non-null and a valid window. * The parent parameter **must** be non-null and a valid window. The parent of
* The parent of a popup window can be either a regular, toplevel window, * a popup window can be either a regular, toplevel window, or another popup
* or another popup window. * window.
* *
* Popup windows cannot be minimized, maximized, made fullscreen, or grab * Popup windows cannot be minimized, maximized, made fullscreen, or grab the
* the mouse. Attempts to do so will fail. * mouse. Attempts to do so will fail.
* *
* If a parent window is hidden, any child popup windows will be recursively * If a parent window is hidden, any child popup windows will be recursively
* hidden as well. Child popup windows not explicitly hidden will be restored * hidden as well. Child popup windows not explicitly hidden will be restored