Пример #1
0
        def Call_for_SQL_Mod():
            global index_selected_int
            SQLManager.delete_seq(index_selected_int)

            side = left_frame_value_side.get()
            color = left_frame_value_color.get()
            title = right_frame_value_title.get()

            if side != "" and color != "" and title != "":
                liste_dynamique_mod.TotalToSql(title, side, color)
                messagebox.showinfo("Info", "Sequence modifiée")
                ref_sequence()
                mod_sequence.destroy()
            else:
                messagebox.showerror(
                    "Erreur de remplissage",
                    "Remplissez bien tous les champs, dont le titre")
Пример #2
0
 def del_sequence():
     global index_selected_int
     SQLManager.delete_seq(index_selected_int)
     ref_sequence()