[GNC-dev] How does a plugin communicate to the main window?
Frank H. Ellenberger
frank.h.ellenberger at gmail.com
Mon Mar 16 19:12:10 EDT 2020
Hi Jean,
Am 16.03.20 um 22:23 schrieb Jean Laroche:
> Guys, I'm trying to see whether it would be possible to make the
> relevant account open after an OFX import, from lots of comments (and my
> own case) it's a normal workflow (import from OFX, then go into account
> to correct target accounts etc).
> Partly that's because it's not easy to correct the account from the OFX
> import window (you have to rely on the gtk account search-by-typing,
> which does not work if the hierarchy isn't completely expanded). So
> people resort to opening the target account as a second step.
You should reconsider your "normal workflow". That way Bayes will never
learn the right associations.
> In any case, I can't find a way to do it, nor can I find an example of
> how it's done. When the OFX plugin is triggered, it's triggered from a
> menu, but I can't figure out a way for something to happen after the
> import is done.
>
> In summary: how can a plugin tell the main window to perform an action?
> A hint or an example of it would be greatly welcome...
>
> Jean
Regards
Frank
More information about the gnucash-devel
mailing list