Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
X11 bindings for Ruby
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/X11
utils
COPYING
README.md
x11.gemspec

README.md

X11 bindings for Ruby

We need a good set of bindings to interface with X in Ruby, seriously.

This is still in an early stage, so don't expect to do much.

>> X11::Display.new.width
1280

It uses ffi to use Xlib and stuff, long live FFI!

Notes

Keep in mind that when a Display object gets garbage collected the connection to the X server is closed and the data is free'd, so anything related to that display won't work anymore and could cause crashes.

Something went wrong with that request. Please try again.