Table of Contents

Method InjectMouseEvent

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

InjectMouseEvent(IApplication?, Mouse)

Enqueues a mouse event. For unit tests.

public override void InjectMouseEvent(IApplication? app, Mouse mouse)

Parameters

app IApplication

Application instance for cross-thread marshalling. When called from non-main thread, uses Invoke(Action) to raise events on the main thread.

mouse Mouse

The mouse event to enqueue.