Beispiel #1
0
 def show_box_show_tip(self, data_dict):
     msg_id, msg_data = Util.get_msg_id_data_dict(data_dict)
     if msg_id is not None:
         index, tip = Util.get_index_tip_msg_data(msg_data)
         if index is not None:
             pass
     pass
Beispiel #2
0
 def __show_box_callback(self, data_dict):
     """
     data_dict =
     {
         'msg_id' : 'ui_manager_show_box',
         'msg_data' : {
             'index' : 1 ,
             'tip' : 'this a tip for show box'
         }
     }
     """
     msg_id, msg_data = Util.get_msg_id_data_dict(data_dict)
     if msg_id is not None:
         index, tip = Util.get_index_tip_msg_data(msg_data)
         if index is not None:
             self.__show_box(index, tip)