Enums

Details

class Notify.ClosedReason(value)

Bases: GObject.GEnum

The reason for which the notification has been closed.

New in version 0.8.0.

UNSET = -1

Notification not closed.

EXPIRED = 1

Timeout has expired.

DISMISSED = 2

It has been dismissed by the user.

API_REQUEST = 3

It has been closed by a call to [method`NotifyNotification`.close].

UNDEFIEND = 4

Closed by undefined/reserved reasons.

class Notify.Urgency(value)

Bases: GObject.GEnum

The urgency level of the notification.

LOW = 0

Low urgency. Used for unimportant notifications.

NORMAL = 1

Normal urgency. Used for most standard notifications.

CRITICAL = 2

Critical urgency. Used for very important notifications.