home *** CD-ROM | disk | FTP | other *** search
/ RISCWORLD 7 / RISCWORLD_VOL7.iso / Software / Issue4 / SDL / gcc346 / !SDL / man / SDL_SysWMEvent.3 < prev    next >
Encoding:
Text File  |  2006-09-20  |  1.6 KB  |  49 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_SysWMEvent"("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_SysWMEvent- Platform-dependent window manager event. 
  13. <h2><a name='sect1' href='#toc1'>Description</a></h2>
  14. <p>
  15. The
  16. system window manager event contains a pointer to system-specific information
  17. about unknown window manager events. If you enable this event using <i><b>SDL_EventState()</b></i>,
  18. it will be generated whenever unhandled events are received from the window
  19. manager. This can be used, for example, to implement cut-and-paste in your
  20. application.  <p>
  21. <br>
  22. <pre>CWtypedef struct {
  23.          Uint8 type;   /* Always SDL_SysWM */
  24.  } SDL_SysWMEvent;
  25. </pre><p>
  26.  If you want to obtain system-specific information about the window manager,
  27. you can fill the version member of a <b>SDL_SysWMinfo</b> structure (details can
  28. be found in <b>SDL_syswm.h</b>, which must be included) using the <b>SDL_VERSION()</b>
  29. macro found in <b>SDL_version.h</b>, and pass it to the function: <br>
  30.  <p>
  31. <p>
  32. <b>int <b>SDL_GetWMInfo</b></b>(<b>SDL_SysWMinfo *info</b>); 
  33. <h2><a name='sect2' href='#toc2'>See Also</a></h2>
  34. <p>
  35. <i><b>SDL_EventState</b></i> 
  36. <!--
  37.   
  38.  <p>
  39.  
  40. <hr><p>
  41. <a name='toc'><b>Table of Contents</b></a><p>
  42. <ul>
  43. <li><a name='toc0' href='#sect0'>Name</a></li>
  44. <li><a name='toc1' href='#sect1'>Description</a></li>
  45. <li><a name='toc2' href='#sect2'>See Also</a></li>
  46. </ul>
  47. </body>
  48. </html>
  49.