Comment 35 for bug 334344

That gives some examples on how to use libindicate in a couple of languages and has some pointers (Disclaimer: I didn't try it myself, just googled it to help Michael).