PyS60 Tutorial - Setting the application's screen size
------------------------------------
#Setting the application's screen size
#The available screen sizes are Normal, Large (meaning that only the softkeys pane is visible) and Full
/************ Complete Source Code Start *************/
import appuifw, e32
#Define the exit function
def quit():
app_lock.signal()
appuifw.app.exit_key_handler=quit
#For normal:
appuifw.app.screen="normal"
e32.ao_sleep(5)
#For large:
appuifw.app.screen="large"
e32.ao_sleep(5)
#For full:
appuifw.app.screen="full"
app_lock=e32.Ao_lock()
app_lock.wait()
/************ Complete Source Code End *************/
No comments:
Post a Comment