Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 08:23, 25 April 2008.

How to change screen orientation

From Forum Nokia Wiki

The code is used to change screen orientations in Python.

The screen orientations can be toggled using one function from the appuifw module.


appuifw.app.orientation='portrait'
 
appuifw.app.orientation='landscape'

Please note the appuifw.app.orientation doesn't change the orientation of other applications. The orientation of the PyS60 application is only toggled.

 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtopicQUqfnTopicZpythonQ
     qfnZtopicQUqfnTopicZseriesE5f60Q
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX