mirror of
				https://github.com/arsenetar/dupeguru.git
				synced 2025-09-11 17:58:17 +00:00 
			
		
		
		
	--HG-- rename : core_me/app_cocoa.py => cocoa/inter/app_me.py rename : core_pe/app_cocoa.py => cocoa/inter/app_pe.py rename : core_se/app_cocoa.py => cocoa/inter/app_se.py
		
			
				
	
	
		
			25 lines
		
	
	
		
			606 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			606 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from hscommon.cocoa.inter import PyGUIObject
 | 
						|
 | 
						|
from core.gui.extra_fairware_reminder import ExtraFairwareReminder
 | 
						|
 | 
						|
class PyExtraFairwareReminder(PyGUIObject):
 | 
						|
    py_class = ExtraFairwareReminder
 | 
						|
    
 | 
						|
    def start(self):
 | 
						|
        self.py.start()
 | 
						|
    
 | 
						|
    def updateButton(self):
 | 
						|
        self.py.update_button()
 | 
						|
    
 | 
						|
    # model --> view
 | 
						|
    def start_timer(self):
 | 
						|
        self.cocoa.startTimer()
 | 
						|
    
 | 
						|
    def stop_timer(self):
 | 
						|
        self.cocoa.stopTimer()
 | 
						|
    
 | 
						|
    def enable_button(self):
 | 
						|
        self.cocoa.enableButton()
 | 
						|
    
 | 
						|
    def set_button_text(self, text):
 | 
						|
        self.cocoa.setButtonText_(text) |