Over a million developers have joined DZone.

Appuifw.note Allow Global Note In Pys60 1.3.1

·

# note in 1.2 
note(text, type)
# note in 1.3.1
note(text[, type[, global]])

type = 'info' (default) or 'error', 'conf'
global = 1    # display even if app is in background

import appuifw
appuifw.note(u'Hello World')             # simplest case
appuifw.note(u'Cannot connect', 'error') # show error
appuifw.note(u'New message', 'info', 1)  # alert from background
Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}