Window events using RubyX11?

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

Thanks

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

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 !!)