One can probably use Vala if such VAPIs are available.<br><br>Bundyo<br><br><div class="gmail_quote">2010/6/1 Kimmo Hämäläinen <span dir="ltr"><<a href="mailto:kimmo.hamalainen@nokia.com">kimmo.hamalainen@nokia.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On Tue, 2010-06-01 at 10:41 +0200, ext Sivan Greenberg wrote:<br>
> That is very cool Kimmo!<br>
><br>
> I have a life improving app use case for that, I'll be sure to check<br>
> you examples.<br>
><br>
> The manager has to be written in C/GTK or can be eased off in PyGtk ?<br>
<br>
</div>I think the Control Panel plugin API is C/GTK only since the plugin runs<br>
inside the Control Panel application. You'd need to be somehow familiar<br>
with X11 programming, since it would involve finding out the current<br>
live backgrounds and offer UI for manipulating the window property on<br>
them. Actually it's possible to put any application as the live<br>
background, and it could even work if the application only depends on<br>
ButtonPress, ButtonRelease and Motion events (which are forwarded by<br>
hildon-desktop to the live background window).<br>
<font color="#888888"><br>
-Kimmo<br>
</font><div><div></div><div class="h5"><br>
><br>
> Sivan<br>
><br>
> 2010/6/1 Kimmo Hämäläinen <<a href="mailto:kimmo.hamalainen@nokia.com">kimmo.hamalainen@nokia.com</a>>:<br>
> > Hello!<br>
> ><br>
> > The PR1.2 has a super-secret, unplanned feature that we smuggled in:<br>
> > so-called "live backgrounds" support in hildon-desktop (>= 1:2.2.133-1).<br>
> > Live background is a window that is displayed below or front of the Home<br>
> > applets, either in a specific desktop view (panning with the view) or as<br>
> > common for all views (static).<br>
> ><br>
> > Live background window is recognised when an integer-valued<br>
> > _HILDON_LIVE_DESKTOP_BACKGROUND window property is found in the window:<br>
> ><br>
> > 0 this client is not a live background<br>
> > 1-4 home view specific live background<br>
> > 101-104 home view specific live foreground (above applets)<br>
> > -1 global live background used for all home views<br>
> > -101 global live foreground used for all home views<br>
> ><br>
> > Notice that you probably want to use a transparent window for "live<br>
> > foregrounds" so that the applets and the background image are still<br>
> > visible. What you also "want" (I tell you) is to pause the animation of<br>
> > the background when it's not visible. I have ported xsnow for<br>
> > demonstrating how to do the pausing and detect positions of the Home<br>
> > applets, the xsnow patch (against xsnow 1:1.42-8) is attached (I'm also<br>
> > trying to create a Garage project for it). The xsnow pausing is not<br>
> > optimal (it periodically wakes up to check sysfs for the display<br>
> > brightness), but it has not eaten all my battery even if I let it run<br>
> > overnight.<br>
> ><br>
> > Someone could write a Control Panel plugin for managing live backgrounds<br>
> > (these window properties), since there is no tool as yet.<br>
> ><br>
> > There is a basic code example / test program here:<br>
> > <a href="http://maemo.gitorious.org/fremantle-hildon-desktop/hildon-desktop/blobs/master/tests/test-live-bg.c" target="_blank">http://maemo.gitorious.org/fremantle-hildon-desktop/hildon-desktop/blobs/master/tests/test-live-bg.c</a><br>
> ><br>
> > -Kimmo<br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > maemo-developers mailing list<br>
> > <a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
> > <a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
> ><br>
> ><br>
<br>
_______________________________________________<br>
maemo-developers mailing list<br>
<a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
<a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
</div></div></blockquote></div><br>