Method GetMouse | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
GetMouse(ConsoleKeyInfo[], out List, 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.