nanogui: nano-X, events
Subject:
Re: [nanogui] nano-X, events
From:
Gary James ####@####.####
Date:
20 Nov 2001 05:40:44 -0000
Message-Id: <20011120004043.C1001@pc.twcny.rr.com>
On Mon, 19 Nov 2001 13:08:50 Greg Haerr wrote:
> : another question: If I create more than one window and define some
> events
> for
> : them, will they be posted in the same event- Handler? If yes (I read it
> this
> : way), how can I decide to which window that event belongs? Have I
> remember
> : myself, which one is aktiv?
>
> The window id is stuck in the event message. I suggest you take
> a copy of include/nano-X.h, print it, and study the structures for
> each event. All events for selected windows are sent to the process(s)
> that GrSelectEvent'd them.
Hi Olaf,
Greg has a point, you need to take a look through "include/nano-X.h" to get
a good idea how things fit together. If it helps you any, I've tried to
organize and add some descriptions to the stuff that you will find in
"include/nano-X.h". Here is a link to my API reference for nano-X:
http://home.twcny.rr.com/embedded/microwin/nxapi/index.html
The general event structure is described here:
http://home.twcny.rr.com/embedded/microwin/nxapi/nxstruct_GR_EVENT.html
The question that you were asking a little while ago
(GR_WM_PROPS_NOAUTORESIZE) is covered here:
http://home.twcny.rr.com/embedded/microwin/nxapi/nxstruct_GR_WM_PROPS.html
--
Gary James
####@####.####
http://home.twcny.rr.com/embedded/