[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Setting default wallpaper with a script
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2010-05-04 17:49:03
Message-ID: 201005041049.12078.aseigo () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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

["signature.asc" (application/pgp-signature)]

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic