1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2024-11-19 05:19:03 +00:00
dupeguru/cocoa/inter/extra_fairware_reminder.py

22 lines
507 B
Python
Raw Normal View History

from cocoa.inter2 import PyGUIObject
class PyExtraFairwareReminder(PyGUIObject):
def start(self):
self.model.start()
def updateButton(self):
self.model.update_button()
# model --> view
def start_timer(self):
self.callback.startTimer()
def stop_timer(self):
self.callback.stopTimer()
def enable_button(self):
self.callback.enableButton()
def set_button_text(self, text):
self.callback.setButtonText_(text)