• Sets the menu title.

    Parameters

    • whichDialog: HandleHolder<"dialog">

      Target dialog.

    • messageText: string

      New title.

    Returns void

    Note

    If the dialog is not set (empty string), then no vertical space is reserved for it. The buttons start at the very top.

    Note

    The new message shows up instantly, even when the menu is already open.

    Note

    Unlike with buttons, if the message is too long it overflows to the left and right beyond the screen edges (it is centered).

Generated using TypeDoc