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
Virgil Dupras 12467c9493 Converted extra_fairware_reminder to objp.
--HG--
branch : objp
2012-01-11 15:55:25 -05:00

22 lines
507 B
Python

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)