def __action_invoked(self, notification, action): if action == "details": pd = ProgramDialog(self.program) pd.show()