Ashet OS

syscall: ashet.gui.notify_message_box

Documentation

Notifies the system that a message box was confirmed by the user.

Note:

This function is meant to be implemented by a desktop server. Regular GUI applications should not use this function as they have no access to a MessageBoxEvent.RequestID.

Inputs

source: Desktop

The desktop that completed the message box.

request_id: MessageBoxEvent.RequestID

The request id that was passed in MessageBoxEvent.

result: MessageBoxResult

The resulting button which the user clicked.

Errors

BadRequestId
InvalidHandle