g13gui: bitwidgets: Fix the naming of showAll

This commit is contained in:
June Tate-Gans 2021-05-02 15:21:26 -05:00
parent 95822a273d
commit 513928e57e
2 changed files with 3 additions and 3 deletions

View File

@ -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()

View File

@ -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()