Update Uptated-Prototype/PiperTTS-GUI-Test.py

This commit is contained in:
2025-12-20 16:29:40 -08:00
parent b3de240d9a
commit 10842ad3fb

View File

@@ -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("<<ComboboxSelected>>", 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()