mirror of
https://github.com/arsenetar/dupeguru.git
synced 2024-11-14 11:39:03 +00:00
43c4dcb267
--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
14 lines
376 B
Python
14 lines
376 B
Python
from hscommon.cocoa.inter import signature, PyGUIObject
|
|
|
|
from core.gui.details_panel import DetailsPanel
|
|
|
|
class PyDetailsPanel(PyGUIObject):
|
|
py_class = DetailsPanel
|
|
@signature('i@:')
|
|
def numberOfRows(self):
|
|
return self.py.row_count()
|
|
|
|
@signature('@@:@i')
|
|
def valueForColumn_row_(self, column, row):
|
|
return self.py.row(row)[int(column)]
|