Table of Contents

Method MouseEvent

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

MouseEvent(MouseEvent, bool)

Handle mouse events before HostControl e.g. to make mouse events like report/click apply to the autocomplete control instead of changing the cursor position in the underlying text view.

public virtual bool MouseEvent(MouseEvent me, bool fromHost = false)

Parameters

me MouseEvent

The mouse event.

fromHost bool

If was called from the popup or from the host.

Returns

bool

trueif the mouse can be handled falseotherwise.