Sha256: a555565d8b8d0f6b5ec32a3d511b2189fa92521df03d8f63a5597aecd4faf0a8

Contents?: true

Size: 1.08 KB

Versions: 2

Compression:

Stored size: 1.08 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>hint_string (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:
 *      hint_string(key, value)
 *
 * key = The hint
 *
 * value = The hint's value
 *
 * Sets a hint with a string value
 */
static VALUE
_wrap_notification_set_hint_string(VALUE self, VALUE key, VALUE value)
{
  char *vkey = NIL_P(key) ? NULL : StringValuePtr(key);
  char *vvalue = NIL_P(value) ? NULL : StringValuePtr(value);
  NotifyNotification *n = NOTIFY_NOTIFICATION(RVAL2GOBJ(self));

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

  notify_notification_set_hint_string(n, vkey, vvalue);

  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/M000017.html
ruby-libnotify-0.4.1 doc/classes/Notify/Notification.src/M000017.html