File: YPutBackEvent.3

package info (click to toggle)
yiff 2.06-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 3,464 kB
  • ctags: 3,028
  • sloc: ansic: 47,463; makefile: 218; sh: 77
file content (38 lines) | stat: -rw-r--r-- 1,122 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
YPutBackEvent(3)          YLIB FUNCTIONS         YPutBackEvent(3)

NAME
        YPutBackEvent - event management

SYNTAX
        #include <Y2/Y.h>
        #include <Y2/Ylib.h>

        void YPutBackEvent(
                YConnection *con,
                YEvent *event
        )

ARGUMENTS
        con             Specifies the pointer to the Y server
                        connection which was returned from
                        a prior call to YOpenConnection.

        event           Specifies the event buffer that
                        contains the values to be `put back'.
                        See YEvent(3) for information about
                        this structure.

DESCRIPTION
        The YPutBackEvent function `puts back' the event
        values in the event buffer.

        This `put back' event will be placed at the end
        (newest) of the event queue. That means that if
        there were already events queued when YPutBackEvent
        was called, calling YGetNextEvent will not produce
        the event you just `put back'.

SEE ALSO
        YEvent(3) YGetNextEvent(3)

Y Version 2