# Window events using RubyX11?

**URL:** <https://www.ruby-forum.com/t/window-events-using-rubyx11/108733>\
**Category:** Ruby\
**Created:** [July 6, 2007, 12:55pm UTC](https://www.ruby-forum.com/t/window-events-using-rubyx11/108733 "2007-07-06T12:55:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Richard\_Midwinter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/bc8723/32.png) [@Richard\_Midwinter](https://www.ruby-forum.com/u/Richard_Midwinter)\
**Post date:** [July 6, 2007, 12:55pm UTC](https://www.ruby-forum.com/t/window-events-using-rubyx11/108733/1 "2007-07-06T12:55:28Z")

</div>

Does anyone know how to (or even if you can) capture window events such  
as minimize, restore using RubyX11 (or similar)?

Thanks

---

<div class="post-metadata">

**Author:** ![Richard\_Midwinter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/bc8723/32.png) [@Richard\_Midwinter](https://www.ruby-forum.com/u/Richard_Midwinter)\
**Post date:** [July 6, 2007, 1:07pm UTC](https://www.ruby-forum.com/t/window-events-using-rubyx11/108733/2 "2007-07-06T13:07:37Z")

</div>

Dear Richard Midwinter,

I wish you best compliments of the season. I got your contact from a  
reliabel source which described you as a honest and trust worthy person  
in business . After considerabel thoughts, i decided to contact you  
immediately for personal help.

I want you to assist me to take accross to europe. the total sum of  
US$28millions dollars cash. for proper investments. this funds was given  
to me by the faction heads , because of my position in the camp. to buy  
military hard wares from UKRAINE .On reaching conakry republique of  
guinee i decided to divert the funds for my personal use since 1998.

Now i want to import consumer goods into west african sub\_region , buy  
company shares and residential bulding in europe. you will retain 15% of  
the total sum, while 5% will be set aside for expenditure. no involement  
of local autthorities, strictlyconfidential between me and you only.

THANKS FOR YOUR CO- OPERATIONS.  
BEST REGARDS  
SOULEYMANE TOUKARA

---

<div class="post-metadata">

**Author:** ![Richard\_Midwinter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/bc8723/32.png) [@Richard\_Midwinter](https://www.ruby-forum.com/u/Richard_Midwinter)\
**Post date:** [July 7, 2007, 3:55pm UTC](https://www.ruby-forum.com/t/window-events-using-rubyx11/108733/3 "2007-07-07T15:55:44Z")

</div>

> Does anyone know how to (or even if you can) capture window events such  
> as minimize, restore using RubyX11 (or similar)?

All X11 events can (and have to) be captured by RubyX11,  
because it’s an implementation of a X11 client.  
I don’t think it will be useful if you need to use some other X11  
client.

Besides, RubyX11 has been abandoned by Matju (its author)  
and it’s really dated code (written for Ruby 1.6.4 if I remember well)

If all you need is to integrate with existing clients and servers,  
you may be better off having a look at some Xlib bindings.

(though, acknowledgely… revamping RubyX11 is one of those  
pending tasks that I wish someone would take over one  
of these days !!)
