1SDL_SysWMEvent(3)              SDL API Reference             SDL_SysWMEvent(3)
2
3
4

NAME

6       SDL_SysWMEvent- Platform-dependent window manager event.
7

DESCRIPTION

9       The  system  window manager event contains a pointer to system-specific
10       information about unknown window manager events.  If  you  enable  this
11       event  using  SDL_EventState(), it will be generated whenever unhandled
12       events are received from the window manager.  This  can  be  used,  for
13       example, to implement cut-and-paste in your application.
14
15       typedef struct {
16                Uint8 type;   /* Always SDL_SysWM */
17        } SDL_SysWMEvent;
18
19        If  you  want  to  obtain system-specific information about the window
20       manager, you can fill the version member of a  SDL_SysWMinfo  structure
21       (details can be found in SDL_syswm.h, which must be included) using the
22       SDL_VERSION() macro found in SDL_version.h, and pass it  to  the  func‐
23       tion:
24
25       int SDL_GetWMInfo(SDL_SysWMinfo *info);
26

SEE ALSO

28       SDL_EventState
29
30
31
32SDL                         Tue 11 Sep 2001, 23:00           SDL_SysWMEvent(3)
Impressum