Keybinder
This provides Ruby FFI bindings for the Gtk Keybinder-3.0 library.
RubyGems: https://rubygems.org/gems/keybinder
Github: https://github.com/johnlane/keybinder
THIS VERSION IS A NON-FUNCTIONAL PLACEHOLDER!
Installation
Add this line to your application's Gemfile:
gem 'keybinder'
And then execute:
$ bundle
Or install it yourself as:
$ gem install keybinder
Then
require 'keybinder'
The libkeybinder-3.0.so
library must be installed in the system's library
search path (typically in the /usr/lib
directory). It is not included in
this package. See its documentation.
Tests
A very limited test is provided as test_keybinder.rb
. To run the test:
$ rake
License
MIT License: see the LICENSE.txt
file.
The libkeybinder
library is licensed as described in its COPYING file.
Contributing
- Fork it ( https://github.com/johnlane/keybinder )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request