textual.system_commands
This module contains SystemCommands
, a command palette command provider for Textual system commands.
This is a simple command provider that makes the most obvious application actions available via the command palette.
Note
The App base class installs this automatically.
SystemCommandsProvider
¶
SystemCommandsProvider(screen, match_style=None)
Bases: Provider
A source of command palette commands that run app-wide tasks.
Used by default in App.COMMANDS
.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
|
Screen[Any]
|
A reference to the active screen. |
required |