Esempio n. 1
0
 def set_parent(self, parent):
     InputWidget.set_parent(self, parent)
     if parent:
         keytable.activate("bool-input", self, input_window=self.win)
     else:
         keytable.deactivate("bool-input", self)
Esempio n. 2
0
 def set_parent(self, parent):
     InputWidget.set_parent(self, parent)
     if parent:
         keytable.activate("choice-input", self, self.keypressed, self.win)
     else:
         keytable.deactivate("choice-input", self)
Esempio n. 3
0
 def set_parent(self,parent):
     InputWidget.set_parent(self,parent)
     if parent:
         keytable.activate("choice-input",self,self.keypressed,self.win)
     else:
         keytable.deactivate("choice-input",self)
Esempio n. 4
0
 def set_parent(self,parent):
     InputWidget.set_parent(self,parent)
     if parent:
         keytable.activate("list-input",self,input_window=self.win)
     else:
         keytable.deactivate("list-input",self)