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.
Flag | Description |
---|---|
GR_EVENT_MASK_NONE | This flag consists on NO event flags. |
GR_EVENT_MASK_ALL | This mask is a combination of all other mask flags. |
GR_EVENT_MASK_ERROR | When set the window may receive GR_EVENT_TYPE_ERROR events. |
GR_EVENT_MASK_EXPOSURE | When set the window may receive GR_EVENT_TYPE_EXPOSURE events. |
GR_EVENT_MASK_BUTTON_DOWN | When set the window may receive GR_EVENT_TYPE_BUTTON_DOWN events. |
GR_EVENT_MASK_BUTTON_UP | When set the window may receive GR_EVENT_TYPE_BUTTON_UP events. |
GR_EVENT_MASK_MOUSE_ENTER | When set the window may receive GR_EVENT_TYPE_MOUSE_ENTER events. |
GR_EVENT_MASK_MOUSE_EXIT | When set the window may receive GR_EVENT_TYPE_MOUSE_EXIT events. |
GR_EVENT_MASK_MOUSE_MOTION | When set the window may receive GR_EVENT_TYPE_MOUSE_MOTION events. |
GR_EVENT_MASK_MOUSE_POSITION | When set the window may receive GR_EVENT_TYPE_MOUSE_POSITION events. |
GR_EVENT_MASK_KEY_DOWN | When set the window may receive GR_EVENT_TYPE_KEY_DOWN events. |
GR_EVENT_MASK_KEY_UP | When set the window may receive GR_EVENT_TYPE_KEY_UP events. |
GR_EVENT_MASK_FOCUS_IN | When set the window may receive GR_EVENT_TYPE_FOCUS_IN events. |
GR_EVENT_MASK_FOCUS_OUT | When set the window may receive GR_EVENT_TYPE_FOCUS_OUT events. |
GR_EVENT_MASK_FDINPUT | When set the window may receive GR_EVENT_TYPE_FDINPUT events. |
GR_EVENT_MASK_UPDATE | When set the window may receive GR_EVENT_TYPE_UPDATE events. |
GR_EVENT_MASK_CHLD_UPDATE | When set the window may receive GR_EVENT_TYPE_CHLD_UPDATE events. |
GR_EVENT_MASK_CLOSE_REQ | When set the window may receive GR_EVENT_TYPE_CLOSE_REQ events. |
GR_EVENT_MASK_TIMEOUT | When set the window may receive GR_EVENT_TYPE_TIMEOUT events. |