Taipy.gui.invoke callback
Invoke a user callback in a given state.
See the User Manual section on Long Running Callbacks in a Thread for details on when and how this function can be used.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
gui |
Gui
|
The current gui instance. |
required |
state_id |
str
|
The identifier of the state to use, as returned by |
required |
callback |
Callable[[State, ...], None]
|
The user-defined function that is invoked. |
required |
args |
Union[Tuple, List]
|
The remaining arguments, as a List or a Tuple. |
required |