ménage.
[minwii.git] / src / app / minwii.py
1 # -*- coding: utf-8 -*-
2 """
3 l'application winwii
4
5 $Id$
6 $URL$
7 """
8
9 from pgu.gui import Desktop
10 from pgu.gui import QUIT
11 from widgets.home import Home
12 from widgets.playingscreen import PlayingScreen
13
14 class MinWii(object):
15
16 def __init__(self) :
17 app = Desktop()
18
19 while True :
20 home = Home()
21 home.connect(QUIT, app.quit)
22 app.run(home)
23 app.close(home)
24
25 playingScreen = PlayingScreen()
26 playingScreen.run()