1

Tutorial4: Mention where the extension menu is located

Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
This commit is contained in:
Juraj Oravec 2019-05-23 22:53:11 +02:00
parent c3a07f2402
commit 6d3003313a
No known key found for this signature in database
GPG Key ID: 63ACB65056BC8D07

View File

@ -1,7 +1,9 @@
# Falkon Python Tutorial - 4. Adding entry to the extension menu # Falkon Python Tutorial - 4. Adding entry to the extension menu
The extension menu is located at `Tools`: `Extensions`.
To add an entry to extension menu the `populateExtensionsMenu(self, menu)` method has to be implemented in plugin class. To add an entry to extension menu the `populateExtensionsMenu(self, menu)` method has to be implemented in plugin class.
The reason can be faound in the [source code](https://github.com/KDE/falkon/blob/master/src/lib/plugins/plugininterface.h) The reason can be found in the [source code](https://github.com/KDE/falkon/blob/master/src/lib/plugins/plugininterface.h)
The parameter menu is the menu into which the new entry / action will be added. The parameter menu is the menu into which the new entry / action will be added.