def show(self): ## Show a window that ask the date and set on the calendar mode = calTypes.primary y, m, d = ui.cell.dates[mode] self.set_mode(mode) self.set(y, m, d) openWindow(self)
def showDialog(self, year, month): self.comboChanged(ym=(year, month)) self.ymBox0.set_value((year, month)) self.ymBox1.set_value((year, month)) self.resize(1, 1) openWindow(self)
def editButtonClicked(self, widget): openWindow(self.dialog)