def button_browse_path_click(self, event):
print "Event handler 'button_browse_path_click' not implemented!"
dlg = wx.DirDialog(
self,
"Choose a directory:",
style=wx.DD_DEFAULT_STYLE
)
if dlg.ShowModal() == wx.ID_OK:
self.text_ctrl_outpath.Clear()
self.text_ctrl_outpath.SetValue(dlg.GetPath())
print('You selected: %s\n' % dlg.GetPath())
dlg.Destroy()
event.Skip()
# end of class ExtractionDialog
评论列表
文章目录