Window.dispatchKeyEvent - multiple declarations

Function Window.dispatchKeyEvent

dispatch keyboard event

bool dispatchKeyEvent(
  KeyEvent event
);

Function Window.dispatchKeyEvent

dispatch key event to widgets which have wantsKeyTracking == true

bool dispatchKeyEvent(
  Widget root,
  KeyEvent event
);