Project

x11

0.01
No commit activity in last 3 years
No release in over 3 years
Bindings for X11
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

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.