Difference between revisions of "love.event.pump"
(Update love.event.pump to fit current definition) |
|||
Line 1: | Line 1: | ||
− | Pump events into the event queue. This is a low-level function, and is usually not called | + | Pump events into the event queue. |
+ | This is a low-level function, and is usually not called by the user, but by <code>[[love.run]]</code>. | ||
+ | Note that this does need to be called for any OS to think you're still running, | ||
+ | and if you want to handle OS-generated events at all (think callbacks). | ||
+ | |||
+ | {{notice|love.event.pump can only be called from the main thread, but afterwards, the rest of love.event can be used from any other thread.}} | ||
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === |
Revision as of 07:23, 16 May 2012
Pump events into the event queue.
This is a low-level function, and is usually not called by the user, but by love.run
.
Note that this does need to be called for any OS to think you're still running,
and if you want to handle OS-generated events at all (think callbacks).
love.event.pump can only be called from the main thread, but afterwards, the rest of love.event can be used from any other thread. |
Function
Synopsis
love.event.pump( )
Arguments
None.
Returns
Nothing.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info