Sha256: d1d03c00088d638cf289bd87e21b50815a56f666b7b5009c79d34d61337c3f6f

Contents?: true

Size: 975 Bytes

Versions: 2

Compression:

Stored size: 975 Bytes

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>show (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:
 *      show
 *
 * Tells the notification server to display the notification on the screen.
 * if TRUE returns, show the notification otherwise returns FALSE
 */
static VALUE
_wrap_notification_show(VALUE self)
{
  NotifyNotification *n = NOTIFY_NOTIFICATION(RVAL2GOBJ(self));

#ifdef DEBUG
  if(NOTIFY_IS_NOTIFICATION(n))
    rb_warn(&quot;show, ok&quot;);
  else
    rb_warn(&quot;show, no ok&quot;);
#endif

  if(notify_notification_show(n, NULL) == TRUE)
    return Qtrue;

  return Qfalse;
}</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/M000010.html
ruby-libnotify-0.4.1 doc/classes/Notify/Notification.src/M000010.html