mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
fixed CTkButton fg_color type hint
This commit is contained in:
parent
1c5c3450f9
commit
92de2c4183
@ -13,8 +13,8 @@ class CTkButton(CTkBaseClass):
|
|||||||
""" button with border, rounded corners, hover effect, image support """
|
""" button with border, rounded corners, hover effect, image support """
|
||||||
|
|
||||||
def __init__(self, *args,
|
def __init__(self, *args,
|
||||||
bg_color: Union[str, Tuple[str, str]] = None,
|
bg_color: Union[str, Tuple[str, str], None] = None,
|
||||||
fg_color: Union[str, Tuple[str, str]] = "default_theme",
|
fg_color: Union[str, Tuple[str, str], None] = "default_theme",
|
||||||
hover_color: Union[str, Tuple[str, str]] = "default_theme",
|
hover_color: Union[str, Tuple[str, str]] = "default_theme",
|
||||||
border_color: Union[str, Tuple[str, str]] = "default_theme",
|
border_color: Union[str, Tuple[str, str]] = "default_theme",
|
||||||
text_color: Union[str, Tuple[str, str]] = "default_theme",
|
text_color: Union[str, Tuple[str, str]] = "default_theme",
|
||||||
|
Loading…
Reference in New Issue
Block a user