예제 #1
0
파일: main.py 프로젝트: baverman/cakeplant
    def update_consignment_days(self):
        self.calendar.clear_marks()

        def update():
            date = self.get_date()
            map(self.calendar.mark_day, get_month_consignment_days(date.year, date.month))

        idle(update)
예제 #2
0
 def show(self):
     self.window.show_all()
     refresh_gui()
     idle(self.tv.set_cursor, len(self.tv.model) - 1, 1)
예제 #3
0
파일: main.py 프로젝트: baverman/cakeplant
 def on_calendar_day_selected(self, *args):
     idle(self.update_today_customers)
     if self.current_point:
         self.update_consigment_grid()
예제 #4
0
파일: main.py 프로젝트: baverman/cakeplant
 def on_transaction_input_hide(self, *args):
     idle(self.update_saldo, self.get_date())
     idle(self.update_last_nums)