Module: Libnotify
- Defined in:
- lib/libnotify.rb,
lib/libnotify/api.rb,
lib/libnotify/ffi.rb,
lib/libnotify/version.rb,
lib/libnotify/icon_finder.rb
Overview
Ruby bindings for libnotify using FFI.
See README.md for usage examples.
Defined Under Namespace
Modules: FFI Classes: API, IconFinder
Constant Summary collapse
- VERSION =
"0.9.4"
Class Method Summary collapse
-
.icon_dirs ⇒ Object
Exposes a list of icon directories to resolve ‘icon_path`.
-
.new(options = {}) {|notify| ... } ⇒ API
Creates a notification.
-
.show(options = {}, &block) ⇒ Object
Shows a notification.
Class Method Details
.icon_dirs ⇒ Object
Exposes a list of icon directories to resolve ‘icon_path`.
78 79 80 |
# File 'lib/libnotify.rb', line 78 def self.icon_dirs API.icon_dirs end |