import datetime
defn MainWindow:
    Window:
        title = "Calendar example"
        constraints = [vertical(top,calendar, bottom),
                       horizontal(left, calendar, right)]
        Calendar -> calendar:
            date = datetime.date(2012, 1, 1)
