I switched to: def AddApplication(self, id): print "hi", id I also removed this: addAppButtonGroup.setId(addCustomAppButton, 0) addAppButtonGroup.setId(addAppleStoreAppButton, 1) addAppButtonGroup.setId(addWebLinkButton, 2) and it still doesn't work.