[Amarok Scripting] How Do I Add Action To Menu Item I Add To Tools menu

Anmol Ahuja darthcodus at gmail.com
Thu Sep 17 05:53:14 UTC 2015


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 <ra.ravi.rav at gmail.com> wrote:
>
> 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
>
>
> _______________________________________________
> Amarok mailing list
> Amarok at kde.org
> https://mail.kde.org/mailman/listinfo/amarok
>


More information about the Amarok mailing list