Пример #1
0
 def select_dict(self, *a):
     mdict = daw_customs.value_active(self.btn_dicts)
     if self.btn_letters.get_active() != -1: 
         letter = daw_customs.text_active(self.btn_letters).decode('utf-8')
         f_letter = letter[0]
         self.show_index(f_letter, mdict)
Пример #2
0
 def select_letter(self, *a):
     letter = daw_customs.text_active(self.btn_letters).decode('utf-8')
     f_letter = letter[0]
     mdict = daw_customs.value_active(self.btn_dicts)
     self.show_index(f_letter, mdict)