Widget.onEvent

class Widget
bool
onEvent