[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CLUE and CLX
CLX programmers actually get handed these ids in
event-handler routines.
Yes, there were efficiency arguments here, perhaps inconsequential ones.
They don't tell you what to do with them thought
(like how to lookup the associated xlib:window object).
The CLX doc does tell you to use make-window to perform this mapping.
Just to set the record straight, CLX does NOT use resource ID's in
event-handler routines. Event handlers get passed objects, which are
even interned in a hash table to reduce consing. The alpha version of
CLX passed resource ID's, but it was changed in Sept. 87 to pass objects
(structures). CLX does not export make-window, because there's never a
need to use it. It looks like the documentation needs cleaning up.