This event is common to both widgets and cursors, so both are explained here.
The primary cursor movement event, signifying cursor movement within the coverage area of a widget as indicated by its Widget::isInside() function. The position coordinates in the event are always in Widget level coordinates. This event only occurs if all of the following conditions are met.
- All parents have fully processed the CursorMoving event without consuming it
- No other widget has yet consumed the event
- The coordinates of the event are within the coverage area of the widget as defined by the widget's isInside() function. (The coordinate restriction can be lifted by obtaining cursor focus)
Consuming this event ends the propagation of the cursor movement event, in which case peers will not receive CursorMove or CursorMoving, but will process a CursorLeave if applicable. Most controls will want to consume this event, and this behavior is the default action within Control::onCursorMove().
- Introduced In:
- Widget
- EventArgs:
- Cursor_EventArgs
Informs the the current visible cursor of a cursor move event. The position coordinates in the event are always in Screen level coordinates. While the cursor version of this event reuses the same Cursor_EventArgs, cursors cannot consume events. So whether you eat() the event or not makes no difference.
- Introduced In:
- Cursor
- EventArgs:
- Cursor_EventArgs
Copyright © 2006 OpenGUI |
OpenGUI.SF.net
Generated: Fri Jan 5 23:05:24 2007