예제 #1
0
	def selectDayEvent(self, event):
		self.selectDay(self.calendar.getDate())
		Globals.updateViewFunc()
예제 #2
0
	def sortByPriority(self, event):
		self.taskList.sorter = lambda task: -task.priority
		Globals.updateViewFunc()
예제 #3
0
	def sortByUrgency(self, event):
		self.taskList.sorter = lambda task: -task.urgency()
		Globals.updateViewFunc()
예제 #4
0
	def sortByEndDate(self, event):
		self.taskList.sorter = lambda task: task.endDate
		Globals.updateViewFunc()