TitleBarButtonsclass

A list of title bar buttons, at the top right of a window.

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

Constructors1

Showing 1 constructors

Methods4

Showing 4 methods

public Editor.Widget Add(Editor.Widget widget)PUBLIC

Adds a custom widget to the title bar.

ParameterTypeDescription
widgetWidget—
Returns:Widget—

public Editor.Widget AddButton(string icon, System.Action onClick)PUBLIC

Adds a button to the title bar.

ParameterTypeDescription
iconstring—
onClickAction—
Returns:Widget—

On this page