Notify.Notification.prototype.set_timeout
function set_timeout(timeout: Number(gint)): void { // Gjs wrapper for notify_notification_set_timeout() }
Sets the timeout of the notification. To set the default time, pass %NOTIFY_EXPIRES_DEFAULT as timeout. To set the notification to never expire, pass %NOTIFY_EXPIRES_NEVER.
Note that the timeout may be ignored by the server.
- timeout
The timeout in milliseconds.