Table of Contents

Method EnqueueMouseEvent

Namespace
Terminal.Gui.Drivers
Assembly
Terminal.Gui.dll

EnqueueMouseEvent(IApplication?, MouseEventArgs)

Adds a mouse input event to the input queue. For unit tests.

public override void EnqueueMouseEvent(IApplication? app, MouseEventArgs mouseEvent)

Parameters

app IApplication

The application instance to use. Used to use Invoke to raise the mouse event in the case where this method is not called on the main thread.

mouseEvent MouseEventArgs