Ejemplo n.º 1
0
 def findInLog(self, event):
     dlg = wx.FindReplaceDialog(
         self, self.findData, "Find in Log",
         wx.FR_NOUPDOWN | wx.FR_NOMATCHCASE | wx.FR_NOWHOLEWORD)
     self.BindFindEvents(dlg)
     dlg.Show(True)
Ejemplo n.º 2
0
	def doFind(self, _):
		dlg = wx.FindReplaceDialog(self, self.findData, "Find")
		self.BindFindEvents(dlg)
		#dlg.SetFocus()
		dlg.Show(True)
Ejemplo n.º 3
0
	def doFindReplace(self, _):
		dlg = wx.FindReplaceDialog(self, self.findData, "Find/Replace", wx.FR_REPLACEDIALOG)
		self.BindFindEvents(dlg)
		#dlg.SetFocus()
		dlg.Show(True)
Ejemplo n.º 4
0
 def CreateFindDialog(self):
     data = wx.FindReplaceData()
     self.oldFindDialog = self.newFindDialog
     self.newFindDialog = wx.FindReplaceDialog(self, data, "Find")
     self.newFindDialog.data = data
     self.foundTextPos = 0
Ejemplo n.º 5
0
 def onFindOpen(self, event):
     self.dlg = wx.FindReplaceDialog(
         self, self.findData, "Find and Replace", wx.FR_REPLACEDIALOG
         | wx.FR_NOUPDOWN | wx.FR_NOMATCHCASE | wx.FR_NOWHOLEWORD)
     self.dlg.Show()
 def OnShowFindReplace(self, evt):
     self.DisableButtons()
     dlg = wx.FindReplaceDialog(self, self.findData, "Find & Replace",
                                wx.FR_REPLACEDIALOG)
     self.BindFindEvents(dlg)
     dlg.Show(True)
 def OnShowFind(self, evt):
     self.DisableButtons()
     dlg = wx.FindReplaceDialog(self, self.findData, "Find")
     self.BindFindEvents(dlg)
     dlg.Show(True)
Ejemplo n.º 8
0
 def ShowFindReplaceDlg(self):
     data = wx.FindReplaceData()
     dlg = wx.FindReplaceDialog(self, data, \
      "Find & Replace", wx.FR_REPLACEDIALOG)
     dlg.data = data  # save a reference to it...
     dlg.Show(True)
Ejemplo n.º 9
0
 def ShowFindDlg(self):
     data = wx.FindReplaceData()
     dlg = wx.FindReplaceDialog(self, data, "Find")
     dlg.data = data  # save a reference to it...
     dlg.Show(True)
Ejemplo n.º 10
0
 def FindText(self, ev):
     self.frdialog = wx.FindReplaceDialog(self, self.frdata)
     self.frdialog.Bind(wx.EVT_FIND, self.OnFind)
     self.frdialog.Bind(wx.EVT_FIND_NEXT, self.OnFind)
     self.frdialog.Show()