2022-10-06 16:53:52 +03:00
|
|
|
import customtkinter
|
|
|
|
|
|
|
|
app = customtkinter.CTk()
|
|
|
|
|
2022-10-10 01:48:08 +03:00
|
|
|
tabview_1 = customtkinter._CTkTabview(app)
|
|
|
|
tabview_1.pack(padx=20, pady=20)
|
|
|
|
tabview_1.add("tab 1")
|
2022-10-13 18:28:33 +03:00
|
|
|
tabview_1.insert(0, "tab 0 g |ß$§ 😀")
|
2022-10-06 16:53:52 +03:00
|
|
|
|
2022-10-10 01:48:08 +03:00
|
|
|
app.update()
|
2022-10-06 16:53:52 +03:00
|
|
|
|
2022-10-13 18:28:33 +03:00
|
|
|
tabview_1._segmented_button._buttons_dict["tab 0 g |ß$§ 😀"]._text_label.configure(padx=0, pady=0, bd=1)
|
|
|
|
tabview_1._segmented_button._buttons_dict["tab 0 g |ß$§ 😀"]._text_label.configure(bg="red")
|
2022-10-06 16:53:52 +03:00
|
|
|
app.mainloop()
|