docs and expanded keys

This commit is contained in:
Will McGugan
2022-12-21 11:38:20 +00:00
parent 5e2e0fe566
commit 7a46672d64
10 changed files with 54 additions and 49 deletions

View File

@@ -90,6 +90,8 @@ Textual will run actions bound to keys. The following example adds key [bindings
If you run this example, you can change the background by pressing keys in addition to clicking links.
See the previous section on [input](./input.md#bindings) for more information on bindings.
## Namespaces
Textual will look for action methods in the class where they are defined (App, Screen, or Widget). If we were to create a [custom widget](./widgets.md#custom-widgets) it can have its own set of actions.