>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:

Angus> When the loading status of a graphics file changes, I need to
Angus> inform LyX. I do this with:

Angus> LyXFunc::dispatch(LFUN_GRAPHICS_CHANGED_STATE, argument);

Angus> where argument is a list of insets as a space-separated string.
Angus> I split the string up and convert each substring back to a
Angus> pointer with:

Why can't you signal the insets directly? It looks like a case where
the lyxfunc think is really not appropriate... It looks like you could
just call some InsetGraphics::fileChanged method directly.

JMarc

Reply via email to