Ashet OS

struct: ashet.MessageBoxEvent

Fields

event_type: DesktopEvent.Type
request_id: MessageBoxEvent.RequestID

The desktop-specific request id that must be passed into notify_message_box to finish the message box request.

message: str

Content of the message box.

caption: str

Caption of the message box.

buttons: MessageBoxButtons

Which buttons are presented to the user?

icon: MessageBoxIcon

Which icon is shown?

Types