Table of Contents

Method Mouse

Namespace
Terminal.Gui.Tracing
Assembly
Terminal.Gui.dll

Mouse(string, MouseFlags, Point, string, string?, string)

Traces a mouse event at the Driver or Application level (no view context).

[Conditional("DEBUG")]
public static void Mouse(string source, MouseFlags flags, Point position, string phase, string? message = null, string method = "")

Parameters

source string

Identifying string for the source (e.g., "Driver", "Application").

flags MouseFlags

The mouse flags.

position Point

The mouse position.

phase string

The phase of processing.

message string

Optional additional context.

method string

Automatically captured caller method name.

Mouse(View, MouseFlags, Point, string, string?, string)

Traces a mouse event at the View level.

[Conditional("DEBUG")]
public static void Mouse(View view, MouseFlags flags, Point position, string phase, string? message = null, string method = "")

Parameters

view View

The view processing the mouse event.

flags MouseFlags

The mouse flags.

position Point

The mouse position.

phase string

The phase of processing.

message string

Optional additional context.

method string

Automatically captured caller method name.

Mouse(View, Mouse, string, string?, string)

Traces a mouse event with a Mouse object at the View level.

[Conditional("DEBUG")]
public static void Mouse(View view, Mouse mouse, string phase, string? message = null, string method = "")

Parameters

view View

The view processing the mouse event.

mouse Mouse

The mouse event data.

phase string

The phase of processing.

message string

Optional additional context.

method string

Automatically captured caller method name.

Mouse(string, Mouse, string, string?, string)

Traces a mouse event with a Mouse object at the Driver or Application level.

[Conditional("DEBUG")]
public static void Mouse(string source, Mouse mouse, string phase, string? message = null, string method = "")

Parameters

source string

Identifying string for the source (e.g., "Driver", "Application").

mouse Mouse

The mouse event data.

phase string

The phase of processing.

message string

Optional additional context.

method string

Automatically captured caller method name.