BaseWindowclass

object→Widget→BaseWindow
Namespace
Editor
Assembly
Sandbox.Tools
Declaration
public class Editor.BaseWindow : Editor.Widget

Constructors1

Showing 1 constructors

Methods4

Showing 4 methods

protected virtual void OnClosed()PROTECTEDVIRTUAL

Returns:void—

protected virtual void OnPaint()PROTECTEDVIRTUAL

Returns:void—

public virtual void SetWindowIcon(string name)PUBLICVIRTUAL

ParameterTypeDescription
namestring—
Returns:void—

public virtual void Show()PUBLICVIRTUAL

Returns:void—

Properties2

Showing 2 properties

public System.Action Editor.BaseWindow.OnWindowClosed { get; set; }PUBLICGETSET

Returns:Action—

public bool Editor.BaseWindow.StartCentered { get; set; }PUBLICGETSET

Position the window at the centre of the screen (or main editor window if one is present) by default.

Returns:bool—

On this page