On Thursday 11 September 2008, Richard Dale wrote: > 2008/9/11 Petri Damstén <[EMAIL PROTECTED]> > > > Hi, > > > > I have been playing with webkit AppletScript. There is a small example > > (webkit/code/test.html) using plasma dataengines so I have added more > > functions (init(), engine.connectSource(), etc.) and plasma package > > support so > > it looks more like a normal plasma applet. > > > > Applets connect to apply & ok to know when user accepted config, but if > > AppletScript uses configxml there seems to be no way to do that? Maybe > > configAccepted signal in applet? I guess this could be good for Applets > > too so > > they don't have to rely parent to have ok/apply. > > The biggest problem with using configxml with script engine based applets > is in this code where it tests 'if (d->script) {' and then leaves early.
after checking if there is a configXml object, yes. > I've no idea what script engine applets would want to do that is different > from a normal applet as the whole point of configxml is that it is a sort > of 'fire and forget' api that doesn't actually need any programmer > intervention to use. for widgets that don't use the native configuration system, such as non-native widgets. we support a couple of those now. -- 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 Trolltech
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel