Tao.Sdl SDK Documentation

Sdl.SDL_SysWMEvent Structure

Platform-dependent window manager event.

For a list of all members of this type, see Sdl.SDL_SysWMEvent Members.

System.Object
   System.ValueType
      Tao.Sdl.Sdl.SDL_SysWMEvent

[Visual Basic]
Public Structure Sdl.SDL_SysWMEvent
[C#]
public struct Sdl.SDL_SysWMEvent

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

The system window manager event contains a pointer to system-specific information about unknown window manager events. If you enable this event using SDL_EventState, it will be generated whenever unhandled events are received from the window manager. This can be used, for example, to implement cut-and-paste in your application.

If you want to obtain system-specific information about the window manager, you can fill the version member of a 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:

int SDL_GetWMInfo(SDL_SysWMinfo *info);

Struct from SDL_events.h

            typedef struct {
                    Uint8 type;   /* Always SDL_SYSWMEVENT */
                    SDL_SysWMmsg *msg;
            } SDL_SysWMEvent;
            

Requirements

Namespace: Tao.Sdl

Assembly: Tao.Sdl (in Tao.Sdl.dll)

See Also

Sdl.SDL_SysWMEvent Members | Tao.Sdl Namespace | SDL_EventState