我在网上搜索过但没有回应。我使用了一个带有 indicatoron=FALSE 的 tkinter Checkbutton,这让它看起来只是一个按钮。
我已经设置了一个光标,但我想知道是否可以为复选按钮的开/关状态设置 2 个不同的光标。
例如:
test = tk.Checkbutton(self.frame, text=self.name, indicatoron=False, selectcolor="green", background="red", variable=self.varbutton, command=self.launchsound, cursor="plus") test.pack()
红颜莎娜
相关分类