Package screenlets :: Module utils :: Class Notifier

[hide private]
[frames] | no frames]

# Class Notifier

source code
A simple and conveniet wrapper for the notification-service. Allows screenlets to easily pop up notes with their own icon (if any).

Instance Methods | [hide private]

__init__(self, screenlet=None) | source code

notify(self, message, title=`'````'`, icon=`'````'`, timeout=-1, screenlet=None) Send a notification to org.freedesktop.Notifications. | source code

Method Details | [hide private]

### notify(self, message, title=`'````'`, icon=`'````'`, timeout=-1, screenlet=None)

source code

Send a notification to org.freedesktop.Notifications. The message should contain the text you want to display, title may define a title (summary) for the message, icon can be the full path to an icon, timeout can be set to the desired displaying time in milliseconds.