'Is there a way to remove the selection indicator in a ttk Notebook tab [duplicate]

I'm using a ttk Notebook in my Python app with the "winnative" theme. With some adaptions made, this looks quite nice to me, but there's this ugly rectangle around the text in the selected tab (see image), which I would like to get rid of. Is there any styling option that removes this or makes it invisible?
enter image description here
Thanks, Gerhard



Solution 1:[1]

I found that my question is a duplicate of this post:
Removing Ttk Notebook Tab Dashed Line
The solution posted there works fine.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 petro4213