Wiki Page Content

Differences between revisions 10 and 11
Revision 10 as of 2011-11-24 01:07:25
Size: 1592
Editor: SheenaSmith
Comment: update content - 11/23 (11/20 61fa4f3238c5)
Revision 11 as of 2011-12-31 04:48:48
Size: 1474
Editor: SheenaSmith
Comment: replace reference to SDL_GetWMInfo with SDL_GetWindowWMInfo
Deletions are marked like this. Additions are marked like this.
Line 26: Line 26:
*<<BR>>If you want to obtain system-specific information about the window manager, you can fill in the `version` member of an [[SDL_SysWMinfo]] structure (details can be found in SDL_syswm.h, ,,which must be included,,) using the [[SDL_VERSION]]() macro found in SDL_version.h, and pass it to the function* ,,[[SDL_GetWMInfo]](),,. <<Color2(green,I think this function has been replaced by [[SDL_GetWindowWMInfo]]().  Is that right? Old wiki included)>> {{{
int SDL_GetWMInfo(SDL_SysWMinfo *info);
*<<BR>>If you want to obtain system-specific information about the window manager, you can fill in the `version` member of an [[SDL_SysWMinfo]] structure (details can be found in SDL_syswm.h, ,,which must be included,,) using the [[SDL_VERSION]]() macro found in SDL_version.h, and pass it to the function[[SDL_GetWindowWMInfo]](). {{{
int SDL_GetWindowWMInfo(SDL_SysWMinfo *info);

DRAFT

SDL_SysWMEvent

A structure that contains a video driver dependent system event.

Data Fields

Uint32

type

SDL_SYSWMEVENT

SDL_SysWMmsg*

msg

driver dependent data, defined in SDL_syswm.h

Code Examples

You can add your code example here

Remarks

This event is disabled by default. You can enable it with SDL_EventState()

If you want to use this event you should include SDL_syswm.h.

SDL_SysWMEvent is a member of the SDL_Event union and is used when an event of type SDL_SYSWMEVENT is reported. You would access it through the event's syswm field.

*
If you want to obtain system-specific information about the window manager, you can fill in the version member of an SDL_SysWMinfo structure (details can be found in SDL_syswm.h, which must be included) using the SDL_VERSION() macro found in SDL_version.h, and pass it to the functionSDL_GetWindowWMInfo().

int SDL_GetWindowWMInfo(SDL_SysWMinfo *info);


CategoryStruct, CategoryEvents

None: SDL_SysWMEvent (last edited 2013-09-05 20:32:14 by PhilippWiesemann)

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