libnotify-0.0.2.0: Haskell binding for Libnotify

Safe HaskellSafe-Inferred

System.Libnotify.Types

Description

System.Libnotify.Types module is a collection of types is used in other modules. This is reexported with System.Libnotify module. Perhaps it'll never be needed to import explicitly.

Synopsis

Documentation

data Timeout Source

Timeout in seconds after which notification is closed. Although timeout does not work with notify-osd.

Constructors

Default

Default server timeout.

Custom Int

User defined timeout (in milliseconds).

Infinite

Notification will not expire until user pays attention to it.

data Urgency Source

Urgency can be used by the notification server to prioritize notifications. Although urgency does not work with notify-osd.

Constructors

Low

Low priority notification.

Normal

Default notification urgency.

Critical

Critical notification that requires immediate attention.

type Category = StringSource

Category can be used by the notification server to filter or display the data in a certain way.

type Title = StringSource

Type synonim for notification title.

type Body = StringSource

Type synonim for notification body.

type Icon = StringSource

Type synonim for notification icon.

data ServerInfo Source

Server information.

Instances

data Hint Source

Hint is some setting (server-dependent) which comes with notification.