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)
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)