[maemo-developers] Howto enable portrait mode support on Fremantle
From: Cornelius Hald hald at icandy.deDate: Fri Aug 21 11:59:32 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 ]
Vlad Vasiliev wrote: > I couldn't find the attribute, like "Support rotation" in the current > HildonWindow. http://maemo.org/api_refs/5.0/beta/hildon/hildon-Additions-to-GTK+.html#HildonPortraitFlags > And I think that the use of signal "size-changed" is not the right > way.(IMHO) > You will need control real value size of window. You will need control > changing to full screen and revert in window and in next Maemo devices > size of screen may be large or small. Yes, there have been many discussions about that already. The result of this discussion was that there is not a single correct way of doing this. I´m assuming the following: width > height => landscape and height > width => portrait. Of course this does not work if you have a square screen ;) Well, I´m not super happy with it, but inside scratchbox using xrandr to rotate the screen it works. I think the bottom line is just that it´s very poorly documented and that it would be nice to have some explicit API for dealing with that. Or at least a "official" code sample / tutorial / best practice... Cheers! Conny
- 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 ]