Method SetPosition | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
SetPosition(Point?)
Locates the popover menu at idealScreenPosition
. The actual position of the menu will be adjusted to ensure the menu fully fits on the screen, and the mouse cursor is over the first cell of the first MenuItem (if possible).
public void SetPosition(Point? idealScreenPosition = null)
Parameters
idealScreenPosition
Point?
If null, the current mouse position will be used.