How menu works on an X app ?

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

2 posts / 0 new
Last post
How menu works on an X app ?

Submitted by Anonymous on Mon, 12/18/2000 - 09:05. Developers
I want to know how the menu working in handled using the X lib functions alone, not by using the Motif support. I understand that it is achieved using active grabs of the pointer on the window. Could some one point out code that does this?

Thanks in advance.
Subramanian

ICS_support

Well, it isn`t all that easy, because Xt, which the Motif code in part uses, is good about redirecting the events to the appropriate windows. I suppose that you could look in the older xemacs code, which I believe both was pre-Xt and which used menus, or in O`Reilly Volume 1.