Api Editor PopupWidget
class

PopupWidget

public class PopupWidget : Widget

A popup widget that automatically deletes itself once it stops being visible

Constructors

PopupWidget(Widget widget)

Properties

Name Type Description
OnLostFocus Action

Methods

Void OpenAtCursor(Boolean animate = True, Vector2? offset = null)
Void OpenAt(Vector2 position, Boolean animate = True, Vector2? animateOffset = null)
Void OpenBelowCursor(Single distance, Single centering = 0.5)

Open the window this many pixels below the cursor.

Fields

Name Type Description
PreventDestruction Boolean
Assembly: Sandbox.Tools Namespace: Editor Full Name: Editor.PopupWidget