Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Archived:How to display information on the navigation pane in PySymbian

From Wiki
Jump to: navigation, search

Archived.pngAquivado: Este artigo foi arquivado, pois o conteúdo não é mais considerado relevante para se criar soluções comerciais atuais. Se você achar que este artigo ainda é importante, inclua o template {{ForArchiveReview|escreva a sua justificativa}}.

All PySymbian articles have been archived. PySymbian is no longer maintained by Nokia and is not guaranteed to work on more recent Symbian devices. It is not possible to submit apps to Nokia Store.

Article Metadata
Tested with
Devices(s): Nokia N95, Nokia E90
Platform(s): S60 3rd Edition
Keywords: appuifw2
Created: bogdan.galiceanu (02 Jan 2009)
Last edited: hamishwillee (31 May 2013)



This article explains how to display information on the navigation pane in Python using the appuifw2 extension.


The appuifw2 extension is only available for S60 3rd Edition devices. The extension should be installed before using the following snippet.

Source code

import appuifw2
#Define the exit function
def quit():
myview.close() = quit
#Create a View class
class Main(appuifw2.View):
def __init__(self):
#Call the superclass __init__()
#Initialize the properties
self.title = u"Main view"
#Create a view object and set it as the application's view
myview = Main() = myview
#Show text on the navigation pane
myview.navi_text = u"Navigation pane"
#Wait for the user to request the exit


The text is displayed on the navigation pane.

Navi pane text.jpg
This page was last modified on 31 May 2013, at 01:08.
38 page views in the last 30 days.