This type represents a notification item.
Constructor
Constructs the notification.
Arguments
Name
Type
Description
hdr
string
Header (title).
txt
Text (body).
ico
texture?
Icon. Defaults to nil.
nil
Returns
notification
Notification object.
Example
local notif = gui.notification('Hello', 'Lua works!');
Last updated 1 year ago