settings menu in plasma2 plasmoids

Heena Mahour heena393 at gmail.com
Sat Sep 7 10:38:32 UTC 2013


Hi ,
I want to ask that why am I unable to view  a menu like this
http://picpaste.com/plasma4calendar-6xZmBFis.png on right clicking plasma2
plasmoids   as in case with plasma1 plasmoids ?
Also I want to have an action in this menu ,so I did
  function action_open() {
   //do task
    }
    Component.onCompleted: {
        plasmoid.action_open = function() {
            //do task
        }
        plasmoid.setAction("open", "Open","document-open");
}
But somehow neither it is showing a menu as in the screenshot on
rightclicking nor the actions .
Kindly suggest something .I am getting error as "plasmoid not defined " in
statements like plasmoid.action_open,plasmoid.runCommand etc

Regards

-- 
-Heena
Season of kde'12 participant
Google Summer of Code 2013
Delhi College of Engineering(COE),India
http://about.me/heena.mahour
http://heenamahour.blogspot.in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20130907/02c63131/attachment.html>


More information about the Plasma-devel mailing list