DockAttributeclass

Marks a widget as a creatable dock on a DockWindow. Common targets include: Editor, Hammer

objectAttributeDockAttribute
Namespace
Editor
Assembly
Sandbox.Tools
Declaration
public class Editor.DockAttribute : System.Attribute

Constructors1

Showing 1 constructors

public DockAttribute(string target, string name, string icon = null, Editor.DockArea area = 8)PUBLICCONSTRUCTOR

ParameterTypeDescription
targetstring
namestring
icon = nullstring
area = 8DockArea

Methods1

Showing 1 methods

public static void RegisterWindow(string name, Editor.DockWindow b)PUBLICSTATIC

ParameterTypeDescription
namestring
bDockWindow
Returns:void

Properties4

Showing 4 properties

public string Editor.DockAttribute.Icon { get; set; }PUBLICGETSET

Returns:string

On this page