Esempio n. 1
0
def doit_func():
    global counter
    counter = counter + 1
    if cfg_dict['type'] == 'INFER':
        cfg_dict['type'] = dmTxt2Html.infer_type(cfg_dict['source'])
    dmTxt2Html.main(cfg_dict)
    return CONTINUE
Esempio n. 2
0
def update_specs():
    global conversion
    if conversion.get() in ('INFER', ''):
        conversion.set(dmTxt2Html.infer_type(source.get()))

    Label(info_line,
          text="Next",
          width=5,
          relief=Tkinter.GROOVE,
          background="gray90").grid(row=0, column=0)
    Label(info_line,
          text=source.get(),
          width=20,
          relief=Tkinter.GROOVE,
          background="gray90").grid(row=0, column=1)
    Label(info_line,
          text=target.get(),
          width=20,
          relief=Tkinter.GROOVE,
          background="gray90").grid(row=0, column=2)
    Label(info_line,
          text=conversion.get(),
          width=20,
          relief=Tkinter.GROOVE,
          background="gray90").grid(row=0, column=3)
    Label(info_line,
          text=proxy_mode.get(),
          width=20,
          relief=Tkinter.GROOVE,
          background="gray90").grid(row=0, column=4)
Esempio n. 3
0
def doit_func(): 
    global counter
    counter = counter+1
    if cfg_dict['type'] == 'INFER':
        cfg_dict['type'] = dmTxt2Html.infer_type(cfg_dict['source'])
    dmTxt2Html.main(cfg_dict)
    return CONTINUE
Esempio n. 4
0
def update_specs():
    global conversion
    if conversion.get() in ('INFER', ''):
        conversion.set(dmTxt2Html.infer_type(source.get()))

    Label(info_line, text="Next", width=5,
          relief=Tkinter.GROOVE, background="gray90").grid(row=0, column=0)
    Label(info_line, text=source.get(), width=20,
          relief=Tkinter.GROOVE, background="gray90").grid(row=0, column=1)
    Label(info_line, text=target.get(), width=20,
          relief=Tkinter.GROOVE, background="gray90").grid(row=0, column=2)
    Label(info_line, text=conversion.get(), width=20,
          relief=Tkinter.GROOVE, background="gray90").grid(row=0, column=3)
    Label(info_line, text=proxy_mode.get(), width=20,
          relief=Tkinter.GROOVE, background="gray90").grid(row=0, column=4)