From 513928e57ee9c373a33d161c35ce7272fba3259d Mon Sep 17 00:00:00 2001 From: June Tate-Gans Date: Sun, 2 May 2021 15:21:26 -0500 Subject: [PATCH] g13gui: bitwidgets: Fix the naming of showAll --- g13gui/g13gui/bitwidgets/button_tests.py | 4 ++-- g13gui/g13gui/bitwidgets/widget.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/g13gui/g13gui/bitwidgets/button_tests.py b/g13gui/g13gui/bitwidgets/button_tests.py index cea2a66..9e33f6d 100644 --- a/g13gui/g13gui/bitwidgets/button_tests.py +++ b/g13gui/g13gui/bitwidgets/button_tests.py @@ -53,14 +53,14 @@ class ButtonTests(unittest.TestCase): self.screen.buttonBar.addChild(upButton) self.screen.buttonBar.addChild(downButton) self.screen.buttonBar.addChild(checkButton) - self.screen.buttonBar.show_all() + self.screen.buttonBar.showAll() self.screen.nextFrame() def testLabelButton(self): testButton = Label(0, 0, "Test", font=Fonts.TINY) self.screen.buttonBar.addChild(testButton) - self.screen.buttonBar.show_all() + self.screen.buttonBar.showAll() self.screen.nextFrame() diff --git a/g13gui/g13gui/bitwidgets/widget.py b/g13gui/g13gui/bitwidgets/widget.py index 83e56d5..ea5e0dd 100644 --- a/g13gui/g13gui/bitwidgets/widget.py +++ b/g13gui/g13gui/bitwidgets/widget.py @@ -88,7 +88,7 @@ class Widget(Subject, Observer): def hide(self): self.visible = False - def show_all(self): + def showAll(self): for child in self._children: if child: child.show()