Function 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.

extern(C) void notify_notification_set_timeout (
  NotifyNotification* notification,
  int timeout
);

Parameters

NameDescription
notification The notification.
timeout The timeout in milliseconds.