_constants
_constants
¶
D-Bus addressing constants and notification close-reason codes.
BUS_NAME = 'org.freedesktop.Notifications'
module-attribute
¶
Well-known bus name for the freedesktop Notifications service.
OBJECT_PATH = '/org/freedesktop/Notifications'
module-attribute
¶
Object path for the Notifications interface.
INTERFACE_NAME = 'org.freedesktop.Notifications'
module-attribute
¶
D-Bus interface name for the Notifications spec.
CloseReason
¶
Bases: IntEnum
Reason a notification was closed, per the freedesktop spec.
EXPIRED = 1
class-attribute
instance-attribute
¶
The notification expired (timed out).
DISMISSED = 2
class-attribute
instance-attribute
¶
The notification was dismissed by the user.
CLOSED = 3
class-attribute
instance-attribute
¶
The notification was closed via CloseNotification.
UNDEFINED = 4
class-attribute
instance-attribute
¶
The notification server did not provide a reason.