You could try using the code from Kagu. ScreenMonitor class from
maemo.py: https://www.guardiani.us/projects/kagu/browser/trunk/src/kagu/maemo.py

Hope this helps.

On 8/23/07, Tony Maro <[EMAIL PROTECTED]> wrote:
> I've been trying for hours to get a callback set so I know when the screen
> turns off.
>
> I've even tried running the sample code found at:
> http://pymaemo.garage.maemo.org/documentation/python_osso_examples/index.html
>
> Nothing I do makes the callback happen.  Does anyone have any better
> documentation of how to do this?

-- 
Kemal
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to