From e796a88b75aa9b981e4bcd21db51234dad9c1cff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Sat, 8 Apr 2023 09:02:59 +0200 Subject: [PATCH] typing: Gtk3: Add type hints --- src/gi-stubs/repository/_Gtk3.pyi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gi-stubs/repository/_Gtk3.pyi b/src/gi-stubs/repository/_Gtk3.pyi index 6b390f3b..64436ca8 100644 --- a/src/gi-stubs/repository/_Gtk3.pyi +++ b/src/gi-stubs/repository/_Gtk3.pyi @@ -17561,8 +17561,10 @@ class Paned(Container, Atk.ImplementorIface, Buildable, Orientable): def get_wide_handle(self) -> bool: ... @classmethod def new(cls, orientation: Orientation) -> Paned: ... - def pack1(self, *args, **kwargs): ... # FIXME Method - def pack2(self, *args, **kwargs): ... # FIXME Method + # override + def pack1(self, child: Widget, resize: bool, shrink: bool) -> None: ... + # override + def pack2(self, child: Widget, resize: bool, shrink: bool) -> None: ... def set_position(self, position: int) -> None: ... def set_wide_handle(self, wide: bool) -> None: ...