diff options
| author | Loïc Guégan <loic.guegan@mailbox.org> | 2024-09-19 10:49:35 +0200 |
|---|---|---|
| committer | Loïc Guégan <loic.guegan@mailbox.org> | 2024-09-19 10:49:35 +0200 |
| commit | 8e24a71ea79f5ef6edeb7621916fd29f138176a1 (patch) | |
| tree | f5554aa87b5440311e5d73139be06ef7bc29de38 /tropical/calstate.py | |
| parent | f02e224d757c1098cff503a14322a004e8cccfe3 (diff) | |
Minor changes
Diffstat (limited to 'tropical/calstate.py')
| -rw-r--r-- | tropical/calstate.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tropical/calstate.py b/tropical/calstate.py index 7bf285a..575d521 100644 --- a/tropical/calstate.py +++ b/tropical/calstate.py @@ -6,8 +6,12 @@ class CalState: def __init__(self): self.gotoToday() + self.selection=(self.year, self.month, self.day) self.firstWeekDay=0 + def setSelection(self, yy, mm, dd): + self.selection=(yy,mm,dd) + def setFirstWeekDay(self, i): self.firstWeekDay=i |
