Table of Contents

Method RaiseMouseEvent

Namespace
Terminal.Gui.App
Assembly
Terminal.Gui.dll

RaiseMouseEvent(MouseEventArgs)

INTERNAL API: Called when a mouse event is raised by the driver. Determines the view under the mouse and calls the appropriate View mouse event handlers.

void RaiseMouseEvent(MouseEventArgs mouseEvent)

Parameters

mouseEvent MouseEventArgs

The mouse event with coordinates relative to the screen.

Remarks

This method can be used to simulate a mouse event, e.g. in unit tests.