wxWidgets/wxPython/samples/wxPIA_book/Chapter-09/image_box.py
2006-11-01 22:36:23 +00:00

12 lines
274 B
Python

import wx
import wx.lib.imagebrowser as imagebrowser
if __name__ == "__main__":
app = wx.PySimpleApp()
dialog = imagebrowser.ImageDialog(None)
if dialog.ShowModal() == wx.ID_OK:
print "You Selected File: " + dialog.GetFile()
dialog.Destroy()