Beispiel #1
0
 def FolderChoice(self):
     dlg = wx.DirDialog(self,
                        self.request_description,
                        style=wx.DD_DEFAULT_STYLE | wx.DD_NEW_DIR_BUTTON)
     addr = self.FindWindowById(wdr.ID_ADDRESS)
     dlg.SetPath(awu.ExpandPath(addr.GetValue()))
     if dlg.ShowModal() == wx.ID_OK:
         addr.SetValue(awu.ReducePath(dlg.GetPath()))
     dlg.Destroy()
Beispiel #2
0
def AppendPathAlt(x):
    global pathalt
    pathalt.append(awu.ExpandPath(x))
Beispiel #3
0
def SetPathSub(x):
    global pathsub
    pathsub = awu.ExpandPath(x)
Beispiel #4
0
def SetPathImg(x):
    global pathimg
    pathimg = awu.ExpandPath(x)
Beispiel #5
0
def SetPathPdf(x):
    global pathpdf
    pathpdf = awu.ExpandPath(x)
Beispiel #6
0
def SetPathRpt(x):
    global pathrpt
    pathrpt = awu.ExpandPath(x)