pygtk
Python code posted by jgm
created at 28 Aug 20:08
Edit | Back1 2 3 4 5 6 7 |
def __init__(self): self.filew = gtk.FileSelection("Escoja: ") self.filew.connect("destroy", self.destroy) self.filew.ok_button.connect("clicked", self.file_ok_sel) self.filew.cancel_button.connect("clicked",lambda w: self.filew.destroy()) self.filew.set_filename("/home/juan/sol.jpg") self.filew.show() |
363 Bytes in 3 ms with coderay

