pflush_events(3g) — Subroutines
Name
pflush_events − Removes all event reports generated by a specified logical input device.
Operating States: PHOP, WSOP, ∗, ∗
PHIGS standard function
Syntax
void pflush_events (
Pint wsid, /∗ (I) Workstation identifier ∗/
Pin_class class, /∗ (I) Input class ∗/
Pint dev_num /∗ (I) Logical input device number ∗/
)
Data Structures
typedef enum {
PIN_NONE, /∗ no input class ∗/
PIN_LOC, /∗ locator input class ∗/
PIN_STROKE, /∗ stroke input class ∗/
PIN_VAL, /∗ valuator input class ∗/
PIN_CHOICE, /∗ choice input class ∗/
PIN_PICK, /∗ pick input class ∗/
PIN_STRING /∗ string input class ∗/
} Pin_class;
Description
pflush_events removes all event reports generated by a specified logical input device. If the queue has overflowed, successive calls to pflush_events that specify each of the input devices used by your application clears the queue and allows you to generate further events.
See Also
pawait_event
pclose_ws
pget_choice
pget_loc
pget_loc3
pget_pick
pget_string
pget_stroke
pget_stroke3
pget_val
pinq_in_overf