Hi,
I can add a menu item to Tools menu by using
Amarok.Window.addToolsMenu("menuID", "menu name") .
However the page
https://community.kde.org/Talk:Amarok/Development/Script_API doesn't tell
me how do I attach its action to a Javascript function?
Thanks,
Ravi
Hello,
there's a newer addToolsMenu overload (though the old one should also
work) in Amarok.Window that can directly take a QMenu object. Try that
instead.
--
Regards,
Anmol Ahuja
On Sun, Sep 13, 2015 at 4:25 AM, RA wrote:
>
> Hi,
>
> I can add a menu item to Tools menu by using
> Amarok.Windo
Hi,
I can add a menu item to Tools menu by using
Amarok.Window.addToolsMenu("menuID", "menu name") .
However the page
https://community.kde.org/Talk:Amarok/Development/Script_API doesn't tell
me how do I attach its action to a Javascript function?
Thanks,
RA
__