Tao.Sdl SDK Documentation

Sdl.SDL_WaitEvent Method 

Waits indefinitely for the next available event.

[Visual Basic]
Public Shared Function SDL_WaitEvent( _
   ByRef evt As SDL_Event _
) As Integer
[C#]
public static int SDL_WaitEvent(
   out SDL_Event evt
);

Parameters

evt

Return Value

Returns 1, or 0 if there was an error while waiting for events

Remarks

Waits indefinitely for the next available event, returning 1, or 0 if there was an error while waiting for events.

If 'event' is not NULL, the next event is removed from the queue and stored in that area.

Binds to C-function in SDL_events.h

int SDL_WaitEvent(SDL_Event *event);
            

See Also

Sdl Class | Tao.Sdl Namespace | Sdl.SDL_Event | SDL_PollEvent