mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-31 15:47:26 +00:00
WIP
This commit is contained in:
parent
604450da47
commit
fc50bd6806
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