appuifw Module

The appuifw module establishes an interface to the Series 60 user interface (UI).

Stucture and Example of Python UI (normal screen)

Different types of the screen

There exist three different screen types, namely:

  • Normal
  • Large
  • Full


import appuifw'full'
import appuifw'normal'
import appuifw'large'

Dialog Query

Single field dialog as query (user interaction requested). The different types of query refer to the expected input value. Following queries exist.

  • text
  • code
  • number
  • date
  • time
  • query
import appuifw
data = appuifw.query(u"Insert a word:", "text")
import appuifw
data = appuifw.query(u"number", "number")
import appuifw
data = appuifw.query(u"date", "date")
import appuifw
data = appuifw.query(u"time", "time")
import appuifw
data = appuifw.query(u"code", "code")
import appuifw
data = appuifw.query(u"query", "query")


Dialog Note

In contrast to the query, the dialog just prompt information on the screen, without that user interaction is needed. The following dialogs are supported:

  • error
  • info
  • conf



appuifw.note(text in the note, type of note)



import appuifw
appuifw.note(u"info", "info")
import appuifw
appuifw.note(u"error", "error")
import appuifw
appuifw.note(u"conf", "conf")

Department of Electronic Systems | Aalborg University | Niels Jernes Vej 12 | DK-9220 Aalborg | Denmark
Phone: (+45) 9635 8695 | Fax (+45) 9815 1583 | E-mail ies(at)
Copyright © 2006 Department of Electronic Systems

Last update:23-04-2008