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 
"AAAAA" typed to the app @portrait :)



Ossipena / Timo P
----- Alkuperäinen viesti -----
> 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 requires landscape mode
> (because of text input, for example) on top of you. Unfortunately, there
> is no way to force yourself portrait in the case your window is not the
> topmost window.
>
> -Kimmo
>
> > 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 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
> > >
> [1]http://repo.or.cz/w/gpodder.git?a=blob;f=src/gpodder/gtkui/frmntl/portrait.py
> > >
> > > I am trying to make a simple portrait sms python app as requested at
> tmo.
> > >
> > > So if someone knows how to do that as simple as possible, I'd
> appreciate
> > > some tips.
> > >
> > > Ossipena / TimoP
> > > _______________________________________________
> > > maemo-developers mailing list
> > > maemo-developers@maemo.org
> > > https://lists.maemo.org/mailman/listinfo/maemo-developers
> > >
> > _______________________________________________
> > maemo-developers mailing list
> > maemo-developers@maemo.org
> > https://lists.maemo.org/mailman/listinfo/maemo-developers
>
>
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to