Table of Contents

Method MakeVisible

Namespace
Terminal.Gui.App
Assembly
Terminal.Gui.dll

MakeVisible(Point?, Rectangle?)

Makes the popover visible and positions it based on Anchor or idealScreenPosition.

public override void MakeVisible(Point? idealScreenPosition = null, Rectangle? anchor = null)

Parameters

idealScreenPosition Point?

The ideal screen-relative position for the popover. If null, positioning is determined by Anchor or the current mouse position.

anchor Rectangle?

Optional anchor rectangle to override Anchor property for this call. If null, uses the Anchor property.

Remarks

If App is null, this method inherits it from Target. If the popover is not yet registered with ApplicationPopover, it is auto-registered before showing.

The actual position may be adjusted to ensure the popover fits fully on screen.