コード例 #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)
コード例 #2
0
ファイル: sublime.py プロジェクト: ArysAung/PortfolioProject
 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)