callback_mode Property
Whether the class should operate in callback mode.
Syntax
def get_callback_mode() -> bool: ... def set_callback_mode(value: bool) -> None: ...
callback_mode = property(get_callback_mode, set_callback_mode)
Default Value
FALSE
Remarks
This property specifies whether the class should operate in callback mode, causing all vault access to be performed via the events listed below. Please refer to the Callback Mode topic for more information.
When this property is enabled, the following events must all be implemented in order for the class to function correctly:
- on_vault_close
- on_vault_delete
- on_vault_flush
- on_vault_get_parent_size
- on_vault_get_size
- on_vault_open
- on_vault_read
- on_vault_set_size
- on_vault_write
Note: This property cannot be changed when active is True, and cannot be changed within events.