def CreateButton(): global nameTextVar global passwordTextVar global lastNameTextVar global directionTextVar global commentText DataBaseManager.InsertTuple(nameTextVar.get(), passwordTextVar.get(), lastNameTextVar.get(), directionTextVar.get(), commentText.get(1.0, "end")) messagebox.showinfo(title="Tuple Inserted", message="The tuple has been inserted")