Пример #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)
Пример #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)
Пример #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)
Пример #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)