next up previous
Next: The implementation without glade Up: The implementation glade-based Previous: The controller

The main code

Main code is really trivial:

  
# This is file main_glade.py
import gtk
from model import MyModel
from ctrl_glade import MyController
from view_glade import MyView

m = MyModel()
c = MyController(m)
v = MyView(c)

gtk.mainloop()



Roberto Cavada 2004-06-11