Example #1
0
def UpdateButton():
    global idTextVar
    global nameTextVar
    global passwordTextVar
    global lastNameTextVar
    global directionTextVar
    global commentText
    DataBaseManager.UpdateTuple(idTextVar.get(), nameTextVar.get(),
                                passwordTextVar.get(), lastNameTextVar.get(),
                                directionTextVar.get(),
                                commentText.get(1.0, "end"))
    messagebox.showinfo(
        title="Tuple Update",
        message="The tuple with id: {}, has been updated".format(
            idTextVar.get()))