![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 36
Karma: 2062
Join Date: Oct 2021
Device: Kobo Libra 2
|
Unable to close the dictionary (widget) from plugin patch
I have created a plugin patch for the VocabBuilder plugin.. essentially patching the "onDictButtonReady" function.
The problem i am having is closing the dictionary window upon tapping the "Add to vocabulary builder" button -- to save the extra "close" button tap to close the widget. DictQuickLookup ![]() So.. what needs be done beyond the "require" for its module? Or is some other approach needed to close the dictionary? |
![]() |
![]() |
![]() |
#2 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 36
Karma: 2062
Join Date: Oct 2021
Device: Kobo Libra 2
|
Found the answer.. at least what appears to work. Instead of using DictQuickLookup:onClose..
UIManager:sendEvent(Event:new("Close")) |
![]() |
![]() |
Advert | |
|
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is there a way to patch a plugin? | sdothum | KOReader | 11 | 02-11-2025 11:33 AM |
Kindle 4 Unable to close text editor | Thefirebeast | Amazon Kindle | 3 | 06-23-2021 05:02 PM |
Aura H2O Help with dictionary font size in latest patch | Skydog | Kobo Developer's Corner | 4 | 05-18-2020 10:31 PM |
Dictionary plugin in Sigil? For example Oxford-English Dictionary. | Rindr | Plugins | 2 | 03-04-2018 11:11 AM |
Unable to use dictionary | AlfonsVH | OpenInkpot | 10 | 11-24-2009 02:09 PM |