API ReferenceEditor
public class Editor.PopupWidget : Editor.Widget
A popup widget that automatically deletes itself once it stops being visible
Constructors
Showing 1 constructors
public PopupWidget(Editor.Widget widget)
No results match this filter.
Methods
Showing 5 methods
protected virtual void OnPaint()
protected virtual void OnVisibilityChanged(bool visible)
public void OpenAt(Vector2 position, bool animate = True, System.Nullable`1<Vector2> animateOffset = null)
Parameters
animate: Default: TrueanimateOffset: Default: null
public void OpenAtCursor(bool animate = True, System.Nullable`1<Vector2> offset = null)
Parameters
animate: Default: Trueoffset: Default: null
public void OpenBelowCursor(float distance, float centering = 0.5)
Open the window this many pixels below the cursor.
Parameters
centering: Default: 0.5
No results match this filter.
Properties
Showing 1 properties
public System.Action Editor.PopupWidget.OnLostFocus { get; set; }
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Editor |
| Type | class |
| Assembly | Sandbox.Tools |
| Doc ID | T:Editor.PopupWidget |