Skip to content

Commit 3e1b413

Browse files
committed
typo
1 parent 6f6c987 commit 3e1b413

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/widgets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ A widget's bindings will only be checked if it or one of its descendants has foc
6060

6161
Let's look at Textual's builtin [Button](../widgets/button.md) widget to see an example of how widget bindings work.
6262
The `Button` widget has a single binding for the `enter` key.
63-
When a button is focused, and the user presses ++enter++, the `action_press` method inside button is called.
63+
When a button is focused, and the user presses ++enter++, the `action_press` method inside `Button` is called.
6464

6565
```python
6666
class Button(Widget, can_focus=True): # (1)!

0 commit comments

Comments
 (0)