setIgnoreMouseEvents method

Future<void> setIgnoreMouseEvents(
  1. bool ignore, {
  2. bool forward = false,
})

Makes the window ignore all mouse events.

All mouse events happened in this window will be passed to the window below this window, but if this window has focus, it will still receive keyboard events.

Implementation

Future<void> setIgnoreMouseEvents(bool ignore, {bool forward = false}) async {
  final Map<String, dynamic> arguments = {
    'ignore': ignore,
    'forward': forward,
  };
  await _invokeMethod('setIgnoreMouseEvents', arguments);
}