I am currently working on retrieving the objects selected on the canvas.
Can someone help me with information on how to use 

getStyleProperty(gchar const *key, gchar const *def) {...} ?

I basically need to check if the style is solid fill and then retrieve the color.

I tried these variants: 1.) getStyleProperty("fill","1") = gibes me entire style field in XML editor except the 'fill' keyword written.

2) getStyleProperty("color",NULL) : (null) is returned.
Thanks.

--
Arshdeep Singh
Third Year, Computer Engineering
Delhi Technological University
Ph: +91-9654115614
https://sites.google.com/site/adsingh1729/home