Added **kw to place/pack/grid_configure #4836 (#4874)

This commit is contained in:
melassa
2021-01-02 15:03:00 +01:00
committed by GitHub
parent 074de8a24e
commit 1cc3282d65

View File

@@ -650,6 +650,7 @@ class Pack:
padx: Union[_ScreenUnits, Tuple[_ScreenUnits, _ScreenUnits]] = ...,
pady: Union[_ScreenUnits, Tuple[_ScreenUnits, _ScreenUnits]] = ...,
in_: Misc = ...,
**kw: Any, # allow keyword argument named 'in', see #4836
) -> None: ...
def pack_forget(self) -> None: ...
def pack_info(self) -> _PackInfo: ... # errors if widget hasn't been packed
@@ -693,6 +694,7 @@ class Place:
relx: float = ...,
rely: float = ...,
in_: Misc = ...,
**kw: Any, # allow keyword argument named 'in', see #4836
) -> None: ...
def place_forget(self) -> None: ...
def place_info(self) -> _PlaceInfo: ...
@@ -732,6 +734,7 @@ class Grid:
pady: Union[_ScreenUnits, Tuple[_ScreenUnits, _ScreenUnits]] = ...,
sticky: str = ..., # consists of letters 'n', 's', 'w', 'e', may contain repeats, may be empty
in_: Misc = ...,
**kw: Any, # allow keyword argument named 'in', see #4836
) -> None: ...
def grid_forget(self) -> None: ...
def grid_remove(self) -> None: ...