Results 1 - 13 of 13 results out of about 6837 pages. (4.27 seconds)
- SDL_PollEvent . . . 5 matches
- ...
= SDL_PollEvent =
Use this function to poll for currently pending events.
<<TableOfContents()>>
== Syntax ==
{{{#!highlight cpp
int SDL_PollEvent(SDL_Event* event)
}}}
== Fun...
- SDL_Event . . . 7 matches
- ...om the event queue'''+~
Reading events from the event queue is done with either [[SDL_PollEvent]]() or [[SDL_PeepEvents]](). We'll use [[SDL_PollEvent]]() and step through an exa...
- SDL_EventType . . . 3 matches
- ...ding internal arrays||
== Code Examples ==
{{{#!highlight cpp
SDL_Event e;
while (SDL_PollEvent(&e)) {
if (e.type == SDL_KEYDOWN) {
SDL_Log("User just pressed down a ...
- SDL_PumpEvents . . . 2 matches
- .... Often the need for calls to [[SDL_PumpEvents]]() is hidden from the user since [[SDL_PollEvent]]() and [[SDL_WaitEvent]]() implicitly call [[SDL_PumpEvents]](). However, if you ...
- CategoryEvents . . . 2 matches
- ...es all the events waiting to be handled in an event queue. Using functions like [[SDL_PollEvent]](), [[SDL_PeepEvents]]() and [[SDL_WaitEvent]]() you can observe and handle waiti...
- SDL_WaitEventTimeout . . . 1 match
- ...n in the thread that initialized the video subsystem.
== Related Functions ==
.[[SDL_PollEvent]]
.[[SDL_PumpEvents]]
.[[SDL_WaitEvent]]
----
[[CategoryAPI]], [[CategoryEvents...
- SDL_WaitEvent . . . 1 match
- ...n in the thread that initialized the video subsystem.
== Related Functions ==
.[[SDL_PollEvent]]
.[[SDL_PumpEvents]]
.[[SDL_WaitEventTimeout]]
----
[[CategoryAPI]], [[Categor...
- SDL_QuitRequested . . . 1 match
- ...T in their event loop, too, without using this macro.
== Related Functions ==
.[[SDL_PollEvent]]
.[[SDL_PumpEvents]]
.[[SDL_WaitEvent]]
----
[[CategoryAPI]], [[CategoryEvents...
- SDL_PushEvent . . . 1 match
- ...de that also wants its own custom event types.
== Related Functions ==
.[[SDL_PeepEvents]]
.[[SDL_PollEvent]]
.[[SDL_RegisterEvents]]
----
[[CategoryAPI]], [[CategoryEvents]]...
- SDL_PeepEvents . . . 1 match
- ...y to be filtered when you call [[SDL_PeepEvents]]().
== Related Functions ==
. [[SDL_PollEvent]]
. [[SDL_PumpEvents]]
. [[SDL_PushEvent]]
----
[[CategoryAPI]], CategoryEvents...
- MigrationGuide . . . 1 match
- ...er to catch them as soon as the OS reports them, because waiting until your next [[SDL_PollEvent]]() loop will be too late.
For example, there's SDL_APP_WILLENTERBACKGROUND, whic...
- GuiaDeMigracion . . . 1 match
- ... tan pronto como el SO los reporte, porque si esperas hasta la próxima llamada a [[SDL_PollEvent]]() ya será demasiado tarde.
Por ejemplo: tenemos `SDL_APP_WILLENTERBACKGROUND`, ...
- CategoryAPI . . . 1 match
- ...##master-page:CategoryTemplate
##master-date:Unknown-Date
#format wiki
#language en
= SDL 2.0 API by Name =
<<TableOfContents()>>
== Hints ==
<<FullSearchCached(category:Catego...
