1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2024-11-16 20:29:02 +00:00
dupeguru/cocoa/inter/extra_fairware_reminder.py
Virgil Dupras 55db21f3e0 Removed temporary objp conversion hacks.
--HG--
branch : objp
2012-01-13 15:25:34 -05:00

33 lines
768 B
Python

from objp.util import dontwrap
from cocoa.inter import PyGUIObject
class ExtraFairwareReminderView:
def startTimer(self): pass
def stopTimer(self): pass
def setButtonText_(self, text: str): pass;
def enableButton(self): pass
class PyExtraFairwareReminder(PyGUIObject):
def start(self):
self.model.start()
def updateButton(self):
self.model.update_button()
# model --> view
@dontwrap
def start_timer(self):
self.callback.startTimer()
@dontwrap
def stop_timer(self):
self.callback.stopTimer()
@dontwrap
def enable_button(self):
self.callback.enableButton()
@dontwrap
def set_button_text(self, text):
self.callback.setButtonText_(text)