From 10842ad3fbe926df3f3fb69daf85f64002da222a Mon Sep 17 00:00:00 2001 From: "DHR.Mike" Date: Sat, 20 Dec 2025 16:29:40 -0800 Subject: [PATCH] Update Uptated-Prototype/PiperTTS-GUI-Test.py --- Uptated-Prototype/PiperTTS-GUI-Test.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Uptated-Prototype/PiperTTS-GUI-Test.py b/Uptated-Prototype/PiperTTS-GUI-Test.py index c1fa99f..96e10be 100644 --- a/Uptated-Prototype/PiperTTS-GUI-Test.py +++ b/Uptated-Prototype/PiperTTS-GUI-Test.py @@ -298,7 +298,7 @@ C_Button_Next = Button(Controls_Box_Frame, text="⏭", pady=5, padx=5, command=P # Creating a Test Text Label My_Test_Label = Label(Controls_Box_Frame, text="Test Text?", anchor = "center", justify = "center") -My_Test_Label.grid(row=0, column=0, columnspan=4) +My_Test_Label.grid(row=0, column=0, columnspan=5) # try: Test_var = StringVar(value = "0") @@ -345,7 +345,7 @@ except Exception as e: print(e, type(e)) print("An exception occurred - trying to count like dracula.") ''' -My_Test_Label2.grid(row=2, column=0, columnspan=4) +My_Test_Label2.grid(row=2, column=0, columnspan=5) # Aligning Buttons to grid #C_Button_Clipboard.grid(row=1, column=4) @@ -357,7 +357,7 @@ C_Button_Next.grid(row=1, column=4) # Prefrences stuff #GUI_Combobox_1_Label = Label(Prefrences_Frame, text="Language?") -GUI_Combobox_1 = ttk.Combobox(Prefrences_Frame, textvariable = mylist_String) +GUI_Combobox_1 = ttk.Combobox(Prefrences_Frame, state = "readonly", textvariable = mylist_String) # GUI_Combobox_1["values"] = mylist @@ -366,10 +366,12 @@ GUI_Combobox_1.bind("<>", lambda event: Select_Voice_For_Langu # #GUI_Combobox_2_Label = Label(Prefrences_Frame, text="Voice?") -GUI_Combobox_2 = ttk.Combobox(Prefrences_Frame, textvariable = mylist_String_Two) +GUI_Combobox_2 = ttk.Combobox(Prefrences_Frame, state = "readonly", textvariable = mylist_String_Two) #GUI_Combobox_3_Label = Label(Prefrences_Frame, text="Quality?") -GUI_Combobox_3 = ttk.Combobox(Prefrences_Frame, textvariable = mylist_String_Three) +GUI_Combobox_3 = ttk.Combobox(Prefrences_Frame, state = "readonly", textvariable = mylist_String_Three) + +GUI_Combobox_4 = ttk.Combobox(Prefrences_Frame, state = "readonly", text = "Speaker?") GUI_Spinbox_1_Label = Label(Prefrences_Frame, text="volume?") GUI_Spinbox_1 = ttk.Spinbox(Prefrences_Frame, from_ = 1, to = 100) @@ -387,6 +389,7 @@ GUI_Combobox_1.pack(side = LEFT) GUI_Combobox_2.pack(side = LEFT) #GUI_Combobox_3_Label.pack(side = LEFT) GUI_Combobox_3.pack(side = LEFT) +GUI_Combobox_4.pack(side = LEFT) GUI_Spinbox_1_Label.pack() GUI_Spinbox_1.pack()