Method OnMouseEvent | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
OnMouseEvent(MouseEventArgs, 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 override bool OnMouseEvent(MouseEventArgs me, bool fromHost = false)
Parameters
The mouse event.
fromHost
bool
If was called from the popup or from the host.
Returns
true
if the mouse can be handled false
otherwise.