01-15-2023, 10:38 PM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Dec 2022
Device: PC
|
How to write plugin for this section
Hi. New guy here. I want to write a select-and-translate plugin for the ebook viewer to the section in the attachment. I want to ask what this section is called (does it belong to the User Interface Actions Plugin) and would appreciate any suggestions on where to start.
|
01-15-2023, 10:41 PM | #2 |
creator of calibre
Posts: 44,419
Karma: 24044628
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Plugins are currently not supported for the viewer.
|
Advert | |
|
01-16-2023, 12:45 AM | #3 |
Junior Member
Posts: 3
Karma: 10
Join Date: Dec 2022
Device: PC
|
Oh, thanks for the quick response. I searched through the https://github.com/kovidgoyal/calibre repo and it appears to be defined in the file selection_bar.pyj. Is it possible to add the functionality by adding functions to the class SelectionBar?
|
01-16-2023, 03:00 AM | #4 |
creator of calibre
Posts: 44,419
Karma: 24044628
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You can of course add whatever you like by modifying the source code appropriately. How to do that depends on what you want to do.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Write to a custom column from a Metadata Source Plugin | thiago.eec | Development | 12 | 07-13-2019 04:13 PM |
Need for a developer to write a plugin | Bilal93 | Calibre | 7 | 04-27-2019 06:11 AM |
How to write a Metadata plugin | modnar_wylde | Plugins | 4 | 11-25-2018 08:38 PM |