Re: About the menubar...


Subject: Re: About the menubar...
sterwill@abisource.com
Date: Tue Feb 08 2000 - 10:41:49 CST


Joaquín Cuenca Abela wrote:
> I'm working a bit to translate the menu bar items to gnome menu bar
> items (i.e., the same labels, but with a nice icon when possible).
> And... I'm just wondering what's the purpose of the
> EV_UnixMenu::_refreshMenu?

_refreshMenu runs through all the menu items in the GTK menu and sets
the ones that can take state (check button menu items) or ones that
change labels/bindings (like the Window menu items, which change every
time a new frame is opened). It's kind of a brute-force approach to
menu synchronization, since I believe it's called on "map" of every
top-level menu item (so it's run before the menu is drawn, every time
it's clicked).

-- 
Shaw Terwilliger



This archive was generated by hypermail 2b25 : Tue Feb 08 2000 - 10:41:50 CST