Skip to main content

Class Window.TitleBarButton

Structure describing a title bar button.

Assembly: Dalamud.dll
View Source
Declaration
public class Window.TitleBarButton

Properties

Icon

Gets or sets the icon of the button.

View Source
Declaration
public FontAwesomeIcon Icon { get; set; }

IconOffset

Gets or sets a vector by which the position of the icon within the button shall be offset. Automatically scaled by the global font scale for you.

View Source
Declaration
public Vector2 IconOffset { get; set; }

ShowTooltip

Gets or sets an action that is called when a tooltip shall be drawn. May be null if no tooltip shall be drawn.

View Source
Declaration
public Action? ShowTooltip { get; set; }

Click

Gets or sets an action that is called when the button is clicked.

View Source
Declaration
public Action<ImGuiMouseButton> Click { get; set; }

Priority

Gets or sets the priority the button shall be shown in. Lower = closer to ImGui default buttons.

View Source
Declaration
public int Priority { get; set; }

AvailableClickthrough

Gets or sets a value indicating whether or not the button shall be clickable when the respective window is set to clickthrough.

View Source
Declaration
public bool AvailableClickthrough { get; set; }