Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2010-01-21 18:12:21
Size: 738
Editor: SheenaSmith
Comment: Update WindowID > Window*
Revision 3 as of 2010-08-29 23:11:46
Size: 860
Editor: SheenaSmith
Comment: update content (w/ Sam); remove 'draft' note
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
||<tablewidth="100%" style="color: #FF0000;" :> DRAFT||
Line 16: Line 15:
||'''window'''||the type used to identify the window|| ||'''window'''||the window to query||
Line 19: Line 18:
The window flags. ^One or more [[SDL_WindowFlags]].^ Returns the [[SDL_WindowFlags]]; see [[#Remarks|Remarks]] for details.
Line 27: Line 26:
''You can add useful comments here''
See [[SDL_WindowFlags]] for details. ^(Should this be an Include?)^
The flags may be any of the following OR'd together:
<<Include(SDL_WindowFlags, , , from="== Values ==", to="== Code Examples ==")>>
Line 31: Line 30:
 .[[SDL_HideWindow]]
 .[[SDL_MaximizeWindow]]
 .[[SDL_MinimizeWindow]]
 .[[SDL_SetWindowFullscreen]]
 .[[SDL_SetWindowGrab]]
 .[[SDL_ShowWindow]]

SDL_GetWindowFlags

Use this function to get the window flags.

Syntax

Uint32 SDL_GetWindowFlags(SDL_Window* window)

Function Parameters

window

the window to query

Return Value

Returns the SDL_WindowFlags; see Remarks for details.

Code Examples

You can add your code example here

Remarks

The flags may be any of the following OR'd together:

SDL_WINDOW_FULLSCREEN

fullscreen window

SDL_WINDOW_FULLSCREEN_DESKTOP

fullscreen window at the current desktop resolution

SDL_WINDOW_OPENGL

window usable with OpenGL context

SDL_WINDOW_VULKAN

window usable with a Vulkan instance

SDL_WINDOW_SHOWN

window is visible

SDL_WINDOW_HIDDEN

window is not visible

SDL_WINDOW_BORDERLESS

no window decoration

SDL_WINDOW_RESIZABLE

window can be resized

SDL_WINDOW_MINIMIZED

window is minimized

SDL_WINDOW_MAXIMIZED

window is maximized

SDL_WINDOW_INPUT_GRABBED

window has grabbed input focus

SDL_WINDOW_INPUT_FOCUS

window has input focus

SDL_WINDOW_MOUSE_FOCUS

window has mouse focus

SDL_WINDOW_FOREIGN

window not created by SDL

SDL_WINDOW_ALLOW_HIGHDPI

window should be created in high-DPI mode if supported (>= SDL 2.0.1)

SDL_WINDOW_MOUSE_CAPTURE

window has mouse captured (unrelated to INPUT_GRABBED, >= SDL 2.0.4)

SDL_WINDOW_ALWAYS_ON_TOP

window should always be above others (X11 only, >= SDL 2.0.5)

SDL_WINDOW_SKIP_TASKBAR

window should not be added to the taskbar (X11 only, >= SDL 2.0.5)

SDL_WINDOW_UTILITY

window should be treated as a utility window (X11 only, >= SDL 2.0.5)

SDL_WINDOW_TOOLTIP

window should be treated as a tooltip (X11 only, >= SDL 2.0.5)

SDL_WINDOW_POPUP_MENU

window should be treated as a popup menu (X11 only, >= SDL 2.0.5)


CategoryAPI, CategoryVideo

None: SDL_GetWindowFlags (last edited 2011-01-06 05:46:46 by SheenaSmith)

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