Perhaps it would be useful to put the code that pins tiles into its own library that other apps can benefit from, and use D-Bus (see comment).
I'll have to have a way to allow any app to use it as an API, no matter the programming language, so it would be a good idea to add a command-line interface on top of it. I'll probably just use the Python functions usually, as they'll probably be faster. I may end up having to move the code that saves the list of tiles to its own library (probably the same one that lets apps pin things easily). Or, maybe I should just have a simple library that calls into the more advanced code in libRetiledStartPy. That would be a good idea. I'll have to figure out a way to open RetiledStart and have it scroll down to the bottom of the tiles list to show the newly-pinned tile. That'll probably involve command-line arguments, something like ScrollToPinnedTile.
Or maybe it would involve D-Bus messages. That may be easier to manage, so then we can know when to pin a new tile and show where it was placed.
Oops, pushed the wrong button.