[maemo-developers] python app at portrait mode all the time
From: Faheem Pervez trippin1 at gmail.comDate: Sat Apr 24 22:03:15 EEST 2010
- Previous message: python app at portrait mode all the time
- Next message: python app at portrait mode all the time
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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, peltsip at gmail.com <peltsip at 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 at maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers >
- Previous message: python app at portrait mode all the time
- Next message: python app at portrait mode all the time
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]