In my QGIS python plugin I use self.iface.actionSelectRectangle().trigger() to select features. I also have a button which changes the attributes of the selected features.
Is there a way instead of using a button to change the attributes, to call the method automatically after a selection was made using self.iface.actionSelectRectangle().trigger().