On Sat, 2010-04-24 at 21:03 +0200, ext Faheem Pervez wrote:
The part you want is in the orientation_changed function.
Try:
hildon.hildon_gtk_window_set_portrait_flags(window,
hildon.PORTRAIT_MODE_SUPPORT | hildon.PORTRAIT_MODE_REQUEST)
This does not work if you have e.g. dialog that
fortunately I have only one dialog: contact selection.
it is pretty usable but annoying though when orientation jumps. I'll leave it
be because there is much more work to do in order to get something else except
A typed to the app @portrait :)
Ossipena / Timo P
- Alkuperäinen viesti
Hi, is there a single or two rows way to define a python app to stay at
portrait mode all the time?
Tried to look through autorotation stuff from portrait.py[1] but didn't manage
to find anything that I could use straight on.
http://talk.maemo.org/showthread.php?t=31940
The part you want is in the orientation_changed function.
Try:
hildon.hildon_gtk_window_set_portrait_flags(window,
hildon.PORTRAIT_MODE_SUPPORT | hildon.PORTRAIT_MODE_REQUEST)
On 4/24/10, pelt...@gmail.com pelt...@gmail.com wrote:
Hi, is there a single or two rows way to define a python app to