Enums

Details

class Notify.ClosedReason(value)

Bases: GObject.GEnum

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.

New in version 0.8.0.

Deprecated since version 0.8.8: Use [flags`Notify`.ClosedReason.UNDEFINED].

UNDEFINED = 4

Closed by undefined/reserved reasons.

New in version 0.8.8.

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.