@agama - another way if the import is an issue is that your InterfaceAction class has a property on it called .interface_action_base_plugin which refers to that class.
So either:
- you are in the interface action class, in which case you can use:
Code:
self.interface_action_base_plugin.version
- you are in some other class. You can either pass through your plugin action instance to it to do the above trick, or get the interface action by passing the "self.gui" to that class and then:
Code:
plugin_action = gui.iactions['My Plugin Name']
plugin_action.interface_action_base_plugin.version