Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
5131 clevermous 1
2
>
3
>
4
>SDL_SysWMEvent
5
>
6
NAME="GENERATOR"
7
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
8
">
9
REL="HOME"
10
TITLE="SDL Library Documentation"
11
HREF="index.html">
12
REL="UP"
13
TITLE="SDL Event Structures."
14
HREF="eventstructures.html">
15
REL="PREVIOUS"
16
TITLE="SDL_ResizeEvent"
17
HREF="sdlresizeevent.html">
18
REL="NEXT"
19
TITLE="SDL_UserEvent"
20
HREF="sdluserevent.html">
21
>
22
CLASS="REFENTRY"
23
BGCOLOR="#FFF8DC"
24
TEXT="#000000"
25
LINK="#0000ee"
26
VLINK="#551a8b"
27
ALINK="#ff0000"
28
>
29
CLASS="NAVHEADER"
30
>
31
WIDTH="100%"
32
BORDER="0"
33
CELLPADDING="0"
34
CELLSPACING="0"
35
>
36
>
37
COLSPAN="3"
38
ALIGN="center"
39
>SDL Library Documentation
40
>
41
>
42
>
43
WIDTH="10%"
44
ALIGN="left"
45
VALIGN="bottom"
46
>
47
HREF="sdlresizeevent.html"
48
>Prev
49
>
50
>
51
WIDTH="80%"
52
ALIGN="center"
53
VALIGN="bottom"
54
>
55
>
56
WIDTH="10%"
57
ALIGN="right"
58
VALIGN="bottom"
59
>
60
HREF="sdluserevent.html"
61
>Next
62
>
63
>
64
>
65
>
66
ALIGN="LEFT"
67
WIDTH="100%">
68
>
69
>
70
NAME="SDLSYSWMEVENT"
71
>SDL_SysWMEvent
72
>
73
>
74
CLASS="REFNAMEDIV"
75
>
76
NAME="AEN4070"
77
>
78
>
79
>Name
80
>SDL_SysWMEvent -- Platform-dependent window manager event.
81
>
82
CLASS="REFSECT1"
83
>
84
NAME="AEN4073"
85
>
86
>
87
>Description
88
>
89
>The system window manager event contains a pointer to system-specific
90
information about unknown window manager events.  If you enable this event
91
using
92
93
HREF="sdleventstate.html"
94
>
95
CLASS="FUNCTION"
96
>SDL_EventState()
97
>
98
>,
99
it will be generated whenever unhandled events are received from the window
100
manager.  This can be used, for example, to implement cut-and-paste in your
101
application.
102
 
103
104
CLASS="PROGRAMLISTING"
105
>typedef struct {
106
         Uint8 type;   /* Always SDL_SysWM */
107
 } SDL_SysWMEvent;
108
>
109
 
110
If you want to obtain system-specific information about the window manager,
111
you can fill the version member of a 
112
CLASS="STRUCTNAME"
113
>SDL_SysWMinfo
114
>
115
structure (details can be found in 
116
CLASS="FILENAME"
117
>SDL_syswm.h
118
>, which must be included) using the 
119
CLASS="FUNCTION"
120
>SDL_VERSION()
121
> macro found in
122
123
CLASS="FILENAME"
124
>SDL_version.h
125
>, and pass it to the
126
function:
127
128
CLASS="FUNCSYNOPSIS"
129
>
130
NAME="AEN4083"
131
>
132
>
133
>
134
>
135
>
136
>
137
CLASS="FUNCDEF"
138
>int 
139
CLASS="FSFUNC"
140
>SDL_GetWMInfo
141
>
142
>(SDL_SysWMinfo *info);
143
>
144
>
145
>
146
>
147
>
148
>
149
>
150
CLASS="REFSECT1"
151
>
152
NAME="AEN4088"
153
>
154
>
155
>See Also
156
>
157
>
158
HREF="sdleventstate.html"
159
>
160
CLASS="FUNCTION"
161
>SDL_EventState
162
>
163
>
164
>
165
>
166
CLASS="NAVFOOTER"
167
>
168
ALIGN="LEFT"
169
WIDTH="100%">
170
WIDTH="100%"
171
BORDER="0"
172
CELLPADDING="0"
173
CELLSPACING="0"
174
>
175
>
176
WIDTH="33%"
177
ALIGN="left"
178
VALIGN="top"
179
>
180
HREF="sdlresizeevent.html"
181
>Prev
182
>
183
>
184
WIDTH="34%"
185
ALIGN="center"
186
VALIGN="top"
187
>
188
HREF="index.html"
189
>Home
190
>
191
>
192
WIDTH="33%"
193
ALIGN="right"
194
VALIGN="top"
195
>
196
HREF="sdluserevent.html"
197
>Next
198
>
199
>
200
>
201
>
202
WIDTH="33%"
203
ALIGN="left"
204
VALIGN="top"
205
>SDL_ResizeEvent
206
>
207
WIDTH="34%"
208
ALIGN="center"
209
VALIGN="top"
210
>
211
HREF="eventstructures.html"
212
>Up
213
>
214
>
215
WIDTH="33%"
216
ALIGN="right"
217
VALIGN="top"
218
>SDL_UserEvent
219
>
220
>
221
>
222
>
223
>
224
>