From 3e1b4131f00aac40d00fb904cdc334d09fb16e22 Mon Sep 17 00:00:00 2001 From: Darren Burns Date: Thu, 12 Sep 2024 13:37:08 +0100 Subject: [PATCH] typo --- docs/guide/widgets.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/widgets.md b/docs/guide/widgets.md index f076f6471c..94c1c6f214 100644 --- a/docs/guide/widgets.md +++ b/docs/guide/widgets.md @@ -60,7 +60,7 @@ A widget's bindings will only be checked if it or one of its descendants has foc Let's look at Textual's builtin [Button](../widgets/button.md) widget to see an example of how widget bindings work. The `Button` widget has a single binding for the `enter` key. -When a button is focused, and the user presses ++enter++, the `action_press` method inside button is called. +When a button is focused, and the user presses ++enter++, the `action_press` method inside `Button` is called. ```python class Button(Widget, can_focus=True): # (1)!