nanogui@linuxhacker.org

nanogui@linuxhacker.org


Subject: Re: How to translate event.xany.window to Nano-X
From: Greg Haerr
Date: Sat, 9 Dec 2000 11:25:45 -0700

: Hi, I want to port some X11 program to Nano-X, but I don't know those
differences between X11 and Nano-X, for example, as the tittle, how to translate
(XEvent)event.xany.window to Nano-X. Thanks.

Your best bet is a bit of study.  Take a look at microwin/src/include/nano-X.h
and study the EVENT structures.  The wid member for instance
is similar to the .window member.  You'll find that Nano-X and X11
are very similar in concept, except for the color model.

Regards,

Greg




nanogui@linuxhacker.org