Notification
-
class Notification(**properties: Any)
Superclasses: Object
Holds information about a notification that should be shown to the user.
Methods
-
class Notification
-
clicked() → None
Tells WebKit the notification has been clicked.
This will emit the
Notification
::clicked signal.
-
close() → None
Closes the notification.
-
get_body() → str
Obtains the body for the notification.
-
get_id() → int
Obtains the unique id for the notification.
-
get_tag() → str | None
Obtains the tag identifier for the notification.
-
get_title() → str
Obtains the title for the notification.
Properties
-
class Notification
-
props.body: str
The type of the None singleton.
-
props.id: int
The type of the None singleton.
-
props.tag: str
The type of the None singleton.
-
props.title: str
The type of the None singleton.
Signals
-
class Notification.signals
-
clicked() → None
Emitted when a notification has been clicked. See clicked()
.
-
closed() → None
The type of the None singleton.