Sha256: 1b08841cf68f1c01f077fce35bf315284a1fea8cca1075f60978193911bfa4cd
Contents?: true
Size: 472 Bytes
Versions: 1
Compression:
Stored size: 472 Bytes
Contents
#!/usr/bin/env ruby =begin xy.rb Luca Russo <vargolo@gmail.com> Copyright (LGPL) 2006 - 2010 ruby-libnotify xy example =end begin require 'RNotify' rescue LoadError require 'rubygems' require 'RNotify' end Notify.init("Test7") test = Notify::Notification.new("Test 7", "This notification point to 150,100", nil, nil) test.hint32("x", 150) test.hint32("y", 100) test.timeout= 5000 #5 seconds test.show sleep(6) test.clear_hints test.close Notify.uninit
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-libnotify-0.4.1 | examples/xy.rb |