>> I am in the process of adding INFO_SHORTCUTS, adding INFO_ICON should
>> be straightforward.
>
> Except that the icon shall be displayed as a graphics, a bit like what
> InsetGraphics does, but without the delayed loading (especially if we
> can get the QImage from the toolbar code).

We are inserting something to the LyX document, so InsetGraphics has
to be used. What we need to do is insert
/usr/local/share/lyx/images/blah.png (platform dependent) when
InsetInfo::update() is called.

Bo

Reply via email to