mirror of
https://github.com/jtgans/g13gui.git
synced 2025-06-20 00:14:09 -04:00
g13gui: bitwidgets: Fix the naming of showAll
This commit is contained in:
parent
95822a273d
commit
513928e57e
@ -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()
|
||||
|
||||
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user