mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Allow str for tkinter.Scrollbar.set() (#10926)
This commit is contained in:
@@ -2888,7 +2888,7 @@ class Scrollbar(Widget):
|
||||
def fraction(self, x: int, y: int) -> float: ...
|
||||
def identify(self, x: int, y: int) -> Literal["arrow1", "arrow2", "slider", "trough1", "trough2", ""]: ...
|
||||
def get(self) -> tuple[float, float, float, float] | tuple[float, float]: ...
|
||||
def set(self, first: float, last: float) -> None: ...
|
||||
def set(self, first: float | str, last: float | str) -> None: ...
|
||||
|
||||
_TextIndex: TypeAlias = _tkinter.Tcl_Obj | str | float | Misc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user