Bo Peng wrote:
This mechanism exists in 1.6 for bindings and menus. It would be nice
to know how well it works in practice, though. What is still missing
is icons.
What would you use to specify an ICON? I guess InsetInfo::INFO_ICON lfunc?
I am in the process of adding INFO_SHORTCUTS, adding INFO_ICON should
be straightforward.
Side note: this is one of my older todo list item but Menu and Toolbar
items should someday be unified. There is an Action class already that
is used indifferently by Menus and Toolbars, we should generalize this
concept and provified an unified interface to LyX Action. When this is
done, instead of INFO_MENU, INFO_ICON and INFO_SHORTCUTS we would have
one unique INFO_ACTION that will provides all these informations.
Closing the parenthesis...
Abdel.