[maemo-developers] Questions about GUI design on N800

From: Marius Gedminas marius at pov.lt
Date: Fri Feb 23 00:12:30 EET 2007
On Thu, Feb 22, 2007 at 10:11:54AM -0700, Jeffrey Barish wrote:
> 2. Is it difficult to run an application in full-screen mode so that
> controls such as the task navigator and application switcher do not appear?

Not difficult.  You use the standard GTK+ API for toggling full-screen
mode (gtk_window_fullscreen).

> 4. Is it possible to control stand-by mode programmatically?  How does the
> N800 decide that the system is idle?  If an application is running and is
> updating a progress bar, is that activity sufficient to keep the N800 out
> of standby mode?

If you're talking about screen blanking, then the N800 counts seconds
after the last user event (tap/hardware button press).  If your
application wants to keep the screen on without user activity, it should
periodically call osso_display_blanking_pause (once every 59 seconds).

A better idea may be to call osso_display_state_on after the progress
bar is completed.  That will save battery, and let the user see when
your operation finishes.

See http://maemo.org/platform/docs/api-bora/libosso/index.html

Marius Gedminas
1 4m 5o 3l337! just got r00t on this <a href="">k3wl site</a> j00
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20070223/2ce5a952/attachment.pgp 
More information about the maemo-developers mailing list