[maemo-developers] How to place a button in the fremantle title bar?

From: Andrew Flegg andrew at bleb.org
Date: Tue Jul 21 12:14:47 EEST 2009
2009/7/21 Claudio Saavedra <csaavedra at igalia.com>:
> El mar, 21-07-2009 a las 08:53 +0100, Andrew Flegg escribió:
>>
>> How does Modest put that "Move" button there? Next to the "Back" arrow
>> at the top-right of the screen.
>
> I said it three times already. Fullscreen the window.

Indeed; I'm just trying to ensure there's clarity.

So, if you fullscreen your window (using the standard
gtk_window_fullscreen()?) and have a HildonEditToolbar[1], you get the
effect. The HildonEditToolbar "has a label and two buttons; one of
them being an arrow pointing backwards." It's *simulating* the same
controls that a non-fullscreen window would get from the WM.

Presumably one shouldn't allow the user to unfullscreen such a window.
Also what about the impact on themeing, menus & AppMenus?

My initial thought is that the app fullscreen/unfullscreening itself
(well, remembering the previous fullscreen state) sounds like an ugly
hack, and that the use of this should be discouraged.

Cheers,

Andrew

[1] http://maemo.org/api_refs/5.0/beta/hildon/HildonEditToolbar.html

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