Sha256: 4e1be410e9cfcdaa175c721bb0893b60ba124a4a6bdc4d53bf7968ae47b4b6d5
Contents?: true
Size: 1.33 KB
Versions: 2
Compression:
Stored size: 1.33 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>geometry_hints (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: * geometry_hints(screen, x, y) * * ** WHEN COMPILED AGAINST LIBNOTIFY 0.4.1 OR HIGHER ** * * screen = The Gdk::Screen the notification should appear on * * x = The X coordinate to point to * * y = The Y coordinate to point to * * Sets the geometry hints on the notification */ static VALUE _wrap_notification_set_geometry_hints(VALUE self, VALUE screen, VALUE x, VALUE y) { GdkScreen *sc = GDK_SCREEN(RVAL2GOBJ(screen)); NotifyNotification *n = NOTIFY_NOTIFICATION(RVAL2GOBJ(self)); if(sc == NULL) rb_raise(rb_eArgError, "REQUIRED: the `screen` field"); #ifdef DEBUG if(NOTIFY_IS_NOTIFICATION(n) && GDK_IS_SCREEN(sc)) rb_warn("set_geometry_hints, ok"); else rb_warn("set_geometry_hints, no ok"); #endif notify_notification_set_geometry_hints(n, sc, FIX2INT(x), FIX2INT(y)); 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/M000019.html |
ruby-libnotify-0.4.1 | doc/classes/Notify/Notification.src/M000019.html |