Splitterclass

Split frame, allows dragging to resize panels

object→Frame→Splitter
Namespace
Editor
Assembly
Sandbox.Tools
Declaration
public class Editor.Splitter : Editor.Frame

Constructors1

Showing 1 constructors

Methods5

Showing 5 methods

public void AddWidget(Editor.Widget w)PUBLIC

ParameterTypeDescription
wWidget—
Returns:void—

public void RestoreState(string state)PUBLIC

ParameterTypeDescription
statestring—
Returns:void—

public string SaveState()PUBLIC

Returns:string—

public void SetCollapsible(int index, bool collapsible)PUBLIC

ParameterTypeDescription
indexint—
collapsiblebool—
Returns:void—

public void SetStretch(int cell, int stretch)PUBLIC

ParameterTypeDescription
cellint—
stretchint—
Returns:void—

Properties4

Showing 4 properties

public int Editor.Splitter.HandleWidth { get; set; }PUBLICGETSET

Returns:int—

public bool Editor.Splitter.IsHorizontal { get; set; }PUBLICGETSET

Returns:bool—

public bool Editor.Splitter.IsVertical { get; set; }PUBLICGETSET

Returns:bool—

public bool Editor.Splitter.OpaqueResize { get; set; }PUBLICGETSET

Returns:bool—

On this page