Module screen
awesome screen API
Functions
| count () | Get the number of screen. |
| connect_signal (name, func) | Add a signal to a screen. |
| disconnect_signal (name, func) | Remove a signal to a screen. |
| emit_signal (name, ...) | Emit a signal to a screen. |
Tables
| screen | Screen is a table where indexes are screen number. |
Functions
- count ()
-
Get the number of screen.
Returns:
-
The screen count, at least 1.
- connect_signal (name, func)
-
Add a signal to a screen.
Parameters:
name: A signal name.func: A function to call when the signal is emitted.
- disconnect_signal (name, func)
-
Remove a signal to a screen.
Parameters:
name: A signal name.func: A function to remove
- emit_signal (name, ...)
-
Emit a signal to a screen.
Parameters:
name: A signal name....: Various arguments, optional.