Right now, I am trying to make stylophone application in Python using npyscreen. What I'm trying to achieve, is to detect whenever a button is selected but not pressed. If you don't quite understand my goal, maybe this example will describe it more.
class Button(npyscreen.ButtonPress):
def whenPressed(self):
#Some code...
def whenSelected(self): #Thats exactly what I am trying to do
#Some other code...
I tried searching for a similar/same problem, but I didn't find anything, that would help me.
Any ideas?