Vixen
dd8b0a81
csharp
public static class UiWindowTitle

A window title that follows the document in it.

Read the guide page for this →

Remarks

⚠ The asterisk is the point and it is not decoration. On every platform an unsaved window says so in its title bar — macOS puts a dot in the close button, Windows and most Linux applications an asterisk after the name — and it is the only indication a user gets before the prompt on close. IUiWindow.Title is a plain setter, so without this every application would write the same effect.

Methods (1)

  • public static IDisposable Bind(IUiWindow window, IEditableDocument document, EffectScheduler? scheduler = null, string dirtyMarker = "• ")

    Keeps a window's title equal to a document's name, marked while it is dirty.

Used by (2)

  • ShellHelloUi
  • EditableDocumentTestsVixen.Ui.Tests