[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Select a File...




I think you want the file picker from here:
http://www.imitationpickles.org/pgu/docs/gui.dialog.html

Laura
OK, but "gui.FileDialog()" gives

Traceback (most recent call last):
  File "C:\dev\Python24\Projects\Pygame Programs\Music Player.py", line 19, in ?
    if __name__ == "__main__": main()
  File "C:\dev\Python24\Projects\Pygame Programs\Music Player.py", line 12, in main
    gui.FileDialog()
  File "C:\dev\Python24\Lib\site-packages\pgu\gui\dialog.py", line 82, in __init__
    self.dir_img = basic.Image(app.App.app.theme.get(cls1+'.folder', '', 'image'))
AttributeError: class App has no attribute 'app'