Table of Contents

Method GetMouse

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

GetMouse(ConsoleKeyInfo[], out List<MouseFlags>, out Point, Action<MouseFlags, Point>)

Gets the MouseFlags mouse button flags and the position.

public static void GetMouse(ConsoleKeyInfo[] cki, out List<MouseFlags> mouseFlags, out Point pos, Action<MouseFlags, Point> continuousButtonPressedHandler)

Parameters

cki ConsoleKeyInfo[]

The ConsoleKeyInfo array.

mouseFlags List<MouseFlags>

The mouse button flags.

pos Point

The mouse position.

continuousButtonPressedHandler Action<MouseFlags, Point>

The handler that will process the event.