This commit is contained in:
Simon Hausmann 2025-07-04 18:23:23 +02:00
parent 8ac43f9831
commit aff0681277
4 changed files with 93 additions and 14 deletions

View file

@ -381,7 +381,7 @@ def _callback_decorator(
def callback(
global_name: str | None = None, name: str | None = None
global_name: typing.Callable[..., Any] | str | None = None, name: str | None = None
) -> typing.Callable[..., Any]:
"""Use the callback decorator to mark a method as a callback that can be invoked from the Slint component.