def insert_ttk_separator(self, orient: str="horizontal", index: int or str="end", **kwargs):
"""Insert a ttk.Separator into the game."""
widget = ttk.Separator(self.text, orient=orient, **kwargs)
self.text.window_create(index, window=widget)
return widget
评论列表
文章目录