Api Editor TitleBarButtons
class

TitleBarButtons

public class TitleBarButtons : Widget

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

Constructors

TitleBarButtons()

Methods

Widget AddButton(String icon, Action onClick)

Adds a button to the title bar.

icon
onClick
Widget AddToggleButton(String icon, Action<Boolean> onSet, Boolean initialValue = False)
Widget AddToggleButton(Pixmap icon, Action<Boolean> onSet, Boolean initialValue = False)
Widget Add(Widget widget)

Adds a custom widget to the title bar.

widget
Assembly: Sandbox.Tools Namespace: Editor Full Name: Editor.TitleBarButtons