mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
added checkmark_color and text_color_disabled to CTkCheckbox configure method #1586
This commit is contained in:
parent
72157e8d26
commit
c6b16ce815
@ -265,12 +265,20 @@ class CTkCheckBox(CTkBaseClass):
|
|||||||
self._hover_color = self._check_color_type(kwargs.pop("hover_color"))
|
self._hover_color = self._check_color_type(kwargs.pop("hover_color"))
|
||||||
require_redraw = True
|
require_redraw = True
|
||||||
|
|
||||||
|
if "border_color" in kwargs:
|
||||||
|
self._border_color = self._check_color_type(kwargs.pop("border_color"))
|
||||||
|
require_redraw = True
|
||||||
|
|
||||||
|
if "checkmark_color" in kwargs:
|
||||||
|
self._checkmark_color = self._check_color_type(kwargs.pop("checkmark_color"))
|
||||||
|
require_redraw = True
|
||||||
|
|
||||||
if "text_color" in kwargs:
|
if "text_color" in kwargs:
|
||||||
self._text_color = self._check_color_type(kwargs.pop("text_color"))
|
self._text_color = self._check_color_type(kwargs.pop("text_color"))
|
||||||
require_redraw = True
|
require_redraw = True
|
||||||
|
|
||||||
if "border_color" in kwargs:
|
if "text_color_disabled" in kwargs:
|
||||||
self._border_color = self._check_color_type(kwargs.pop("border_color"))
|
self._text_color_disabled = self._check_color_type(kwargs.pop("text_color_disabled"))
|
||||||
require_redraw = True
|
require_redraw = True
|
||||||
|
|
||||||
if "hover" in kwargs:
|
if "hover" in kwargs:
|
||||||
|
Loading…
Reference in New Issue
Block a user