[maemo-developers] Howto enable portrait mode support on Fremantle
From: Cornelius Hald hald at icandy.deDate: Fri Aug 21 10:07:15 EEST 2009
- Previous message: libesd -- sound in Fremantle
- Next message: Howto enable portrait mode support on Fremantle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi all! For some time already Conboy has the ability to relayout it´s widget when switched from landscape into portrait mode. Now I wanted to know whether or not the window is actually rotated when the device is rotated, so I asked on tmo and Andre was so kind and did the test. It looks like it is not working[1]. What I did is I added the following line to all windows of my application: hildon_gtk_window_set_portrait_flags(GTK_WINDOW(win), HILDON_PORTRAIT_MODE_SUPPORT); 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? Is there something else I need to do? Did I do something wrong? Help would be very welcome :) Thanks! Conny [1] http://talk.maemo.org/showthread.php?t=30883
- Previous message: libesd -- sound in Fremantle
- Next message: Howto enable portrait mode support on Fremantle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]