View Single Post
Old 03-13-2022, 11:32 AM   #485
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,736
Karma: 5446592
Join Date: Nov 2009
Device: many
There is an interface to get the list of files that are selected in BookBrowser.
So if you only want the current file or a specific subset of files, make sure they are properly selected in BookBrowser before launching your plugin. The interface call is here:

https://github.com/Sigil-Ebook/Sigil...tainer.py#L313


Alternatively your plugin can use either Tk or Qt to allow the user to select any set of files they desire.
KevinH is offline   Reply With Quote