mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 10:50:00 +00:00
WIP
This commit is contained in:
parent
8ac43f9831
commit
aff0681277
4 changed files with 93 additions and 14 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue