

def popup(self, title, callfn, initialdir=None, filename=None):
    'Let user select and load file.'
    self.cb = callfn
    self.filew.set_title(title)
    if initialdir:
        self.filew.set_current_folder(initialdir)
    if callfn:
        self.filew.set_current_name(filename)
    self.filew.show()

dataset/ETHPy150Open ejeschke/ginga/ginga/gtkw/GtkHelp.py FileSelection.popup/VarMisuse@55/79 `filename`->`callfn`