Esempio n. 1
0
def dlg_file(is_open, init_filename, init_dir, filters):
    res = ct.dlg_file(is_open, init_filename, init_dir, filters)
    if res is None:
        return None
    res = res.splitlines()
    if len(res)==1:
        res=res[0]
    return res
Esempio n. 2
0
def dlg_file(is_open, init_filename, init_dir, filters):
    res = ct.dlg_file(is_open, init_filename, init_dir, filters)
    if res is None:
        return None
    res = res.splitlines()
    if len(res) == 1:
        res = res[0]
    return res
Esempio n. 3
0
def dlg_file(is_open, init_filename, init_dir, filters):
    return ct.dlg_file(is_open, init_filename, init_dir, filters)
Esempio n. 4
0
def dlg_file(is_open, init_filename, init_dir, filters):
    return ct.dlg_file(is_open, init_filename, init_dir, filters)
Esempio n. 5
0
def dlg_file(is_open, init_filename, init_dir, filters, caption=''):
    if not caption:
        caption = 'Open file' if is_open else 'Save file'
    return ct.dlg_file(is_open, init_filename, init_dir, filters, caption)