コード例 #1
0
ファイル: gui.py プロジェクト: donkaban/pywiki-bot
 def find_event(self, event=None):
     if not self.tag_ranges("sel"):
         found = self.tag_ranges("found")
         if found:
             self.tag_add("sel", found[0], found[1])
         else:
             self.tag_add("sel", "1.0", "1.0+1c")
     SearchDialog.find(self)
     return "break"
コード例 #2
0
ファイル: gui.py プロジェクト: moleculea/ess
 def find_again_event(self, event=None):
     SearchDialog.find_again(self)
     return "break"
コード例 #3
0
 def find_selection_event(self, event=None):
     """Perform find selection operation."""
     SearchDialog.find_selection(self)
     return "break"
コード例 #4
0
 def find_again_event(self, event=None):
     """Perform find again operation."""
     SearchDialog.find_again(self)
     return "break"
コード例 #5
0
ファイル: gui.py プロジェクト: vmorrisonwood/pywikia
 def find_selection_event(self, event=None):
     SearchDialog.find_selection(self)
     return "break"
コード例 #6
0
ファイル: gui.py プロジェクト: donkaban/pywiki-bot
 def find_selection_event(self, event=None):
     SearchDialog.find_selection(self)
     return "break"
コード例 #7
0
ファイル: gui.py プロジェクト: donkaban/pywiki-bot
 def find_again_event(self, event=None):
     SearchDialog.find_again(self)
     return "break"
コード例 #8
0
 def find_selection_event(self, event):
     SearchDialog.find_selection(self.text)
     return 'break'
コード例 #9
0
 def find_again_event(self, event):
     SearchDialog.find_again(self.text)
     return 'break'
コード例 #10
0
 def setUp(self):
     self.engine = se.SearchEngine(self.root)
     self.dialog = sd.SearchDialog(self.root, self.engine)
     self.text = tk.Text(self.root)
     self.text.insert('1.0', 'Hello World!')