Ejemplo n.º 1
0
 def show_popup_menu(self, items, on_select, flags=0):
     """
     on_select is called when the the quick panel is finished, and should accept a
     single integer, specifying which item was selected, or -1 for none
     """
     return sublime_api.view_show_popup_table(self.view_id, items,
                                              on_select, flags, -1)
Ejemplo n.º 2
0
 def show_popup_menu(self, items, on_select, flags = 0):
     """
     on_select is called when the the quick panel is finished, and should accept a
     single integer, specifying which item was selected, or -1 for none
     """
     return sublime_api.view_show_popup_table(self.view_id, items,
         on_select, flags, -1)