self.changeDir(directory)
self.l.setFont(0, gFont("Regular", 18))
-
+ self.l.setItemHeight(23)
+
def getSelection(self):
if self.l.getCurrentSelection() is None:
return None
return self.l.getCurrentSelection()[0]
+ def getSelectionIndex(self):
+ return self.l.getCurrentSelectionIndex()
+
def getFileList(self):
return self.list
def postWidgetCreate(self, instance):
instance.setContent(self.l)
- instance.setItemHeight(23)