I\'m working on a subclass for ttk.frame from Tkinter that displays a pygame window. First I coded everything in IDLE and it worked. Here\'s my code:
from tkinter