Add a docstring to watch_disabled

This commit is contained in:
Dave Pearson
2023-02-14 10:40:17 +00:00
parent bff4334c5a
commit 674ee26b88

View File

@@ -2153,6 +2153,7 @@ class Widget(DOMNode):
self._update_styles()
def watch_disabled(self) -> None:
"""Update the styles of the widget and its children when disabled is toggled."""
for node in self.walk_children(with_self=True):
node._update_styles()