RE: question on menubar implementation
"François Revol" <[email protected]> Thu, 10 Feb 2005 08:58:39 +0100 CET
| Newsgroups | gmane.emacs.xemacs.design |
|---|---|
| Message-ID | <4714162027-BeMail@patrick> |
> > Hi, there. > > Didn't get many replies *g* to my last post > > (=20 > > http://list-archive.xemacs.org/xemacs-design/200412/msg00062.h > > tml ), so I'll post the question separately, maybe it won't=20 > > be filtered out on subj=3D.*BeOS.* :p > >=20 > > The menubar implementations I have seen so far all seem to=20 > > construct menu trees on the fly (=3D submenus are created when=20 > > an item is selected). It would be simpler for me if I could=20 > > generate all the menu at once, and update it in case it=20 > > changes. Is this at all possible ? >=20 > It would be much better if you did it the same way that all the current > window systems do it. I suppose you *could* generate the entire menu i= n > advance, but you'd still have to regenerate it when a submenu is select= ed > because that's what the lisp code (the menu filter) expects. Ok, it's doable, but is a bit tricky, as I'll have to wait from the menu's wi= ndow thread for the main thread to fill it before returning the submenu... Now, is that thing supposed to change in the near future as Stephen said = or can I start on it ? Fran=E7ois.