DesktopMessageBoxKind enum

Namespace Runic.Platform in Runic.Platform 0.23.0

public enum DesktopMessageBoxKind

The icon and alert level of a DesktopMessageBox.

Remarks

This set is open: a minor release may add kinds, and a provider shows an unknown kind as DesktopMessageBoxKind.None. macOS shows the application icon for every kind and marks DesktopMessageBoxKind.Error as critical; GTK 4 alert dialogs show no icon.

Values

None

None = 0

No icon.

Information

Information = 1

Information, such as a finished operation.

Warning

Warning = 2

A warning, such as a question about losing changes.

Error

Error = 3

An error.