Thread
:
How to get the selected category in the code of the gui plugin?
View Single Post
10-03-2015, 12:52 AM
#
2
kovidgoyal
creator of calibre
Posts: 45,426
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You get access to it as
self.gui.tags_view
Read the source of the TagsView class in calibre, in particular the search_string() fucntion which is what calibre itself uses to convert selected tags into a search query.
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS