Platforms to show: All Mac Windows Linux Cross-Platform
Back to DeclareCallBackMBS class.
DeclareCallBackMBS.AllowAsync as Boolean
Function:
Whether the callbacks are allowed to go asynchronously.
Notes:
For MacOS/iOS only.
Asynchronous callbacks have no chance to return a value as the call to the Xojo event happens later and the C function returns before the Xojo event is started.
Synchronous callbacks would let the callback wait for the Xojo main thread to react to the event and then return the result back.
AllowAsync is set to true automatically for callbacks with void as return automatically.
(Read and Write property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | DynamicDeclares | MBS Util Plugin | 20.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Notes:
For MacOS/iOS only.
Asynchronous callbacks have no chance to return a value as the call to the Xojo event happens later and the C function returns before the Xojo event is started.
Synchronous callbacks would let the callback wait for the Xojo main thread to react to the event and then return the result back.
AllowAsync is set to true automatically for callbacks with void as return automatically.
(Read and Write property)
DeclareCallBackMBS.CallCount as Integer
Function:
The call counter.
Notes:
We call how often the callback is called.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | DynamicDeclares | MBS Util Plugin | 20.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Notes:
We call how often the callback is called.
(Read only property)
DeclareCallBackMBS.FunctionPtr as Ptr
Function:
The function pointer for the callback.
Notes:
Pass this to the C functions to pass a callback function pointer.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | DynamicDeclares | MBS Util Plugin | 20.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Notes:
Pass this to the C functions to pass a callback function pointer.
(Read only property)
DeclareCallBackMBS.Name as String
Function:
The name of the callback.
Notes:
You can set this to later read value in debugging.
(Read and Write property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | DynamicDeclares | MBS Util Plugin | 20.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Notes:
You can set this to later read value in debugging.
(Read and Write property)
DeclareCallBackMBS.ParameterCount as Integer
Function:
Queries number of parameters.
Notes:
We currently limit this to 32 parameters.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | DynamicDeclares | MBS Util Plugin | 20.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Notes:
We currently limit this to 32 parameters.
(Read only property)
DeclareCallBackMBS.Signature as String
Function:
The signature used to initialize this object.
Notes: (Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | DynamicDeclares | MBS Util Plugin | 20.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Notes: (Read only property)
DeclareCallBackMBS.SignatureParameters as String
Function:
The signature part for the parameters.
Notes: (Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | DynamicDeclares | MBS Util Plugin | 20.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Notes: (Read only property)
DeclareCallBackMBS.SignatureReturn as String
Function:
The signature part for the return value.
Notes: (Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | DynamicDeclares | MBS Util Plugin | 20.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Notes: (Read only property)
DeclareCallBackMBS.Tag as Variant
Function:
The tag value.
Notes:
Store whatever you need to keep referenced.
(Read and Write property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | DynamicDeclares | MBS Util Plugin | 20.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Notes:
Store whatever you need to keep referenced.
(Read and Write property)
The items on this page are in the following plugins: MBS Util Plugin.
