Skip to content

How to set Calendarframe to "Today" when initializing app? #189

Discussion options

You must be logged in to vote

Hello @iradraconis, you can try with:

import datetime as dt

...

class CalendartestApp:
    def __init__(self, master=None):
        ...
        self.calendar = calendar = builder.get_object("calendar1")
        today = dt.datetime.now()
        calendar.select_day(today.day, today.month, today.year)

Regards
Alejandro A

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by iradraconis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants