[maemo-developers] Howto enable portrait mode support on Fremantle
From: Alberto Garcia agarcia at igalia.comDate: Fri Aug 21 15:04:26 EEST 2009
- Previous message: Howto enable portrait mode support on Fremantle
- Next message: Howto enable portrait mode support on Fremantle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Aug 21, 2009 at 09:07:15AM +0200, Cornelius Hald wrote: > hildon_gtk_window_set_portrait_flags(GTK_WINDOW(win), > HILDON_PORTRAIT_MODE_SUPPORT); Use HILDON_PORTRAIT_MODE_SUPPORT | HILDON_PORTRAIT_MODE_REQUEST > I assume that HILDON_PORTRAIT_MODE_SUPPORT means that this window > is supporting the portrait mode and thus can be rotated. And that > HILDON_PORTRAIT_MODE_REQUEST means that the UI should be switched > to portrait mode no matter what the orientation of the device is, > right? Exactly. _SUPPORT means that e.g. if the device is in portrait mode and your app comes up, it won't be rotated to landscape. Berto
- Previous message: Howto enable portrait mode support on Fremantle
- Next message: Howto enable portrait mode support on Fremantle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]