UIElement.onMouseEnter

Called when mouse enter this Element. This function is meant to be overriden. Between onMouseEnter and onMouseExit, isMouseOver will return true.

class UIElement
public nothrow @nogc
void
onMouseEnter
()

Examples

use this callback to call setDirtyWhole so that you can draw a highlight when the widget is pointed to.

Meta