Thread
:
How to get a list of books corresponding to the selected tag in the GUI plugin?
View Single Post
09-21-2015, 04:15 AM
#
2
kovidgoyal
creator of calibre
Posts: 45,438
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Code:
m = self.gui.library_view.model() book_ids = {m.id(x) for x in range(m.rowCount()}
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS