summaryrefslogtreecommitdiff
path: root/tropical/calstate.py
diff options
context:
space:
mode:
authorLoïc Guégan <loic.guegan@mailbox.org>2024-09-19 10:49:35 +0200
committerLoïc Guégan <loic.guegan@mailbox.org>2024-09-19 10:49:35 +0200
commit8e24a71ea79f5ef6edeb7621916fd29f138176a1 (patch)
treef5554aa87b5440311e5d73139be06ef7bc29de38 /tropical/calstate.py
parentf02e224d757c1098cff503a14322a004e8cccfe3 (diff)
Minor changes
Diffstat (limited to 'tropical/calstate.py')
-rw-r--r--tropical/calstate.py4
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