Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/notify.py
blob: afccfbc503b5c4f70e31c1d24632b72bd068e61a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import bank
import Notify

Notify.init("pybank_notification")

print("App name is " + Notify.get_app_name())

n = Notify.Notification("test notification", "Test notification from pybank", None, None)
n.set_timeout(5000)
n.show()

Notify.uninit()