Is there a way to access the map coordinates show in qgis status bar? I found only this,
iface.mainWindow().statusBar().currentMessage()
But I know it's not the way.
Or is there any way to capture the coordinates when cursor moves on map?
You can get what you see down there using these methods:
iface.mapCanvas().extent().center()
iface.mapCanvas().extent().toString()