[maemo-developers] How to place a button in the fremantle title bar?
From: Kimmo Hämäläinen kimmo.hamalainen at nokia.comDate: Tue Jul 21 12:44:49 EEST 2009
- Previous message: How to place a button in the fremantle title bar?
- Next message: How to place a button in the fremantle title bar?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, 2009-07-21 at 11:14 +0200, ext Andrew Flegg wrote: > 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. You have to understand that an application toolbar and window title bar are completely different things. The application owns the toolbar and controls it, and the WM owns the title bar and controls it. Even if you would be able to add a button to the WM's title bar, you would need some ugly hack to send the button press/release to the application (or have handling of the button in application side somehow). -Kimmo > > 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 >
- Previous message: How to place a button in the fremantle title bar?
- Next message: How to place a button in the fremantle title bar?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]