Dynamic menus



I am currently writing an application and I would like to update some
menus dynamically. For example I would like to have a menu called
"Windows" which list all open windows and lets the user change the
current window (similar to the "buffers" menu in Emacs).

As far as I can see, I have to re-create the menu from scratch each
time the list of open windows change. This is ok, but it seems like
it would not work well together with tear off menus.

Is there a way to just delete some menu items from a menu rather than
re-create the whole menu?

/Mikael




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]