mirror of
https://github.com/jtgans/g13gui.git
synced 2025-06-20 08:23:50 -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(upButton)
|
||||||
self.screen.buttonBar.addChild(downButton)
|
self.screen.buttonBar.addChild(downButton)
|
||||||
self.screen.buttonBar.addChild(checkButton)
|
self.screen.buttonBar.addChild(checkButton)
|
||||||
self.screen.buttonBar.show_all()
|
self.screen.buttonBar.showAll()
|
||||||
|
|
||||||
self.screen.nextFrame()
|
self.screen.nextFrame()
|
||||||
|
|
||||||
def testLabelButton(self):
|
def testLabelButton(self):
|
||||||
testButton = Label(0, 0, "Test", font=Fonts.TINY)
|
testButton = Label(0, 0, "Test", font=Fonts.TINY)
|
||||||
self.screen.buttonBar.addChild(testButton)
|
self.screen.buttonBar.addChild(testButton)
|
||||||
self.screen.buttonBar.show_all()
|
self.screen.buttonBar.showAll()
|
||||||
self.screen.nextFrame()
|
self.screen.nextFrame()
|
||||||
|
|
||||||
|
|
||||||
|
@ -88,7 +88,7 @@ class Widget(Subject, Observer):
|
|||||||
def hide(self):
|
def hide(self):
|
||||||
self.visible = False
|
self.visible = False
|
||||||
|
|
||||||
def show_all(self):
|
def showAll(self):
|
||||||
for child in self._children:
|
for child in self._children:
|
||||||
if child:
|
if child:
|
||||||
child.show()
|
child.show()
|
||||||
|
Loading…
Reference in New Issue
Block a user