UIElement.onMouseClick

.onMouseClick() is called for every new click.

This function is meant to be overridden.

class UIElement
nothrow @nogc
onMouseClick
(
int x
,
int y
,
int button
,,
MouseState mstate
)

Return Value

Type: Click

What do with the click event. This is the only place where you can start a drag operation.

Warning: Called Whether or not you are in a dragging operation! For this reason, check your widgets with several mouse buttons pressed at once.

See Also

Click

Meta