Logo Search packages:      
Sourcecode: libnotify version File versions  Download package

void notify_notification_set_timeout ( NotifyNotification *  notification,
gint  timeout 

notify_notification_set_timeout: : The notification. : The timeout in milliseconds.

Sets the timeout of the notification. To set the default time, pass NOTIFY_EXPIRES_DEFAULT as . To set the notification to never expire, pass NOTIFY_EXPIRES_NEVER.

Definition at line 804 of file notification.c.

      g_return_if_fail(notification != NULL);

      notification->priv->timeout = timeout;

Generated by  Doxygen 1.6.0   Back to index