Wiki Page Content

Differences between revisions 13 and 14
Revision 13 as of 2010-09-26 00:49:19
Size: 1335
Editor: SheenaSmith
Comment: minor change
Revision 14 as of 2010-09-30 03:49:57
Size: 1732
Editor: SheenaSmith
Comment: update content - 9/27 changeset 4900
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
||SDL_version||'''version'''||an [[SDL_version]] structure that contains the current SDL version||
||SDL_SYSWM_TYPE||'''subsystem'''||the windowing system type; see [[#Remarks|Remarks]] for details||
||union||'''info'''||^the type of window^; see [[#Remarks|Remarks]] for details||

<<Color2(green,Below is old content temporarily here for reference only.)>>
Line 26: Line 31:
''For X11 window management systems (Unix)'' --(''For X11 window management systems (Unix)'')--
Line 30: Line 35:
When [[SDL_GetWindowWMInfo]]() returns the structure holds information specific to the low level windowing system being used, which is one of SDL_SYSWM_TYPE.
||SDL_SYSWM_X11||the X11 windowing system||
When this structure is returned, it holds information about which low level system it is using, and ^'''info'''^ will be one of [[SDL_SYSWM_TYPE]]:
<<Include(SDL_SYSWM_TYPE, , , from="== Values ==", to="== Code Examples ==")>>

DRAFT

SDL_SysWMinfo

A structure that contains system-dependent information about a window.

Data Fields

SDL_version

version

an SDL_version structure that contains the current SDL version

SDL_SYSWM_TYPE

subsystem

the windowing system type; see Remarks for details

union

info

the type of window; see Remarks for details

green

For Windows

SDL_version

version

the SDL_version structure you fill in before you call SDL_GetWindowWMInfo()

HWND

window

the Win32 display window

For X11 window management systems (Unix)

SDL_version

version

the SDL_version structure you fill in before you call SDL_GetWindowWMInfo()

SDL_SYSWM_TYPE

subsystem

the windowing system type; see Remarks for details

Display

info.x11.display

the X11 display

Window

info.x11.window

the X11 window

Code Examples

You can add your code example here

Remarks

For X11 window management systems (Unix)

This structure is filled in by SDL_GetWindowWMInfo().

When this structure is returned, it holds information about which low level system it is using, and '''info''' will be one of SDL_SYSWM_TYPE:

SDL_SYSWM_UNKNOWN

SDL_SYSWM_WINDOWS

Microsoft Windows

SDL_SYSWM_X11

X Window System

SDL_SYSWM_DIRECTFB

DirectFB

SDL_SYSWM_COCOA

Apple Mac OS X

SDL_SYSWM_UIKIT

Apple iOS

SDL_SYSWM_WAYLAND

Wayland (>= SDL 2.0.2)

SDL_SYSWM_MIR

Mir (>= SDL 2.0.2)

SDL_SYSWM_WINRT

WinRT (>= SDL 2.0.3)

SDL_SYSWM_ANDROID

Android (>= SDL 2.0.4)

SDL_SYSWM_VIVANTE

Vivante (>= SDL 2.0.5)


CategoryStruct, CategorySWM

None: SDL_SysWMinfo (last edited 2016-12-01 08:58:06 by realitix)

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