예제 #1
0
파일: editor.py 프로젝트: iblaauw/hexeditor
class SelectFileWin(object):
    def __init__(self):
        window = unbedwin(editor.mainwin, 5, 10)
        self.textbox = Textbox(window, "File Path: ")

    def process(self):
        val = self.textbox.gettext()
        f = FileWin(val)
        editor.SetActive(f)
        return True

    def exit(self):
        self.textbox.clear()