Sha256: eafd65db4ba34ab3dc6f4dcf1ff7f028eb4b59013d0d6636f17d26345a575bec
Contents?: true
Size: 1.28 KB
Versions: 2
Compression:
Stored size: 1.28 KB
Contents
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>urgency= (Notify::Notification)</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> </head> <body class="standalone-code"> <pre>/* * call-seq: * urgency=(urgency_level) * * urgency_level = The urgency level * * Sets the urgency level */ static VALUE _wrap_notification_set_urgency(VALUE self, VALUE urgency) { NotifyNotification *n = NOTIFY_NOTIFICATION(RVAL2GOBJ(self)); #ifdef DEBUG if(NOTIFY_IS_NOTIFICATION(n)) rb_warn("set_urgency, ok"); else rb_warn("set_urgency, no ok"); #endif switch(FIX2INT(urgency)) { case NOTIFY_URGENCY_LOW: notify_notification_set_urgency(n, NOTIFY_URGENCY_LOW); break; case NOTIFY_URGENCY_NORMAL: notify_notification_set_urgency(n, NOTIFY_URGENCY_NORMAL); break; case NOTIFY_URGENCY_CRITICAL: notify_notification_set_urgency(n, NOTIFY_URGENCY_CRITICAL); break; default: notify_notification_set_urgency(n, NOTIFY_URGENCY_NORMAL); } return Qnil; }</pre> </body> </html>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby-libnotify-0.4.1.1 | doc/classes/Notify/Notification.src/M000013.html |
ruby-libnotify-0.4.1 | doc/classes/Notify/Notification.src/M000013.html |