mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
tkinter: allow index to be "end" in Treeview.move (#13454)
This commit is contained in:
@@ -1100,7 +1100,7 @@ class Treeview(Widget, tkinter.XView, tkinter.YView):
|
||||
open: bool = ...,
|
||||
tags: str | list[str] | tuple[str, ...] = ...,
|
||||
) -> None: ...
|
||||
def move(self, item: str | int, parent: str, index: int) -> None: ...
|
||||
def move(self, item: str | int, parent: str, index: int | Literal["end"]) -> None: ...
|
||||
reattach = move
|
||||
def next(self, item: str | int) -> str: ... # returning empty string means last item
|
||||
def parent(self, item: str | int) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user