Platforms to show: All Mac Windows Linux Cross-Platform
Back to CATransactionMBS class.
CATransactionMBS.animationDuration as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreAnimation | MBS MacCG Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
CATransactionMBS.available as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreAnimation | MBS MacCG Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns true on Mac and false on Linux/Windows.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreAnimation | MBS MacCG Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The transaction is nested within the thread's current transaction, if there is one.
Available in OS X v10.5 and later.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreAnimation | MBS MacCG Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Raises an exception if no current transaction exists.
Available in OS X v10.5 and later.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreAnimation | MBS MacCG Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Delays the commit until any nested explicit transactions have completed.
Flush is typically called automatically at the end of the current runloop, regardless of the runloop mode. If your application does not have a runloop, you must call this method explicitly.
However, you should attempt to avoid calling flush explicitly. By allowing flush to execute during the runloop your application will achieve better performance, atomic screen updates will be preserved, and transactions and animations that work from transaction to transaction will continue to function.
Available in OS X v10.5 and later.
CATransactionMBS.kCATransactionAnimationDuration as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreAnimation | MBS MacCG Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Duration, in seconds, for animations triggered within the transaction group. The value for this key must be a number.
Available in OS X v10.5 and later.
CATransactionMBS.kCATransactionDisableActions as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreAnimation | MBS MacCG Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
If true, implicit actions for property changes made within the transaction group are suppressed. The value for this key must be a boolean.
Available in OS X v10.5 and later.
Some examples using this method:
CATransactionMBS.setAnimationDuration(value as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreAnimation | MBS MacCG Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available in OS X v10.6 and later.
CATransactionMBS.setValue(value as Variant, key as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreAnimation | MBS MacCG Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
value: The value for the key identified by key.
key: The name of one of the receiver's properties.
Nested transactions have nested data scope; setting a key always sets it in the innermost scope.
Available in OS X v10.5 and later.
CATransactionMBS.valueForKey(key as string) as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreAnimation | MBS MacCG Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
key: The name of one of the receiver's properties.
Returns the value for the data specified by the key.
Nested transactions have nested data scope. Requesting a value for a key first searches the innermost scope, then the enclosing transactions.
Available in OS X v10.5 and later.
The items on this page are in the following plugins: MBS MacCG Plugin.