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

From: Andrew Flegg andrew at bleb.org
Date: Tue Jul 21 14:30:45 EEST 2009
On Tue, Jul 21, 2009 at 11:18, Alberto Garcia<agarcia at igalia.com> wrote:
> On Tue, Jul 21, 2009 at 11:00:54AM +0100, Andrew Flegg wrote:
>
>> Yes, I understand that. But a developer, on seeing a screencast,
>> thought it part of the normal WM chrome. Indeed, if you look at the
>> screenshot[1] it looks like any other stacked window, but with a
>> button next to the back arrow.
>
> That's the idea. To the final user, it should look like a title bar
> with an additional button.

OK, so we're homing in on the usage of this (probably to result in a
documentation bug). A few more questions from above:

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

...because it *looks* like a window, clicking on the title should open
the window's menu. Does this happen automatically, or does it need to
be handrolled, or is there no menu support when one's using it?

> Otherwise it shouldn't make a difference. If it does then it's
> probably a bug :)

Sounds like there's a documentation bug either way, as
HildonEditToolbar doesn't say it should be used only after
gtk_window_fullscreen():

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

(Although, to be fair, the example does show it :-))

Cheers,

Andrew

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