<div dir="ltr">Hi ,<div><span style="color:rgb(0,0,0);font-family:Consolas,'Lucida Console',monospace;font-size:13px;background-color:rgb(240,247,255)">I want to ask that why am I unable to view</span><span style="color:rgb(0,0,0);font-family:Consolas,'Lucida Console',monospace;font-size:13px;background-color:rgb(240,247,255)"> </span><span style="color:rgb(0,0,0);font-family:Consolas,'Lucida Console',monospace;font-size:13px;background-color:rgb(240,247,255)">a menu like this </span><a href="http://picpaste.com/plasma4calendar-6xZmBFis.png" target="_blank" style="font-family:Consolas,'Lucida Console',monospace;font-size:13px;background-color:rgb(240,247,255)">http://picpaste.com/plasma4calendar-6xZmBFis.png</a><span style="color:rgb(0,0,0);font-family:Consolas,'Lucida Console',monospace;font-size:13px;background-color:rgb(240,247,255)"> on right clicking plasma2 plasmoids </span><span style="color:rgb(0,0,0);font-family:Consolas,'Lucida Console',monospace;font-size:13px;background-color:rgb(240,247,255)"> </span><span style="color:rgb(0,0,0);font-family:Consolas,'Lucida Console',monospace;font-size:13px;background-color:rgb(240,247,255)">as in case with plasma1 plasmoids ?</span></div>
<div><div style><font color="#000000" face="Consolas, Lucida Console, monospace">Also I want to have an action in this menu ,so I did </font></div><div style><font color="#000000" face="Consolas, Lucida Console, monospace"><div>
function action_open() {</div><div> //do task </div><div> }</div><div><div> Component.onCompleted: { </div><div> plasmoid.action_open = function() {</div><div> //do task</div><div> }</div>
<div> plasmoid.setAction("open", "Open","document-open");</div></div><div>}</div><div>But somehow neither it is showing a menu as in the screenshot on rightclicking nor the actions .</div>
<div>Kindly suggest something .I am getting error as "plasmoid not defined " in statements like plasmoid.action_open,plasmoid.runCommand etc</div><div><br></div><div>Regards </div></font></div><div><br></div>-- <br>
<div dir="ltr"><div style="text-align:left"><div style="font-family:arial,helvetica,clean,sans-serif;font-size:13px;line-height:15px"><span style="background-color:rgb(255,255,255)"><span style="font-family:'lucida console',sans-serif">-Heena</span></span></div>
<div style="font-family:arial,helvetica,clean,sans-serif;font-size:13px;line-height:15px"><span style="background-color:rgb(255,255,255);font-family:'lucida console',sans-serif;font-size:small">Season of kde'12 participant<br>
</span></div><div style="font-family:arial,helvetica,clean,sans-serif;font-size:13px;line-height:15px"><span style="background-color:rgb(255,255,255);font-family:'lucida console',sans-serif;font-size:small">Google Summer of Code 2013</span></div>
<div style="font-family:arial,helvetica,clean,sans-serif;font-size:13px;line-height:15px"><span style="background-color:rgb(255,255,255);font-family:'lucida console',sans-serif;font-size:small">Delhi College of Engineering(COE),India<br>
</span></div><div><span style="background-color:rgb(255,255,255);line-height:15px"><font face="lucida console, sans-serif"><a href="http://about.me/heena.mahour" target="_blank">http://about.me/heena.mahour</a></font></span></div>
<div style="font-family:arial,helvetica,clean,sans-serif;font-size:13px;line-height:15px"><span style="background-color:rgb(255,255,255)"><span style="font-family:'lucida console',sans-serif;font-size:small"><a href="http://heenamahour.blogspot.in/" style="color:blue!important" target="_blank">http://heenamahour.blogspot.in</a><br>
</span></span></div><div style="font-family:arial,helvetica,clean,sans-serif;font-size:13px;line-height:15px"><span style="background-color:rgb(255,255,255)"><br></span></div></div></div>
</div></div>