API ReferenceEditor
PopupWidgetclass
A popup widget that automatically deletes itself once it stops being visible
Constructors1
Showing 1 constructors
public PopupWidget(Editor.Widget widget)
| Parameter | Type | Description |
|---|---|---|
| widget | Widget | — |
No results match this filter.
Methods5
Showing 5 methods
protected virtual void OnPaint()
Returns:
void—protected virtual void OnVisibilityChanged(bool visible)
| Parameter | Type | Description |
|---|---|---|
| visible | bool | — |
Returns:
void—public void OpenAt(Vector2 position, bool animate = True, System.Nullable`1<Vector2> animateOffset = null)
| Parameter | Type | Description |
|---|---|---|
| position | Vector2 | — |
| animate = True | bool | — |
| animateOffset = null | Nullable<Vector2> | — |
Returns:
void—public void OpenAtCursor(bool animate = True, System.Nullable`1<Vector2> offset = null)
| Parameter | Type | Description |
|---|---|---|
| animate = True | bool | — |
| offset = null | Nullable<Vector2> | — |
Returns:
void—public void OpenBelowCursor(float distance, float centering = 0.5)
Open the window this many pixels below the cursor.
| Parameter | Type | Description |
|---|---|---|
| distance | float | — |
| centering = 0.5 | float | — |
Returns:
void—No results match this filter.
Properties1
Showing 1 properties
public System.Action Editor.PopupWidget.OnLostFocus { get; set; }
Returns:
Action—No results match this filter.