Setting default wallpaper with a script
Aaron J. Seigo
aseigo at kde.org
Tue May 4 19:49:03 CEST 2010
On May 4, 2010, Antony Loebs wrote:
> Ok, that's good to know. I guess that raises the question, however, as to
> how the wallpaper is set in the first place (currently). Is it tucked away
> in the code somewhere?
btw, something that i think would be Really, Really Cool(tm):
* iterate over all the published Q_PROPERTIES of the Containment object
wrapped by the Activity Javascript object and export those for
setting/getting.
* iterate over all the published Q_PROPERTIES of the Wallpaper object, which
isn't wrapped at all right now, and export those as a Javascript object for
similar set/get
this would allow Containment and Wallpaper plugins to expose API to the
scripting environment in a safe manner without the scripting environment
having to know about these extensions in advance. it would allow, for
instance, for things like:
containment.wallpaperPlugin = 'mandelbrot'
containment.wallpaper.quality = 'High'
i don't know if i'll have the time/energy to do this for 4.5. probably not. it
wouldn't be too hard to do, though, and would be a nice add.
--
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20100504/ad0c6ee4/attachment.sig
More information about the Plasma-devel
mailing list