def insert_ttk_panedwindow(self, orient: tk.HORIZONTAL or tk.VERTICAL or str=None, width: int=None, height: int=None, index: int or str="end", *args, **kwargs):
"""Insert a ttk.PanedWindow into the game."""
widget = ttk.PanedWindow(self.text, orient=orient, width=width, height=height, **kwargs)
self.text.window_create(index, window=widget)
return widget
评论列表
文章目录