GNU Info

Info Node: (aalib.info)aa_getevent

(aalib.info)aa_getevent


Next: aa_getkey Prev: aa_formats Up: Reference
Enter node , (file) or (file)node

aa_getevent
===========

     #include <aalib.h>


     int aa_getevent
     (
         aa_context *c,
         int wait
     );

Parameters
==========

    `aa_context *c'
          Specifies the AA-lib context to operate on.

    `int wait'
          1 if you wish to wait for the even when queue is empty.

Description
===========

Return next event from queue.  Return next even from queue. Optionally
wait for even when queue is empty.

Return value
============

Next event from queue (values lower than 256 are used to report ascii
values of pressed keys and higher values have special meanings) See the
AA-lib texinfo documentation for more details.  0 is returned when
queue is empty and wait is set to 0.


automatically generated by info2www version 1.2.2.9