"""
from pgu import gui as pguGui
"""
from pgu import gui as pguGui
-from widgets import Home
+from widgets.home import Home
class MinWii(pguGui.Desktop):
def __init__(self) :
pguGui.Desktop.__init__(self)
class MinWii(pguGui.Desktop):
def __init__(self) :
pguGui.Desktop.__init__(self)
- self.run(Home())
\ No newline at end of file
+
+ home = Home()
+ self.run(home)
\ No newline at end of file
self.tr()
self.quitButton = Button(self.createLabel("Quitter"))
self.td(self.quitButton)
self.tr()
self.quitButton = Button(self.createLabel("Quitter"))
self.td(self.quitButton)
- self.goButton = Button(self.createLabel("Jouer"))
- self.td(self.goButton,colspan=3)
+ self.playButton = Button(self.createLabel("Jouer"))
+ self.td(self.playButton,colspan=3)
self.tr()
self.td(Spacer(500,500))
self.tr()
self.td(Spacer(500,500))