Class naughty.action

A notification action.

A notification can have multiple actions to chose from. This module allows to manage such actions.

Info:

  • Copyright: 2019 Emmanuel Lepage Vallee
  • Author: Emmanuel Lepage Vallee <[email protected]>

Functions

naughty.action (args) Create a new action.

Object properties

position The action position (index).
icon The action icon.
notification The notification.

Signals

invoked When a notification is invoked.

Methods

naughty.action:invoke () Execute this action.


Functions

Methods
naughty.action (args)
Create a new action.
  • args The arguments.

Returns:

    A new action.

Object properties

position
The action position (index).

Type:

  • number
icon
The action icon.
notification
The notification.

Type:

Signals

invoked
When a notification is invoked.

Methods

naughty.action:invoke ()
Execute this action.
generated by LDoc 1.4.6 Last updated 2030-01-01 00:00:00