πŸ””Notifications

To display a Notification in Matthias you will have to provide the following arguments:

  • The text of the Notification (Caption): String

Every notification will display for 4 seconds, and all of them will be closable.

Notification types:

  • notification_error

  • notification_info

  • notification_basic

Notifications don't need to be called from a OnDraw callback.

Example:

--Display a greeting notification when successfully connecting to a servert
function OnConnect() 
    notification_info("Welcome to the server!")
end