Andy Piper <andy(a)xemacs.org> writes:
At 06:57 PM 5/7/00 -0500, William M. Perry wrote:
>What if... instead of writing menubar-gtk.c and toolbar-gtk.c, I just
>exported the GtkWidget that is the XEmacs frame to lisp, and wrote all the
>menu and toolbar code in lisp?
As long as the APIs remain identical on all platforms I can't see a
problem with this. Unless it means you are always calling lisp for
redisplay....
I don't think it would mean calling lisp from redisplay. Menus shouldn't
ever be popped up during redisplay, right? Otherwise we wouldn't be able
to deal with :filter :included :config and friends.
The toolbars shouldn't either (I think)... I'll have to give that one some
thought.
-Bill P.