inline fun <reified T : Widget> T.onClick(noinline handler: T.(MouseEvent) -> Unit): Int
An extension function for defining on click event handlers.