aboutsummaryrefslogtreecommitdiffstats
path: root/Lib/defconQt/glyphCollectionView.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/defconQt/glyphCollectionView.py')
-rw-r--r--Lib/defconQt/glyphCollectionView.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/defconQt/glyphCollectionView.py b/Lib/defconQt/glyphCollectionView.py
index 6ced3d5..b0d4461 100644
--- a/Lib/defconQt/glyphCollectionView.py
+++ b/Lib/defconQt/glyphCollectionView.py
@@ -82,6 +82,9 @@ class GlyphCollectionWidget(QWidget):
selection = property(_get_selection, _set_selection, doc="A set that contains \
indexes of selected glyphs. Schedules display refresh when set.")
+ def getSelectedGlyphs(self):
+ return [self._glyphs[key] for key in sorted(self._selection)]
+
def _get_lastSelectedCell(self):
return self._lastSelectedCell