Does anyone have a very simple example of using a find dialog with a text component in wxpython?
Thanks in advance.
Does anyone have a very simple example of using a find dialog with a text component in wxpython?
Thanks in advance.
Use the wiki
import wx
class MyDialog(wx.Dialog):
def __init__(self, parent, id, title):
wx.Dialog.__init__(self, parent, id, title)
class MyApp(wx.App):
def OnInit(self):
dia = MyDialog(None, -1, "simpledialog.py")
dia.ShowModal()
dia.Destroy()
return True
app = MyApp(0)
app.MainLoop()
You could check stani's python editor code. The GUI is wxpython and has a plugin for finding files containing a given text at different deepness of the directroy tree.
You could get a good hint from there. In any case it is not an wx.Dialog.