File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,21 @@ def keybind(
143143) -> KeybindType : ...
144144
145145
146+ @overload
147+ def keybind (
148+ identifier : str ,
149+ key : str | None = None ,
150+ * ,
151+ callback : KeybindCallback_NoArgs ,
152+ display_name : str | None = None ,
153+ description : str = "" ,
154+ description_title : str | None = None ,
155+ is_hidden : bool = False ,
156+ is_rebindable : bool = True ,
157+ event_filter : EInputEvent = EInputEvent .IE_Pressed ,
158+ ) -> KeybindType : ...
159+
160+
146161@overload
147162def keybind (
148163 identifier : str ,
@@ -173,6 +188,21 @@ def keybind(
173188) -> KeybindType : ...
174189
175190
191+ @overload
192+ def keybind (
193+ identifier : str ,
194+ key : str | None = None ,
195+ * ,
196+ callback : KeybindCallback_Event ,
197+ display_name : str | None = None ,
198+ description : str = "" ,
199+ description_title : str | None = None ,
200+ is_hidden : bool = False ,
201+ is_rebindable : bool = True ,
202+ event_filter : None ,
203+ ) -> KeybindType : ...
204+
205+
176206@overload
177207def keybind (
178208 identifier : str ,
You can’t perform that action at this time.
0 commit comments