On February 28, 2010, Simon Edwards wrote: > If I remember correctly, (it has been a while since I've looked), the > Python code doesn't create the instance of the Applet itself. Plasma > does this by itself, but the plasmoid developer has to provide their own > AppletScript object which acts a proxy. There is no PopupAppletScript in > plasma libs. So I guess the needed code exists already in libplasma in > the related scripting classes.
yes, the ScriptEngine gets handed a Plasma::PopupApplet (for example); it's still up to the ScriptEngine to proxy the desired API from PopupApplet, though depending on how the ScriptEngine works, this may happen automatically :) -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Development Frameworks _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel