[maemo-developers] Optimal battery life considerations in apps

From: Andrew Flegg andrew at bleb.org
Date: Fri Jul 24 13:09:35 EEST 2009
2009/7/24 Kimmo Hämäläinen <kimmo.hamalainen at nokia.com>:
> On Fri, 2009-07-24 at 10:54 +0200, ext Andrew Flegg wrote:
>
>> My basic code structure is:
>>
>>     * while timer fires:
>>           - check is-topmost
>>                 - if false, cancel timer and return
>
> Probably Python bindings are confused then. You don't need any timers to
> use it.

I'm using the timer because I want to be showing an animation. Should
I be able to register property-notify-event against a HildonWindow and
get a notification when the is-topmost property which libhildon's
tracking changes?

If so, I'll create a small test case and create a PyMaemo bug (to go
with #4782).

Cheers,

Andrew

-- 
Andrew Flegg -- mailto:andrew at bleb.org  |  http://www.bleb.org/
Maemo Community Council chair
More information about the maemo-developers mailing list