From 595e0436136dec77de558480fc330a2bf7684e5b Mon Sep 17 00:00:00 2001 From: fgosdrauka Date: Wed, 5 Apr 2023 13:33:49 +0200 Subject: [PATCH] no comment --- customtkinter/windows/widgets/ctk_tabview.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/customtkinter/windows/widgets/ctk_tabview.py b/customtkinter/windows/widgets/ctk_tabview.py index 40321b4..998e4c5 100644 --- a/customtkinter/windows/widgets/ctk_tabview.py +++ b/customtkinter/windows/widgets/ctk_tabview.py @@ -373,7 +373,7 @@ class CTkTabview(CTkBaseClass): else: return self._name_list[index] - def index(self, name=""): + def index(self, name: str ="") -> int: """ returns index of selected tab, returns empty int if no tab selected\n if a name is defined, return the associated index """ if name == "": @@ -381,6 +381,6 @@ class CTkTabview(CTkBaseClass): else: return self._name_list.index(name) - def len(self): + def len(self) -> int: """ return the number of defined tabs """ return len(self._name_list) \ No newline at end of file