Create list with selectList,
    and then return seleced string and index

    title: Window name
    mag: Label of the list

    return (seldctedItem, selectedindex)

def GetListSelect(selectList, title="Select", msg=""):
    """
    Create list with selectList,
    and then return seleced string and index

    title: Window name
    mag: Label of the list

    return (seldctedItem, selectedindex)

    """
    root = tkinter.Tk()
    root.title(title)

    label = tkinter.Label(root, text=msg)
    label.pack()

    listbox = tkinter.Listbox(root)
    for i in selectList:
        listbox.insert(tkinter.END, i)
    listbox.pack()

    tkinter.Button(root, text="OK", fg="black", command=root.quit).pack()
    root.mainloop()

    selected = listbox.get(listbox.curselection())
    print(selected + " is selected")
    root.destroy()
    return (selected, selectList.index(selected))