Method
PhoshNotifyManageradd_shell_notification
Declaration [src]
guint
phosh_notify_manager_add_shell_notification (
PhoshNotifyManager* self,
PhoshNotification* notification,
guint id,
int expire_timeout
)
Description [src]
Adds a notification to the list of notifications. If id is not 0
an existing notification is replaced.
If the notification has no app-name or app-icon set then a shell
default is filled in.
If the expire_timeout is greater than 0 the notification is
marked as transient.
The returned id can be used at a later point to retract or
replace the notification.
Parameters
notification-
Type:
PhoshNotificationThe notification to add.
The data is owned by the caller of the method. id-
Type:
guintThe id.
expire_timeout-
Type:
intThe expiration timeout.