help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Procedures and functions][Variables] Reference for unit 'gpm' (#rtl)

gpm_getsnapshot

Return servers' current image of mouse state.

Declaration

Source position: line 0

function gpm_getsnapshot(

  eptr: Pgpmevent

):LongInt;

function gpm_getsnapshot(

  var eptr: Tgpmevent

):LongInt;

Description

Gpm_GetSnapshot returns the picture that the server has of the current situation in Event. This call will not read the current situation from the mouse file descriptor, but returns a buffered version.

The function returns the number of mouse buttons, or -1 if this information is not available.

Errors

None.

See also

Gpm_GetEvent

  

Get event from event queue.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505