home *** CD-ROM | disk | FTP | other *** search
/ RISCWORLD 7 / RISCWORLD_VOL7.iso / Software / Issue4 / SDL / gcc346 / !SDL / man / SDL_PumpEvents.3 < prev    next >
Encoding:
Text File  |  2006-09-20  |  1.7 KB  |  51 lines

  1. <!-- manual page source format generated by PolyglotMan v3.0.8+X.Org, -->
  2. <!-- available at http://polyglotman.sourceforge.net/ -->
  3.  
  4. <html>
  5. <head>
  6. <title>"SDL_PumpEvents"("3") manual page</title>
  7. </head>
  8. <body bgcolor='#efefef' text='black' link='blue' vlink='#551A8B' alink='red'>
  9. <a href='#toc'>Table of Contents</a><p>
  10.  
  11. <h2><a name='sect0' href='#toc0'>Name</a></h2>
  12. SDL_PumpEvents- Pumps the event loop, gathering events from the input
  13. devices. 
  14. <h2><a name='sect1' href='#toc1'>Synopsis</a></h2>
  15. <p>
  16. <b>#include "SDL.h" <p>
  17. </b><b>void <b>SDL_PumpEvents</b></b>(<b>void</b>); 
  18. <h2><a name='sect2' href='#toc2'>Description</a></h2>
  19. <p>
  20. Pumps
  21. the event loop, gathering events from the input devices. <p>
  22. <b>SDL_PumpEvents</b>
  23. gathers all the pending input information from devices and places it on
  24. the event queue. Without calls to <b>SDL_PumpEvents</b> no events would ever be
  25. placed on the queue. Often calls the need for <b>SDL_PumpEvents</b> is hidden from
  26. the user since <i><b>SDL_PollEvent</b></i> and <i><b>SDL_WaitEvent</b></i> implicitly call <b>SDL_PumpEvents</b>.
  27. However, if you are not polling or waiting for events (e.g. your filtering
  28. them), then you must call <b>SDL_PumpEvents</b> to force an event queue update.
  29. <p>
  30. <blockquote><b>Note:   <p>
  31. You can only call this function in the thread that set the video
  32. mode. </blockquote>
  33.  
  34. <h2><a name='sect3' href='#toc3'></b>See Also</a></h2>
  35. <p>
  36. <i><b>SDL_PollEvent</b></i> 
  37. <!--
  38.   
  39.  <p>
  40.  
  41. <hr><p>
  42. <a name='toc'><b>Table of Contents</b></a><p>
  43. <ul>
  44. <li><a name='toc0' href='#sect0'>Name</a></li>
  45. <li><a name='toc1' href='#sect1'>Synopsis</a></li>
  46. <li><a name='toc2' href='#sect2'>Description</a></li>
  47. <li><a name='toc3' href='#sect3'>See Also</a></li>
  48. </ul>
  49. </body>
  50. </html>
  51.