mirror of
https://github.com/arsenetar/dupeguru.git
synced 2024-11-19 13:29:03 +00:00
22 lines
504 B
Python
22 lines
504 B
Python
from objp.util import pyref, dontwrap
|
|
from cocoa.inter import PyGUIObject, GUIObjectView
|
|
|
|
class IgnoreListDialogView(GUIObjectView):
|
|
def show(self): pass
|
|
|
|
class PyIgnoreListDialog(PyGUIObject):
|
|
def ignoreListTable(self) -> pyref:
|
|
return self.model.ignore_list_table
|
|
|
|
def removeSelected(self):
|
|
self.model.remove_selected()
|
|
|
|
def clear(self):
|
|
self.model.clear()
|
|
|
|
#--- model --> view
|
|
@dontwrap
|
|
def show(self):
|
|
self.callback.show()
|
|
|