[maemo-developers] Fremantle fullscreen mode [was Re: Call for testers with N900 for vncviewer]

From: Cornelius Hald hald at icandy.de
Date: Fri Oct 23 14:20:37 EEST 2009
On Fri, 2009-10-23 at 12:07 +0100, Aniello Del Sorbo wrote:
> Why is that not a toggle?

Because I didn't make it a toggle :D

> Can it also bring from non fullscreen to fullscreen?
> Simply NOT fade away when in not fullscreen mode... may be passing
> that flag via parameter?
> 
> HeFullscreenToggle -> whatever other param, <FADE_OUT> |  <NO_FADE_OUT>
> 
> So, if I use it in my toolbar (where I'll leave empty space), it'll
> look like a button in un-fullscreen mode with NO_FADE_OUT param.
> If I use it in my un-fullscreen app with no toolbar, I still can use
> it to toggle fullscreen.

That would be of course possible and once the code is in hildon extras
you can of course contribute to it.
I decided against it, simply because I personally don't need it. In
Conboy you activate the fullscreen mode using the menu or a keyboard
shortcut.
If you want a button on the toolbar, why not just add the button and add
gtk_window_fullscreen() as callback. That's almost a one liner + you get
the correct behavior of this button, e.g. spacing between other buttons,
colorful highlight while pressing etc...

Cheers!
Conny


More information about the maemo-developers mailing list