Access Liststore from outside app

Quick question. Is there any way to access a Liststore via a forked program?
ie: for example I have cell completion dependent on a liststore, which has a certain lag (a few seconds ) to populate.
It is run inside a Idle function.

Is it possible to reference this liststore from outside the main program so that I can put the code inside a Glib:IO->add_watch ?

Hope I’m clear enough

No, of course not. Different processes don’t have access to each other’s address space.

If you want to share data across processes you will need some form of IPC mechanism, like DBus, or a simple Unix pipe; you will need to serialise the data in the model on one end of the communication channel, and deserialise it at the other end.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.