On Tue, Jul 8, 2008 at 6:48 PM, paresh mathur <[EMAIL PROTECTED]> wrote: > I know it sounds far fetched, but i was just wondering while playing with > shoes. Is it practically possible to write a whole Window Manager in shoes > or for that matter any other library of ruby.
You need to do a lot of low-level Xlib stuff to write a window manager (at least, if you are talking about a window manager in the X11 sense), and although there are some Ruby bindings for Xlib (http://raa.ruby-lang.org/project/ruby-xlib/, http://raa.ruby-lang.org/project/ruby-xlib-wrap/), they seem kind of stagnant and old. It should be theoretically possible to write a WM using that, although I don't think using Shoes for the graphical stuff would be feasable (I don't think there are methods to embed random X windows into a Shoes app). Might I ask what you are looking for in a window manager that you are wanting to write it yourself, given that there are already hundreds of WM's out there? Ciao, Bram
