Notification

This type represents a notification item.

__call

Constructor

Constructs the notification.

Arguments

Name

Type

Description

hdr

string

Header (title).

txt

string

Text (body).

ico

Icon. Defaults to nil.

Returns

Type

Description

Notification

Notification object.

Example

local notif = gui.Notification('Hello', 'Lua works!');

Last updated