def __listview_key_press_event(self, widget, event): # if ctrl_mask_check(event): self.__ctrl_check = True if shift_mask_check(event): self.__shift_check = True # key_code = get_keyevent_name(event, False) #print "key_code:", key_code if self.__keymap_dict.has_key(key_code): self.__keymap_dict[key_code]() return True
def __listview_key_release_event(self, widget, event): # if ctrl_mask_check(event): self.__ctrl_check = False if shift_mask_check(event): self.__shift_check = False