Jan Vroonhof <vroonhof(a)math.ethz.ch> writes:
wmperry(a)aventail.com (William M. Perry) writes:
> The X specific code just creates the widget_value list... does lwlib do
> something smart like delay the creation of the menu until the next
> redisplay?
Doesn't the general menubar code do that?. I though the menubar
updating was in redisplay-frame and the menu code sets a flag whenever
the menus (might) have changed.
Here is a test case:
(defun flubber ()
(interactive)
(find-file "~/.emacs")
(find-file "/tmp/ldap.c")
(while t
(save-window-excursion
(save-excursion
(set-buffer "ldap.c")
(sit-for 0)
(set-buffer ".emacs")))))
With XEmacs/GTK the menubar basically disappears while this is running,
and f->menubar_changed is _always_ 1. But under stock XEmacs 21.1.10, the
menubar does not appear to update at all.
-Bill P.