mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
CTkSlider typing hint: from_ and to can be float
This commit is contained in:
parent
d719950f80
commit
19360bd123
@ -30,8 +30,8 @@ class CTkSlider(CTkBaseClass):
|
||||
button_color: Optional[Union[str, Tuple[str, str]]] = None,
|
||||
button_hover_color: Optional[Union[str, Tuple[str, str]]] = None,
|
||||
|
||||
from_: int = 0,
|
||||
to: int = 1,
|
||||
from_: int | float = 0,
|
||||
to: int | float = 1,
|
||||
state: str = "normal",
|
||||
number_of_steps: Union[int, None] = None,
|
||||
hover: bool = True,
|
||||
|
Loading…
Reference in New Issue
Block a user