added corner_radius to .configure() of CTkButton

This commit is contained in:
Tom Schimansky 2022-07-14 13:57:02 +02:00
parent db4f5ec919
commit 6a43dfd9bf

View File

@ -252,6 +252,10 @@ class CTkButton(CTkBaseClass):
self.image = kwargs.pop("image")
require_redraw = True
if "corner_radius" in kwargs:
self.corner_radius = kwargs.pop("corner_radius")
require_redraw = True
if "compound" in kwargs:
self.compound = kwargs.pop("compound")
require_redraw = True