if i define a function testfunc() in plasmoid /contents/main.js, when user add two instances of my plasmoid to taskbar, in these two instances, is function testfunc() a same object?

bruce bruce.oy at gmail.com
Mon May 13 13:55:52 UTC 2013


在 2013年5月13日 星期一 15:57:16,Giorgos Tsiapaliokas 写道:


Hello,


your function will be a function in all the instances
of your plasmoid, but it won't live in the same memory.


What exactly do you want to do?




On 13 May 2013 14:22, bruce <bruce.oy at gmail.com[1]> wrote:


if i define testfunc.PROPERTY1=1, is it a same 
property?_______________________________________________Plasma-devel mailing list

Plasma-devel at kde.org[2]
https://mail.kde.org/mailman/listinfo/plasma-devel[3]





-- 


Giorgos Tsiapaliokas (terietor)


terietor.org[4]



my purpose is finding a variable or anything similar which exists in different instances of a 
plasmoid, similar with shared memory between processes, shared object between java 
threads, etc.



--------
[1] mailto:bruce.oy at gmail.com
[2] mailto:Plasma-devel at kde.org
[3] https://mail.kde.org/mailman/listinfo/plasma-devel
[4] http://terietor.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20130513/4625382d/attachment.html>


More information about the Plasma-devel mailing list