Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 01-15-2023, 10:38 PM   #1
Kudalf
Junior Member
Kudalf began at the beginning.
 
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.
Kudalf is offline   Reply With Quote
Old 01-15-2023, 10:41 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,903
Karma: 22666668
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Plugins are currently not supported for the viewer.
kovidgoyal is offline   Reply With Quote
Advert
Old 01-16-2023, 12:45 AM   #3
Kudalf
Junior Member
Kudalf began at the beginning.
 
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?
Kudalf is offline   Reply With Quote
Old 01-16-2023, 03:00 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,903
Karma: 22666668
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.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 12:55 AM.


MobileRead.com is a privately owned, operated and funded community.