This event is common to both widgets and cursors, so both are explained here.
The primary cursor release event, signifying a release press within the coverage area of a widget as indicated by its 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 CursorReleasing 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. (This restriction can be lifted by obtaining cursor focus)
Consuming this event ends the propagation of the cursor release event, in which case peers will not receive CursorRelease or CursorReleasing. Most controls will want to consume this event, and this behavior is the default action within Control::onCursorRelease().
- Introduced In:
- Widget
- EventArgs:
- Cursor_EventArgs
Informs the the current visible cursor of a cursor release 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
- See also:
- CursorReleasing
Copyright © 2006 OpenGUI |
OpenGUI.SF.net
Generated: Sun Sep 9 02:00:20 2007