Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2016-03-24 23:34:18
Size: 1586
Comment: Created page using content from header file.
Revision 2 as of 2016-09-29 22:51:16
Size: 1547
Comment: Updated Version section.
Deletions are marked like this. Additions are marked like this.
Line 46: Line 46:
This function is available in ''unstable'' versions newer than (stable) SDL 2.0.4. This function is available since SDL 2.0.5.

DRAFT

SDL_SetWindowModalFor

Use this function to set the window as a modal for another window.

Syntax

int SDL_SetWindowModalFor(SDL_Window* modal_window,
                          SDL_Window* parent_window)

Function Parameters

modal_window

the window that should be set modal

parent_window

the parent window for the modal window

Return Value

Returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.

Code Examples

You can add your code example here

Remarks

This function is only supported on X11.

Version

This function is available since SDL 2.0.5.


CategoryAPI, CategoryVideo

None: SDL_SetWindowModalFor (last edited 2016-09-29 22:51:16 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit