GR_EVENT_MASK

Name

GR_EVENT_MASK -- Event masks

Description

A GR_EVENT_MASK type is a bitwise OR combination of one or more of the following event mask flags. This type is used along with the GrSelectEvents() to select which event types a window will receive.

FlagDescription
GR_EVENT_MASK_NONEThis flag consists on NO event flags.
GR_EVENT_MASK_ALLThis mask is a combination of all other mask flags.
GR_EVENT_MASK_ERRORWhen set the window may receive GR_EVENT_TYPE_ERROR events.
GR_EVENT_MASK_EXPOSUREWhen set the window may receive GR_EVENT_TYPE_EXPOSURE events.
GR_EVENT_MASK_BUTTON_DOWNWhen set the window may receive GR_EVENT_TYPE_BUTTON_DOWN events.
GR_EVENT_MASK_BUTTON_UPWhen set the window may receive GR_EVENT_TYPE_BUTTON_UP events.
GR_EVENT_MASK_MOUSE_ENTERWhen set the window may receive GR_EVENT_TYPE_MOUSE_ENTER events.
GR_EVENT_MASK_MOUSE_EXITWhen set the window may receive GR_EVENT_TYPE_MOUSE_EXIT events.
GR_EVENT_MASK_MOUSE_MOTIONWhen set the window may receive GR_EVENT_TYPE_MOUSE_MOTION events.
GR_EVENT_MASK_MOUSE_POSITIONWhen set the window may receive GR_EVENT_TYPE_MOUSE_POSITION events.
GR_EVENT_MASK_KEY_DOWNWhen set the window may receive GR_EVENT_TYPE_KEY_DOWN events.
GR_EVENT_MASK_KEY_UPWhen set the window may receive GR_EVENT_TYPE_KEY_UP events.
GR_EVENT_MASK_FOCUS_INWhen set the window may receive GR_EVENT_TYPE_FOCUS_IN events.
GR_EVENT_MASK_FOCUS_OUTWhen set the window may receive GR_EVENT_TYPE_FOCUS_OUT events.
GR_EVENT_MASK_FDINPUTWhen set the window may receive GR_EVENT_TYPE_FDINPUT events.
GR_EVENT_MASK_UPDATEWhen set the window may receive GR_EVENT_TYPE_UPDATE events.
GR_EVENT_MASK_CHLD_UPDATEWhen set the window may receive GR_EVENT_TYPE_CHLD_UPDATE events.
GR_EVENT_MASK_CLOSE_REQWhen set the window may receive GR_EVENT_TYPE_CLOSE_REQ events.
GR_EVENT_MASK_TIMEOUTWhen set the window may receive GR_EVENT_TYPE_TIMEOUT events.