Jean-Marc Lasgouttes wrote:
> Angus> What does the function do?
> 
> The idea is to be able to say whether it is legal to use
> LFUN_DIALOG_SHOW_NEW_INSET at some place. Therefore we need the
> relevant Inset::Code in order to call insetAllowed(code). So we want
> to get the code of the new inset from the name of the lfun (now the
> argument of the lfun). This is very probably something that can/should
> be done in the inset factory (which should have this info) or
> somewhere else.
> 
> Is this clear?

Clear as crystal. Thanks.

-- 
Angus

Reply via email to