Dialogs & Notifications (dialog)
dialog
Alert dialogs, input boxes, confirmations, notifications, config persistence.
11 functions
Lua 5.3
dialog.dialog.choose
dialog.choose(title, options)Show option picker dialog.
dialog.dialog.clear
dialog.clear(section)Delete config file for section.
dialog.dialog.confirm
dialog.confirm(title [, msg])Show yes/no confirmation dialog.
dialog.dialog.get
dialog.get(section, key)Get saved config value.
dialog.dialog.input
dialog.input(title [, msg [, default]])Show text input dialog.
dialog.dialog.multi_input
dialog.multi_input(title, fields)Show dialog with multiple text fields.
dialog.dialog.read
dialog.read(section)Read entire config section as table.
dialog.dialog.set
dialog.set(section, key, value)Save config value.
dialog.dialog.write
dialog.write(section, table)Write entire config section. Replaces existing content.
dialog.notification.banner
notification.banner(title, body)Show slide-down banner (non-blocking, 3s auto-hide).
dialog.notification.post
notification.post(title, body [, timeout])Show alert notification over any app (blocking).