[maemo-developers] Optimal battery life considerations in apps
From: Kimmo Hämäläinen kimmo.hamalainen at nokia.comDate: Fri Jul 24 13:22:18 EEST 2009
- Previous message: Optimal battery life considerations in apps
- Next message: Optimal battery life considerations in apps
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, 2009-07-24 at 12:09 +0200, ext Andrew Flegg wrote: > 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? Yes, at least if you are coding in C, you get the property notification. > If so, I'll create a small test case and create a PyMaemo bug (to go > with #4782). > > Cheers, > > Andrew >
- Previous message: Optimal battery life considerations in apps
- Next message: Optimal battery life considerations in apps
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]